Home
last modified time | relevance | path

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

/linux-2.6.39/fs/hpfs/
Dalloc.c154 unsigned n_bmps; in hpfs_alloc_sector() local
162 n_bmps = (sbi->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_alloc_sector()
166 } else near_bmp = n_bmps / 2; in hpfs_alloc_sector()
177 for (i = 0; i < n_bmps; i++) { in hpfs_alloc_sector()
178 if (near_bmp+i < n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i) << 14, n, forward)))) { in hpfs_alloc_sector()
188 if (near_bmp+i >= n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i-n_bmps) << 14, n, forward)))) { in hpfs_alloc_sector()
189 sbi->sb_c_bitmap = near_bmp+i-n_bmps; in hpfs_alloc_sector()
299 int n_bmps = (hpfs_sb(s)->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_check_free_dnodes() local
322 if (i >= n_bmps) return 1; in hpfs_check_free_dnodes()