Home | History | Annotate | Download | only in blkid

Lines Matching defs:sws

944 	struct swap_id_block *sws;
953 sws = (struct swap_id_block *) get_buffer(probe, 1024, 1024);
954 if (!sws)
959 (sws->sws_version != 1 || sws->sws_lastpage == 0))
963 if (sws->sws_pad[32] == 0 && sws->sws_pad[33] == 0) {
964 if (sws->sws_volume[0])
965 blkid_set_tag(probe->dev, "LABEL", sws->sws_volume,
966 sizeof(sws->sws_volume));
967 if (sws->sws_uuid[0])
968 set_uuid(probe->dev, sws->sws_uuid, 0);