/fs/efs/ |
H A D | file.c | 13 struct buffer_head *bh_result, int create) 32 map_bh(bh_result, inode->i_sb, phys); 12 efs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
|
/fs/minix/ |
H A D | itree_v1.c | 54 struct buffer_head *bh_result, int create) 56 return get_block(inode, block, bh_result, create); 53 V1_minix_get_block(struct inode * inode, long block, struct buffer_head *bh_result, int create) argument
|
H A D | itree_v2.c | 63 struct buffer_head *bh_result, int create) 65 return get_block(inode, block, bh_result, create); 62 V2_minix_get_block(struct inode * inode, long block, struct buffer_head *bh_result, int create) argument
|
H A D | inode.c | 376 struct buffer_head *bh_result, int create) 379 return V1_minix_get_block(inode, block, bh_result, create); 381 return V2_minix_get_block(inode, block, bh_result, create); 375 minix_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|
/fs/bfs/ |
H A D | file.c | 66 struct buffer_head *bh_result, int create) 79 map_bh(bh_result, sb, phys); 91 map_bh(bh_result, sb, phys); 110 map_bh(bh_result, sb, phys); 148 map_bh(bh_result, sb, phys); 65 bfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|
/fs/hfs/ |
H A D | extent.c | 333 struct buffer_head *bh_result, int create) 371 map_bh(bh_result, sb, HFS_SB(sb)->fs_start + 376 set_buffer_new(bh_result); 332 hfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|
/fs/hpfs/ |
H A D | file.c | 76 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 84 if (bh_result->b_size >> 9 < n_secs) 85 n_secs = bh_result->b_size >> 9; 86 map_bh(bh_result, inode->i_sb, s); 87 bh_result->b_size = n_secs << 9; 103 set_buffer_new(bh_result); 104 map_bh(bh_result, inode->i_sb, s);
|
/fs/jfs/ |
H A D | inode.c | 197 struct buffer_head *bh_result, int create) 204 s32 xlen = bh_result->b_size >> ip->i_blkbits; 239 set_buffer_new(bh_result); 242 map_bh(bh_result, ip->i_sb, xaddr); 243 bh_result->b_size = xlen << ip->i_blkbits; 259 set_buffer_new(bh_result); 260 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); 261 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; 196 jfs_get_block(struct inode *ip, sector_t lblock, struct buffer_head *bh_result, int create) argument
|
/fs/omfs/ |
H A D | file.c | 218 struct buffer_head *bh_result, int create) 229 int max_blocks = bh_result->b_size >> inode->i_blkbits; 256 map_bh(bh_result, inode->i_sb, offset); 259 bh_result->b_size = (remain << inode->i_blkbits); 277 map_bh(bh_result, inode->i_sb, 217 omfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|
/fs/hfsplus/ |
H A D | extents.c | 221 struct buffer_head *bh_result, int create) 277 map_bh(bh_result, sb, sector); 280 set_buffer_new(bh_result); 220 hfsplus_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
|
/fs/sysv/ |
H A D | itree.c | 202 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 223 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb), 257 set_buffer_new(bh_result);
|
/fs/affs/ |
H A D | file.c | 321 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 346 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); 352 set_buffer_new(bh_result); 357 if (bh_result->b_blocknr) 358 affs_warning(sb, "get_block", "block already set (%x)", bh_result->b_blocknr); 361 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); 362 bh_result->b_blocknr = blocknr; 388 clear_buffer_mapped(bh_result); 389 bh_result->b_bdev = NULL;
|
/fs/befs/ |
H A D | linuxvfs.c | 115 * disk offset (passed back in bh_result). 126 struct buffer_head *bh_result, int create) 154 map_bh(bh_result, inode->i_sb, disk_off); 125 befs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|
/fs/gfs2/ |
H A D | aops.c | 64 * @bh_result: The buffer head to return the result in 71 struct buffer_head *bh_result, int create) 75 error = gfs2_block_map(inode, lblock, bh_result, 0); 78 if (!buffer_mapped(bh_result)) 84 struct buffer_head *bh_result, int create) 86 return gfs2_block_map(inode, lblock, bh_result, 0); 70 gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create) argument 83 gfs2_get_block_direct(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create) argument
|
/fs/nilfs2/ |
H A D | inode.c | 74 * @bh_result - buffer head to be mapped on 82 struct buffer_head *bh_result, int create) 88 unsigned maxblocks = bh_result->b_size >> inode->i_blkbits; 94 map_bh(bh_result, inode->i_sb, blknum); 96 bh_result->b_size = (ret << inode->i_blkbits); 103 bh_result->b_blocknr = 0; 108 (unsigned long)bh_result); 132 set_buffer_new(bh_result); 133 set_buffer_delay(bh_result); 134 map_bh(bh_result, inod 81 nilfs_get_block(struct inode *inode, sector_t blkoff, struct buffer_head *bh_result, int create) argument [all...] |
/fs/ufs/ |
H A D | inode.c | 415 int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create) argument 430 map_bh(bh_result, sb, phys64); 459 bh_result->b_page) 462 bh_result->b_page) 465 &err, &phys, &new, bh_result->b_page) 501 set_buffer_new(bh_result); 502 map_bh(bh_result, sb, phys);
|
/fs/ext2/ |
H A D | inode.c | 620 struct buffer_head *bh_result, 646 clear_buffer_new(bh_result); /* What's this do? */ 701 clear_buffer_new(bh_result); 748 set_buffer_new(bh_result); 750 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); 752 set_buffer_boundary(bh_result); 764 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 766 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; 768 bh_result, create); 770 bh_result 618 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result, int create) argument [all...] |
/fs/f2fs/ |
H A D | data.c | 275 struct buffer_head *bh_result) 300 clear_buffer_new(bh_result); 301 map_bh(bh_result, inode->i_sb, 305 bh_result->b_size = (count << blkbits); 307 bh_result->b_size = UINT_MAX; 621 struct buffer_head *bh_result, int create, bool fiemap) 624 unsigned maxblocks = bh_result->b_size >> blkbits; 634 if (check_extent_cache(inode, pgofs, bh_result)) 654 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); 660 map_bh(bh_result, inod 274 check_extent_cache(struct inode *inode, pgoff_t pgofs, struct buffer_head *bh_result) argument 620 __get_data_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create, bool fiemap) argument 721 get_data_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 727 get_data_block_fiemap(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument [all...] |
/fs/xfs/ |
H A D | xfs_aops.c | 1259 struct buffer_head *bh_result, 1278 ASSERT(bh_result->b_size >= (1 << inode->i_blkbits)); 1279 size = bh_result->b_size; 1360 xfs_map_buffer(inode, bh_result, &imap, offset); 1363 bh_result->b_private = inode; 1364 set_buffer_defer_completion(bh_result); 1366 set_buffer_unwritten(bh_result); 1374 bh_result->b_bdev = xfs_find_bdev_for_inode(inode); 1386 ((!buffer_mapped(bh_result) && !buffer_uptodate(bh_result)) || 1256 __xfs_get_blocks( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create, int direct) argument 1441 xfs_get_blocks( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 1451 xfs_get_blocks_direct( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument [all...] |
/fs/ext3/ |
H A D | inode.c | 859 struct buffer_head *bh_result, 887 clear_buffer_new(bh_result); 948 clear_buffer_new(bh_result); 988 set_buffer_new(bh_result); 990 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); 992 set_buffer_boundary(bh_result); 1002 BUFFER_TRACE(bh_result, "returned"); 1022 struct buffer_head *bh_result, int create) 1026 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; 1041 max_blocks, bh_result, creat 857 ext3_get_blocks_handle(handle_t *handle, struct inode *inode, sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result, int create) argument 1021 ext3_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument [all...] |
/fs/fat/ |
H A D | inode.c | 121 struct buffer_head *bh_result, int create) 133 map_bh(bh_result, sb, phys); 165 set_buffer_new(bh_result); 166 map_bh(bh_result, sb, phys); 172 struct buffer_head *bh_result, int create) 175 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; 178 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); 181 bh_result->b_size = max_blocks << sb->s_blocksize_bits; 119 __fat_get_block(struct inode *inode, sector_t iblock, unsigned long *max_blocks, struct buffer_head *bh_result, int create) argument 171 fat_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
|
/fs/isofs/ |
H A D | inode.c | 1083 struct buffer_head *bh_result, int create) 1092 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); 1082 isofs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
|
/fs/ocfs2/ |
H A D | aops.c | 52 struct buffer_head *bh_result, int create) 64 (unsigned long long)iblock, bh_result, create); 91 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { 107 kaddr = kmap_atomic(bh_result->b_page); 112 memcpy(kaddr + (bh_result->b_size * iblock), 114 bh_result->b_size); 116 set_buffer_uptodate(bh_result); 121 map_bh(bh_result, inode->i_sb, 133 struct buffer_head *bh_result, int create) 137 u64 max_blocks = bh_result 51 ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 132 ocfs2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 513 ocfs2_direct_IO_get_blocks(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument [all...] |
/fs/reiserfs/ |
H A D | inode.c | 280 * of page (bh_result) 285 struct buffer_head *bh_result, int args) 308 kunmap(bh_result->b_page); 317 && !PageUptodate(bh_result->b_page)) { 336 map_bh(bh_result, inode->i_sb, blocknr); 339 set_buffer_boundary(bh_result); 349 && !PageUptodate(bh_result->b_page)) { 355 kunmap(bh_result->b_page); 366 kunmap(bh_result->b_page); 375 if (buffer_uptodate(bh_result)) { 284 _get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int args) argument 471 reiserfs_bmap(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 502 reiserfs_get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 513 reiserfs_get_blocks_direct_io(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 575 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) argument 656 reiserfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 2182 grab_tail_page(struct inode *inode, struct page **page_result, struct buffer_head **bh_result) argument 2364 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) argument [all...] |
/fs/udf/ |
H A D | inode.c | 423 struct buffer_head *bh_result, int create) 432 map_bh(bh_result, inode->i_sb, phys); 452 set_buffer_new(bh_result); 453 map_bh(bh_result, inode->i_sb, phys); 422 udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
|