Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs2.c69 static int sblock_try[] = SBLOCKSEARCH; variable
93 for (i = 0; sblock_try[i] != -1; ++i) in ufs2_mount()
95 if (! (part_length < (sblock_try[i] + (SBLOCKSIZE / DEV_BSIZE)) in ufs2_mount()
96 || ! devread (0, sblock_try[i], SBLOCKSIZE, (char *) SUPERBLOCK))) in ufs2_mount()
110 sblockloc = sblock_try[i]; in ufs2_mount()
/illumos-gate/usr/src/boot/libsa/
H A Dufs.c473 static int sblock_try[] = SBLOCKSEARCH; variable
505 for (i = 0; sblock_try[i] != -1; i++) { in ufs_open()
507 sblock_try[i] / DEV_BSIZE, SBLOCKSIZE, in ufs_open()
513 fs->fs_sblockloc == sblock_try[i])) && in ufs_open()
519 if (sblock_try[i] == -1) { in ufs_open()