/linux-master/fs/exfat/ |
H A D | exfat_fs.h | 561 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync);
|
H A D | misc.c | 173 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) argument 178 set_buffer_uptodate(bhs[i]); 179 mark_buffer_dirty(bhs[i]); 181 write_dirty_buffer(bhs[i], REQ_SYNC); 185 wait_on_buffer(bhs[i]); 186 if (!err && !buffer_uptodate(bhs[i]))
|
/linux-master/fs/ext4/ |
H A D | xattr.c | 388 struct buffer_head **bhs = bhs_inline; local 392 bhs = kmalloc_array(bh_count, sizeof(*bhs), GFP_NOFS); 393 if (!bhs) 398 true /* wait */, bhs); 404 if (!bhs[i]) { 408 memcpy((char *)buf + blocksize * i, bhs[i]->b_data, 414 brelse(bhs[i]); 416 if (bhs != bhs_inline) 417 kfree(bhs); [all...] |
H A D | mballoc.c | 1284 struct buffer_head *bhs; local 1310 bh = &bhs; 1432 if (bh != &bhs)
|
H A D | inode.c | 905 bool wait, struct buffer_head **bhs) 910 bhs[i] = ext4_getblk(NULL, inode, block + i, 0 /* map_flags */); 911 if (IS_ERR(bhs[i])) { 912 err = PTR_ERR(bhs[i]); 919 /* Note that NULL bhs[i] is valid because of holes. */ 920 if (bhs[i] && !ext4_buffer_uptodate(bhs[i])) 921 ext4_read_bh_lock(bhs[i], REQ_META | REQ_PRIO, false); 927 if (bhs[i]) 928 wait_on_buffer(bhs[ 904 ext4_bread_batch(struct inode *inode, ext4_lblk_t block, int bh_count, bool wait, struct buffer_head **bhs) argument [all...] |
H A D | ext4.h | 2954 bool wait, struct buffer_head **bhs);
|
/linux-master/fs/nilfs2/ |
H A D | recovery.c | 85 * @bhs: buffer head of start block 93 struct buffer_head *bhs, u32 *sum, 105 (unsigned char *)bhs->b_data + offset, size); 92 nilfs_compute_checksum(struct the_nilfs *nilfs, struct buffer_head *bhs, u32 *sum, unsigned long offset, u64 check_bytes, sector_t start, unsigned long nblock) argument
|
/linux-master/kernel/rcu/ |
H A D | rcutorture.c | 1889 unsigned long bhs = RCUTORTURE_RDR_BH | RCUTORTURE_RDR_RBH; local 1910 mask |= oldmask & bhs; 1920 mask &= ~bhs; 1922 mask |= oldmask & bhs;
|
/linux-master/fs/ |
H A D | buffer.c | 1278 * The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their 1293 struct buffer_head *bhs[BH_LRU_SIZE]; member in struct:bh_lru 1340 swap(evictee, b->bhs[i]); 1368 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); 1374 __this_cpu_write(bh_lrus.bhs[i], 1375 __this_cpu_read(bh_lrus.bhs[i - 1])); 1378 __this_cpu_write(bh_lrus.bhs[0], bh); 1487 brelse(b->bhs[i]); 1488 b->bhs[ 3094 __bh_read_batch(int nr, struct buffer_head *bhs[], blk_opf_t op_flags, bool force_lock) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | namei.c | 717 /* make sure both dirs have bhs 1305 /* make sure both dirs have bhs 1710 struct buffer_head **bhs = NULL; local 1732 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); 1733 if (!bhs) { 1759 bhs[virtual] = sb_getblk(sb, p_blkno); 1760 if (!bhs[virtual]) { 1766 bhs[virtual]); local 1769 bhs[virtual], 1776 memset(bhs[virtua [all...] |
H A D | ocfs2_trace.h | 1599 void *bhs, unsigned int flags, void *validate), 1600 TP_ARGS(inode, vblock, nr, bhs, flags, validate), 1605 __field(void *, bhs) 1613 __entry->bhs = bhs; 1618 __entry->nr, __entry->bhs, __entry->flags, __entry->validate)
|
H A D | alloc.c | 996 struct buffer_head *bhs[]) 1021 bhs[i] = sb_getblk(osb->sb, first_blkno); 1022 if (bhs[i] == NULL) { 1027 ocfs2_set_new_buffer_uptodate(et->et_ci, bhs[i]); 1030 bhs[i], 1037 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize); 1038 eb = (struct ocfs2_extent_block *) bhs[i]->b_data; 1055 ocfs2_journal_dirty(handle, bhs[i]); 1065 brelse(bhs[i]); 1066 bhs[ 992 ocfs2_create_new_meta_bhs(handle_t *handle, struct ocfs2_extent_tree *et, int wanted, struct ocfs2_alloc_context *meta_ac, struct buffer_head *bhs[]) argument [all...] |
H A D | buffer_head_io.c | 86 /* Caller must provide a bhs[] with all NULL or non-NULL entries, so it 90 unsigned int nr, struct buffer_head *bhs[]) 105 new_bh = (bhs[0] == NULL); 108 if (bhs[i] == NULL) { 109 bhs[i] = sb_getblk(osb->sb, block++); 110 if (bhs[i] == NULL) { 116 bh = bhs[i]; 155 bh = bhs[i - 1]; 166 bhs[i - 1] = NULL; 190 /* Caller must provide a bhs[] wit 89 ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, unsigned int nr, struct buffer_head *bhs[]) argument 193 ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, struct buffer_head *bhs[], int flags, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument [all...] |
/linux-master/include/linux/ |
H A D | buffer_head.h | 246 void __bh_read_batch(int nr, struct buffer_head *bhs[], 428 static inline void bh_read_batch(int nr, struct buffer_head *bhs[]) argument 430 __bh_read_batch(nr, bhs, 0, true); 433 static inline void bh_readahead_batch(int nr, struct buffer_head *bhs[], argument 436 __bh_read_batch(nr, bhs, op_flags, false);
|
/linux-master/fs/gfs2/ |
H A D | meta_io.c | 215 static void gfs2_submit_bhs(blk_opf_t opf, struct buffer_head *bhs[], int num) argument 218 struct buffer_head *bh = *bhs; 224 bh = *bhs; 229 bhs++; 252 struct buffer_head *bh, *bhs[2]; local 270 bhs[num++] = bh; 282 bhs[num++] = bh; 286 gfs2_submit_bhs(REQ_OP_READ | REQ_META | REQ_PRIO, bhs, num);
|
/linux-master/fs/fat/ |
H A D | misc.c | 362 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) argument 367 write_dirty_buffer(bhs[i], 0); 370 wait_on_buffer(bhs[i]); 371 if (!err && !buffer_uptodate(bhs[i]))
|
H A D | fat.h | 350 struct buffer_head *bhs[2]; member in struct:fat_entry 359 fatent->bhs[0] = fatent->bhs[1] = NULL; 374 brelse(fatent->bhs[i]); 376 fatent->bhs[0] = fatent->bhs[1] = NULL; 464 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
|
H A D | dir.c | 1082 struct buffer_head **bhs, int nr_bhs) 1092 bhs[n] = sb_getblk(sb, blknr); 1093 if (!bhs[n]) { 1098 lock_buffer(bhs[n]); 1099 memset(bhs[n]->b_data, 0, sb->s_blocksize); 1100 set_buffer_uptodate(bhs[n]); 1101 unlock_buffer(bhs[n]); 1102 mark_buffer_dirty_inode(bhs[n], dir); 1108 err = fat_sync_bhs(bhs, n); 1113 brelse(bhs[ 1081 fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used, struct buffer_head **bhs, int nr_bhs) argument 1137 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local 1204 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local 1286 struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */ local [all...] |
/linux-master/arch/arm/mm/ |
H A D | cache-v4wb.S | 114 bhs __flush_whole_cache @ flush whole D cache
|
H A D | cache-fa.S | 87 bhs __flush_whole_cache @ flush whole D cache
|
/linux-master/fs/adfs/ |
H A D | adfs.h | 95 struct buffer_head **bhs; member in struct:adfs_dir
|
/linux-master/arch/arm/lib/ |
H A D | findbit.S | 54 bhs 3b
|
/linux-master/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 1285 unsigned char *bhs; local 1302 bhs = skb->data; 1304 dlen = ntohl(*(unsigned int *)(bhs + 4)) & 0xFFFFFF; 1325 csk, skb, *bhs, hlen, dlen, 1326 ntohl(*((unsigned int *)(bhs + 16))), 1327 ntohl(*((unsigned int *)(bhs + 24)))); 1479 pr_err("tid 0x%x, rcv RX_DATA_DDP w/o pdu bhs.\n", csk->tid);
|
/linux-master/fs/isofs/ |
H A D | compress.c | 58 struct buffer_head **bhs; local 78 bhs = kcalloc(needblocks + 1, sizeof(*bhs), GFP_KERNEL); 79 if (!bhs) { 83 haveblocks = isofs_get_blocks(inode, blocknum, bhs, needblocks); 84 bh_read_batch(haveblocks, bhs); 95 if (!bhs[0]) 98 wait_on_buffer(bhs[0]); 99 if (!buffer_uptodate(bhs[0])) { 132 wait_on_buffer(bhs[curb [all...] |
/linux-master/arch/arm/boot/compressed/ |
H A D | head.S | 461 bhs wont_overwrite
|