/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 30 phys = efs_map_block(inode, iblock); in efs_get_block() 31 if (phys) in efs_get_block() 32 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 | 126 sector_t phys; in __fat_get_block() local 129 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 132 if (phys) { in __fat_get_block() 133 map_bh(bh_result, sb, phys); in __fat_get_block() 159 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 163 BUG_ON(!phys); in __fat_get_block() 166 map_bh(bh_result, sb, phys); in __fat_get_block()
|
D | fat.h | 291 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
|
/fs/qnx4/ |
D | inode.c | 56 unsigned long phys; in qnx4_get_block() local 60 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 61 if ( phys ) { in qnx4_get_block() 63 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/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 | 1193 u32 phys, unsigned int unwritten, in ocfs2_write_cluster() argument 1205 new = phys == 0 ? 1 : 0; in ocfs2_write_cluster() 1238 wc->w_handle, cpos, 1, phys, in ocfs2_write_cluster() 1404 u32 phys = 0; in ocfs2_populate_write_desc() local 1418 ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys, in ocfs2_populate_write_desc() 1439 } else if (phys) { in ocfs2_populate_write_desc() 1444 phys++; in ocfs2_populate_write_desc() 1454 BUG_ON(phys == 0); in ocfs2_populate_write_desc() 1458 desc->c_phys = phys; in ocfs2_populate_write_desc() 1459 if (phys == 0) { in ocfs2_populate_write_desc()
|
D | alloc.c | 5119 u32 cpos, u32 len, u32 phys, in ocfs2_change_extent_flag() argument 5126 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag() 5208 handle_t *handle, u32 cpos, u32 len, u32 phys, in ocfs2_mark_extent_written() argument 5216 cpos, len, phys); in ocfs2_mark_extent_written() 5234 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_written() 6596 struct page *page, int zero, u64 *phys) in ocfs2_map_and_dirty_page() argument 6600 ret = ocfs2_map_page_blocks(page, phys, inode, from, to, 0); in ocfs2_map_and_dirty_page() 6631 int numpages, u64 phys, handle_t *handle) in ocfs2_zero_cluster_pages() argument 6655 &phys); in ocfs2_zero_cluster_pages() 6726 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() 2473 u32 phys, num; in __ocfs2_dx_dir_new_cluster() local 2483 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2493 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 | 350 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos() local 362 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
|
D | refcounttree.c | 2354 u32 len, u32 phys, in ocfs2_mark_extent_refcounted() argument 2361 cpos, len, phys); in ocfs2_mark_extent_refcounted() 2372 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
|
/fs/nilfs2/ |
D | inode.c | 1011 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local 1042 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1051 phys = 0; in nilfs_fiemap() 1092 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1101 if (phys && blkphy << blkbits == phys + size) { in nilfs_fiemap() 1107 fieinfo, logical, phys, size, in nilfs_fiemap() 1115 phys = blkphy << blkbits; in nilfs_fiemap() 1122 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/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 | 1933 u64 phys = ip->i_no_addr << inode->i_blkbits; in gfs2_fiemap() local 1937 phys += sizeof(struct gfs2_dinode); in gfs2_fiemap() 1938 phys += start; in gfs2_fiemap() 1942 ret = fiemap_fill_next_extent(fieinfo, start, phys, in gfs2_fiemap()
|
/fs/f2fs/ |
D | data.c | 1113 u64 logical = 0, phys = 0, size = 0; in f2fs_fiemap() local 1160 phys, size, flags); in f2fs_fiemap() 1167 phys = blk_to_logical(inode, map_bh.b_blocknr); in f2fs_fiemap()
|
/fs/ext4/ |
D | extents.c | 1423 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument 1434 *phys = 0; in ext4_ext_search_left() 1475 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left() 1488 ext4_lblk_t *logical, ext4_fsblk_t *phys, in ext4_ext_search_right() argument 1504 *phys = 0; in ext4_ext_search_right() 1582 *phys = ext4_ext_pblock(ex); in ext4_ext_search_right()
|