Home
last modified time | relevance | path

Searched refs:bhs (Results 1 – 25 of 30) sorted by relevance

12

/linux/fs/ocfs2/
H A Dblockcheck.c441 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 Dblockcheck.h35 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 Dbuffer_head_io.h19 unsigned int nr, struct buffer_head *bhs[]);
29 struct buffer_head *bhs[], int flags,
H A Dextent_map.h52 struct buffer_head *bhs[], int flags,
/linux/fs/isofs/
H A Dcompress.c58 struct buffer_head **bhs; in zisofs_uncompress_block() local
80 bhs = kzalloc_objs(*bhs, needblocks + 1); in zisofs_uncompress_block()
81 if (!bhs) { in zisofs_uncompress_block()
85 haveblocks = isofs_get_blocks(inode, blocknum, bhs, needblocks); in zisofs_uncompress_block()
86 bh_read_batch(haveblocks, bhs); in zisofs_uncompress_block()
97 if (!bhs[0]) in zisofs_uncompress_block()
100 wait_on_buffer(bhs[0]); in zisofs_uncompress_block()
101 if (!buffer_uptodate(bhs[0])) { in zisofs_uncompress_block()
134 wait_on_buffer(bhs[curbh]); in zisofs_uncompress_block()
135 if (!buffer_uptodate(bhs[curbh])) { in zisofs_uncompress_block()
[all …]
/linux/fs/fat/
H A Ddir.c1122 struct buffer_head **bhs, int nr_bhs) in fat_zeroed_cluster() argument
1132 bhs[n] = sb_getblk(sb, blknr); in fat_zeroed_cluster()
1133 if (!bhs[n]) { in fat_zeroed_cluster()
1138 lock_buffer(bhs[n]); in fat_zeroed_cluster()
1139 memset(bhs[n]->b_data, 0, sb->s_blocksize); in fat_zeroed_cluster()
1140 set_buffer_uptodate(bhs[n]); in fat_zeroed_cluster()
1141 unlock_buffer(bhs[n]); in fat_zeroed_cluster()
1142 mmb_mark_buffer_dirty(bhs[n], &MSDOS_I(dir)->i_metadata_bhs); in fat_zeroed_cluster()
1148 err = fat_sync_bhs(bhs, n); in fat_zeroed_cluster()
1153 brelse(bhs[i]); in fat_zeroed_cluster()
[all …]
H A Dfat.h356 struct buffer_head *bhs[2]; member
365 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init()
380 brelse(fatent->bhs[i]); in fatent_brelse()
382 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_brelse()
480 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
/linux/fs/adfs/
H A Ddir_fplus.c83 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()
/linux/arch/arm/boot/dts/qcom/
H A Dmsm8926.dtsi10 /delete-property/ qcom,ext-bhs-reg;
/linux/fs/
H A Dbuffer.c1183 struct buffer_head *bhs[BH_LRU_SIZE]; member
1230 swap(evictee, b->bhs[i]); in bh_lru_install()
1258 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru()
1264 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru()
1265 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru()
1268 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru()
1413 brelse(b->bhs[i]); in __invalidate_bh_lrus()
1414 b->bhs[i] = NULL; in __invalidate_bh_lrus()
1436 if (b->bhs[i]) in has_bh_in_lru()
2902 brelse(b->bhs[i]); in buffer_exit_cpu_dead()
[all …]
/linux/arch/arm/mm/
H A Dcache-v4wt.S89 bhs __flush_whole_cache
H A Dcache-v4wb.S116 bhs __flush_whole_cache @ flush whole D cache
H A Dcache-fa.S89 bhs __flush_whole_cache @ flush whole D cache
H A Dproc-arm1022.S175 bhs __flush_whole_cache
H A Dproc-arm922.S161 bhs __flush_whole_cache
H A Dproc-arm1026.S170 bhs __flush_whole_cache
H A Dproc-arm1020e.S176 bhs __flush_whole_cache
H A Dproc-arm1020.S177 bhs __flush_whole_cache
H A Dproc-arm920.S159 bhs __flush_whole_cache
H A Dproc-arm946.S140 bhs __flush_whole_cache
H A Dproc-xsc3.S197 bhs __flush_whole_cache
/linux/fs/ext4/
H A Dxattr.c385 struct buffer_head **bhs = bhs_inline; in ext4_xattr_inode_read() local
389 bhs = kmalloc_objs(*bhs, bh_count, GFP_NOFS); in ext4_xattr_inode_read()
390 if (!bhs) in ext4_xattr_inode_read()
395 true /* wait */, bhs); in ext4_xattr_inode_read()
401 if (!bhs[i]) { in ext4_xattr_inode_read()
405 memcpy((char *)buf + blocksize * i, bhs[i]->b_data, in ext4_xattr_inode_read()
411 brelse(bhs[i]); in ext4_xattr_inode_read()
413 if (bhs != bhs_inline) in ext4_xattr_inode_read()
414 kfree(bhs); in ext4_xattr_inode_read()
H A Dinode.c1070 bool wait, struct buffer_head **bhs) in ext4_bread_batch() argument
1075 bhs[i] = ext4_getblk(NULL, inode, block + i, 0 /* map_flags */); in ext4_bread_batch()
1076 if (IS_ERR(bhs[i])) { in ext4_bread_batch()
1077 err = PTR_ERR(bhs[i]); in ext4_bread_batch()
1085 if (bhs[i] && !ext4_buffer_uptodate(bhs[i])) in ext4_bread_batch()
1086 ext4_read_bh_lock(bhs[i], REQ_META | REQ_PRIO, false); in ext4_bread_batch()
1092 if (bhs[i]) in ext4_bread_batch()
1093 wait_on_buffer(bhs[i]); in ext4_bread_batch()
1096 if (bhs[i] && !buffer_uptodate(bhs[i])) { in ext4_bread_batch()
1105 brelse(bhs[i]); in ext4_bread_batch()
[all …]
/linux/arch/arm/lib/
H A Dfindbit.S54 bhs 3b
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1285 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()

12