Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 267) sorted by relevance

1234567891011

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c27 * @srf: The surface metadata.
178 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
192 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
241 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
252 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
253 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
255 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode()
259 src_size = srf->metadata.sizes; in vmw_surface_define_encode()
261 for (i = 0; i < srf->metadata.num_sizes; ++i, cmd_size++, src_size++) { in vmw_surface_define_encode()
285 vmw_surface_get_desc(srf->metadata in vmw_surface_dma_encode()
710 struct vmw_surface_metadata *metadata; vmw_surface_define_ioctl() local
1123 struct vmw_surface_metadata *metadata = &srf->metadata; vmw_gb_surface_create() local
1513 struct vmw_surface_metadata metadata = {0}; vmw_gb_surface_define_internal() local
1709 struct vmw_surface_metadata *metadata; vmw_gb_surface_reference_internal() local
2017 const struct vmw_surface_metadata *metadata = &srf->metadata; vmw_surface_dirty_alloc() local
2115 struct vmw_surface_metadata *metadata; vmw_gb_surface_define() local
[all...]
/linux/tools/perf/util/
H A Dbpf-event.c353 struct bpf_metadata *metadata; in bpf_metadata_alloc()
356 metadata = zalloc(sizeof(struct bpf_metadata)); in bpf_metadata_alloc()
357 if (!metadata) in bpf_metadata_alloc()
360 metadata->prog_names = calloc(nr_prog_tags, sizeof(char *)); in bpf_metadata_alloc()
361 if (!metadata->prog_names) { in bpf_metadata_alloc()
362 bpf_metadata_free(metadata); in bpf_metadata_alloc()
366 metadata->prog_names[prog_index] = zalloc(BPF_PROG_NAME_LEN); in bpf_metadata_alloc()
367 if (!metadata->prog_names[prog_index]) { in bpf_metadata_alloc()
368 bpf_metadata_free(metadata); in bpf_metadata_alloc()
371 metadata in bpf_metadata_alloc()
345 struct bpf_metadata *metadata; bpf_metadata_alloc() local
386 struct bpf_metadata *metadata; bpf_metadata_create() local
415 synthesize_perf_record_bpf_metadata(const struct bpf_metadata * metadata,const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) synthesize_perf_record_bpf_metadata() argument
443 bpf_metadata_free(struct bpf_metadata * metadata) bpf_metadata_free() argument
485 struct bpf_metadata *metadata = node->metadata; synthesize_final_bpf_metadata_cb() local
540 struct bpf_metadata *metadata; perf_event__synthesize_one_bpf_prog() local
[all...]
H A Dcs-etm.c83 u64 **metadata;
131 /* Conversion between traceID and metadata pointers */
178 u64 *metadata; in cs_etm__get_cpu()
184 metadata = inode->priv; in cs_etm__get_cpu()
185 *magic = metadata[CS_ETM_MAGIC]; in cs_etm__get_cpu()
192 u64 *metadata;
198 metadata = inode->priv;
199 *cpu = (int)metadata[CS_ETM_CPU];
219 static enum cs_etm_pid_fmt cs_etm__init_pid_fmt(u64 *metadata) in cs_etm__init_pid_fmt()
223 if (metadata[CS_ETM_MAGI in cs_etm__init_pid_fmt()
78 u64 **metadata; global() member
165 u64 *metadata; cs_etm__get_magic() local
179 u64 *metadata; cs_etm__get_cpu() local
206 cs_etm__init_pid_fmt(u64 * metadata) cs_etm__init_pid_fmt() argument
792 cs_etm__set_trace_param_etmv3(struct cs_etm_trace_params * t_params,u64 * metadata,u32 etmidr) cs_etm__set_trace_param_etmv3() argument
800 cs_etm__set_trace_param_etmv4(struct cs_etm_trace_params * t_params,u64 * metadata) cs_etm__set_trace_param_etmv4() argument
812 cs_etm__set_trace_param_ete(struct cs_etm_trace_params * t_params,u64 * metadata) cs_etm__set_trace_param_ete() argument
830 u64 *metadata = inode->priv; cs_etm__init_trace_params() local
2920 u64 *metadata = etm->metadata[0]; cs_etm__setup_timeless_decoding() local
2947 u64 *metadata = NULL; cs_etm__create_meta_blk() local
3213 cs_etm__has_virtual_ts(u64 ** metadata,int num_cpu) cs_etm__has_virtual_ts() argument
3237 cs_etm__map_trace_ids_metadata(struct cs_etm_auxtrace * etm,int num_cpu,u64 ** metadata) cs_etm__map_trace_ids_metadata() argument
3364 u64 **metadata = NULL; cs_etm__process_auxtrace_info_full() local
[all...]
H A Darm-spe.c99 u64 **metadata; member
332 if (!spe->metadata) in arm_spe__get_metadata_by_cpu()
344 /* In homogeneous system, simply use CPU0's metadata */ in arm_spe__get_metadata_by_cpu()
345 return spe->metadata[0]; in arm_spe__get_metadata_by_cpu()
349 if (spe->metadata[i][ARM_SPE_CPU] == (u64)cpu)
350 return spe->metadata[i]; in arm_spe__synth_simd_flags()
980 u64 *metadata = in arm_spe__synth_ds()
987 if (!metadata || in arm_spe__synth_ds()
988 !(metadata[ARM_SPE_CAP_EVENT_FILTER] & ARM_SPE_DATA_SNOOPED)) in arm_spe__synth_ds()
1003 u64 *metadata; in arm_spe__synth_data_source()
940 u64 *metadata = arm_spe__synth_memory_level() local
966 u64 *metadata = NULL; arm_spe__synth_ds() local
1508 u64 *metadata; arm_spe__alloc_per_cpu_metadata() local
1518 arm_spe__free_metadata(u64 ** metadata,int nr_cpu) arm_spe__free_metadata() argument
1532 u64 **metadata = NULL; arm_spe__alloc_metadata() local
1863 arm_spe__is_homogeneous(u64 ** metadata,int nr_cpu) arm_spe__is_homogeneous() argument
1894 u64 **metadata = NULL; arm_spe_process_auxtrace_info() local
[all...]
H A Dbpf-event.h28 struct bpf_metadata *metadata; member
46 void bpf_metadata_free(struct bpf_metadata *metadata);
68 static inline void bpf_metadata_free(struct bpf_metadata *metadata __maybe_unused) in bpf_metadata_free()
/linux/Documentation/admin-guide/device-mapper/
H A Dera.rst21 era <metadata dev> <origin dev> <block size>
24 metadata dev fast device holding the persistent metadata
45 Create a clone of the metadata, to allow a userland process to read it.
50 Drop the metadata snapshot.
55 <metadata block size> <#used metadata blocks>/<#total metadata blocks>
56 <current era> <held metadata root | '-'>
59 metadata block size Fixed block size for each metadata block in
61 #used metadata blocks Number of metadata blocks used
62 #total metadata blocks Total number of metadata blocks
64 held metadata root The location, in blocks, of the metadata root
[all …]
H A Dthin-provisioning.rst27 - Improve metadata resilience by storing metadata on a mirrored volume
30 - Improve performance by storing the metadata on SSD.
43 Userspace tools for checking and repairing the metadata have been fully
59 The pool device ties together the metadata volume and the data volume.
60 It maps I/O linearly to the data volume and updates the metadata via
71 Setting up a pool device requires a valid metadata device, and a
72 data device. If you do not have an existing metadata device you can
73 make one by zeroing the first 4k to indicate empty metadata.
77 The amount of metadata you need will vary according to how many blocks
79 less sharing than average you'll need a larger-than-average metadata device.
[all …]
H A Ddm-zoned.rst27 internally for storing metadata and performing reclaim operations.
40 metadata. It can also use a regular block device together with the zoned
48 1) Metadata zones: these are conventional zones used to store metadata.
60 device being used. This allows reducing the amount of metadata needed to
63 The on-disk metadata format is as follows:
66 super block which describes the on disk amount and position of metadata
117 To protect metadata against corruption in case of sudden power loss or
118 system crash, 2 sets of metadata zones are used. One set, the primary
119 set, is used as the main metadata region, while the secondary set is
120 used as a staging area. Modified metadata is first written to the
[all …]
H A Dcache.rst20 The target reuses the metadata library used in the thin-provisioning
56 3. A small metadata device - records which blocks are in the cache,
60 e.g. as a mirror for extra robustness. This metadata device may only
75 block sizes are bad because they increase the amount of metadata (both
86 the metadata.
131 Updating on-disk metadata
134 On-disk metadata is committed every time a FLUSH or FUA bio is written.
137 cache. If power is lost you may lose some recent writes. The metadata
181 cache <metadata dev> <cache dev> <origin dev> <block size>
186 metadata dev fast device holding the persistent metadata
[all …]
H A Ddm-clone.rst29 The dm-clone target reuses the metadata library used by the thin-provisioning
58 3. A small metadata device - it records which regions are already valid in the
95 only updates its metadata.
124 Updating on-disk metadata
127 On-disk metadata is committed every time a FLUSH or FUA bio is written. If no
130 power is lost you may lose some recent writes. The metadata should always be
141 clone <metadata dev> <destination dev> <source dev> <region size>
145 metadata dev Fast device holding the persistent metadata
184 <metadata block size> <#used metadata blocks>/<#total metadata blocks>
187 <clone metadata mode>
[all …]
/linux/Documentation/filesystems/xfs/
H A Dxfs-self-describing-metadata.rst17 Almost all metadata on XFS is dynamically allocated. The only fixed location
18 metadata is the allocation group headers (SB, AGF, AGFL and AGI), while all
19 other metadata structures need to be discovered by walking the filesystem
32 However, if we scale the filesystem up to 1PB, we now have 10x as much metadata
43 One of the problems with the current metadata format is that apart from the
44 magic number in the metadata block, we have no other way of identifying what it
46 you can't look at a single metadata block in isolation and say "yes, it is
50 verification of metadata values, looking for values that are in range (and hence
57 Hence we need to record more information into the metadata to allow us to
58 quickly determine if the metadata is intact and can be ignored for the purpose
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-generic.rst9 Generic line-based metadata formats
15 These generic line-based metadata formats define the memory layout of the data
16 without defining the format or meaning of the metadata itself.
23 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format
26 Additionally it is used for 16 bits per Data Unit when two bytes of metadata are
31 Each cell is one byte. "M" denotes a byte of metadata.
56 V4L2_META_FMT_GENERIC_CSI2_10 contains 8-bit generic metadata packed in 10-bit
57 Data Units, with one padding byte after every four bytes of metadata. This
66 formats that pack two bytes of metadata into one Data Unit. Otherwise the
73 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
[all …]
H A Ddev-meta.rst14 intended for transfer of metadata between the userspace and the hardware and
17 The metadata interface is implemented on video device nodes. The device can be
18 dedicated to metadata or can support both video and metadata as specified in its
24 Device nodes supporting the metadata capture interface set the
27 ioctl. That flag means the device can capture metadata to memory. Similarly,
28 device nodes supporting metadata output interface set the
31 metadata from memory.
39 The metadata device uses the :ref:`format` ioctls to select the capture format.
40 The metadata buffer content format is bound to that selected format. In addition
51 Devices that capture metadata by line have the struct v4l2_fmtdesc
[all …]
/linux/drivers/md/
H A Ddm-zoned-target.c50 struct dmz_metadata *metadata; member
134 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio()
172 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_read()
254 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write()
287 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write()
321 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_write()
360 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_discard()
374 dmz_metadata_label(dmz->metadata), in dmz_handle_discard()
400 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_bio()
438 dmz_metadata_label(dmz->metadata), bio_op(bio)); in dmz_handle_bio()
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-cpd.c74 * 1 metadata entry for each sub system(ISYS and PSYS). in ipu6_cpd_metadata_get_cmpnt()
81 ipu6_cpd_metadata_get_cmpnt(struct ipu6_device *isp, const void *metadata, in ipu6_cpd_metadata_get_cmpnt()
95 return metadata + extn_size + idx * isp->cpd_metadata_cmpnt_size;
99 const void *metadata, in ipu6_cpd_metadata_get_cmpnt_id()
104 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_get_cmpnt_id()
112 const void *metadata, in ipu6_cpd_parse_module_data()
117 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_parse_module_data()
128 u64 *pkg_dir, const void *metadata, in ipu6_cpd_parse_module_data()
154 id = ipu6_cpd_metadata_get_cmpnt_id(isp, metadata, in ipu6_cpd_parse_module_data()
161 ver = ipu6_cpd_metadata_cmpnt_version(isp, metadata,
66 ipu6_cpd_metadata_get_cmpnt(struct ipu6_device * isp,const void * metadata,unsigned int metadata_size,u8 idx) ipu6_cpd_metadata_get_cmpnt() argument
84 ipu6_cpd_metadata_cmpnt_version(struct ipu6_device * isp,const void * metadata,unsigned int metadata_size,u8 idx) ipu6_cpd_metadata_cmpnt_version() argument
97 ipu6_cpd_metadata_get_cmpnt_id(struct ipu6_device * isp,const void * metadata,unsigned int metadata_size,u8 idx) ipu6_cpd_metadata_get_cmpnt_id() argument
113 ipu6_cpd_parse_module_data(struct ipu6_device * isp,const void * module_data,unsigned int module_data_size,dma_addr_t dma_addr_module_data,u64 * pkg_dir,const void * metadata,unsigned int metadata_size) ipu6_cpd_parse_module_data() argument
291 ipu6_cpd_validate_metadata(struct ipu6_device * isp,const void * metadata,u32 meta_size) ipu6_cpd_validate_metadata() argument
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Dtask_local_data.bpf.h86 struct tld_metadata metadata[TLD_MAX_DATA_CNT]; member
175 struct tld_metadata *metadata; in __tld_fetch_key() local
183 metadata = tld_obj->data_map->meta->metadata; in __tld_fetch_key()
189 if (i >= i_start && !bpf_strncmp(metadata[i].name, TLD_NAME_LEN, name)) in __tld_fetch_key()
192 off += TLD_ROUND_UP(metadata[i].size, 8); in __tld_fetch_key()
H A Dtest_xdp_context_test_run.c9 __u32 *metadata = (void *)(long)xdp->data_meta; in xdp_context() local
12 if (metadata + 1 > data) in xdp_context()
14 ret = *metadata; in xdp_context()
/linux/tools/testing/kunit/
H A Dkunit_json.py17 """Stores metadata about this run to include in get_json_result()."""
60 def get_json_result(test: Test, metadata: Metadata) -> str:
62 "arch": metadata.arch,
63 "defconfig": metadata.def_config,
64 "build_environment": metadata.build_dir,
/linux/net/bridge/
H A Dbr_vlan_tunnel.c66 struct metadata_dst *metadata = rtnl_dereference(vlan->tinfo.tunnel_dst); in __vlan_tunnel_info_add() local
71 if (metadata) in __vlan_tunnel_info_add()
75 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, flags, key, 0); in __vlan_tunnel_info_add()
76 if (!metadata) in __vlan_tunnel_info_add()
79 metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_BRIDGE; in __vlan_tunnel_info_add()
80 rcu_assign_pointer(vlan->tinfo.tunnel_dst, metadata); in __vlan_tunnel_info_add()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c525 struct gve_tx_metadata_dqo *metadata) in gve_extract_tx_metadata_dqo()
527 memset(metadata, 0, sizeof(*metadata)); in gve_extract_tx_metadata_dqo()
528 metadata->version = GVE_TX_METADATA_VERSION_DQO; in gve_extract_tx_metadata_dqo()
537 metadata->path_hash = path_hash; in gve_extract_tx_metadata_dqo()
627 const struct gve_tx_metadata_dqo *metadata, in gve_tx_fill_tso_ctx_desc()
636 .flex0 = metadata->bytes[0], in gve_tx_fill_tso_ctx_desc()
637 .flex5 = metadata->bytes[5], in gve_tx_fill_tso_ctx_desc()
638 .flex6 = metadata->bytes[6], in gve_tx_fill_tso_ctx_desc()
639 .flex7 = metadata in gve_tx_fill_tso_ctx_desc()
526 gve_extract_tx_metadata_dqo(const struct sk_buff * skb,struct gve_tx_metadata_dqo * metadata) gve_extract_tx_metadata_dqo() argument
628 gve_tx_fill_tso_ctx_desc(struct gve_tx_tso_context_desc_dqo * desc,const struct sk_buff * skb,const struct gve_tx_metadata_dqo * metadata,int header_len) gve_tx_fill_tso_ctx_desc() argument
652 gve_tx_fill_general_ctx_desc(struct gve_tx_general_context_desc_dqo * desc,const struct gve_tx_metadata_dqo * metadata) gve_tx_fill_general_ctx_desc() argument
840 struct gve_tx_metadata_dqo metadata; gve_tx_add_skb_dqo() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dpsp_rxtx.h14 #define MLX5_PSP_METADATA_MARKER(metadata) ((((metadata) >> 30) & 0x3) == 0x3) argument
15 #define MLX5_PSP_METADATA_HANDLE(metadata) ((metadata) & GENMASK(22, 0)) argument
/linux/include/uapi/linux/
H A Dnvme_ioctl.h18 __u64 metadata; member
34 __u64 metadata; member
55 __u64 metadata; member
81 __u64 metadata; member
/linux/drivers/accel/amdxdna/
H A Daie2_message.c114 struct amdxdna_drm_query_aie_metadata *metadata) in aie2_query_aie_metadata() argument
123 metadata->col_size = resp.info.size; in aie2_query_aie_metadata()
124 metadata->cols = resp.info.cols; in aie2_query_aie_metadata()
125 metadata->rows = resp.info.rows; in aie2_query_aie_metadata()
127 metadata->version.major = resp.info.major; in aie2_query_aie_metadata()
128 metadata->version.minor = resp.info.minor; in aie2_query_aie_metadata()
130 metadata->core.row_count = resp.info.core_rows; in aie2_query_aie_metadata()
131 metadata->core.row_start = resp.info.core_row_start; in aie2_query_aie_metadata()
132 metadata->core.dma_channel_count = resp.info.core_dma_channels; in aie2_query_aie_metadata()
133 metadata in aie2_query_aie_metadata()
[all...]
/linux/Documentation/filesystems/
H A Dsquashfs.rst88 Only one block (data or metadata) can be
178 Inodes are packed into the metadata blocks, and are not aligned to block
181 metadata block containing the inode, and the lower 16 bits give the byte offset
196 Like inodes, directories are packed into compressed metadata blocks, stored
204 compressed metadata block, and therefore, can share the start block.
214 in each metadata block. Directories are sorted in alphabetical order,
217 location of the metadata block the filename is in has been found.
218 The general idea of the index is to ensure only one metadata block needs to be
247 fragment lookup table is itself stored compressed into metadata blocks.
257 stored compressed into metadata blocks. A second index table is used to
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_data.h99 struct tld_metadata metadata[]; member
235 while (!(sz = atomic_load(&tld_meta_p->metadata[i].size))) in __tld_create_key()
238 if (!strncmp(tld_meta_p->metadata[i].name, name, TLD_NAME_LEN)) in __tld_create_key()
268 strscpy(tld_meta_p->metadata[i].name, name); in __tld_create_key()
269 atomic_store(&tld_meta_p->metadata[i].size, size); in __tld_create_key()

1234567891011