Home
last modified time | relevance | path

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

/openbmc/linux/fs/hpfs/
H A Dalloc.c210 int near_bmp; in hpfs_alloc_sector() local
218 near_bmp = near >> 14; in hpfs_alloc_sector()
219 } else near_bmp = n_bmps / 2; in hpfs_alloc_sector()
231 if (near_bmp+i < n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i) << 14, n, forward)))) { in hpfs_alloc_sector()
232 sbi->sb_c_bitmap = near_bmp+i; in hpfs_alloc_sector()
236 if (near_bmp-i-1 >= 0 && ((sec = alloc_in_bmp(s, (near_bmp-i-1) << 14, n, forward)))) { in hpfs_alloc_sector()
237 sbi->sb_c_bitmap = near_bmp-i-1; in hpfs_alloc_sector()
241 if (near_bmp+i >= n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i-n_bmps) << 14, n, forward)))) { in hpfs_alloc_sector()
242 sbi->sb_c_bitmap = near_bmp+i-n_bmps; in hpfs_alloc_sector()