Searched refs:nr_bhs (Results 1 – 7 of 7) sorted by relevance
/fs/fat/ |
D | fatent.c | 44 if (fatent->nr_bhs == 1) { in fat12_ent_set_ptr() 80 fatent->nr_bhs = 1; in fat12_ent_bread() 87 fatent->nr_bhs = 2; in fat12_ent_bread() 112 fatent->nr_bhs = 1; in fat_ent_bread() 171 if (fatent->nr_bhs == 2) in fat12_ent_put() 199 if (fatent->nr_bhs == 1) { in fat12_ent_next() 217 fatent->nr_bhs = 1; in fat12_ent_next() 327 if (!fatent->nr_bhs || bhs[0]->b_blocknr != blocknr) in fat_ent_update_ptr() 332 if (fatent->nr_bhs == 2) { in fat_ent_update_ptr() 334 fatent->nr_bhs = 1; in fat_ent_update_ptr() [all …]
|
D | fat.h | 320 int nr_bhs; member 327 fatent->nr_bhs = 0; in fatent_init() 344 for (i = 0; i < fatent->nr_bhs; i++) in fatent_brelse() 346 fatent->nr_bhs = 0; in fatent_brelse() 418 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
|
D | dir.c | 1085 struct buffer_head **bhs, int nr_bhs) in fat_zeroed_cluster() argument 1109 if (n == nr_bhs) { in fat_zeroed_cluster() 1291 int err, free_slots, i, nr_bhs; in fat_add_entries() local 1297 free_slots = nr_bhs = 0; in fat_add_entries() 1309 bhs[nr_bhs] = prev = bh; in fat_add_entries() 1310 nr_bhs++; in fat_add_entries() 1316 for (i = 0; i < nr_bhs; i++) in fat_add_entries() 1319 free_slots = nr_bhs = 0; in fat_add_entries() 1344 int long_bhs = nr_bhs - (nr_slots == 0); in fat_add_entries() 1357 if (!err && i < nr_bhs) { in fat_add_entries() [all …]
|
D | misc.c | 265 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) in fat_sync_bhs() argument 269 for (i = 0; i < nr_bhs; i++) in fat_sync_bhs() 272 for (i = 0; i < nr_bhs; i++) { in fat_sync_bhs()
|
/fs/ntfs/ |
D | compress.c | 517 int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; in ntfs_read_compressed_block() local 604 nr_bhs = 0; in ntfs_read_compressed_block() 651 if (unlikely(!(bhs[nr_bhs] = sb_getblk(sb, block)))) in ntfs_read_compressed_block() 653 nr_bhs++; in ntfs_read_compressed_block() 662 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 677 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 718 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 886 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block() 927 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block()
|
D | aops.c | 933 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local 977 err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; in ntfs_write_mst_block() 1095 while (bhs[--nr_bhs] != rec_start_bh) in ntfs_write_mst_block() 1111 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block() 1112 bhs[nr_bhs++] = bh; in ntfs_write_mst_block() 1117 if (!nr_bhs) in ntfs_write_mst_block() 1124 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1194 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1213 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1237 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() [all …]
|
D | mft.c | 477 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local 522 nr_bhs = 0; in ntfs_sync_mft_mirror() 578 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror() 579 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror() 580 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror() 581 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror() 587 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror() 599 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror() 614 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror() 681 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local [all …]
|