/fs/reiserfs/ |
D | inode.c | 285 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 …]
|
/fs/xfs/ |
D | xfs_aops.c | 1280 struct buffer_head *bh_result, in xfs_map_direct() argument 1286 xfs_off_t size = bh_result->b_size; in xfs_map_direct() 1303 if (bh_result->b_private) { in xfs_map_direct() 1304 ioend = bh_result->b_private; in xfs_map_direct() 1323 bh_result->b_private = ioend; in xfs_map_direct() 1324 set_buffer_defer_completion(bh_result); in xfs_map_direct() 1349 struct buffer_head *bh_result, in xfs_map_trim_size() argument 1371 bh_result->b_size = mapping_size; in xfs_map_trim_size() 1378 struct buffer_head *bh_result, in __xfs_get_blocks() argument 1398 ASSERT(bh_result->b_size >= i_blocksize(inode)); in __xfs_get_blocks() [all …]
|
/fs/hpfs/ |
D | file.c | 76 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() 91 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 92 bh_result->b_size = n_secs << 9; in hpfs_get_block() 108 set_buffer_new(bh_result); in hpfs_get_block() 109 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s)); in hpfs_get_block()
|
/fs/jfs/ |
D | inode.c | 199 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()
|
/fs/bfs/ |
D | file.c | 64 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()
|
/fs/ocfs2/ |
D | aops.c | 57 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 …]
|
D | aops.h | 61 struct buffer_head *bh_result, int create);
|
D | ocfs2_trace.h | 1124 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))
|
/fs/omfs/ |
D | file.c | 218 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()
|
/fs/efs/ |
D | file.c | 13 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()
|
/fs/minix/ |
D | itree_v1.c | 54 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()
|
D | itree_v2.c | 63 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()
|
D | inode.c | 394 struct buffer_head *bh_result, int create) in minix_get_block() argument 397 return V1_minix_get_block(inode, block, bh_result, create); in minix_get_block() 399 return V2_minix_get_block(inode, block, bh_result, create); in minix_get_block()
|
/fs/nilfs2/ |
D | inode.c | 84 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()
|
/fs/ext2/ |
D | inode.c | 620 struct buffer_head *bh_result, in ext2_get_blocks() argument 646 clear_buffer_new(bh_result); /* What's this do? */ in ext2_get_blocks() 701 clear_buffer_new(bh_result); in ext2_get_blocks() 750 set_buffer_new(bh_result); in ext2_get_blocks() 752 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks() 754 set_buffer_boundary(bh_result); in ext2_get_blocks() 766 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in ext2_get_block() argument 768 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block() 770 bh_result, create); in ext2_get_block() 772 bh_result->b_size = (ret << inode->i_blkbits); in ext2_get_block()
|
/fs/affs/ |
D | file.c | 294 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()
|
/fs/ufs/ |
D | inode.c | 394 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block() argument 407 map_bh(bh_result, sb, phys64 + frag); in ufs_getfrag_block() 427 &err, bh_result->b_page)) in ufs_getfrag_block() 434 &err, &new, bh_result->b_page); in ufs_getfrag_block() 443 fragment, &err, &new, bh_result->b_page); in ufs_getfrag_block() 448 map_bh(bh_result, sb, phys64); in ufs_getfrag_block() 450 set_buffer_new(bh_result); in ufs_getfrag_block()
|
/fs/gfs2/ |
D | aops.c | 71 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()
|
/fs/sysv/ |
D | itree.c | 202 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()
|
/fs/fat/ |
D | inode.c | 113 struct buffer_head *bh_result, int create) in __fat_get_block() argument 125 map_bh(bh_result, sb, phys); in __fat_get_block() 157 set_buffer_new(bh_result); in __fat_get_block() 158 map_bh(bh_result, sb, phys); in __fat_get_block() 164 struct buffer_head *bh_result, int create) in fat_get_block() argument 167 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block() 170 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 173 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
|
/fs/hfs/ |
D | extent.c | 337 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()
|
/fs/hfsplus/ |
D | extents.c | 225 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument 283 map_bh(bh_result, sb, sector); in hfsplus_get_block() 286 set_buffer_new(bh_result); in hfsplus_get_block()
|
/fs/f2fs/ |
D | data.c | 1225 struct buffer_head *bh_result, int create, int flag, in get_data_block() argument 1228 return __get_data_block(inode, iblock, bh_result, create, in get_data_block() 1234 struct buffer_head *bh_result, int create) in get_data_block_dio() argument 1236 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_dio() 1243 struct buffer_head *bh_result, int create) in get_data_block_bmap() argument 1249 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_bmap()
|
/fs/befs/ |
D | linuxvfs.c | 120 struct buffer_head *bh_result, int create) in befs_get_block() argument 148 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
|
/fs/ext4/ |
D | inode.c | 934 struct buffer_head *bh_result, int create); 3164 struct buffer_head *bh_result, int create) in ext4_get_block_write() argument 3168 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_write() 3173 struct buffer_head *bh_result, int create) in ext4_get_block_write_nolock() argument 3177 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_write_nolock() 3182 struct buffer_head *bh_result, int create) in ext4_get_block_dax() argument 3189 return _ext4_get_block(inode, iblock, bh_result, flags); in ext4_get_block_dax()
|