Home
last modified time | relevance | path

Searched refs:logical (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/openbmc/u-boot/fs/btrfs/
H A Dchunk-map.c13 u64 logical; member
43 if (key->offset < this->logical) { in add_chunk_mapping()
45 } else if (key->offset > this->logical) { in add_chunk_mapping()
58 map_item->logical = key->offset; in add_chunk_mapping()
64 debug("%s: Mapping %llu to %llu\n", __func__, map_item->logical, in add_chunk_mapping()
70 u64 btrfs_map_logical_to_physical(u64 logical) in btrfs_map_logical_to_physical() argument
79 if (item->logical > logical) in btrfs_map_logical_to_physical()
81 else if (logical >= item->logical + item->length) in btrfs_map_logical_to_physical()
84 return item->physical + logical - item->logical; in btrfs_map_logical_to_physical()
88 logical); in btrfs_map_logical_to_physical()
H A Dctree.c156 u64 logical, physical; in btrfs_search_tree() local
161 logical = root->bytenr; in btrfs_search_tree()
164 physical = btrfs_map_logical_to_physical(logical); in btrfs_search_tree()
174 __func__, logical); in btrfs_search_tree()
189 logical = buf->node.ptrs[slot].blockptr; in btrfs_search_tree()
230 u64 logical, physical; in jump_leaf() local
233 logical = p.nodes[level + 1]->node.ptrs[slot].blockptr; in jump_leaf()
234 physical = btrfs_map_logical_to_physical(logical); in jump_leaf()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-ebs.rst7 a smaller logical block size on a device with a larger logical block
11 Supported emulated logical block sizes 512, 1024, 2048 and 4096.
29 Number of sectors defining the logical block size to be emulated;
35 Number of sectors defining the logical block size of <dev path>.
37 If not provided, the logical block size of <dev path> will be used.
42 Emulate 1 sector = 512 bytes logical block size on /dev/sda starting at
47 Emulate 2 sector = 1KiB logical block size on /dev/sda starting at
49 This presumes 2KiB logical blocksize on /dev/sda or less to work:
/openbmc/linux/Documentation/usb/
H A Dmass-storage.rst10 multiple logical units (LUNs). Backing storage for each LUN is
41 backing storage for each logical unit. There may be at most
48 read, but (if the logical unit is writable) due to buffering on
51 The size of the logical unit will be rounded down to a full
52 logical block. The logical block size is 2048 bytes for LUNs
58 This parameter specifies whether each logical unit should be
62 If this option is set for a logical unit, gadget will accept an
64 backing file will be closed to simulate ejection and the logical
69 If a logical unit is not removable (the default), a backing file
81 Note that “removable” means the logical unit's media can be
[all …]
/openbmc/linux/fs/btrfs/
H A Dtree-mod-log.c11 u64 logical; member
17 u64 logical; member
150 if (cur->logical < tm->logical) in tree_mod_log_insert()
152 else if (cur->logical > tm->logical) in tree_mod_log_insert()
212 tm->logical = eb->start; in alloc_tree_mod_elem()
272 tm->logical = eb->start; in tree_mod_log_alloc_move()
428 tm->logical = new_root->start; in btrfs_tree_mod_log_insert_root()
429 tm->old_root.logical = old_root->start; in btrfs_tree_mod_log_insert_root()
488 if (cur->logical < start) { in __tree_mod_log_search()
490 } else if (cur->logical > start) { in __tree_mod_log_search()
[all …]
H A Dscrub.c116 u64 logical; member
228 u64 logical; member
456 swarn->errstr, swarn->logical, in scrub_print_warning_inode()
470 swarn->errstr, swarn->logical, in scrub_print_warning_inode()
480 bool is_super, u64 logical, u64 physical) in scrub_print_common_warning() argument
503 swarn.logical = logical; in scrub_print_common_warning()
507 ret = extent_from_logical(fs_info, swarn.logical, path, &found_key, in scrub_print_common_warning()
530 swarn.logical, ret); in scrub_print_common_warning()
537 errstr, swarn.logical, btrfs_dev_name(dev), in scrub_print_common_warning()
548 ctx.extent_item_pos = swarn.logical - found_key.objectid; in scrub_print_common_warning()
[all …]
H A Dzoned.c1449 u64 logical = cache->start; in btrfs_load_block_group_zone_info() local
1465 logical, length, fs_info->zone_size); in btrfs_load_block_group_zone_info()
1471 em = lookup_extent_mapping(em_tree, logical, length); in btrfs_load_block_group_zone_info()
1567 logical, last_alloc, cache->alloc_offset); in btrfs_load_block_group_zone_info()
1670 sum->logical -= bbio->orig_physical - physical; in btrfs_record_physical_zoned()
1672 sum->logical += physical - bbio->orig_physical; in btrfs_record_physical_zoned()
1676 u64 logical) in btrfs_rewrite_logical_zoned() argument
1681 ordered->disk_bytenr = logical; in btrfs_rewrite_logical_zoned()
1686 em->block_start = logical; in btrfs_rewrite_logical_zoned()
1692 u64 logical, u64 len) in btrfs_zoned_split_ordered() argument
[all …]
H A Dvolumes.h603 u64 logical, u64 *length,
608 struct btrfs_io_stripe *smap, u64 logical,
611 u64 logical, u64 *length_ret,
640 int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len);
669 u64 logical, u64 len);
671 u64 logical);
678 u64 logical, u64 length);
753 bool btrfs_repair_one_zone(struct btrfs_fs_info *fs_info, u64 logical);
H A Dzoned.h69 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical,
74 void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical,
81 void btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, u64 logical,
208 u64 logical, u64 physical_start, in btrfs_sync_zone_write_pointer() argument
231 u64 logical, u64 length) { } in btrfs_zone_finish_endio() argument
246 u64 logical, u64 length) { } in btrfs_zoned_release_data_reloc_bg() argument
H A Dtree-checker.c748 const struct btrfs_chunk *chunk, u64 logical, in chunk_err() argument
781 logical, &vaf); in chunk_err()
786 logical, &vaf); in chunk_err()
797 struct btrfs_chunk *chunk, u64 logical) in btrfs_check_chunk_valid() argument
822 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid()
827 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid()
833 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid()
838 if (unlikely(!IS_ALIGNED(logical, fs_info->sectorsize))) { in btrfs_check_chunk_valid()
839 chunk_err(leaf, chunk, logical, in btrfs_check_chunk_valid()
841 logical, fs_info->sectorsize); in btrfs_check_chunk_valid()
[all …]
H A Dbio.c241 const u64 logical = (failed_bbio->saved_iter.bi_sector << SECTOR_SHIFT); in repair_one_sector() local
250 num_copies = btrfs_num_copies(fs_info, logical, sectorsize); in repair_one_sector()
650 u64 logical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_submit_chunk() local
660 error = btrfs_map_block(fs_info, btrfs_op(bio), logical, &map_length, in btrfs_submit_chunk()
761 u64 length, u64 logical, struct page *page, in btrfs_repair_io_failure() argument
772 if (btrfs_repair_one_zone(fs_info, logical)) in btrfs_repair_io_failure()
781 ret = btrfs_map_repair_block(fs_info, &smap, logical, length, mirror_num); in btrfs_repair_io_failure()
824 u64 logical = bbio->bio.bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_submit_repair_write() local
835 ret = btrfs_map_repair_block(fs_info, &smap, logical, length, mirror_num); in btrfs_submit_repair_write()
/openbmc/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-adap-g-log-addrs.rst15 CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses
40 To query the current CEC logical addresses, applications call
42 struct :c:type:`cec_log_addrs` where the driver stores the logical addresses.
44 To set new logical addresses, applications fill in
52 To clear existing logical addresses set ``num_log_addrs`` to 0. All other fields
58 then this ioctl will block until all requested logical
60 not wait for the logical addresses to be claimed, instead it just returns 0.
63 logical addresses are claimed or cleared.
66 logical address types are already defined will return with error ``EBUSY``.
81 - The actual logical addresses that were claimed. This is set by the
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-cciss5 Description: Displays the SCSI INQUIRY page 0 model for logical drive
12 Description: Displays the SCSI INQUIRY page 0 revision for logical
19 Description: Displays the SCSI INQUIRY page 83 serial number for logical
26 Description: Displays the SCSI INQUIRY page 0 vendor for logical drive
39 Description: Kicks of a rescan of the controller to discover logical
46 Description: Displays the 8-byte LUN ID used to address logical
53 Description: Displays the RAID level of logical drive Y of
60 Description: Displays the usage count (number of opens) of logical drive Y
H A Dsysfs-class-fc8 an application or logical entity such as a virtual
9 machine or container group. The application or logical
/openbmc/linux/Documentation/i2c/
H A Di2c-sysfs.rst12 kernel abstracts the MUX channels into logical I2C bus numbers. However, there
14 to logical I2C bus number. This doc is aimed to fill in this gap, so the
16 the concept of logical I2C buses in the kernel, by knowing the physical I2C
41 start with ``i2c-`` are I2C buses, which may be either physical or logical. The
80 Every I2C bus number you see in Linux I2C Sysfs is a logical I2C bus with a
84 Each logical I2C bus may be an abstraction of a physical I2C bus controller, or
86 MUX channel, whenever we access an I2C device via a such logical bus, the kernel
93 If the logical I2C bus is a direct abstraction of a physical I2C bus controller,
101 to a different number in logical I2C bus level in Device Tree Source (DTS) under
106 bus physical number the same as their corresponding logical I2C bus number,
[all …]
/openbmc/linux/Documentation/admin-guide/hw-vuln/
H A Dspecial-register-buffer-data-sampling.rst66 staging buffer before the secret data can be accessed by another logical
70 accesses from other logical processors will be delayed until the special
78 #. Executing RDRAND at the same time on multiple logical processors will be
83 logical processors that miss their core caches, with an impact similar to
88 Software Guard Extensions (Intel SGX) enclaves. On logical processors that
90 take longer to execute and do not impact performance of sibling logical
102 Setting IA32_MCU_OPT_CTRL[0] (RNGDS_MITG_DIS) to 1 for a logical processor
104 enclave on that logical processor. Opting out of the mitigation for a
105 particular logical processor does not affect the RDRAND and RDSEED mitigations
106 for other logical processors.
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-class-ubi38 Amount of available logical eraseblock. For example, one may
39 create a new UBI volume which has this amount of logical
70 Maximum logical eraseblock size this UBI device may provide. UBI
71 volumes may have smaller logical eraseblock size because of their
148 Volume alignment - the value the logical eraseblock size of
150 logical eraseblock size is multiple of 2048. In other words,
151 volume logical eraseblock size is UBI device logical eraseblock
192 Equivalent to the volume size in logical eraseblocks.
219 Logical eraseblock size of this volume. Equivalent to logical
/openbmc/linux/drivers/video/fbdev/vermilion/
H A Dvermilion.c90 va->logical = in vmlfb_alloc_vram_area()
92 } while (va->logical == 0 && max_order > min_order); in vmlfb_alloc_vram_area()
94 if (!va->logical) in vmlfb_alloc_vram_area()
97 va->phys = virt_to_phys((void *)va->logical); in vmlfb_alloc_vram_area()
108 memset((void *)va->logical, 0x00, va->size); in vmlfb_alloc_vram_area()
109 for (i = va->logical; i < va->logical + va->size; i += PAGE_SIZE) { in vmlfb_alloc_vram_area()
117 set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); in vmlfb_alloc_vram_area()
135 if (va->logical) { in vmlfb_free_vram_area()
141 set_pages_wb(virt_to_page(va->logical), in vmlfb_free_vram_area()
149 for (j = va->logical; j < va->logical + va->size; in vmlfb_free_vram_area()
[all …]
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_entity.h42 uint8_t logical : 1; /* physical/logical */ member
46 uint8_t logical : 1; /* physical/logical */ member
/openbmc/linux/Documentation/gpu/rfc/
H A Di915_scheduler.rst104 * Export engines logical mapping
109 Export engines logical mapping
111 Certain use cases require BBs to be placed on engine instances in logical order
112 (e.g. split-frame on gen11+). The logical mapping of engine instances can change
114 logical mapping with the existing query engine info IOCTL. Also the GuC
116 engines in logical order which is a new requirement compared to execlists.
117 Lastly, all current platforms have at most 2 engine instances and the logical
122 logical instance has been returned and a new field,
123 drm_i915_engine_info.logical_instance, returns the logical instance.
/openbmc/linux/Documentation/driver-api/
H A Disapnp.rst13 This directory allows access to ISA PnP cards and logical devices.
15 a logical device.
/openbmc/linux/Documentation/filesystems/ext4/
H A Dabout.rst25 ext4 divides a storage device into an array of logical blocks both to
31 logical blocks, not raw LBAs, and not 1024-byte blocks. For the sake of
32 convenience, the logical block size will be referred to as
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-controller-model.rst15 It can correspond to a large variety of logical blocks such as
16 physical hardware devices (CMOS sensor for instance), logical
38 entities form a single logical unit. For example this could represent the
/openbmc/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst16 Every time one of the logical CPUs in the system (the entities that appear to
21 belongs to. That can be done by making the idle logical CPU stop fetching
44 one of the logical CPUs in the system turns out to be idle. Its role is to
81 (logical) CPU represented by the struct cpuidle_device object pointed
99 Called to make the governor stop handling the (logical) CPU represented
113 Called to select an idle state for the processor holding the (logical)
168 the logical CPUs handled by the given driver.
211 representing the logical CPU running this callback and the
227 is, idle states that can only be asked for if multiple related logical CPUs are
230 asked for if only one logical CPU is idle).
[all …]
/openbmc/linux/Documentation/driver-api/media/
H A Dcec-core.rst18 other through the HDMI connection. The protocol uses logical addresses in the
19 communication. The logical address is strictly connected with the functionality
66 the number of simultaneous logical addresses that this
136 means powering it up in a state where no logical addresses are claimed. The
171 To program a new logical address::
175 If logical_addr == CEC_LOG_ADDR_INVALID then all programmed logical addresses
176 are to be erased. Otherwise the given logical address should be programmed.
177 If the maximum number of available logical addresses is exceeded, then it
178 should return -ENXIO. Once a logical address is programmed the CEC hardware
409 The adapter is fully configured, i.e. all logical addresses have been
[all …]

12345678910>>...15