/fs/bfs/ |
D | file.c | 67 unsigned long phys; in bfs_get_block() local 73 phys = bi->i_sblock + block; in bfs_get_block() 75 if (phys <= bi->i_eblock) { in bfs_get_block() 77 create, (unsigned long)block, phys); in bfs_get_block() 78 map_bh(bh_result, sb, phys); in bfs_get_block() 87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 89 create, (unsigned long)block, phys); in bfs_get_block() 90 map_bh(bh_result, sb, phys); in bfs_get_block() 95 if (phys >= info->si_blocks) in bfs_get_block() 108 create, (unsigned long)block, phys); in bfs_get_block() [all …]
|
/fs/efs/ |
D | file.c | 17 long phys; in efs_get_block() local 31 phys = efs_map_block(inode, iblock); in efs_get_block() 32 if (phys) in efs_get_block() 33 map_bh(bh_result, inode->i_sb, phys); in efs_get_block()
|
/fs/ |
D | ioctl.c | 113 u64 phys, u64 len, u32 flags) in fiemap_fill_next_extent() argument 136 extent.fe_physical = phys; in fiemap_fill_next_extent() 301 u64 logical = 0, phys = 0, size = 0; in __generic_block_fiemap() local 364 phys, size, in __generic_block_fiemap() 368 phys, size, flags); in __generic_block_fiemap() 393 phys, size, in __generic_block_fiemap() 404 phys, size, in __generic_block_fiemap() 411 phys = blk_to_logical(inode, map_bh.b_blocknr); in __generic_block_fiemap()
|
/fs/fat/ |
D | cache.c | 358 int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, in fat_bmap() argument 364 *phys = 0; in fat_bmap() 368 *phys = sector + sbi->dir_start; in fat_bmap() 385 phys); in fat_bmap()
|
D | dir.c | 50 sector_t phys) in fat_dir_readahead() argument 64 bh = sb_find_get_block(sb, phys); in fat_dir_readahead() 67 sb_breadahead(sb, phys + sec); in fat_dir_readahead() 86 sector_t phys, iblock; in fat__get_entry() local 94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); in fat__get_entry() 95 if (err || !phys) in fat__get_entry() 98 fat_dir_readahead(dir, iblock, phys); in fat__get_entry() 100 *bh = sb_bread(sb, phys); in fat__get_entry() 103 "Directory bread(block %llu) failed", (llu)phys); in fat__get_entry()
|
D | inode.c | 126 sector_t phys, last_block; in __fat_get_block() local 129 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 132 if (phys) { in __fat_get_block() 133 map_bh(bh_result, sb, phys); in __fat_get_block() 165 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 168 if (!phys) { in __fat_get_block() 178 map_bh(bh_result, sb, phys); in __fat_get_block()
|
D | fat.h | 320 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
|
/fs/qnx4/ |
D | inode.c | 57 unsigned long phys; in qnx4_get_block() local 61 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 62 if ( phys ) { in qnx4_get_block() 64 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
|
/fs/nilfs2/ |
D | inode.c | 1168 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local 1199 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1208 phys = 0; in nilfs_fiemap() 1249 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1258 if (phys && blkphy << blkbits == phys + size) { in nilfs_fiemap() 1264 fieinfo, logical, phys, size, in nilfs_fiemap() 1272 phys = blkphy << blkbits; in nilfs_fiemap() 1279 phys = blkphy << blkbits; in nilfs_fiemap()
|
/fs/ocfs2/ |
D | extent_map.c | 72 unsigned int *phys, unsigned int *len, in ocfs2_extent_map_lookup() argument 84 *phys = emi->ei_phys + coff; in ocfs2_extent_map_lookup() 709 u64 phys; in ocfs2_fiemap_inline() local 720 phys = oi->ip_blkno << inode->i_sb->s_blocksize_bits; in ocfs2_fiemap_inline() 722 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline() 724 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline() 727 ret = fiemap_fill_next_extent(fieinfo, 0, phys, id_count, in ocfs2_fiemap_inline()
|
D | alloc.h | 115 handle_t *handle, u32 cpos, u32 len, u32 phys, 120 u32 cpos, u32 len, u32 phys, 263 struct page *page, int zero, u64 *phys);
|
D | aops.c | 1119 u32 *phys, unsigned int new, in ocfs2_write_cluster() argument 1165 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster() 1177 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster() 1185 BUG_ON(*phys == 0); in ocfs2_write_cluster() 1187 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *phys); in ocfs2_write_cluster() 1395 u32 phys = 0; in ocfs2_populate_write_desc() local 1409 ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys, in ocfs2_populate_write_desc() 1430 } else if (phys) { in ocfs2_populate_write_desc() 1435 phys++; in ocfs2_populate_write_desc() 1445 BUG_ON(phys == 0); in ocfs2_populate_write_desc() [all …]
|
D | alloc.c | 5152 u32 cpos, u32 len, u32 phys, in ocfs2_change_extent_flag() argument 5159 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag() 5240 handle_t *handle, u32 cpos, u32 len, u32 phys, in ocfs2_mark_extent_written() argument 5248 cpos, len, phys); in ocfs2_mark_extent_written() 5264 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_written() 6806 struct page *page, int zero, u64 *phys) in ocfs2_map_and_dirty_page() argument 6812 ret = ocfs2_map_page_blocks(page, phys, inode, from, to, 0); in ocfs2_map_and_dirty_page() 6844 int numpages, u64 phys, handle_t *handle) in ocfs2_zero_cluster_pages() argument 6868 &phys); in ocfs2_zero_cluster_pages() 6939 u64 phys; in ocfs2_zero_range_for_truncate() local [all …]
|
D | dir.c | 535 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct() argument 541 ret = ocfs2_read_block(INODE_CACHE(dir), phys, &tmp, in ocfs2_read_dir_block_direct() 897 u64 phys; in ocfs2_dx_dir_search() local 916 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search() 924 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search() 926 ret = ocfs2_read_dx_leaf(dir, phys, &dx_leaf_bh); in ocfs2_dx_dir_search() 2436 u32 phys, num; in __ocfs2_dx_dir_new_cluster() local 2446 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2456 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster()
|
D | ocfs2_trace.h | 605 unsigned int len, unsigned int phys), 606 TP_ARGS(owner, cpos, len, phys), 611 __field(unsigned int, phys) 617 __entry->phys = phys; 621 __entry->len, __entry->phys)
|
D | file.c | 342 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos() local 354 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
|
D | refcounttree.c | 2341 u32 len, u32 phys, in ocfs2_mark_extent_refcounted() argument 2348 cpos, len, phys); in ocfs2_mark_extent_refcounted() 2357 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
|
/fs/qnx6/ |
D | inode.c | 75 unsigned phys; in qnx6_get_block() local 80 phys = qnx6_block_map(inode, iblock); in qnx6_get_block() 81 if (phys) { in qnx6_get_block() 83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
|
/fs/exfat/ |
D | inode.c | 300 sector_t phys = 0; in exfat_get_block() local 325 phys = exfat_cluster_to_sector(sbi, cluster) + sec_offset; in exfat_get_block() 351 map_bh(bh_result, sb, phys); in exfat_get_block()
|
/fs/f2fs/ |
D | data.c | 1801 __u64 phys = 0, len; in f2fs_xattr_fiemap() local 1820 phys = blks_to_bytes(inode, ni.blk_addr); in f2fs_xattr_fiemap() 1825 phys += offset; in f2fs_xattr_fiemap() 1835 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap() 1836 trace_f2fs_fiemap(inode, 0, phys, len, flags, err); in f2fs_xattr_fiemap() 1852 phys = blks_to_bytes(inode, ni.blk_addr); in f2fs_xattr_fiemap() 1860 if (phys) { in f2fs_xattr_fiemap() 1861 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap() 1862 trace_f2fs_fiemap(inode, 0, phys, len, flags, err); in f2fs_xattr_fiemap() 1893 u64 logical = 0, phys = 0, size = 0; in f2fs_fiemap() local [all …]
|
/fs/udf/ |
D | inode.c | 421 sector_t phys = 0; in udf_get_block() local 425 phys = udf_block_map(inode, block); in udf_get_block() 426 if (phys) in udf_get_block() 427 map_bh(bh_result, inode->i_sb, phys); in udf_get_block() 448 phys = inode_getblk(inode, block, &err, &new); in udf_get_block() 449 if (!phys) in udf_get_block() 454 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
|
/fs/btrfs/ |
D | extent_io.c | 4563 u64 phys; member 4581 u64 offset, u64 phys, u64 len, u32 flags) in emit_fiemap_extent() argument 4612 cache->phys + cache->len == phys && in emit_fiemap_extent() 4621 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_fiemap_extent() 4629 cache->phys = phys; in emit_fiemap_extent() 4635 cache->phys, cache->len, cache->flags); in emit_fiemap_extent() 4660 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_last_fiemap_cache()
|
/fs/ext4/ |
D | extents.c | 1461 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument 1472 *phys = 0; in ext4_ext_search_left() 1513 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left() 1526 ext4_lblk_t *logical, ext4_fsblk_t *phys, in ext4_ext_search_right() argument 1541 *phys = 0; in ext4_ext_search_right() 1616 *phys = ext4_ext_pblock(ex); in ext4_ext_search_right()
|