| /linux/fs/ocfs2/ |
| H A D | blockcheck.c | 441 void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, in ocfs2_block_check_compute_bhs() argument 455 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 461 ecc = (u16)ocfs2_hamming_encode(ecc, bhs[i]->b_data, in ocfs2_block_check_compute_bhs() 462 bhs[i]->b_size * 8, in ocfs2_block_check_compute_bhs() 463 bhs[i]->b_size * 8 * i); in ocfs2_block_check_compute_bhs() 485 int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, in ocfs2_block_check_validate_bhs() argument 508 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 524 ecc = (u16)ocfs2_hamming_encode(ecc, bhs[i]->b_data, in ocfs2_block_check_validate_bhs() 525 bhs[i]->b_size * 8, in ocfs2_block_check_validate_bhs() 526 bhs[i]->b_size * 8 * i); in ocfs2_block_check_validate_bhs() [all …]
|
| H A D | buffer_head_io.c | 90 unsigned int nr, struct buffer_head *bhs[]) in ocfs2_read_blocks_sync() argument 105 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks_sync() 108 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync() 109 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync() 110 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync() 116 bh = bhs[i]; in ocfs2_read_blocks_sync() 153 bh = bhs[i - 1]; in ocfs2_read_blocks_sync() 164 bhs[i - 1] = NULL; in ocfs2_read_blocks_sync() 192 struct buffer_head *bhs[], int flags, in ocfs2_read_blocks() argument 208 if (bhs == NULL) { in ocfs2_read_blocks() [all …]
|
| H A D | blockcheck.h | 35 struct buffer_head **bhs, int nr, 38 struct buffer_head **bhs, int nr, 47 void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, 49 int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr,
|
| H A D | buffer_head_io.h | 19 unsigned int nr, struct buffer_head *bhs[]); 29 struct buffer_head *bhs[], int flags,
|
| H A D | namei.c | 722 /* make sure both dirs have bhs in ocfs2_link() 1315 /* make sure both dirs have bhs in ocfs2_rename() 1719 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() 1741 bhs = kzalloc_objs(struct buffer_head *, blocks); in ocfs2_create_symlink_data() 1742 if (!bhs) { in ocfs2_create_symlink_data() 1768 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data() 1769 if (!bhs[virtual]) { in ocfs2_create_symlink_data() 1775 bhs[virtual]); in ocfs2_create_symlink_data() 1778 bhs[virtual], in ocfs2_create_symlink_data() 1785 memset(bhs[virtua in ocfs2_create_symlink_data() 1720 struct buffer_head **bhs = NULL; ocfs2_create_symlink_data() local [all...] |
| H A D | extent_map.h | 52 struct buffer_head *bhs[], int flags,
|
| /linux/fs/adfs/ |
| H A D | dir.c | 31 memcpy(dst, dir->bhs[index]->b_data + offset, remain); in adfs_dir_copyfrom() 38 memcpy(dst, dir->bhs[index]->b_data + offset, len); in adfs_dir_copyfrom() 56 memcpy(dir->bhs[index]->b_data + offset, src, remain); in adfs_dir_copyto() 63 memcpy(dir->bhs[index]->b_data + offset, src, len); in adfs_dir_copyto() 72 if (dir->bhs != dir->bh) in __adfs_dir_cleanup() 73 kfree(dir->bhs); in __adfs_dir_cleanup() 74 dir->bhs = NULL; in __adfs_dir_cleanup() 83 brelse(dir->bhs[i]); in adfs_dir_relse() 93 bforget(dir->bhs[i]); in adfs_dir_forget() 101 struct buffer_head **bhs; in adfs_dir_read_buffers() local [all …]
|
| H A D | dir_fplus.c | 83 bp = (void *)dir->bhs[bi]->b_data; in adfs_fplus_checkbyte() 84 bs = dir->bhs[bi]->b_size; in adfs_fplus_checkbyte() 116 dir->bighead = h = (void *)dir->bhs[0]->b_data; in adfs_fplus_read() 136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read()
|
| H A D | adfs.h | 95 struct buffer_head **bhs; member
|
| /linux/fs/fat/ |
| H A D | dir.c | 1132 struct buffer_head **bhs, int nr_bhs) in fat_zeroed_cluster() 1142 bhs[n] = sb_getblk(sb, blknr); in fat_zeroed_cluster() 1143 if (!bhs[n]) { in fat_zeroed_cluster() 1148 lock_buffer(bhs[n]); in fat_zeroed_cluster() 1149 memset(bhs[n]->b_data, 0, sb->s_blocksize); in fat_zeroed_cluster() 1150 set_buffer_uptodate(bhs[n]); in fat_zeroed_cluster() 1151 unlock_buffer(bhs[n]); in fat_zeroed_cluster() 1152 mmb_mark_buffer_dirty(bhs[n], &MSDOS_I(dir)->i_metadata_bhs); in fat_zeroed_cluster() 1158 err = fat_sync_bhs(bhs, n); in fat_zeroed_cluster() 1163 brelse(bhs[ in fat_zeroed_cluster() 1122 fat_zeroed_cluster(struct inode * dir,sector_t blknr,int nr_used,struct buffer_head ** bhs,int nr_bhs) fat_zeroed_cluster() argument 1177 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; fat_alloc_new_dir() local 1244 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; fat_add_new_entries() local 1326 struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */ fat_add_entries() local [all...] |
| H A D | fat.h | 357 struct buffer_head *bhs[2]; 366 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init() 381 brelse(fatent->bhs[i]); in fatent_brelse() 383 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_brelse() 482 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs); 356 struct buffer_head *bhs[2]; global() member
|
| H A D | misc.c | 353 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) 358 write_dirty_buffer(bhs[i], 0); in fat_sync_bhs() 361 wait_on_buffer(bhs[i]); in fat_sync_bhs() 362 if (!err && buffer_write_io_error(bhs[i])) in fat_sync_bhs() 354 fat_sync_bhs(struct buffer_head ** bhs,int nr_bhs) fat_sync_bhs() argument
|
| /linux/fs/isofs/ |
| H A D | compress.c | 58 struct buffer_head **bhs; in zisofs_uncompress_block() local 81 bhs = kzalloc_objs(*bhs, needblocks + 1); in zisofs_uncompress_block() 82 if (!bhs) { in zisofs_uncompress_block() 86 haveblocks = isofs_get_blocks(inode, blocknum, bhs, needblocks); in zisofs_uncompress_block() 87 bh_read_batch(haveblocks, bhs); in zisofs_uncompress_block() 98 if (!bhs[0]) in zisofs_uncompress_block() 101 wait_on_buffer(bhs[0]); in zisofs_uncompress_block() 102 if (!buffer_uptodate(bhs[0])) { in zisofs_uncompress_block() 136 wait_on_buffer(bhs[curb in zisofs_uncompress_block() [all...] |
| /linux/fs/exfat/ |
| H A D | misc.c | 177 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument 182 set_buffer_uptodate(bhs[i]); in exfat_update_bhs() 183 mark_buffer_dirty(bhs[i]); in exfat_update_bhs() 185 write_dirty_buffer(bhs[i], REQ_SYNC); in exfat_update_bhs() 189 wait_on_buffer(bhs[i]); in exfat_update_bhs() 190 if (!err && buffer_write_io_error(bhs[i])) in exfat_update_bhs()
|
| /linux/include/linux/ |
| H A D | buffer_head.h | 71 struct mapping_metadata_bhs *b_mmb; /* head of the list of metadata bhs 265 void __bh_read_batch(int nr, struct buffer_head *bhs[], 515 static inline void bh_read_batch(int nr, struct buffer_head *bhs[]) in bh_read() 517 __bh_read_batch(nr, bhs, 0, true); in bh_read() 520 static inline void bh_readahead_batch(int nr, struct buffer_head *bhs[], 523 __bh_read_batch(nr, bhs, op_flags, false); in bh_read_batch() 521 bh_read_batch(int nr,struct buffer_head * bhs[]) bh_read_batch() argument 526 bh_readahead_batch(int nr,struct buffer_head * bhs[],blk_opf_t op_flags) bh_readahead_batch() argument
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | msm8926.dtsi | 10 /delete-property/ qcom,ext-bhs-reg;
|
| /linux/fs/ |
| H A D | buffer.c | 1184 * The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their 1199 struct buffer_head *bhs[BH_LRU_SIZE]; 1246 swap(evictee, b->bhs[i]); in bh_lru_install() 1274 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru() 1280 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru() 1281 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru() 1284 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru() 1429 brelse(b->bhs[i]); 1430 b->bhs[ 1195 struct buffer_head *bhs[BH_LRU_SIZE]; global() member 2972 __bh_read_batch(int nr,struct buffer_head * bhs[],blk_opf_t op_flags,bool force_lock) __bh_read_batch() argument [all...] |
| /linux/arch/arm/mm/ |
| H A D | cache-v4wt.S | 89 bhs __flush_whole_cache
|
| H A D | cache-v4wb.S | 116 bhs __flush_whole_cache @ flush whole D cache
|
| H A D | cache-fa.S | 89 bhs __flush_whole_cache @ flush whole D cache
|
| H A D | proc-arm1022.S | 175 bhs __flush_whole_cache
|
| /linux/fs/ext4/ |
| H A D | xattr.c | 396 struct buffer_head **bhs = bhs_inline; in ext4_xattr_inode_read() 400 bhs = kmalloc_objs(*bhs, bh_count, GFP_NOFS); in ext4_xattr_inode_read() 401 if (!bhs) in ext4_xattr_inode_read() 406 true /* wait */, bhs); in ext4_xattr_inode_read() 412 if (!bhs[i]) { in ext4_xattr_inode_read() 416 memcpy((char *)buf + blocksize * i, bhs[i]->b_data, in ext4_xattr_inode_read() 422 brelse(bhs[i]); in ext4_xattr_inode_iget() 424 if (bhs != bhs_inline) in ext4_xattr_inode_iget() 425 kfree(bhs); in ext4_xattr_inode_iget() 385 struct buffer_head **bhs = bhs_inline; ext4_xattr_inode_read() local [all...] |
| H A D | inode.c | 1247 bool wait, struct buffer_head **bhs) in ext4_block_write_begin() 1252 bhs[i] = ext4_getblk(NULL, inode, block + i, 0 /* map_flags */); in ext4_block_write_begin() 1253 if (IS_ERR(bhs[i])) { in ext4_block_write_begin() 1254 err = PTR_ERR(bhs[i]); in ext4_block_write_begin() 1261 /* Note that NULL bhs[i] is valid because of holes. */ in ext4_block_write_begin() 1262 if (bhs[i] && !ext4_buffer_uptodate(bhs[i])) in ext4_block_write_begin() 1263 ext4_read_bh_lock(bhs[i], REQ_META | REQ_PRIO, false); in ext4_block_write_begin() 1269 if (bhs[i]) 1270 wait_on_buffer(bhs[ 1070 ext4_bread_batch(struct inode * inode,ext4_lblk_t block,int bh_count,bool wait,struct buffer_head ** bhs) ext4_bread_batch() argument [all...] |
| /linux/arch/arm/lib/ |
| H A D | findbit.S | 54 bhs 3b
|
| /linux/drivers/scsi/cxgbi/cxgb4i/ |
| H A D | cxgb4i.c | 1285 unsigned char *bhs; in do_rx_iscsi_hdr() local 1302 bhs = skb->data; in do_rx_iscsi_hdr() 1304 dlen = ntohl(*(unsigned int *)(bhs + 4)) & 0xFFFFFF; in do_rx_iscsi_hdr() 1325 csk, skb, *bhs, hlen, dlen, in do_rx_iscsi_hdr() 1326 ntohl(*((unsigned int *)(bhs + 16))), in do_rx_iscsi_hdr() 1327 ntohl(*((unsigned int *)(bhs + 24)))); in do_rx_iscsi_hdr()
|