Home
last modified time | relevance | path

Searched refs:bh_result (Results 1 – 22 of 22) sorted by relevance

/linux/fs/exfat/
H A Dinode.c265 struct buffer_head *bh_result, int create) in exfat_get_block() argument
270 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in exfat_get_block()
306 map_bh(bh_result, sb, phys); in exfat_get_block()
307 if (buffer_delay(bh_result)) in exfat_get_block()
308 clear_buffer_delay(bh_result); in exfat_get_block()
321 if (i_size == ei->valid_size || create || !bh_result->b_folio) in exfat_get_block()
338 set_buffer_new(bh_result); in exfat_get_block()
349 if (bh_result->b_folio && iblock == valid_blks && in exfat_get_block()
364 if (!folio_buffers(bh_result->b_folio)) { in exfat_get_block()
371 addr = folio_address(bh_result->b_folio) + in exfat_get_block()
[all …]
/linux/fs/jfs/
H A Dinode.c206 struct buffer_head *bh_result, int create) in jfs_get_block() argument
213 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block()
239 set_buffer_new(bh_result); in jfs_get_block()
242 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
243 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block()
258 set_buffer_new(bh_result); in jfs_get_block()
259 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
260 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; in jfs_get_block()
/linux/fs/bfs/
H A Dfile.c66 struct buffer_head *bh_result, int create) in bfs_get_block() argument
79 map_bh(bh_result, sb, phys); in bfs_get_block()
91 map_bh(bh_result, sb, phys); in bfs_get_block()
110 map_bh(bh_result, sb, phys); in bfs_get_block()
148 map_bh(bh_result, sb, phys); in bfs_get_block()
/linux/fs/hpfs/
H A Dfile.c81 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument
89 if (bh_result->b_size >> 9 < n_secs) in hpfs_get_block()
90 n_secs = bh_result->b_size >> 9; in hpfs_get_block()
96 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
97 bh_result->b_size = n_secs << 9; in hpfs_get_block()
113 set_buffer_new(bh_result); in hpfs_get_block()
114 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
/linux/fs/ocfs2/
H A Daops.c41 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument
52 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block()
79 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
94 memcpy_to_folio(bh_result->b_folio, in ocfs2_symlink_get_block()
95 bh_result->b_size * iblock, in ocfs2_symlink_get_block()
97 bh_result->b_size); in ocfs2_symlink_get_block()
98 set_buffer_uptodate(bh_result); in ocfs2_symlink_get_block()
103 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
115 struct buffer_head *bh_result, int create) in ocfs2_lock_get_block() argument
121 ret = ocfs2_get_block(inode, iblock, bh_result, create); in ocfs2_lock_get_block()
[all …]
H A Docfs2_trace.h1127 void *bh_result, int create),
1128 TP_ARGS(ino, iblock, bh_result, create),
1132 __field(void *, bh_result)
1138 __entry->bh_result = bh_result;
1143 __entry->bh_result, __entry->create)
1149 void *bh_result, int create), \
1150 TP_ARGS(ino, iblock, bh_result, create))
/linux/fs/efs/
H A Dfile.c14 struct buffer_head *bh_result, int create) in efs_get_block() argument
33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/linux/fs/omfs/
H A Dfile.c218 struct buffer_head *bh_result, int create) in omfs_get_block() argument
229 int max_blocks = bh_result->b_size >> inode->i_blkbits; in omfs_get_block()
256 map_bh(bh_result, inode->i_sb, offset); in omfs_get_block()
259 bh_result->b_size = (remain << inode->i_blkbits); in omfs_get_block()
277 map_bh(bh_result, inode->i_sb, in omfs_get_block()
/linux/fs/minix/
H A Ditree_v1.c54 struct buffer_head *bh_result, int create) in V1_minix_get_block() argument
56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()
H A Ditree_v2.c62 struct buffer_head *bh_result, int create) in V2_minix_get_block() argument
64 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
H A Dinode.c427 struct buffer_head *bh_result, int create) in minix_get_block() argument
430 return V1_minix_get_block(inode, block, bh_result, create); in minix_get_block()
432 return V2_minix_get_block(inode, block, bh_result, create); in minix_get_block()
/linux/fs/affs/
H A Dfile.c297 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument
322 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
328 set_buffer_new(bh_result); in affs_get_block()
333 if (bh_result->b_blocknr) in affs_get_block()
336 (unsigned long long)bh_result->b_blocknr); in affs_get_block()
339 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
340 bh_result->b_blocknr = blocknr; in affs_get_block()
367 clear_buffer_mapped(bh_result); in affs_get_block()
368 bh_result->b_bdev = NULL; in affs_get_block()
/linux/fs/nilfs2/
H A Dinode.c75 struct buffer_head *bh_result, int create) in nilfs_get_block() argument
81 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block()
87 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block()
89 bh_result->b_size = (ret << inode->i_blkbits); in nilfs_get_block()
96 bh_result->b_blocknr = 0; in nilfs_get_block()
101 (unsigned long)bh_result); in nilfs_get_block()
122 set_buffer_new(bh_result); in nilfs_get_block()
123 set_buffer_delay(bh_result); in nilfs_get_block()
124 map_bh(bh_result, inode->i_sb, 0); in nilfs_get_block()
/linux/fs/fat/
H A Dinode.c121 struct buffer_head *bh_result, int create) in __fat_get_block() argument
133 map_bh(bh_result, sb, phys); in __fat_get_block()
177 set_buffer_new(bh_result); in __fat_get_block()
178 map_bh(bh_result, sb, phys); in __fat_get_block()
184 struct buffer_head *bh_result, int create) in fat_get_block() argument
187 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block()
190 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block()
193 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
292 struct buffer_head *bh_result, int create) in fat_get_block_bmap() argument
295 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block_bmap()
[all …]
/linux/fs/ufs/
H A Dinode.c375 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block() argument
415 &err, bh_result->b_folio)) in ufs_getfrag_block()
422 &err, &new, bh_result->b_folio); in ufs_getfrag_block()
431 fragment, &err, &new, bh_result->b_folio); in ufs_getfrag_block()
436 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
438 set_buffer_new(bh_result); in ufs_getfrag_block()
445 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block()
/linux/fs/ext2/
H A Dinode.c784 struct buffer_head *bh_result, int create) in ext2_get_block() argument
786 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block()
796 map_bh(bh_result, inode->i_sb, bno); in ext2_get_block()
797 bh_result->b_size = (ret << inode->i_blkbits); in ext2_get_block()
799 set_buffer_new(bh_result); in ext2_get_block()
801 set_buffer_boundary(bh_result); in ext2_get_block()
/linux/fs/hfs/
H A Dextent.c337 struct buffer_head *bh_result, int create) in hfs_get_block() argument
377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
382 set_buffer_new(bh_result); in hfs_get_block()
/linux/fs/hfsplus/
H A Dextents.c226 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument
284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
287 set_buffer_new(bh_result); in hfsplus_get_block()
/linux/fs/udf/
H A Dinode.c68 struct buffer_head *bh_result, int create);
460 struct buffer_head *bh_result, int flags) in __udf_get_block() argument
472 map_bh(bh_result, inode->i_sb, map.pblk); in __udf_get_block()
474 set_buffer_new(bh_result); in __udf_get_block()
480 struct buffer_head *bh_result, int create) in udf_get_block() argument
492 return __udf_get_block(inode, block, bh_result, flags); in udf_get_block()
502 struct buffer_head *bh_result, int create) in udf_get_block_wb() argument
504 return __udf_get_block(inode, block, bh_result, 0); in udf_get_block_wb()
/linux/fs/befs/
H A Dlinuxvfs.c133 struct buffer_head *bh_result, int create) in befs_get_block() argument
161 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
/linux/fs/isofs/
H A Dinode.c1113 struct buffer_head *bh_result, int create) in isofs_get_block() argument
1122 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); in isofs_get_block()
/linux/fs/ext4/
H A Dinode.c943 struct buffer_head *bh_result, int create) in ext4_get_block_unwritten() argument
949 ret = _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_unwritten()
957 if (ret == 0 && buffer_unwritten(bh_result)) in ext4_get_block_unwritten()
958 set_buffer_new(bh_result); in ext4_get_block_unwritten()