/linux/fs/fat/ |
H A D | fatent.c | 45 struct buffer_head **bhs = fatent->bhs; in fat12_ent_set_ptr() local 47 WARN_ON(offset >= (bhs[0]->b_size - 1)); in fat12_ent_set_ptr() 48 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 49 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 51 WARN_ON(offset != (bhs[0]->b_size - 1)); in fat12_ent_set_ptr() 52 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 53 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 60 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 66 fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset); in fat32_ent_set_ptr() 72 struct buffer_head **bhs = fatent->bhs; in fat12_ent_bread() local [all …]
|
H A D | fat.h | 353 struct buffer_head *bhs[2]; member 362 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init() 377 brelse(fatent->bhs[i]); in fatent_brelse() 379 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_brelse() 476 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
|
H A D | misc.c | 362 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) in fat_sync_bhs() argument 367 write_dirty_buffer(bhs[i], 0); in fat_sync_bhs() 370 wait_on_buffer(bhs[i]); in fat_sync_bhs() 371 if (!err && !buffer_uptodate(bhs[i])) in fat_sync_bhs()
|
/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 | 86 /* Caller must provide a bhs[] with all NULL or non-NULL entries, so it 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() 155 bh = bhs[i - 1]; in ocfs2_read_blocks_sync() 166 bhs[i - 1] = NULL; in ocfs2_read_blocks_sync() 190 /* Caller must provide a bhs[] wit 194 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)) ocfs2_read_blocks() argument [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 | 1712 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() local 1734 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); in ocfs2_create_symlink_data() 1735 if (!bhs) { in ocfs2_create_symlink_data() 1761 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data() 1762 if (!bhs[virtual]) { in ocfs2_create_symlink_data() 1768 bhs[virtual]); in ocfs2_create_symlink_data() 1771 bhs[virtual], in ocfs2_create_symlink_data() 1778 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data() 1780 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data() 1784 ocfs2_journal_dirty(handle, bhs[virtual]); in ocfs2_create_symlink_data() [all …]
|
H A D | extent_map.h | 52 struct buffer_head *bhs[], int flags,
|
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)
|
/linux/fs/adfs/ |
H A D | dir.c | 30 memcpy(dst, dir->bhs[index]->b_data + offset, remain); in adfs_dir_copyfrom() 37 memcpy(dst, dir->bhs[index]->b_data + offset, len); in adfs_dir_copyfrom() 55 memcpy(dir->bhs[index]->b_data + offset, src, remain); in adfs_dir_copyto() 62 memcpy(dir->bhs[index]->b_data + offset, src, len); in adfs_dir_copyto() 71 if (dir->bhs != dir->bh) in __adfs_dir_cleanup() 72 kfree(dir->bhs); in __adfs_dir_cleanup() 73 dir->bhs = NULL; in __adfs_dir_cleanup() 82 brelse(dir->bhs[i]); in adfs_dir_relse() 92 bforget(dir->bhs[i]); in adfs_dir_forget() 100 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/exfat/ |
H A D | misc.c | 173 int exfat_update_bhs(struct buffer_head **bhs, int nr_bhs, int sync) in exfat_update_bhs() argument 178 set_buffer_uptodate(bhs[i]); in exfat_update_bhs() 179 mark_buffer_dirty(bhs[i]); in exfat_update_bhs() 181 write_dirty_buffer(bhs[i], REQ_SYNC); in exfat_update_bhs() 185 wait_on_buffer(bhs[i]); in exfat_update_bhs() 186 if (!err && !buffer_uptodate(bhs[i])) in exfat_update_bhs()
|
/linux/include/linux/ |
H A D | buffer_head.h | 245 void __bh_read_batch(int nr, struct buffer_head *bhs[], 453 static inline void bh_read_batch(int nr, struct buffer_head *bhs[]) in bh_read_batch() argument 455 __bh_read_batch(nr, bhs, 0, true); in bh_read_batch() 458 static inline void bh_readahead_batch(int nr, struct buffer_head *bhs[], in bh_readahead_batch() argument 461 __bh_read_batch(nr, bhs, op_flags, false); in bh_readahead_batch()
|
/linux/fs/ |
H A D | buffer.c | 1296 struct buffer_head *bhs[BH_LRU_SIZE]; member 1343 swap(evictee, b->bhs[i]); in bh_lru_install() 1371 struct buffer_head *bh = __this_cpu_read(bh_lrus.bhs[i]); in lookup_bh_lru() 1377 __this_cpu_write(bh_lrus.bhs[i], in lookup_bh_lru() 1378 __this_cpu_read(bh_lrus.bhs[i - 1])); in lookup_bh_lru() 1381 __this_cpu_write(bh_lrus.bhs[0], bh); in lookup_bh_lru() 1504 brelse(b->bhs[i]); in __invalidate_bh_lrus() 1505 b->bhs[i] = NULL; in __invalidate_bh_lrus() 1527 if (b->bhs[i]) in has_bh_in_lru() 3050 brelse(b->bhs[i]); in buffer_exit_cpu_dead() [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
|
H A D | proc-arm1026.S | 170 bhs __flush_whole_cache
|
H A D | proc-arm922.S | 161 bhs __flush_whole_cache
|
/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()
|
/linux/fs/nilfs2/ |
H A D | recovery.c | 93 struct buffer_head *bhs, u32 *sum, in nilfs_compute_checksum() argument 105 (unsigned char *)bhs->b_data + offset, size); in nilfs_compute_checksum()
|