Searched refs:bh_result (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/fs/efs/
H A Dfile.c14 struct buffer_head *bh_result, int create)
33 map_bh(bh_result, inode->i_sb, phys);
13 efs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
/linux-master/fs/minix/
H A Ditree_v1.c54 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 Ditree_v2.c62 struct buffer_head *bh_result, int create)
64 return get_block(inode, block, bh_result, create);
61 V2_minix_get_block(struct inode * inode, long block, struct buffer_head *bh_result, int create) argument
H A Dinode.c393 struct buffer_head *bh_result, int create)
396 return V1_minix_get_block(inode, block, bh_result, create);
398 return V2_minix_get_block(inode, block, bh_result, create);
392 minix_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
/linux-master/fs/bfs/
H A Dfile.c66 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
/linux-master/fs/jfs/
H A Dinode.c200 struct buffer_head *bh_result, int create)
207 s32 xlen = bh_result->b_size >> ip->i_blkbits;
233 set_buffer_new(bh_result);
236 map_bh(bh_result, ip->i_sb, xaddr);
237 bh_result->b_size = xlen << ip->i_blkbits;
252 set_buffer_new(bh_result);
253 map_bh(bh_result, ip->i_sb, addressXAD(&xad));
254 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits;
199 jfs_get_block(struct inode *ip, sector_t lblock, struct buffer_head *bh_result, int create) argument
/linux-master/fs/reiserfs/
H A Dinode.c281 * of page (bh_result)
286 struct buffer_head *bh_result, int args)
316 && !PageUptodate(bh_result->b_page)) {
335 map_bh(bh_result, inode->i_sb, blocknr);
338 set_buffer_boundary(bh_result);
348 && !PageUptodate(bh_result->b_page)) {
370 if (buffer_uptodate(bh_result)) {
379 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) {
380 set_buffer_uptodate(bh_result);
285 _get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int args) argument
464 reiserfs_bmap(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
495 reiserfs_get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
506 reiserfs_get_blocks_direct_io(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
568 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) argument
649 reiserfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
2165 grab_tail_page(struct inode *inode, struct page **page_result, struct buffer_head **bh_result) argument
2347 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) argument
[all...]
/linux-master/fs/hpfs/
H A Dfile.c79 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
87 if (bh_result->b_size >> 9 < n_secs)
88 n_secs = bh_result->b_size >> 9;
94 map_bh(bh_result, inode->i_sb, s);
95 bh_result->b_size = n_secs << 9;
111 set_buffer_new(bh_result);
112 map_bh(bh_result, inode->i_sb, hpfs_search_hotfix_map(inode->i_sb, s));
/linux-master/fs/ocfs2/
H A Daops.c41 struct buffer_head *bh_result, int create)
53 (unsigned long long)iblock, bh_result, create);
80 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) {
96 kaddr = kmap_atomic(bh_result->b_page);
101 memcpy(kaddr + (bh_result->b_size * iblock),
103 bh_result->b_size);
105 set_buffer_uptodate(bh_result);
110 map_bh(bh_result, inode->i_sb,
122 struct buffer_head *bh_result, int create)
128 ret = ocfs2_get_block(inode, iblock, bh_result, creat
40 ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
121 ocfs2_lock_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
134 ocfs2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
2140 ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
[all...]
H A Daops.h49 struct buffer_head *bh_result, int create);
H A Docfs2_trace.h1127 void *bh_result, int create),
1128 TP_ARGS(ino, iblock, bh_result, create),
1132 __field(void *, bh_result)
1138 __entry->bh_result = bh_result;
1143 __entry->bh_result, __entry->create)
1149 void *bh_result, int create), \
1150 TP_ARGS(ino, iblock, bh_result, create))
/linux-master/fs/omfs/
H A Dfile.c218 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
/linux-master/fs/exfat/
H A Dinode.c279 struct buffer_head *bh_result, int create)
284 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
320 if ((create && iblock >= last_block) || buffer_delay(bh_result)) {
325 map_bh(bh_result, sb, phys);
326 if (buffer_delay(bh_result))
327 clear_buffer_delay(bh_result);
345 err = exfat_map_new_buffer(ei, bh_result, pos);
382 if (!bh_result->b_folio)
389 folio_set_bh(bh_result, bh_result
278 exfat_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
[all...]
/linux-master/fs/affs/
H A Dfile.c297 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
322 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block)));
328 set_buffer_new(bh_result);
333 if (bh_result->b_blocknr)
336 (unsigned long long)bh_result->b_blocknr);
339 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1);
340 bh_result->b_blocknr = blocknr;
367 clear_buffer_mapped(bh_result);
368 bh_result->b_bdev = NULL;
/linux-master/fs/nilfs2/
H A Dinode.c68 * @bh_result: buffer head to be mapped on
76 struct buffer_head *bh_result, int create)
82 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits;
88 map_bh(bh_result, inode->i_sb, blknum);
90 bh_result->b_size = (ret << inode->i_blkbits);
97 bh_result->b_blocknr = 0;
102 (unsigned long)bh_result);
123 set_buffer_new(bh_result);
124 set_buffer_delay(bh_result);
125 map_bh(bh_result, inod
75 nilfs_get_block(struct inode *inode, sector_t blkoff, struct buffer_head *bh_result, int create) argument
[all...]
/linux-master/fs/fat/
H A Dinode.c121 struct buffer_head *bh_result, int create)
133 map_bh(bh_result, sb, phys);
177 set_buffer_new(bh_result);
178 map_bh(bh_result, sb, phys);
184 struct buffer_head *bh_result, int create)
187 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
190 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create);
193 bh_result->b_size = max_blocks << sb->s_blocksize_bits;
291 struct buffer_head *bh_result, int create)
294 unsigned long max_blocks = bh_result
119 __fat_get_block(struct inode *inode, sector_t iblock, unsigned long *max_blocks, struct buffer_head *bh_result, int create) argument
183 fat_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
290 fat_get_block_bmap(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
[all...]
/linux-master/fs/ufs/
H A Dinode.c397 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create) argument
437 &err, bh_result->b_page))
444 &err, &new, bh_result->b_page);
453 fragment, &err, &new, bh_result->b_page);
458 map_bh(bh_result, sb, phys64);
460 set_buffer_new(bh_result);
467 map_bh(bh_result, sb, phys64 + frag);
/linux-master/fs/hfs/
H A Dextent.c337 struct buffer_head *bh_result, int create)
377 map_bh(bh_result, sb, HFS_SB(sb)->fs_start +
382 set_buffer_new(bh_result);
336 hfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
/linux-master/fs/hfsplus/
H A Dextents.c226 struct buffer_head *bh_result, int create)
284 map_bh(bh_result, sb, sector);
287 set_buffer_new(bh_result);
225 hfsplus_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
/linux-master/fs/gfs2/
H A Daops.c65 * @bh_result: The buffer head to return the result in
72 struct buffer_head *bh_result, int create)
76 error = gfs2_block_map(inode, lblock, bh_result, 0);
79 if (!buffer_mapped(bh_result))
71 gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create) argument
/linux-master/fs/sysv/
H A Ditree.c208 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
227 map_bh(bh_result, sb, block_to_cpu(SYSV_SB(sb),
261 set_buffer_new(bh_result);
/linux-master/fs/ext2/
H A Dinode.c784 struct buffer_head *bh_result, int create)
786 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits;
796 map_bh(bh_result, inode->i_sb, bno);
797 bh_result->b_size = (ret << inode->i_blkbits);
799 set_buffer_new(bh_result);
801 set_buffer_boundary(bh_result);
783 ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
/linux-master/fs/ntfs3/
H A Dinode.c686 struct buffer_head *bh_result, int create)
689 bh_result, create, GET_BLOCK_GENERAL);
693 struct buffer_head *bh_result, int create)
697 bh_result, create, GET_BLOCK_BMAP);
765 struct buffer_head *bh_result, int create)
768 bh_result, create, GET_BLOCK_DIRECT_IO_R);
772 struct buffer_head *bh_result, int create)
775 bh_result, create, GET_BLOCK_DIRECT_IO_W);
893 struct buffer_head *bh_result, int create)
896 bh_result, creat
685 ntfs_get_block(struct inode *inode, sector_t vbn, struct buffer_head *bh_result, int create) argument
692 ntfs_get_block_bmap(struct inode *inode, sector_t vsn, struct buffer_head *bh_result, int create) argument
764 ntfs_get_block_direct_IO_R(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
771 ntfs_get_block_direct_IO_W(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
892 ntfs_get_block_write_begin(struct inode *inode, sector_t vbn, struct buffer_head *bh_result, int create) argument
[all...]
/linux-master/fs/udf/
H A Dinode.c68 struct buffer_head *bh_result, int create);
450 struct buffer_head *bh_result, int flags)
462 map_bh(bh_result, inode->i_sb, map.pblk);
464 set_buffer_new(bh_result);
470 struct buffer_head *bh_result, int create)
482 return __udf_get_block(inode, block, bh_result, flags);
492 struct buffer_head *bh_result, int create)
494 return __udf_get_block(inode, block, bh_result, 0);
449 __udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int flags) argument
469 udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
491 udf_get_block_wb(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
/linux-master/fs/befs/
H A Dlinuxvfs.c125 * disk offset (passed back in bh_result).
134 struct buffer_head *bh_result, int create)
162 map_bh(bh_result, inode->i_sb, disk_off);
133 befs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument

Completed in 260 milliseconds

12