/fs/bfs/ |
D | file.c | 68 unsigned long phys; in bfs_get_block() local 74 phys = bi->i_sblock + block; in bfs_get_block() 76 if (phys <= bi->i_eblock) { in bfs_get_block() 78 create, (unsigned long)block, phys); in bfs_get_block() 79 map_bh(bh_result, sb, phys); in bfs_get_block() 88 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 90 create, (unsigned long)block, phys); in bfs_get_block() 91 map_bh(bh_result, sb, phys); in bfs_get_block() 96 if (phys >= info->si_blocks) in bfs_get_block() 109 create, (unsigned long)block, phys); in bfs_get_block() [all …]
|
/fs/efs/ |
D | file.c | 16 long phys; in efs_get_block() local 32 phys = efs_map_block(inode, iblock); in efs_get_block() 33 if (phys) in efs_get_block() 34 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/fs/ufs/ |
D | inode.c | 175 long *phys, int *new, struct page *locked_page) in ufs_inode_getfrag() argument 187 (unsigned long long)new_fragment, required, !phys); in ufs_inode_getfrag() 205 if (!phys) { in ufs_inode_getfrag() 215 *phys = uspi->s_sbbase + tmp + blockoff; in ufs_inode_getfrag() 252 phys != NULL ? locked_page : NULL); in ufs_inode_getfrag() 261 err, phys != NULL ? locked_page : NULL); in ufs_inode_getfrag() 274 phys != NULL ? locked_page : NULL); in ufs_inode_getfrag() 284 if (!phys) { in ufs_inode_getfrag() 287 *phys = uspi->s_sbbase + tmp + blockoff; in ufs_inode_getfrag() 332 long *phys, int *new, struct page *locked_page) in ufs_inode_getblock() argument [all …]
|
/fs/ |
D | ioctl.c | 86 u64 phys, u64 len, u32 flags) in fiemap_fill_next_extent() argument 109 extent.fe_physical = phys; in fiemap_fill_next_extent() 257 u64 logical = 0, phys = 0, size = 0; in __generic_block_fiemap() local 320 phys, size, in __generic_block_fiemap() 324 phys, size, flags); in __generic_block_fiemap() 349 phys, size, in __generic_block_fiemap() 360 phys, size, in __generic_block_fiemap() 367 phys = blk_to_logical(inode, map_bh.b_blocknr); in __generic_block_fiemap()
|
/fs/fat/ |
D | cache.c | 306 int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, in fat_bmap() argument 316 *phys = 0; in fat_bmap() 320 *phys = sector + sbi->dir_start; in fat_bmap() 347 *phys = fat_clus_to_blknr(sbi, cluster) + offset; in fat_bmap()
|
D | dir.c | 52 sector_t phys) in fat_dir_readahead() argument 66 bh = sb_find_get_block(sb, phys); in fat_dir_readahead() 69 sb_breadahead(sb, phys + sec); in fat_dir_readahead() 88 sector_t phys, iblock; in fat__get_entry() local 98 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0); in fat__get_entry() 99 if (err || !phys) in fat__get_entry() 102 fat_dir_readahead(dir, iblock, phys); in fat__get_entry() 104 *bh = sb_bread(sb, phys); in fat__get_entry() 107 "Directory bread(block %llu) failed", (llu)phys); in fat__get_entry()
|
D | inode.c | 64 sector_t phys; in __fat_get_block() local 67 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 70 if (phys) { in __fat_get_block() 71 map_bh(bh_result, sb, phys); in __fat_get_block() 97 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 101 BUG_ON(!phys); in __fat_get_block() 104 map_bh(bh_result, sb, phys); in __fat_get_block()
|
D | fat.h | 289 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
|
/fs/ocfs2/ |
D | extent_map.c | 84 unsigned int *phys, unsigned int *len, in ocfs2_extent_map_lookup() argument 96 *phys = emi->ei_phys + coff; in ocfs2_extent_map_lookup() 720 u64 phys; in ocfs2_fiemap_inline() local 731 phys = oi->ip_blkno << inode->i_sb->s_blocksize_bits; in ocfs2_fiemap_inline() 733 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline() 735 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline() 738 ret = fiemap_fill_next_extent(fieinfo, 0, phys, id_count, in ocfs2_fiemap_inline()
|
D | alloc.h | 128 handle_t *handle, u32 cpos, u32 len, u32 phys, 133 u32 cpos, u32 len, u32 phys, 275 struct page *page, int zero, u64 *phys);
|
D | aops.c | 1207 u32 phys, unsigned int unwritten, in ocfs2_write_cluster() argument 1219 new = phys == 0 ? 1 : 0; in ocfs2_write_cluster() 1252 wc->w_handle, cpos, 1, phys, in ocfs2_write_cluster() 1418 u32 phys = 0; in ocfs2_populate_write_desc() local 1432 ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys, in ocfs2_populate_write_desc() 1453 } else if (phys) { in ocfs2_populate_write_desc() 1458 phys++; in ocfs2_populate_write_desc() 1468 BUG_ON(phys == 0); in ocfs2_populate_write_desc() 1472 desc->c_phys = phys; in ocfs2_populate_write_desc() 1473 if (phys == 0) { in ocfs2_populate_write_desc()
|
D | alloc.c | 5094 u32 cpos, u32 len, u32 phys, in ocfs2_change_extent_flag() argument 5101 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag() 5183 handle_t *handle, u32 cpos, u32 len, u32 phys, in ocfs2_mark_extent_written() argument 5191 cpos, len, phys); in ocfs2_mark_extent_written() 5209 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_written() 6566 struct page *page, int zero, u64 *phys) in ocfs2_map_and_dirty_page() argument 6570 ret = ocfs2_map_page_blocks(page, phys, inode, from, to, 0); in ocfs2_map_and_dirty_page() 6601 int numpages, u64 phys, handle_t *handle) in ocfs2_zero_cluster_pages() argument 6625 &phys); in ocfs2_zero_cluster_pages() 6696 u64 phys; in ocfs2_zero_range_for_truncate() local [all …]
|
D | dir.c | 559 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct() argument 565 ret = ocfs2_read_block(INODE_CACHE(dir), phys, &tmp, in ocfs2_read_dir_block_direct() 924 u64 uninitialized_var(phys); in ocfs2_dx_dir_search() 943 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search() 951 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search() 953 ret = ocfs2_read_dx_leaf(dir, phys, &dx_leaf_bh); in ocfs2_dx_dir_search() 2526 u32 phys, num; in __ocfs2_dx_dir_new_cluster() local 2536 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2546 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster()
|
D | ocfs2_trace.h | 604 unsigned int len, unsigned int phys), 605 TP_ARGS(owner, cpos, len, phys), 610 __field(unsigned int, phys) 616 __entry->phys = phys; 620 __entry->len, __entry->phys)
|
D | file.c | 351 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos() local 363 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
|
D | refcounttree.c | 2350 u32 len, u32 phys, in ocfs2_mark_extent_refcounted() argument 2357 cpos, len, phys); in ocfs2_mark_extent_refcounted() 2368 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
|
/fs/nilfs2/ |
D | inode.c | 990 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local 1021 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1030 phys = 0; in nilfs_fiemap() 1071 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1080 if (phys && blkphy << blkbits == phys + size) { in nilfs_fiemap() 1086 fieinfo, logical, phys, size, in nilfs_fiemap() 1094 phys = blkphy << blkbits; in nilfs_fiemap() 1101 phys = blkphy << blkbits; in nilfs_fiemap()
|
/fs/adfs/ |
D | dir_f.c | 162 int phys; in adfs_dir_read() local 164 phys = __adfs_block_map(sb, object_id, blk); in adfs_dir_read() 165 if (!phys) { in adfs_dir_read() 171 dir->bh[blk] = sb_bread(sb, phys); in adfs_dir_read()
|
/fs/qnx4/ |
D | inode.c | 58 unsigned long phys; in qnx4_get_block() local 62 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 63 if ( phys ) { in qnx4_get_block() 65 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/fs/qnx6/ |
D | inode.c | 74 unsigned phys; in qnx6_get_block() local 79 phys = qnx6_block_map(inode, iblock); in qnx6_get_block() 80 if (phys) { in qnx6_get_block() 82 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/fs/udf/ |
D | inode.c | 426 sector_t phys = 0; in udf_get_block() local 430 phys = udf_block_map(inode, block); in udf_get_block() 431 if (phys) in udf_get_block() 432 map_bh(bh_result, inode->i_sb, phys); in udf_get_block() 447 phys = inode_getblk(inode, block, &err, &new); in udf_get_block() 448 if (!phys) in udf_get_block() 453 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
|
/fs/gfs2/ |
D | inode.c | 1735 u64 phys = ip->i_no_addr << inode->i_blkbits; in gfs2_fiemap() local 1739 phys += sizeof(struct gfs2_dinode); in gfs2_fiemap() 1740 phys += start; in gfs2_fiemap() 1744 ret = fiemap_fill_next_extent(fieinfo, start, phys, in gfs2_fiemap()
|
/fs/ext4/ |
D | extents.c | 1419 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument 1430 *phys = 0; in ext4_ext_search_left() 1471 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left() 1484 ext4_lblk_t *logical, ext4_fsblk_t *phys, in ext4_ext_search_right() argument 1500 *phys = 0; in ext4_ext_search_right() 1578 *phys = ext4_ext_pblock(ex); in ext4_ext_search_right()
|