Home
last modified time | relevance | path

Searched refs:extents (Results 1 – 25 of 64) sorted by relevance

123

/openbmc/linux/fs/xfs/
H A Dxfs_discard.c78 struct xfs_busy_extents *extents = in xfs_discard_endio_work() local
81 xfs_extent_busy_clear(extents->mount, &extents->extent_list, false); in xfs_discard_endio_work()
82 kmem_free(extents->owner); in xfs_discard_endio_work()
93 struct xfs_busy_extents *extents = bio->bi_private; in xfs_discard_endio() local
95 INIT_WORK(&extents->endio_work, xfs_discard_endio_work); in xfs_discard_endio()
96 queue_work(xfs_discard_wq, &extents->endio_work); in xfs_discard_endio()
108 struct xfs_busy_extents *extents) in xfs_discard_extents() argument
116 list_for_each_entry(busyp, &extents->extent_list, list) { in xfs_discard_extents()
135 bio->bi_private = extents; in xfs_discard_extents()
139 xfs_discard_endio_work(&extents->endio_work); in xfs_discard_extents()
[all …]
/openbmc/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c24 const struct free_space_extent * const extents, in __check_free_space_extents() argument
65 extent_start != extents[i].start || in __check_free_space_extents()
66 offset - extent_start != extents[i].length) in __check_free_space_extents()
76 extent_start != extents[i].start || in __check_free_space_extents()
77 end - extent_start != extents[i].length) in __check_free_space_extents()
91 key.objectid != extents[i].start || in __check_free_space_extents()
92 key.offset != extents[i].length) in __check_free_space_extents()
111 const struct free_space_extent * const extents, in check_free_space_extents() argument
127 ret = __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
146 return __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D237.out23 extents:
37 …{"job-id": "job0", "options": {"adapter-type": "ide", "driver": "vmdk", "extents": [], "file": {"d…
50 extents:
64 …-id": "job0", "options": {"adapter-type": "buslogic", "driver": "vmdk", "extents": [], "file": {"d…
77 extents:
142 …-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "extents": ["ext1"], "file…
149 …-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "extents": ["ext1", "ext2"…
151 Job failed: List of extents contains unused extents
159 …-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "extents": ["ext1"], "file…
171 extents:
[all …]
H A D237219 extents = [ "ext%d" % (i) for i in range(1, num_extents + 1) ] variable
226 'extents': extents })
/openbmc/linux/Documentation/filesystems/
H A Dfiemap.rst9 returns a list of extents.
23 __u32 fm_mapped_extents; /* number of extents that were
27 struct fiemap_extent fm_extents[0]; /* array of mapped extents (out) */
48 that can be used to return extents. If fm_extent_count is zero, then the
49 fm_extents[] array is ignored (no extents will be returned), and the
50 fm_mapped_extents count will hold the number of extents needed in
57 If this flag is set, the kernel will sync the file before mapping extents.
60 If this flag is set, the extents returned will describe the inodes
70 fm_extent_count. The number of extents mapped by kernel will be
73 the maximum number of extents that can be mapped in the fm_extent[]
[all …]
H A Domfs.rst49 and extents. Each sysblock has a header containing CRCs of the entire
100 __be32 e_extent_count; /* total # extents in this table */
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Dlinear.rst51 my $extents = int($dev_size / $extent_size) -
54 while ($extents > 0) {
56 $extents--;
58 my $this_offset = $extents * $extent_size;
/openbmc/linux/kernel/
H A Duser_namespace.c276 map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_max() argument
284 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
294 map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_base() argument
302 for (idx = 0; idx < extents; idx++) { in map_id_range_down_base()
315 unsigned extents = map->nr_extents; in map_id_range_down() local
318 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS) in map_id_range_down()
319 extent = map_id_range_down_base(extents, map, id, count); in map_id_range_down()
321 extent = map_id_range_down_max(extents, map, id, count); in map_id_range_down()
343 map_id_up_base(unsigned extents, struct uid_gid_map *map, u32 id) in map_id_up_base() argument
349 for (idx = 0; idx < extents; idx++) { in map_id_up_base()
[all …]
/openbmc/linux/fs/efs/
H A Dinode.c134 extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in efs_iget()
135 if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in efs_iget()
215 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
232 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
244 direxts = in->extents[0].cooked.ex_offset; in efs_map_block()
259 ibase += in->extents[dirext].cooked.ex_length * in efs_map_block()
272 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block()
/openbmc/qemu/qapi/
H A Dcxl.json392 # The policy to use for selecting which extents comprise the added
398 # supported extents.
404 # @prescriptive: The precise set of extents to be allocated is
416 # extents provided to each host is indicated to the host using per
433 # Initiate adding dynamic capacity extents to a host. This simulates
447 # which extents comprise the added capacity.
456 # @extents: The "Extent List" field as defined in Compute Express Link
471 'extents': [ 'CxlDynamicCapacityExtent' ]
479 # The policy to use for selecting which extents comprise the released
484 # no requirement for contiguous extents.
[all …]
/openbmc/qemu/block/
H A Dvmdk.c175 VmdkExtent *extents; member
276 e = &s->extents[i]; in vmdk_free_extents()
287 g_free(s->extents); in vmdk_free_extents()
298 s->extents = g_renew(VmdkExtent, s->extents, s->num_extents); in vmdk_free_last_extent()
448 rs->extents_using_bs_file[i] = s->extents[i].file == state->bs->file; in vmdk_reopen_prepare()
474 s->extents[i].file = state->bs->file; in vmdk_reopen_commit()
570 s->extents = g_renew(VmdkExtent, s->extents, s->num_extents + 1); in vmdk_add_extent()
571 extent = &s->extents[s->num_extents]; in vmdk_add_extent()
1275 extent = &s->extents[s->num_extents - 1]; in vmdk_parse_extents()
1286 extent = &s->extents[s->num_extents - 1]; in vmdk_parse_extents()
[all …]
/openbmc/qemu/hw/mem/
H A Dcxl_type3.c678 QTAILQ_INIT(&ct3d->dc.extents); in cxl_create_dc_regions()
691 QTAILQ_FOREACH_SAFE(ent, &ct3d->dc.extents, node, ent_next) { in cxl_destroy_dc_regions()
692 cxl_remove_extent_from_extent_list(&ct3d->dc.extents, ent); in cxl_destroy_dc_regions()
1936 g_autofree CXLDCExtentRaw *extents = NULL; in qmp_cxl_process_dynamic_capacity_prescriptive() local
2005 if (cxl_extents_overlaps_dpa_range(&dcd->dc.extents, dpa, len)) { in qmp_cxl_process_dynamic_capacity_prescriptive()
2024 extents = g_new0(CXLDCExtentRaw, num_extents); in qmp_cxl_process_dynamic_capacity_prescriptive()
2030 extents[i].start_dpa = dpa; in qmp_cxl_process_dynamic_capacity_prescriptive()
2031 extents[i].len = len; in qmp_cxl_process_dynamic_capacity_prescriptive()
2032 memset(extents[i].tag, 0, 0x10); in qmp_cxl_process_dynamic_capacity_prescriptive()
2033 extents[i].shared_seq = 0; in qmp_cxl_process_dynamic_capacity_prescriptive()
[all …]
H A Dcxl_type3_stubs.c76 CxlDynamicCapacityExtentList *extents, in qmp_cxl_add_dynamic_capacity() argument
90 CxlDynamicCapacityExtentList *extents, in qmp_cxl_release_dynamic_capacity() argument
/openbmc/qemu/nbd/
H A Dserver.c2262 NBDExtent64 *extents; member
2278 ea->extents = g_new(NBDExtent64, nb_alloc); in nbd_extent_array_new()
2287 g_free(ea->extents); in nbd_extent_array_free()
2303 ea->extents[i].length = cpu_to_be64(ea->extents[i].length); in G_DEFINE_AUTOPTR_CLEANUP_FUNC()
2304 ea->extents[i].flags = cpu_to_be64(ea->extents[i].flags); in G_DEFINE_AUTOPTR_CLEANUP_FUNC()
2312 NBDExtent32 *extents = g_new(NBDExtent32, ea->count); in nbd_extent_array_convert_to_narrow() local
2320 assert((ea->extents[i].length | ea->extents[i].flags) <= UINT32_MAX); in nbd_extent_array_convert_to_narrow()
2321 extents[i].length = cpu_to_be32(ea->extents[i].length); in nbd_extent_array_convert_to_narrow()
2322 extents[i].flags = cpu_to_be32(ea->extents[i].flags); in nbd_extent_array_convert_to_narrow()
2325 return extents; in nbd_extent_array_convert_to_narrow()
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c789 pixman_box16_t *extents; in vg_resource_flush() local
802 extents = pixman_region_extents(&finalregion); in vg_resource_flush()
803 size_t width = extents->x2 - extents->x1; in vg_resource_flush()
804 size_t height = extents->y2 - extents->y1; in vg_resource_flush()
812 .x = extents->x1, in vg_resource_flush()
813 .y = extents->y1, in vg_resource_flush()
832 .x = extents->x1, in vg_resource_flush()
833 .y = extents->y1, in vg_resource_flush()
846 extents->x1, extents->y1, in vg_resource_flush()
/openbmc/linux/Documentation/filesystems/ext4/
H A Difork.rst15 string is less than 60 bytes long. Otherwise, either extents or block
48 requires an indirect block to map all 1,000 entries; with extents, the
53 must have the extents flag (0x80000) flag set for this feature to be in
64 stored in ``inode.i_block``, which allows for the first four extents to
168 the 32-bit checksum is inserted into this space. The 4 extents in the
H A Dblocks.rst141 Note: Files not using extents (i.e. files using block maps) must be
142 placed within the first 2^32 blocks of a filesystem. Files with extents
/openbmc/linux/fs/hfsplus/
H A Dhfsplus_raw.h100 hfsplus_extent_rec extents; member
382 struct hfsplus_extent extents; member
400 struct hfsplus_attr_extents extents; member
H A DMakefile8 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
/openbmc/linux/drivers/md/bcache/
H A DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
/openbmc/qemu/docs/interop/
H A Dnbd.rst32 Each dirty-bitmap metadata context defines only one flag for extents
38 The second is related to exposing the source of various extents within
/openbmc/qemu/qga/
H A Dcommands-win32.c908 PVOLUME_DISK_EXTENTS extents = NULL; in build_guest_disk_info() local
927 extents = g_malloc0(size); in build_guest_disk_info()
929 0, extents, size, &size, NULL)) { in build_guest_disk_info()
934 (sizeof(DISK_EXTENT) * (extents->NumberOfDiskExtents - 1)); in build_guest_disk_info()
935 g_free(extents); in build_guest_disk_info()
936 extents = g_malloc0(size); in build_guest_disk_info()
939 0, extents, size, NULL, NULL)) { in build_guest_disk_info()
965 g_debug("Number of extents: %lu", extents->NumberOfDiskExtents); in build_guest_disk_info()
968 for (i = 0; i < extents->NumberOfDiskExtents; i++) { in build_guest_disk_info()
980 extents->Extents[i].DiskNumber); in build_guest_disk_info()
[all …]
/openbmc/linux/fs/nfs/blocklayout/
H A Dblocklayout.c590 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent() argument
635 list_add_tail(&be->be_list, extents); in bl_alloc_extent()
663 LIST_HEAD(extents); in bl_alloc_lseg()
693 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
711 while (!list_empty(&extents)) { in bl_alloc_lseg()
713 list_first_entry(&extents, struct pnfs_block_extent, in bl_alloc_lseg()
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dbatch.py39 (w, h) = draw.extents (options, 1.0, trace)
/openbmc/linux/fs/ext4/
H A DMakefile8 ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \

123