Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/reiserfs/
Dinode.c286 struct buffer_head *bh_result, int args) in _get_block_create_0() argument
309 kunmap(bh_result->b_page); in _get_block_create_0()
318 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
337 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0()
340 set_buffer_boundary(bh_result); in _get_block_create_0()
350 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
356 kunmap(bh_result->b_page); in _get_block_create_0()
367 kunmap(bh_result->b_page); in _get_block_create_0()
376 if (buffer_uptodate(bh_result)) { in _get_block_create_0()
385 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) { in _get_block_create_0()
[all …]
/Linux-v4.19/fs/hpfs/
Dfile.c77 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument
85 if (bh_result->b_size >> 9 < n_secs) in hpfs_get_block()
86 n_secs = bh_result->b_size >> 9; in hpfs_get_block()
92 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
93 bh_result->b_size = n_secs << 9; in hpfs_get_block()
109 set_buffer_new(bh_result); in hpfs_get_block()
110 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
/Linux-v4.19/fs/jfs/
Dinode.c199 struct buffer_head *bh_result, int create) in jfs_get_block() argument
206 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block()
241 set_buffer_new(bh_result); in jfs_get_block()
244 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
245 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block()
261 set_buffer_new(bh_result); in jfs_get_block()
262 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
263 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; in jfs_get_block()
/Linux-v4.19/fs/bfs/
Dfile.c65 struct buffer_head *bh_result, int create) in bfs_get_block() argument
78 map_bh(bh_result, sb, phys); in bfs_get_block()
90 map_bh(bh_result, sb, phys); in bfs_get_block()
109 map_bh(bh_result, sb, phys); in bfs_get_block()
147 map_bh(bh_result, sb, phys); in bfs_get_block()
/Linux-v4.19/fs/ocfs2/
Daops.c57 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument
69 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block()
96 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
112 kaddr = kmap_atomic(bh_result->b_page); in ocfs2_symlink_get_block()
117 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block()
119 bh_result->b_size); in ocfs2_symlink_get_block()
121 set_buffer_uptodate(bh_result); in ocfs2_symlink_get_block()
126 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
138 struct buffer_head *bh_result, int create) in ocfs2_lock_get_block() argument
144 ret = ocfs2_get_block(inode, iblock, bh_result, create); in ocfs2_lock_get_block()
[all …]
Daops.h65 struct buffer_head *bh_result, int create);
Docfs2_trace.h1125 void *bh_result, int create),
1126 TP_ARGS(ino, iblock, bh_result, create),
1130 __field(void *, bh_result)
1136 __entry->bh_result = bh_result;
1141 __entry->bh_result, __entry->create)
1147 void *bh_result, int create), \
1148 TP_ARGS(ino, iblock, bh_result, create))
/Linux-v4.19/fs/efs/
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-v4.19/fs/minix/
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()
Ditree_v2.c63 struct buffer_head *bh_result, int create) in V2_minix_get_block() argument
65 return get_block(inode, block, bh_result, create); in V2_minix_get_block()
Dinode.c376 struct buffer_head *bh_result, int create) in minix_get_block() argument
379 return V1_minix_get_block(inode, block, bh_result, create); in minix_get_block()
381 return V2_minix_get_block(inode, block, bh_result, create); in minix_get_block()
/Linux-v4.19/fs/omfs/
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-v4.19/fs/affs/
Dfile.c295 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument
320 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
326 set_buffer_new(bh_result); in affs_get_block()
331 if (bh_result->b_blocknr) in affs_get_block()
334 (unsigned long long)bh_result->b_blocknr); in affs_get_block()
337 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
338 bh_result->b_blocknr = blocknr; in affs_get_block()
365 clear_buffer_mapped(bh_result); in affs_get_block()
366 bh_result->b_bdev = NULL; in affs_get_block()
/Linux-v4.19/fs/nilfs2/
Dinode.c71 struct buffer_head *bh_result, int create) in nilfs_get_block() argument
77 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block()
83 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block()
85 bh_result->b_size = (ret << inode->i_blkbits); in nilfs_get_block()
92 bh_result->b_blocknr = 0; in nilfs_get_block()
97 (unsigned long)bh_result); in nilfs_get_block()
118 set_buffer_new(bh_result); in nilfs_get_block()
119 set_buffer_delay(bh_result); in nilfs_get_block()
120 map_bh(bh_result, inode->i_sb, 0); in nilfs_get_block()
/Linux-v4.19/fs/fat/
Dinode.c114 struct buffer_head *bh_result, int create) in __fat_get_block() argument
126 map_bh(bh_result, sb, phys); in __fat_get_block()
170 set_buffer_new(bh_result); in __fat_get_block()
171 map_bh(bh_result, sb, phys); in __fat_get_block()
177 struct buffer_head *bh_result, int create) in fat_get_block() argument
180 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block()
183 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block()
186 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
290 struct buffer_head *bh_result, int create) in fat_get_block_bmap() argument
293 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block_bmap()
[all …]
/Linux-v4.19/fs/sysv/
Ditree.c203 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() argument
224 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
258 set_buffer_new(bh_result); in get_block()
/Linux-v4.19/fs/ufs/
Dinode.c396 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block() argument
436 &err, bh_result->b_page)) in ufs_getfrag_block()
443 &err, &new, bh_result->b_page); in ufs_getfrag_block()
452 fragment, &err, &new, bh_result->b_page); in ufs_getfrag_block()
457 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
459 set_buffer_new(bh_result); in ufs_getfrag_block()
466 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block()
/Linux-v4.19/fs/hfs/
Dextent.c333 struct buffer_head *bh_result, int create) in hfs_get_block() argument
371 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block()
376 set_buffer_new(bh_result); in hfs_get_block()
/Linux-v4.19/fs/hfsplus/
Dextents.c222 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument
278 map_bh(bh_result, sb, sector); in hfsplus_get_block()
281 set_buffer_new(bh_result); in hfsplus_get_block()
/Linux-v4.19/fs/ext4/
Dinode.c810 struct buffer_head *bh_result, int create) in ext4_get_block_unwritten() argument
814 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_unwritten()
827 struct buffer_head *bh_result, int flags) in ext4_get_block_trans() argument
835 if (bh_result->b_size >> inode->i_blkbits > DIO_MAX_BLOCKS) in ext4_get_block_trans()
836 bh_result->b_size = DIO_MAX_BLOCKS << inode->i_blkbits; in ext4_get_block_trans()
838 bh_result->b_size >> inode->i_blkbits); in ext4_get_block_trans()
844 ret = _ext4_get_block(inode, iblock, bh_result, flags); in ext4_get_block_trans()
870 sector_t iblock, struct buffer_head *bh_result, int create) in ext4_dio_get_block_unwritten_async() argument
877 ret = ext4_get_block_trans(inode, iblock, bh_result, in ext4_dio_get_block_unwritten_async()
887 if (!ret && buffer_unwritten(bh_result)) { in ext4_dio_get_block_unwritten_async()
[all …]
/Linux-v4.19/fs/gfs2/
Daops.c75 struct buffer_head *bh_result, int create) in gfs2_get_block_noalloc() argument
79 error = gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_noalloc()
82 if (!buffer_mapped(bh_result)) in gfs2_get_block_noalloc()
/Linux-v4.19/fs/ext2/
Dinode.c778 struct buffer_head *bh_result, int create) in ext2_get_block() argument
780 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block()
790 map_bh(bh_result, inode->i_sb, bno); in ext2_get_block()
791 bh_result->b_size = (ret << inode->i_blkbits); in ext2_get_block()
793 set_buffer_new(bh_result); in ext2_get_block()
795 set_buffer_boundary(bh_result); in ext2_get_block()
/Linux-v4.19/fs/f2fs/
Ddata.c1246 struct buffer_head *bh_result, int create, int flag, in get_data_block() argument
1249 return __get_data_block(inode, iblock, bh_result, create, in get_data_block()
1255 struct buffer_head *bh_result, int create) in get_data_block_dio() argument
1257 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_dio()
1264 struct buffer_head *bh_result, int create) in get_data_block_bmap() argument
1270 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_bmap()
/Linux-v4.19/fs/befs/
Dlinuxvfs.c132 struct buffer_head *bh_result, int create) in befs_get_block() argument
160 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
/Linux-v4.19/fs/btrfs/
Dinode.c7480 struct buffer_head *bh_result, in btrfs_get_blocks_direct_read() argument
7490 bh_result->b_blocknr = (em->block_start + (start - em->start)) >> in btrfs_get_blocks_direct_read()
7492 bh_result->b_size = len; in btrfs_get_blocks_direct_read()
7493 bh_result->b_bdev = em->bdev; in btrfs_get_blocks_direct_read()
7494 set_buffer_mapped(bh_result); in btrfs_get_blocks_direct_read()
7500 struct buffer_head *bh_result, in btrfs_get_blocks_direct_write() argument
7562 len = bh_result->b_size; in btrfs_get_blocks_direct_write()
7573 bh_result->b_blocknr = (em->block_start + (start - em->start)) >> in btrfs_get_blocks_direct_write()
7575 bh_result->b_size = len; in btrfs_get_blocks_direct_write()
7576 bh_result->b_bdev = em->bdev; in btrfs_get_blocks_direct_write()
[all …]

12