/fs/btrfs/ |
D | reada.c | 54 u64 logical; member 89 static int reada_add_block(struct reada_control *rc, u64 logical, 224 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical, in reada_find_zone() argument 238 logical >> PAGE_SHIFT, 1); in reada_find_zone() 239 if (ret == 1 && logical >= zone->start && logical <= zone->end) { in reada_find_zone() 247 cache = btrfs_lookup_block_group(fs_info, logical); in reada_find_zone() 287 logical >> PAGE_SHIFT, 1); in reada_find_zone() 288 if (ret == 1 && logical >= zone->start && logical <= zone->end) in reada_find_zone() 300 u64 logical, in reada_find_extent() argument 312 unsigned long index = logical >> PAGE_SHIFT; in reada_find_extent() [all …]
|
D | scrub.c | 69 u64 logical; member 89 u64 logical; member 198 u64 logical; member 204 u64 logical; member 237 static int scrub_pages(struct scrub_ctx *sctx, u64 logical, u64 len, 334 if (fstripe_logical < entry->logical) { in insert_full_stripe_lock() 336 } else if (fstripe_logical > entry->logical) { in insert_full_stripe_lock() 350 ret->logical = fstripe_logical; in insert_full_stripe_lock() 377 if (fstripe_logical < entry->logical) in search_full_stripe_lock() 379 else if (fstripe_logical > entry->logical) in search_full_stripe_lock() [all …]
|
D | volumes.h | 296 u64 logical; member 424 u64 logical, u64 *length, 427 u64 logical, u64 *length, 430 u64 logical, u64 len, struct btrfs_io_geometry *io_geom); 432 u64 physical, u64 **logical, int *naddrs, int *stripe_len); 458 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len); 489 u64 logical, u64 len); 491 u64 logical); 496 u64 logical, u64 length);
|
D | tree-checker.c | 521 const struct btrfs_chunk *chunk, u64 logical, in chunk_err() argument 554 logical, &vaf); in chunk_err() 559 logical, &vaf); in chunk_err() 570 struct btrfs_chunk *chunk, u64 logical) in btrfs_check_chunk_valid() argument 588 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() 592 if (!IS_ALIGNED(logical, fs_info->sectorsize)) { in btrfs_check_chunk_valid() 593 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() 595 logical, fs_info->sectorsize); in btrfs_check_chunk_valid() 599 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() 606 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid() [all …]
|
D | backref.h | 22 int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical, 36 int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info,
|
D | volumes.c | 198 u64 logical, u64 *length, 2939 u64 logical, u64 length) in btrfs_get_chunk_map() argument 2946 em = lookup_extent_mapping(em_tree, logical, length); in btrfs_get_chunk_map() 2951 logical, length); in btrfs_get_chunk_map() 2955 if (em->start > logical || em->start + em->len < logical) { in btrfs_get_chunk_map() 2958 logical, length, em->start, em->start + em->len); in btrfs_get_chunk_map() 5388 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) in btrfs_num_copies() argument 5394 em = btrfs_get_chunk_map(fs_info, logical, len); in btrfs_num_copies() 5434 u64 logical) in btrfs_full_stripe_len() argument 5440 em = btrfs_get_chunk_map(fs_info, logical, len); in btrfs_full_stripe_len() [all …]
|
D | tree-checker.h | 27 struct btrfs_chunk *chunk, u64 logical);
|
D | backref.c | 1688 int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical, argument 1704 key.objectid = logical; 1723 if (found_key->objectid > logical || 1724 found_key->objectid + size <= logical) { 1726 "logical %llu is not within any extent", logical); 1739 logical, logical - found_key->objectid, found_key->objectid, 1969 int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info, argument 1980 ret = extent_from_logical(fs_info, logical, path, &found_key, &flags); 1987 extent_item_pos = logical - found_key.objectid;
|
D | ctree.c | 283 u64 logical; member 289 u64 logical; member 419 if (cur->logical < tm->logical) in __tree_mod_log_insert() 421 else if (cur->logical > tm->logical) in __tree_mod_log_insert() 482 tm->logical = eb->start; in alloc_tree_mod_elem() 543 tm->logical = eb->start; in tree_mod_log_insert_move() 652 tm->logical = new_root->start; in tree_mod_log_insert_root() 653 tm->old_root.logical = old_root->start; in tree_mod_log_insert_root() 698 if (cur->logical < start) { in __tree_mod_log_search() 700 } else if (cur->logical > start) { in __tree_mod_log_search() [all …]
|
D | raid56.h | 40 u64 logical);
|
D | raid56.c | 1392 u64 logical = bio->bi_iter.bi_sector; in find_logical_bio_stripe() local 1396 logical <<= 9; in find_logical_bio_stripe() 1400 if (logical >= stripe_start && in find_logical_bio_stripe() 1401 logical < stripe_start + rbio->stripe_len) { in find_logical_bio_stripe() 2310 u64 logical) in raid56_add_scrub_pages() argument 2315 ASSERT(logical >= rbio->bbio->raid_map[0]); in raid56_add_scrub_pages() 2316 ASSERT(logical + PAGE_SIZE <= rbio->bbio->raid_map[0] + in raid56_add_scrub_pages() 2318 stripe_offset = (int)(logical - rbio->bbio->raid_map[0]); in raid56_add_scrub_pages()
|
D | extent_io.c | 2176 u64 length, u64 logical, struct page *page, in repair_io_failure() argument 2199 if (btrfs_is_parity_mirror(fs_info, logical, length)) { in repair_io_failure() 2206 ret = btrfs_map_block(fs_info, BTRFS_MAP_READ, logical, in repair_io_failure() 2215 ret = btrfs_map_block(fs_info, BTRFS_MAP_WRITE, logical, in repair_io_failure() 2324 num_copies = btrfs_num_copies(fs_info, failrec->logical, in clean_io_failure() 2328 failrec->logical, page, pg_offset, in clean_io_failure() 2383 u64 logical; in btrfs_get_io_failure_record() local 2415 logical = start - em->start; in btrfs_get_io_failure_record() 2416 logical = em->block_start + logical; in btrfs_get_io_failure_record() 2418 logical = em->block_start; in btrfs_get_io_failure_record() [all …]
|
D | block-group.c | 1524 u64 *logical; in exclude_super_stripes() local 1540 bytenr, &logical, &nr, &stripe_len); in exclude_super_stripes() 1547 if (logical[nr] > cache->key.objectid + in exclude_super_stripes() 1551 if (logical[nr] + stripe_len <= cache->key.objectid) in exclude_super_stripes() 1554 start = logical[nr]; in exclude_super_stripes() 1557 len = (logical[nr] + stripe_len) - start; in exclude_super_stripes() 1567 kfree(logical); in exclude_super_stripes() 1572 kfree(logical); in exclude_super_stripes()
|
D | extent_io.h | 509 u64 length, u64 logical, struct page *page, 530 u64 logical; member
|
D | inode.c | 2022 u64 logical = (u64)bio->bi_iter.bi_sector << 9; in btrfs_bio_fits_in_stripe() local 2033 ret = btrfs_get_io_geometry(fs_info, btrfs_op(bio), logical, map_length, in btrfs_bio_fits_in_stripe() 7904 num_copies = btrfs_num_copies(fs_info, failrec->logical, failrec->len); in btrfs_check_dio_repairable() 7967 isector = start - btrfs_io_bio(failed_bio)->logical; in dio_read_error() 8037 start = io_bio->logical; in __btrfs_correct_data_nocsum() 8146 start = io_bio->logical; in __btrfs_subio_endio_read() 8470 btrfs_io_bio(bio)->logical = file_offset; in btrfs_submit_direct_hook() 8551 io_bio->logical = file_offset; in btrfs_submit_direct()
|
D | send.c | 1302 u64 logical; in find_extent_clone() local 1355 logical = disk_byte + btrfs_file_extent_offset(eb, fi); in find_extent_clone() 1426 extent_item_pos = logical - found_key.objectid; in find_extent_clone() 1447 data_offset, ino, num_bytes, logical); in find_extent_clone()
|
D | ioctl.c | 4506 ret = iterate_inodes_from_logical(loi->logical, fs_info, path, in btrfs_ioctl_logical_to_ino()
|
/fs/ |
D | ioctl.c | 90 int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical, in fiemap_fill_next_extent() argument 113 extent.fe_logical = logical; in fiemap_fill_next_extent() 297 u64 logical = 0, phys = 0, size = 0; in __generic_block_fiemap() local 359 ret = fiemap_fill_next_extent(fieinfo, logical, in __generic_block_fiemap() 363 ret = fiemap_fill_next_extent(fieinfo, logical, in __generic_block_fiemap() 388 ret = fiemap_fill_next_extent(fieinfo, logical, in __generic_block_fiemap() 399 ret = fiemap_fill_next_extent(fieinfo, logical, in __generic_block_fiemap() 406 logical = blk_to_logical(inode, start_blk); in __generic_block_fiemap() 418 if (!past_eof && logical + size >= isize) in __generic_block_fiemap()
|
/fs/freevxfs/ |
D | Kconfig | 20 There is a userspace utility for HP-UX logical volumes which makes 21 creating HP-UX logical volumes easy from HP-UX disk block device file
|
/fs/nilfs2/ |
D | inode.c | 999 __u64 logical = 0, phys = 0, size = 0; in nilfs_fiemap() local 1030 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1038 logical = blkoff << blkbits; in nilfs_fiemap() 1080 fieinfo, logical, phys, size, flags); in nilfs_fiemap() 1095 fieinfo, logical, phys, size, in nilfs_fiemap() 1102 logical = blkoff << blkbits; in nilfs_fiemap() 1109 logical = blkoff << blkbits; in nilfs_fiemap()
|
/fs/ext4/ |
D | extents.c | 954 int logical, ext4_fsblk_t ptr) in ext4_ext_insert_index() argument 963 if (unlikely(logical == le32_to_cpu(curp->p_idx->ei_block))) { in ext4_ext_insert_index() 966 logical, le32_to_cpu(curp->p_idx->ei_block)); in ext4_ext_insert_index() 979 if (logical > le32_to_cpu(curp->p_idx->ei_block)) { in ext4_ext_insert_index() 981 ext_debug("insert new index %d after: %llu\n", logical, ptr); in ext4_ext_insert_index() 985 ext_debug("insert new index %d before: %llu\n", logical, ptr); in ext4_ext_insert_index() 994 logical, len, ix, ix + 1); in ext4_ext_insert_index() 1003 ix->ei_block = cpu_to_le32(logical); in ext4_ext_insert_index() 1438 ext4_lblk_t *logical, ext4_fsblk_t *phys) in ext4_ext_search_left() argument 1445 EXT4_ERROR_INODE(inode, "path == NULL *logical %d!", *logical); in ext4_ext_search_left() [all …]
|
D | indirect.c | 590 ar.logical = map->m_lblk; in ext4_ind_map_blocks()
|
D | mballoc.c | 4241 ac->ac_b_ex.fe_logical = EXT4_LBLK_CMASK(sbi, ar->logical); in ext4_mb_initialize_context() 4258 (unsigned) ar->len, (unsigned) ar->logical, in ext4_mb_initialize_context()
|
D | ext4.h | 152 ext4_lblk_t logical; member
|
/fs/f2fs/ |
D | data.c | 1710 u64 logical = 0, phys = 0, size = 0; in f2fs_fiemap() local 1767 ret = fiemap_fill_next_extent(fieinfo, logical, in f2fs_fiemap() 1774 logical = blk_to_logical(inode, start_blk); in f2fs_fiemap()
|