Home
last modified time | relevance | path

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

/Linux-v4.19/fs/fat/
Dfatent.c45 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()
328 if (!fatent->nr_bhs || bhs[0]->b_blocknr != blocknr) in fat_ent_update_ptr()
333 if (fatent->nr_bhs == 2) { in fat_ent_update_ptr()
335 fatent->nr_bhs = 1; in fat_ent_update_ptr()
[all …]
Dfat.h320 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()
419 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
Dmisc.c266 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) in fat_sync_bhs() argument
270 for (i = 0; i < nr_bhs; i++) in fat_sync_bhs()
273 for (i = 0; i < nr_bhs; i++) { in fat_sync_bhs()
Ddir.c1085 struct buffer_head **bhs, int nr_bhs) in fat_zeroed_cluster() argument
1106 if (n == nr_bhs) { in fat_zeroed_cluster()
1282 int err, free_slots, i, nr_bhs; in fat_add_entries() local
1288 free_slots = nr_bhs = 0; in fat_add_entries()
1300 bhs[nr_bhs] = prev = bh; in fat_add_entries()
1301 nr_bhs++; in fat_add_entries()
1307 for (i = 0; i < nr_bhs; i++) in fat_add_entries()
1310 free_slots = nr_bhs = 0; in fat_add_entries()
1335 int long_bhs = nr_bhs - (nr_slots == 0); in fat_add_entries()
1348 if (!err && i < nr_bhs) { in fat_add_entries()
[all …]
/Linux-v4.19/fs/ntfs/
Dcompress.c515 int block, max_block, cb_max_page, bhs_size, nr_bhs, err = 0; in ntfs_read_compressed_block() local
606 nr_bhs = 0; in ntfs_read_compressed_block()
653 if (unlikely(!(bhs[nr_bhs] = sb_getblk(sb, block)))) in ntfs_read_compressed_block()
655 nr_bhs++; in ntfs_read_compressed_block()
664 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block()
679 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block()
720 for (i = 0; i < nr_bhs; i++) { in ntfs_read_compressed_block()
888 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block()
930 for (i = 0; i < nr_bhs; i++) in ntfs_read_compressed_block()
Daops.c929 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local
976 err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; in ntfs_write_mst_block()
1094 while (bhs[--nr_bhs] != rec_start_bh) in ntfs_write_mst_block()
1110 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block()
1111 bhs[nr_bhs++] = bh; in ntfs_write_mst_block()
1116 if (!nr_bhs) in ntfs_write_mst_block()
1123 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1193 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1212 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1236 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
[all …]
Dmft.c479 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local
526 nr_bhs = 0; in ntfs_sync_mft_mirror()
582 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
583 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
584 bhs[nr_bhs++] = bh; in ntfs_sync_mft_mirror()
585 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
591 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
603 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) { in ntfs_sync_mft_mirror()
618 for (i_bhs = 0; i_bhs < nr_bhs; i_bhs++) in ntfs_sync_mft_mirror()
685 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local
[all …]