Home
last modified time | relevance | path

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

12

/fs/bfs/
A Dfile.c68 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()
91 map_bh(bh_result, sb, phys); in bfs_get_block()
96 if (phys >= info->si_blocks) in bfs_get_block()
110 map_bh(bh_result, sb, phys); in bfs_get_block()
119 phys = info->si_lf_eblk + 1; in bfs_get_block()
127 bi->i_eblock, phys); in bfs_get_block()
138 bi->i_sblock = phys; in bfs_get_block()
139 phys += block; in bfs_get_block()
[all …]
/fs/efs/
A 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/btrfs/
A Dfiemap.c11 u64 phys; member
69 u64 phys; member
83 entry->phys, entry->len, in flush_fiemap_cache()
109 u64 offset, u64 phys, u64 len, u32 flags) in emit_fiemap_extent() argument
213 phys += cache_end - offset; in emit_fiemap_extent()
232 cache->phys + cache->len == phys && in emit_fiemap_extent()
259 entry->phys = cache->phys; in emit_fiemap_extent()
272 cache->phys = phys; in emit_fiemap_extent()
298 ret = fiemap_fill_next_extent(fieinfo, cache->offset, cache->phys, in emit_last_fiemap_cache()
A Draid-stripe-tree.c48 u64 phys; in btrfs_partially_delete_raid_extent() local
50 phys = btrfs_raid_stride_physical(leaf, stride) + frontpad; in btrfs_partially_delete_raid_extent()
51 btrfs_set_stack_raid_stride_physical(&newitem->strides[i], phys); in btrfs_partially_delete_raid_extent()
192 u64 phys; in btrfs_delete_raid_extent() local
194 phys = btrfs_raid_stride_physical(leaf, stride); in btrfs_delete_raid_extent()
195 phys += diff_start + length; in btrfs_delete_raid_extent()
196 btrfs_set_raid_stride_physical(leaf, stride, phys); in btrfs_delete_raid_extent()
A Dextent-tree.c1346 u64 phys = stripe->physical; in do_discard_extent() local
1352 if (btrfs_can_zone_reset(dev, phys, len)) { in do_discard_extent()
1355 ret = btrfs_reset_device_zone(dev, phys, len, &discarded); in do_discard_extent()
1366 ret = btrfs_reset_device_zone(dev_replace->tgtdev, phys, len, in do_discard_extent()
1370 ret = btrfs_issue_discard(dev->bdev, phys, len, &discarded); in do_discard_extent()
/fs/proc/
A Dkcore.c53 static inline void *kc_xlate_dev_mem_ptr(phys_addr_t phys) in kc_xlate_dev_mem_ptr() argument
55 return __va(phys); in kc_xlate_dev_mem_ptr()
60 static inline void kc_unxlate_dev_mem_ptr(phys_addr_t phys, void *virt) in kc_unxlate_dev_mem_ptr() argument
488 phys_addr_t phys; in read_kcore_iter() local
556 phys = __pa(start); in read_kcore_iter()
557 pfn = phys >> PAGE_SHIFT; in read_kcore_iter()
578 __start = kc_xlate_dev_mem_ptr(phys); in read_kcore_iter()
597 kc_unxlate_dev_mem_ptr(phys, __start); in read_kcore_iter()
/fs/fat/
A 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()
A 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()
A 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()
A Dfat.h324 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
/fs/qnx4/
A Dinode.c63 unsigned long phys; in qnx4_get_block() local
67 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block()
68 if ( phys ) { in qnx4_get_block()
70 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
/fs/ocfs2/
A Dalloc.h113 handle_t *handle, u32 cpos, u32 len, u32 phys,
118 u32 cpos, u32 len, u32 phys,
259 u64 *phys);
A Dextent_map.c70 unsigned int *phys, unsigned int *len, in ocfs2_extent_map_lookup() argument
82 *phys = emi->ei_phys + coff; in ocfs2_extent_map_lookup()
717 u64 phys; in ocfs2_fiemap_inline() local
728 phys = oi->ip_blkno << inode->i_sb->s_blocksize_bits; in ocfs2_fiemap_inline()
730 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
732 phys += offsetof(struct ocfs2_dinode, in ocfs2_fiemap_inline()
735 ret = fiemap_fill_next_extent(fieinfo, 0, phys, id_count, in ocfs2_fiemap_inline()
A Daops.c1093 u32 *phys, unsigned int new, in ocfs2_write_cluster() argument
1139 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster()
1159 BUG_ON(*phys == 0); in ocfs2_write_cluster()
1161 p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, *phys); in ocfs2_write_cluster()
1368 u32 phys = 0; in ocfs2_populate_write_desc() local
1382 ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys, in ocfs2_populate_write_desc()
1403 } else if (phys) { in ocfs2_populate_write_desc()
1408 phys++; in ocfs2_populate_write_desc()
1418 BUG_ON(phys == 0); in ocfs2_populate_write_desc()
1422 desc->c_phys = phys; in ocfs2_populate_write_desc()
[all …]
A Dalloc.c5165 u32 cpos, u32 len, u32 phys, in ocfs2_change_extent_flag() argument
5261 cpos, len, phys); in ocfs2_mark_extent_written()
5277 len, phys, meta_ac, dealloc, in ocfs2_mark_extent_written()
6836 u64 *phys) in ocfs2_map_and_dirty_folio() argument
6874 u64 phys, handle_t *handle) in ocfs2_zero_cluster_folios() argument
6893 &phys); in ocfs2_zero_cluster_folios()
6965 u64 phys; in ocfs2_zero_range_for_truncate() local
6995 &phys, NULL, &ext_flags); in ocfs2_zero_range_for_truncate()
7016 numfolios, phys, handle); in ocfs2_zero_range_for_truncate()
7123 u64 phys; in ocfs2_convert_inline_data_to_extents() local
[all …]
A Ddir.c539 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct() argument
545 ret = ocfs2_read_block(INODE_CACHE(dir), phys, &tmp, in ocfs2_read_dir_block_direct()
909 u64 phys; in ocfs2_dx_dir_search() local
928 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search()
936 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search()
938 ret = ocfs2_read_dx_leaf(dir, phys, &dx_leaf_bh); in ocfs2_dx_dir_search()
2467 u32 phys, num; in __ocfs2_dx_dir_new_cluster() local
2477 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster()
2487 phys_blkno = ocfs2_clusters_to_blocks(osb->sb, phys); in __ocfs2_dx_dir_new_cluster()
A 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)
A Dfile.c344 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos() local
356 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
/fs/nilfs2/
A Dinode.c1106 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local
1137 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1146 phys = 0; in nilfs_fiemap()
1187 fieinfo, logical, phys, size, flags); in nilfs_fiemap()
1196 if (phys && blkphy << blkbits == phys + size) { in nilfs_fiemap()
1202 fieinfo, logical, phys, size, in nilfs_fiemap()
1210 phys = blkphy << blkbits; in nilfs_fiemap()
1217 phys = blkphy << blkbits; in nilfs_fiemap()
/fs/qnx6/
A Dinode.c76 unsigned phys; in qnx6_get_block() local
81 phys = qnx6_block_map(inode, iblock); in qnx6_get_block()
82 if (phys) { in qnx6_get_block()
84 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
/fs/bcachefs/
A Dmove_types.h10 bool phys; member
/fs/exfat/
A Dinode.c275 sector_t phys = 0; in exfat_get_block() local
302 phys = exfat_cluster_to_sector(sbi, cluster) + sec_offset; in exfat_get_block()
306 map_bh(bh_result, sb, phys); in exfat_get_block()
/fs/f2fs/
A Ddata.c1830 __u64 phys = 0, len; in f2fs_xattr_fiemap() local
1849 phys = F2FS_BLK_TO_BYTES(ni.blk_addr); in f2fs_xattr_fiemap()
1854 phys += offset; in f2fs_xattr_fiemap()
1865 trace_f2fs_fiemap(inode, 0, phys, len, flags, err); in f2fs_xattr_fiemap()
1883 phys = F2FS_BLK_TO_BYTES(ni.blk_addr); in f2fs_xattr_fiemap()
1891 if (phys) { in f2fs_xattr_fiemap()
1893 trace_f2fs_fiemap(inode, 0, phys, len, flags, err); in f2fs_xattr_fiemap()
1905 u64 logical = 0, phys = 0, size = 0; in f2fs_fiemap() local
2001 phys, size, flags); in f2fs_fiemap()
2002 trace_f2fs_fiemap(inode, logical, phys, size, flags, ret); in f2fs_fiemap()
[all …]
/fs/
A Dioctl.c113 u64 phys, u64 len, u32 flags) in fiemap_fill_next_extent() argument
140 extent.fe_physical = phys; in fiemap_fill_next_extent()
/fs/ext4/
A Dextents.c1469 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument
1480 *phys = 0; in ext4_ext_search_left()
1520 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1533 ext4_lblk_t *logical, ext4_fsblk_t *phys, in ext4_ext_search_right() argument
1548 *phys = 0; in ext4_ext_search_right()
1624 *phys = ext4_ext_pblock(ex); in ext4_ext_search_right()

Completed in 84 milliseconds

12