Home
last modified time | relevance | path

Searched refs:physical (Results 1 – 21 of 21) sorted by relevance

/fs/btrfs/
Dscrub.c117 u64 physical; member
227 u64 physical; member
458 swarn->physical, in scrub_print_warning_inode()
472 swarn->physical, in scrub_print_warning_inode()
480 bool is_super, u64 logical, u64 physical) in scrub_print_common_warning() argument
495 errstr, btrfs_dev_name(dev), physical); in scrub_print_common_warning()
502 swarn.physical = physical; in scrub_print_common_warning()
538 swarn.physical, (ref_level ? "node" : "leaf"), in scrub_print_common_warning()
561 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical) in fill_writer_pointer_gap() argument
569 if (!btrfs_dev_is_sequential(sctx->wr_tgtdev, physical)) in fill_writer_pointer_gap()
[all …]
Dzoned.c1138 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, in btrfs_reset_device_zone() argument
1145 physical >> SECTOR_SHIFT, length >> SECTOR_SHIFT, in btrfs_reset_device_zone()
1152 btrfs_dev_set_zone_empty(device, physical); in btrfs_reset_device_zone()
1153 btrfs_dev_clear_active_zone(device, physical); in btrfs_reset_device_zone()
1154 physical += device->zone_info->zone_size; in btrfs_reset_device_zone()
1286 u64 physical; member
1302 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info()
1317 if (!btrfs_dev_is_sequential(device, info->physical)) { in btrfs_load_zone_info()
1324 btrfs_dev_clear_zone_empty(device, info->physical); in btrfs_load_zone_info()
1328 btrfs_dev_clear_zone_empty(dev_replace->tgtdev, info->physical); in btrfs_load_zone_info()
[all …]
Dzoned.h57 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical,
68 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length);
163 u64 physical, u64 length, u64 *bytes) in btrfs_reset_device_zone() argument
202 u64 physical, u64 length) in btrfs_zoned_issue_zeroout() argument
340 u64 physical, u64 length) in btrfs_can_zone_reset() argument
344 if (!btrfs_dev_is_sequential(device, physical)) in btrfs_can_zone_reset()
348 if (!IS_ALIGNED(physical, zone_size) || !IS_ALIGNED(length, zone_size)) in btrfs_can_zone_reset()
Dbio.c454 u64 physical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_submit_dev_bio() local
455 u64 zone_start = round_down(physical, dev->fs_info->zone_size); in btrfs_submit_dev_bio()
457 ASSERT(btrfs_dev_is_sequential(dev, physical)); in btrfs_submit_dev_bio()
491 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio()
502 bio->bi_iter.bi_sector = smap->physical >> SECTOR_SHIFT; in __btrfs_submit_bio()
504 btrfs_bio(bio)->orig_physical = smap->physical; in __btrfs_submit_bio()
782 bio.bi_iter.bi_sector = smap.physical >> SECTOR_SHIFT; in btrfs_repair_io_failure()
796 smap.physical >> SECTOR_SHIFT); in btrfs_repair_io_failure()
Ddev-replace.h27 u64 physical);
Dextent_map.c367 set_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_set_bits()
368 stripe->physical + stripe_size - 1, in extent_map_device_set_bits()
383 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits()
384 stripe->physical + stripe_size - 1, in extent_map_device_clear_bits()
Dvolumes.h386 u64 physical; member
394 u64 physical; member
Dvolumes.c3131 map->stripes[i].physical, in btrfs_remove_chunk()
5417 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk()
5618 const u64 dev_offset = map->stripes[i].physical; in btrfs_chunk_alloc_add_chunk_item()
6035 stripes[i].physical = in btrfs_map_discard()
6036 map->stripes[stripe_index].physical + in btrfs_map_discard()
6140 new->physical = old->physical; in handle_ops_on_dev_replace()
6165 if (first->physical > second->physical) { in handle_ops_on_dev_replace()
6166 swap(second->physical, first->physical); in handle_ops_on_dev_replace()
6229 dst->physical = map->stripes[stripe_index].physical + in set_io_stripe()
6844 map->stripes[i].physical = in read_one_chunk()
[all …]
Dblock-group.h341 u64 physical, u64 **logical, int *naddrs, int *stripe_len);
Ddev-replace.c549 u64 physical) in btrfs_finish_block_group_to_copy() argument
581 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy()
Dblock-group.c2088 u64 physical, u64 **logical, int *naddrs, int *stripe_len) in btrfs_rmap_block() argument
2124 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
2128 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block()
2130 offset = (physical - map->stripes[i].physical) & in btrfs_rmap_block()
2710 dev_offset = map->stripes[i].physical; in insert_dev_extents()
Draid56.c1059 disk_start = stripe->physical + sector_nr * sectorsize; in rbio_add_io_sector()
1166 bioc->stripes[i].physical; in bio_get_trace_info()
Dcheck-integrity.c1493 block_ctx_out->dev_bytenr = map->physical; in btrfsic_map_block()
Dextent-tree.c1321 u64 phys = stripe->physical; in do_discard_extent()
Dinode.c10788 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
/fs/jffs2/
DREADME.Locking54 of the inode from which it's garbage-collecting a physical node, this
75 per-eraseblock lists of physical jffs2_raw_node_ref structures, and
76 (NB) the per-inode list of physical nodes. The latter is a special
84 Note that the per-inode list of physical nodes (f->nodes) is a special
/fs/cramfs/
DKconfig36 bool "Support CramFs image directly mapped in physical memory"
/fs/ext4/
DKconfig44 physical block numbers. The ext4 filesystem also supports delayed
Dextents.c4896 __u64 physical = 0; in ext4_iomap_xattr_fiemap() local
4910 physical = (__u64)iloc.bh->b_blocknr << blockbits; in ext4_iomap_xattr_fiemap()
4913 physical += offset; in ext4_iomap_xattr_fiemap()
4918 physical = (__u64)EXT4_I(inode)->i_file_acl << blockbits; in ext4_iomap_xattr_fiemap()
4927 iomap->addr = physical; in ext4_iomap_xattr_fiemap()
/fs/affs/
DChanges101 with physical blocks != 512 bytes.
/fs/btrfs/tests/
Dextent-map-tests.c906 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()