Searched refs:n_bmps (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | alloc.c | 207 unsigned n_bmps; in hpfs_alloc_sector() local 215 n_bmps = (sbi->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_alloc_sector() 219 } else near_bmp = n_bmps / 2; in hpfs_alloc_sector() 230 for (i = 0; i < n_bmps; i++) { 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() 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() 361 int n_bmps = (hpfs_sb(s)->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_check_free_dnodes() local 384 if (i >= n_bmps) retur in hpfs_check_free_dnodes() [all...] |
/kernel/linux/linux-6.6/fs/hpfs/ |
H A D | alloc.c | 207 unsigned n_bmps; in hpfs_alloc_sector() local 215 n_bmps = (sbi->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_alloc_sector() 219 } else near_bmp = n_bmps / 2; in hpfs_alloc_sector() 230 for (i = 0; i < n_bmps; i++) { 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() 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() 361 int n_bmps = (hpfs_sb(s)->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_check_free_dnodes() local 384 if (i >= n_bmps) retur in hpfs_check_free_dnodes() [all...] |
Completed in 2 milliseconds