/fs/reiserfs/ |
D | inode.c | 258 struct buffer_head *bh_result, int args) in _get_block_create_0() argument 281 kunmap(bh_result->b_page); in _get_block_create_0() 287 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0() 304 map_bh(bh_result, inode->i_sb, blocknr); in _get_block_create_0() 307 set_buffer_boundary(bh_result); in _get_block_create_0() 313 && !PageUptodate(bh_result->b_page)) { in _get_block_create_0() 319 kunmap(bh_result->b_page); in _get_block_create_0() 328 kunmap(bh_result->b_page); in _get_block_create_0() 336 if (buffer_uptodate(bh_result)) { in _get_block_create_0() 345 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) { in _get_block_create_0() [all …]
|
/fs/jfs/ |
D | inode.c | 196 struct buffer_head *bh_result, int create) in jfs_get_block() argument 203 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block() 238 set_buffer_new(bh_result); in jfs_get_block() 241 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block() 242 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()
|
/fs/bfs/ |
D | file.c | 66 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()
|
/fs/xfs/ |
D | xfs_aops.c | 1124 struct buffer_head *bh_result, in __xfs_get_blocks() argument 1143 ASSERT(bh_result->b_size >= (1 << inode->i_blkbits)); in __xfs_get_blocks() 1144 size = bh_result->b_size; in __xfs_get_blocks() 1196 xfs_map_buffer(inode, bh_result, &imap, offset); in __xfs_get_blocks() 1199 bh_result->b_private = inode; in __xfs_get_blocks() 1200 set_buffer_unwritten(bh_result); in __xfs_get_blocks() 1208 bh_result->b_bdev = xfs_find_bdev_for_inode(inode); in __xfs_get_blocks() 1220 ((!buffer_mapped(bh_result) && !buffer_uptodate(bh_result)) || in __xfs_get_blocks() 1223 set_buffer_new(bh_result); in __xfs_get_blocks() 1228 set_buffer_uptodate(bh_result); in __xfs_get_blocks() [all …]
|
/fs/ocfs2/ |
D | aops.c | 52 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument 64 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block() 90 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block() 105 kaddr = kmap_atomic(bh_result->b_page); in ocfs2_symlink_get_block() 110 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block() 112 bh_result->b_size); in ocfs2_symlink_get_block() 114 set_buffer_uptodate(bh_result); in ocfs2_symlink_get_block() 119 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block() 131 struct buffer_head *bh_result, int create) in ocfs2_get_block() argument 135 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block() [all …]
|
D | aops.h | 59 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/hpfs/ |
D | file.c | 66 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument 73 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block() 89 set_buffer_new(bh_result); in hpfs_get_block() 90 map_bh(bh_result, inode->i_sb, s); in hpfs_get_block()
|
/fs/efs/ |
D | file.c | 13 struct buffer_head *bh_result, int create) in efs_get_block() argument 34 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/fs/omfs/ |
D | file.c | 219 struct buffer_head *bh_result, int create) in omfs_get_block() argument 230 int max_blocks = bh_result->b_size >> inode->i_blkbits; in omfs_get_block() 257 map_bh(bh_result, inode->i_sb, offset); in omfs_get_block() 260 bh_result->b_size = (remain << inode->i_blkbits); in omfs_get_block() 278 map_bh(bh_result, inode->i_sb, in omfs_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 | 62 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()
|
D | inode.c | 370 struct buffer_head *bh_result, int create) in minix_get_block() argument 373 return V1_minix_get_block(inode, block, bh_result, create); in minix_get_block() 375 return V2_minix_get_block(inode, block, bh_result, create); in minix_get_block()
|
/fs/nilfs2/ |
D | inode.c | 74 struct buffer_head *bh_result, int create) in nilfs_get_block() argument 80 unsigned maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block() 86 map_bh(bh_result, inode->i_sb, blknum); in nilfs_get_block() 88 bh_result->b_size = (ret << inode->i_blkbits); in nilfs_get_block() 95 bh_result->b_blocknr = 0; in nilfs_get_block() 100 (unsigned long)bh_result); in nilfs_get_block() 124 set_buffer_new(bh_result); in nilfs_get_block() 125 set_buffer_delay(bh_result); in nilfs_get_block() 126 map_bh(bh_result, inode->i_sb, 0); /* dbn must be changed in nilfs_get_block()
|
/fs/affs/ |
D | file.c | 322 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block() argument 346 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block() 352 set_buffer_new(bh_result); in affs_get_block() 357 if (bh_result->b_blocknr) in affs_get_block() 358 affs_warning(sb, "get_block", "block already set (%x)", bh_result->b_blocknr); in affs_get_block() 361 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block() 362 bh_result->b_blocknr = blocknr; in affs_get_block() 388 clear_buffer_mapped(bh_result); in affs_get_block() 389 bh_result->b_bdev = NULL; in affs_get_block()
|
/fs/ext2/ |
D | inode.c | 602 struct buffer_head *bh_result, in ext2_get_blocks() argument 626 clear_buffer_new(bh_result); /* What's this do? */ in ext2_get_blocks() 681 clear_buffer_new(bh_result); in ext2_get_blocks() 728 set_buffer_new(bh_result); in ext2_get_blocks() 730 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks() 732 set_buffer_boundary(bh_result); in ext2_get_blocks() 744 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in ext2_get_block() argument 746 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block() 748 bh_result, create); in ext2_get_block() 750 bh_result->b_size = (ret << inode->i_blkbits); in ext2_get_block()
|
/fs/ufs/ |
D | inode.c | 415 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()
|
D | ufs.h | 114 extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result…
|
/fs/fat/ |
D | inode.c | 58 struct buffer_head *bh_result, int create) in __fat_get_block() argument 70 map_bh(bh_result, sb, phys); in __fat_get_block() 102 set_buffer_new(bh_result); in __fat_get_block() 103 map_bh(bh_result, sb, phys); in __fat_get_block() 109 struct buffer_head *bh_result, int create) in fat_get_block() argument 112 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block() 115 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 118 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
|
/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/gfs2/ |
D | aops.c | 69 struct buffer_head *bh_result, int create) in gfs2_get_block_noalloc() argument 73 error = gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_noalloc() 76 if (!buffer_mapped(bh_result)) in gfs2_get_block_noalloc() 82 struct buffer_head *bh_result, int create) in gfs2_get_block_direct() argument 84 return gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_direct()
|
/fs/ext3/ |
D | inode.c | 854 struct buffer_head *bh_result, in ext3_get_blocks_handle() argument 882 clear_buffer_new(bh_result); in ext3_get_blocks_handle() 943 clear_buffer_new(bh_result); in ext3_get_blocks_handle() 983 set_buffer_new(bh_result); in ext3_get_blocks_handle() 985 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext3_get_blocks_handle() 987 set_buffer_boundary(bh_result); in ext3_get_blocks_handle() 997 BUFFER_TRACE(bh_result, "returned"); in ext3_get_blocks_handle() 1017 struct buffer_head *bh_result, int create) in ext3_get_block() argument 1021 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext3_get_block() 1036 max_blocks, bh_result, create); in ext3_get_block() [all …]
|
/fs/hfsplus/ |
D | extents.c | 216 struct buffer_head *bh_result, int create) in hfsplus_get_block() argument 274 map_bh(bh_result, sb, sector); in hfsplus_get_block() 277 set_buffer_new(bh_result); in hfsplus_get_block()
|
/fs/hfs/ |
D | extent.c | 320 struct buffer_head *bh_result, int create) in hfs_get_block() argument 358 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + in hfs_get_block() 363 set_buffer_new(bh_result); in hfs_get_block()
|
/fs/befs/ |
D | linuxvfs.c | 119 struct buffer_head *bh_result, int create) in befs_get_block() argument 153 map_bh(bh_result, inode->i_sb, disk_off); in befs_get_block()
|