Home
last modified time | relevance | path

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

/openbmc/linux/fs/fat/
H A Dfatent.c82 fatent->nr_bhs = 1; in fat12_ent_bread()
89 fatent->nr_bhs = 2; in fat12_ent_bread()
115 fatent->nr_bhs = 1; in fat_ent_bread()
220 fatent->nr_bhs = 1; in fat12_ent_next()
377 int nr_bhs) in fat_mirror_bhs() argument
458 if (i == *nr_bhs) { in fat_collect_bhs()
461 (*nr_bhs)++; in fat_collect_bhs()
561 int i, err, nr_bhs; in fat_free_clusters() local
564 nr_bhs = 0; in fat_free_clusters()
603 if (nr_bhs + fatent.nr_bhs > MAX_BUF_PER_PAGE) { in fat_free_clusters()
[all …]
H A Dfat.h349 int nr_bhs; member
356 fatent->nr_bhs = 0; in fatent_init()
373 for (i = 0; i < fatent->nr_bhs; i++) in fatent_brelse()
375 fatent->nr_bhs = 0; in fatent_brelse()
464 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
H A Ddir.c1106 if (n == nr_bhs) { in fat_zeroed_cluster()
1288 int err, free_slots, i, nr_bhs; in fat_add_entries() local
1294 free_slots = nr_bhs = 0; in fat_add_entries()
1306 bhs[nr_bhs] = prev = bh; in fat_add_entries()
1307 nr_bhs++; in fat_add_entries()
1313 for (i = 0; i < nr_bhs; i++) in fat_add_entries()
1316 free_slots = nr_bhs = 0; in fat_add_entries()
1341 int long_bhs = nr_bhs - (nr_slots == 0); in fat_add_entries()
1354 if (!err && i < nr_bhs) { in fat_add_entries()
1362 for (i = 0; i < nr_bhs; i++) in fat_add_entries()
[all …]
H A Dmisc.c362 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) in fat_sync_bhs() argument
366 for (i = 0; i < nr_bhs; i++) in fat_sync_bhs()
369 for (i = 0; i < nr_bhs; i++) { in fat_sync_bhs()
/openbmc/linux/fs/ntfs/
H A Dcompress.c501 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()
H A Daops.c914 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local
961 err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; in ntfs_write_mst_block()
1079 while (bhs[--nr_bhs] != rec_start_bh) in ntfs_write_mst_block()
1095 BUG_ON(nr_bhs >= max_bhs); in ntfs_write_mst_block()
1096 bhs[nr_bhs++] = bh; in ntfs_write_mst_block()
1101 if (!nr_bhs) in ntfs_write_mst_block()
1108 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1178 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1197 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
1221 for (i = 0; i < nr_bhs; i++) { in ntfs_write_mst_block()
[all …]
H A Dmft.c465 int i_bhs, nr_bhs, err = 0; in ntfs_sync_mft_mirror() local
512 nr_bhs = 0; 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()
671 int i_bhs, nr_bhs, err = 0; in write_mft_record_nolock() local
692 nr_bhs = 0; in write_mft_record_nolock()
711 BUG_ON(nr_bhs); in write_mft_record_nolock()
756 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
757 bhs[nr_bhs++] = bh; in write_mft_record_nolock()
762 if (!nr_bhs) in write_mft_record_nolock()
[all …]
/openbmc/linux/fs/exfat/
H A Dmisc.c165 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument
169 for (i = 0; i < nr_bhs; i++) { in exfat_update_bhs()
176 for (i = 0; i < nr_bhs && sync; i++) { in exfat_update_bhs()
H A Dexfat_fs.h557 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync);