Searched refs:nr_bhs (Results 1 – 7 of 7) sorted by relevance
/fs/fat/ |
D | fatent.c | 45 if (fatent->nr_bhs == 1) { in fat12_ent_set_ptr() 81 fatent->nr_bhs = 1; in fat12_ent_bread() 88 fatent->nr_bhs = 2; in fat12_ent_bread() 113 fatent->nr_bhs = 1; in fat_ent_bread() 172 if (fatent->nr_bhs == 2) in fat12_ent_put() 200 if (fatent->nr_bhs == 1) { in fat12_ent_next() 218 fatent->nr_bhs = 1; in fat12_ent_next() 326 if (!fatent->nr_bhs || bhs[0]->b_blocknr != blocknr) in fat_ent_update_ptr() 331 if (fatent->nr_bhs == 2) { in fat_ent_update_ptr() 333 fatent->nr_bhs = 1; in fat_ent_update_ptr() [all …]
|
D | dir.c | 1086 struct buffer_head **bhs, int nr_bhs) in fat_zeroed_cluster() argument 1110 if (n == nr_bhs) { in fat_zeroed_cluster() 1292 int err, free_slots, i, nr_bhs; in fat_add_entries() local 1298 free_slots = nr_bhs = 0; in fat_add_entries() 1310 bhs[nr_bhs] = prev = bh; in fat_add_entries() 1311 nr_bhs++; in fat_add_entries() 1317 for (i = 0; i < nr_bhs; i++) in fat_add_entries() 1320 free_slots = nr_bhs = 0; in fat_add_entries() 1345 int long_bhs = nr_bhs - (nr_slots == 0); in fat_add_entries() 1358 if (!err && i < nr_bhs) { in fat_add_entries() [all …]
|
D | fat.h | 348 int nr_bhs; member 355 fatent->nr_bhs = 0; in fatent_init() 372 for (i = 0; i < fatent->nr_bhs; i++) in fatent_brelse() 374 fatent->nr_bhs = 0; in fatent_brelse() 451 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
|
D | misc.c | 344 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) in fat_sync_bhs() argument 348 for (i = 0; i < nr_bhs; i++) in fat_sync_bhs() 351 for (i = 0; i < nr_bhs; i++) { in fat_sync_bhs()
|
/fs/ntfs/ |
D | compress.c | 501 int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; in ntfs_read_compressed_block() local 592 nr_bhs = 0; in ntfs_read_compressed_block() 639 if (unlikely(!(bhs[nr_bhs] = sb_getblk(sb, block)))) in ntfs_read_compressed_block() 641 nr_bhs++; in ntfs_read_compressed_block() 650 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 665 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 706 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block() 874 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block() 916 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block()
|
D | aops.c | 915 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local 962 err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; in ntfs_write_mst_block() 1080 while (bhs[--nr_bhs] != rec_start_bh) in ntfs_write_mst_block() 1096 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block() 1097 bhs[nr_bhs++] = bh; in ntfs_write_mst_block() 1102 if (!nr_bhs) in ntfs_write_mst_block() 1109 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1179 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1198 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() 1222 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block() [all …]
|
D | mft.c | 465 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local 512 nr_bhs = 0; in ntfs_sync_mft_mirror() 568 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror() 569 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror() 570 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror() 571 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror() 577 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror() 589 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror() 604 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror() 671 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local [all …]
|