Home
last modified time | relevance | path

Searched refs:linux_swap_magic (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c281 char *buf, *linux_swap_magic; in fdisk_is_linux_swap() local
321 linux_swap_magic = buf + sec_sz - LINUX_SWAP_MAGIC_LENGTH; in fdisk_is_linux_swap()
339 if ((strncmp(linux_swap_magic, "SWAP-SPACE", in fdisk_is_linux_swap()
341 (strncmp(linux_swap_magic, "SWAPSPACE2", in fdisk_is_linux_swap()
/titanic_41/usr/src/uts/common/io/
H A Dcmlb.c2257 char *buf, *linux_swap_magic; local
2293 linux_swap_magic = buf + sec_sz - 10;
2313 if ((strncmp(linux_swap_magic, "SWAP-SPACE", 10) == 0) ||
2314 (strncmp(linux_swap_magic, "SWAPSPACE2", 10) == 0)) {