Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 23 of 23) sorted by relevance

/fs/bfs/
Dfile.c67 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/
Dfile.c17 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/
Dioctl.c91 u64 phys, u64 len, u32 flags) in fiemap_fill_next_extent() argument
114 extent.fe_physical = phys; in fiemap_fill_next_extent()
297 u64 logical = 0, phys = 0, size = 0; in __generic_block_fiemap() local
360 phys, size, in __generic_block_fiemap()
364 phys, size, flags); in __generic_block_fiemap()
389 phys, size, in __generic_block_fiemap()
400 phys, size, in __generic_block_fiemap()
407 phys = blk_to_logical(inode, map_bh.b_blocknr); in __generic_block_fiemap()
/fs/fat/
Dcache.c358 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()
Ddir.c50 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()
Dinode.c125 sector_t phys, last_block; in __fat_get_block() local
128 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
131 if (phys) { in __fat_get_block()
132 map_bh(bh_result, sb, phys); in __fat_get_block()
164 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
167 if (!phys) { in __fat_get_block()
177 map_bh(bh_result, sb, phys); in __fat_get_block()
Dfat.h320 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
/fs/qnx4/
Dinode.c57 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/
Dinode.c999 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local
1030 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1039 phys = 0; in nilfs_fiemap()
1080 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1089 if (phys && blkphy << blkbits == phys + size) { in nilfs_fiemap()
1095 fieinfo, logical, phys, size, in nilfs_fiemap()
1103 phys = blkphy << blkbits; in nilfs_fiemap()
1110 phys = blkphy << blkbits; in nilfs_fiemap()
/fs/adfs/
Ddir_f.c146 int phys; in adfs_dir_read() local
148 phys = __adfs_block_map(sb, indaddr, blk); in adfs_dir_read()
149 if (!phys) { in adfs_dir_read()
155 dir->bh[blk] = sb_bread(sb, phys); in adfs_dir_read()
/fs/ocfs2/
Dalloc.h115 handle_t *handle, u32 cpos, u32 len, u32 phys,
120 u32 cpos, u32 len, u32 phys,
263 struct page *page, int zero, u64 *phys);
Dextent_map.c72 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()
Daops.c1128 u32 *phys, unsigned int new, in ocfs2_write_cluster() argument
1174 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster()
1186 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster()
1194 BUG_ON(*phys == 0); in ocfs2_write_cluster()
1196 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *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()
[all …]
Dalloc.c5153 u32 cpos, u32 len, u32 phys, in ocfs2_change_extent_flag() argument
5160 u64 start_blkno = ocfs2_clusters_to_blocks(sb, phys); in ocfs2_change_extent_flag()
5241 handle_t *handle, u32 cpos, u32 len, u32 phys, in ocfs2_mark_extent_written() argument
5249 cpos, len, phys); in ocfs2_mark_extent_written()
5265 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_written()
6807 struct page *page, int zero, u64 *phys) in ocfs2_map_and_dirty_page() argument
6813 ret = ocfs2_map_page_blocks(page, phys, inode, from, to, 0); in ocfs2_map_and_dirty_page()
6845 int numpages, u64 phys, handle_t *handle) in ocfs2_zero_cluster_pages() argument
6869 &phys); in ocfs2_zero_cluster_pages()
6940 u64 phys; in ocfs2_zero_range_for_truncate() local
[all …]
Ddir.c535 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 uninitialized_var(phys); in ocfs2_dx_dir_search()
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()
Docfs2_trace.h605 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)
Dfile.c342 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()
Drefcounttree.c2339 u32 len, u32 phys, in ocfs2_mark_extent_refcounted() argument
2346 cpos, len, phys); in ocfs2_mark_extent_refcounted()
2355 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_refcounted()
/fs/qnx6/
Dinode.c75 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/f2fs/
Ddata.c1640 __u64 phys = 0, len; in f2fs_xattr_fiemap() local
1659 phys = (__u64)blk_to_logical(inode, ni.blk_addr); in f2fs_xattr_fiemap()
1664 phys += offset; in f2fs_xattr_fiemap()
1674 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap()
1690 phys = (__u64)blk_to_logical(inode, ni.blk_addr); in f2fs_xattr_fiemap()
1698 if (phys) in f2fs_xattr_fiemap()
1699 err = fiemap_fill_next_extent(fieinfo, 0, phys, len, flags); in f2fs_xattr_fiemap()
1710 u64 logical = 0, phys = 0, size = 0; in f2fs_fiemap() local
1768 phys, size, flags); in f2fs_fiemap()
1775 phys = blk_to_logical(inode, map_bh.b_blocknr); in f2fs_fiemap()
/fs/udf/
Dinode.c422 sector_t phys = 0; in udf_get_block() local
426 phys = udf_block_map(inode, block); in udf_get_block()
427 if (phys) in udf_get_block()
428 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
443 phys = inode_getblk(inode, block, &err, &new); in udf_get_block()
444 if (!phys) in udf_get_block()
449 map_bh(bh_result, inode->i_sb, phys); in udf_get_block()
/fs/btrfs/
Dextent_io.c4477 u64 phys; member
4495 u64 offset, u64 phys, u64 len, u32 flags) in emit_fiemap_extent() argument
4526 cache->phys + cache->len == phys && in emit_fiemap_extent()
4535 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_fiemap_extent()
4543 cache->phys = phys; in emit_fiemap_extent()
4549 cache->phys, cache->len, cache->flags); in emit_fiemap_extent()
4574 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_last_fiemap_cache()
/fs/ext4/
Dextents.c1438 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument
1449 *phys = 0; in ext4_ext_search_left()
1490 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1503 ext4_lblk_t *logical, ext4_fsblk_t *phys, in ext4_ext_search_right() argument
1519 *phys = 0; in ext4_ext_search_right()
1597 *phys = ext4_ext_pblock(ex); in ext4_ext_search_right()