Home
last modified time | relevance | path

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

/linux-4.1.27/fs/reiserfs/
Dinode.c285 struct buffer_head *bh_result, int args) in _get_block_create_0() argument
308 kunmap(bh_result->b_page); in _get_block_create_0()
317 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
336 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0()
339 set_buffer_boundary(bh_result); in _get_block_create_0()
349 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0()
355 kunmap(bh_result->b_page); in _get_block_create_0()
366 kunmap(bh_result->b_page); in _get_block_create_0()
375 if (buffer_uptodate(bh_result)) { in _get_block_create_0()
384 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) { in _get_block_create_0()
[all …]
Dreiserfs.h3069 struct buffer_head *bh_result, int create);
/linux-4.1.27/fs/hpfs/
Dfile.c76 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument
84 if (bh_result->b_size >> 9 < n_secs) in hpfs_get_block()
85 n_secs = bh_result->b_size >> 9; in hpfs_get_block()
86 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
87 bh_result->b_size = n_secs << 9; in hpfs_get_block()
103 set_buffer_new(bh_result); in hpfs_get_block()
104 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
/linux-4.1.27/fs/jfs/
Dinode.c197 struct buffer_head *bh_result, int create) in jfs_get_block() argument
204 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()
259 set_buffer_new(bh_result); in jfs_get_block()
260 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block()
261 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; in jfs_get_block()
/linux-4.1.27/fs/bfs/
Dfile.c64 struct buffer_head *bh_result, int create) in bfs_get_block() argument
77 map_bh(bh_result, sb, phys); in bfs_get_block()
89 map_bh(bh_result, sb, phys); in bfs_get_block()
108 map_bh(bh_result, sb, phys); in bfs_get_block()
146 map_bh(bh_result, sb, phys); in bfs_get_block()
/linux-4.1.27/fs/xfs/
Dxfs_aops.c1261 struct buffer_head *bh_result, in xfs_map_direct() argument
1266 xfs_off_t size = bh_result->b_size; in xfs_map_direct()
1276 if (bh_result->b_private) { in xfs_map_direct()
1277 ioend = bh_result->b_private; in xfs_map_direct()
1295 bh_result->b_private = ioend; in xfs_map_direct()
1296 set_buffer_defer_completion(bh_result); in xfs_map_direct()
1321 struct buffer_head *bh_result, in xfs_map_trim_size() argument
1343 bh_result->b_size = mapping_size; in xfs_map_trim_size()
1350 struct buffer_head *bh_result, in __xfs_get_blocks() argument
1369 ASSERT(bh_result->b_size >= (1 << inode->i_blkbits)); in __xfs_get_blocks()
[all …]
/linux-4.1.27/fs/efs/
Dfile.c13 struct buffer_head *bh_result, int create) in efs_get_block() argument
32 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
/linux-4.1.27/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-4.1.27/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_get_block() argument
142 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block()
[all …]
Daops.h61 struct buffer_head *bh_result, int create);
Docfs2_trace.h1124 void *bh_result, int create),
1125 TP_ARGS(ino, iblock, bh_result, create),
1129 __field(void *, bh_result)
1135 __entry->bh_result = bh_result;
1140 __entry->bh_result, __entry->create)
1146 void *bh_result, int create), \
1147 TP_ARGS(ino, iblock, bh_result, create))
/linux-4.1.27/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-4.1.27/fs/f2fs/
Ddata.c255 struct extent_info *ei, struct buffer_head *bh_result) in f2fs_map_bh() argument
258 size_t max_size = bh_result->b_size; in f2fs_map_bh()
261 clear_buffer_new(bh_result); in f2fs_map_bh()
262 map_bh(bh_result, sb, ei->blk + pgofs - ei->fofs); in f2fs_map_bh()
264 bh_result->b_size = min(max_size, mapped_size); in f2fs_map_bh()
1219 struct buffer_head *bh_result, int create, bool fiemap) in __get_data_block() argument
1222 unsigned maxblocks = bh_result->b_size >> blkbits; in __get_data_block()
1234 f2fs_map_bh(inode->i_sb, pgofs, &ei, bh_result); in __get_data_block()
1253 clear_buffer_new(bh_result); in __get_data_block()
1254 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); in __get_data_block()
[all …]
/linux-4.1.27/fs/nilfs2/
Dinode.c84 struct buffer_head *bh_result, int create) in nilfs_get_block() argument
90 unsigned maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block()
96 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block()
98 bh_result->b_size = (ret << inode->i_blkbits); in nilfs_get_block()
105 bh_result->b_blocknr = 0; in nilfs_get_block()
110 (unsigned long)bh_result); in nilfs_get_block()
134 set_buffer_new(bh_result); in nilfs_get_block()
135 set_buffer_delay(bh_result); in nilfs_get_block()
136 map_bh(bh_result, inode->i_sb, 0); /* dbn must be changed in nilfs_get_block()
/linux-4.1.27/fs/affs/
Dfile.c294 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument
319 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
325 set_buffer_new(bh_result); in affs_get_block()
330 if (bh_result->b_blocknr) in affs_get_block()
333 (unsigned long long)bh_result->b_blocknr); in affs_get_block()
336 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
337 bh_result->b_blocknr = blocknr; in affs_get_block()
364 clear_buffer_mapped(bh_result); in affs_get_block()
365 bh_result->b_bdev = NULL; in affs_get_block()
/linux-4.1.27/fs/ext2/
Dinode.c619 struct buffer_head *bh_result, in ext2_get_blocks() argument
645 clear_buffer_new(bh_result); /* What's this do? */ in ext2_get_blocks()
700 clear_buffer_new(bh_result); in ext2_get_blocks()
749 set_buffer_new(bh_result); in ext2_get_blocks()
751 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
753 set_buffer_boundary(bh_result); in ext2_get_blocks()
765 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in ext2_get_block() argument
767 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block()
769 bh_result, create); in ext2_get_block()
771 bh_result->b_size = (ret << inode->i_blkbits); in ext2_get_block()
/linux-4.1.27/fs/ufs/
Dinode.c415 int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int cr… in ufs_getfrag_block() argument
430 map_bh(bh_result, sb, phys64); in ufs_getfrag_block()
459 bh_result->b_page) in ufs_getfrag_block()
462 bh_result->b_page) in ufs_getfrag_block()
465 &err, &phys, &new, bh_result->b_page) in ufs_getfrag_block()
501 set_buffer_new(bh_result); in ufs_getfrag_block()
502 map_bh(bh_result, sb, phys); in ufs_getfrag_block()
Dufs.h125 extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result
/linux-4.1.27/fs/sysv/
Ditree.c202 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() argument
223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), in get_block()
257 set_buffer_new(bh_result); in get_block()
/linux-4.1.27/fs/gfs2/
Daops.c71 struct buffer_head *bh_result, int create) in gfs2_get_block_noalloc() argument
75 error = gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_noalloc()
78 if (!buffer_mapped(bh_result)) in gfs2_get_block_noalloc()
84 struct buffer_head *bh_result, int create) in gfs2_get_block_direct() argument
86 return gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_direct()
/linux-4.1.27/fs/fat/
Dinode.c112 struct buffer_head *bh_result, int create) in __fat_get_block() argument
124 map_bh(bh_result, sb, phys); in __fat_get_block()
156 set_buffer_new(bh_result); in __fat_get_block()
157 map_bh(bh_result, sb, phys); in __fat_get_block()
163 struct buffer_head *bh_result, int create) in fat_get_block() argument
166 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block()
169 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block()
172 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
/linux-4.1.27/fs/hfsplus/
Dextents.c221 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument
277 map_bh(bh_result, sb, sector); in hfsplus_get_block()
280 set_buffer_new(bh_result); in hfsplus_get_block()
Dhfsplus_fs.h468 struct buffer_head *bh_result, int create);
/linux-4.1.27/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-4.1.27/fs/ext3/
Dinode.c859 struct buffer_head *bh_result, in ext3_get_blocks_handle() argument
887 clear_buffer_new(bh_result); in ext3_get_blocks_handle()
948 clear_buffer_new(bh_result); in ext3_get_blocks_handle()
988 set_buffer_new(bh_result); in ext3_get_blocks_handle()
990 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext3_get_blocks_handle()
992 set_buffer_boundary(bh_result); in ext3_get_blocks_handle()
1002 BUFFER_TRACE(bh_result, "returned"); in ext3_get_blocks_handle()
1022 struct buffer_head *bh_result, int create) in ext3_get_block() argument
1026 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext3_get_block()
1041 max_blocks, bh_result, create); in ext3_get_block()
[all …]
Dext3.h1051 sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result,
/linux-4.1.27/fs/befs/
Dlinuxvfs.c126 struct buffer_head *bh_result, int create) in befs_get_block() argument
154 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
/linux-4.1.27/fs/isofs/
Dinode.c1083 struct buffer_head *bh_result, int create) in isofs_get_block() argument
1092 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); in isofs_get_block()
/linux-4.1.27/fs/udf/
Dinode.c421 struct buffer_head *bh_result, int create) in udf_get_block() argument
430 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
450 set_buffer_new(bh_result); in udf_get_block()
451 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
/linux-4.1.27/fs/ext4/
Dinode.c910 struct buffer_head *bh_result, int create);
3046 struct buffer_head *bh_result, int create) in ext4_get_block_write() argument
3050 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_write()
3055 struct buffer_head *bh_result, int create) in ext4_get_block_write_nolock() argument
3059 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_write_nolock()
Dext4.h2279 struct buffer_head *bh_result, int create);
2281 struct buffer_head *bh_result, int create);
/linux-4.1.27/fs/btrfs/
Dinode.c7430 struct buffer_head *bh_result, int create) in btrfs_get_blocks_direct() argument
7437 u64 len = bh_result->b_size; in btrfs_get_blocks_direct()
7558 len = bh_result->b_size; in btrfs_get_blocks_direct()
7567 bh_result->b_blocknr = (em->block_start + (start - em->start)) >> in btrfs_get_blocks_direct()
7569 bh_result->b_size = len; in btrfs_get_blocks_direct()
7570 bh_result->b_bdev = em->bdev; in btrfs_get_blocks_direct()
7571 set_buffer_mapped(bh_result); in btrfs_get_blocks_direct()
7574 set_buffer_new(bh_result); in btrfs_get_blocks_direct()
/linux-4.1.27/include/linux/
Dfs.h70 struct buffer_head *bh_result, int create);