/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_surface.c | 797 metadata = &srf->metadata; in vmw_surface_define_ioctl() 809 metadata->sizes = in vmw_surface_define_ioctl() 812 sizeof(*metadata->sizes) * metadata->num_sizes); in vmw_surface_define_ioctl() 824 metadata->base_size = *srf->metadata.sizes; in vmw_surface_define_ioctl() 1067 struct vmw_surface_metadata *metadata = &srf->metadata; in vmw_gb_surface_create() local 1658 metadata = &srf->metadata; in vmw_gb_surface_reference_internal() 1952 const struct vmw_surface_metadata *metadata = &srf->metadata; in vmw_surface_dirty_alloc() local 1992 ret = vmw_surface_setup_cache(&metadata->base_size, metadata->format, in vmw_surface_dirty_alloc() 2136 srf->metadata = *req; in vmw_gb_surface_define() 2139 metadata = &srf->metadata; in vmw_gb_surface_define() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
A D | virtual_isys.c | 37 bool metadata, 55 bool metadata); 329 metadata ? cfg->metadata.bits_per_pixel : in create_input_system_channel() 331 metadata ? cfg->metadata.pixels_per_line : in create_input_system_channel() 333 metadata ? cfg->metadata.lines_per_frame : in create_input_system_channel() 335 metadata ? cfg->metadata.align_req_in_bytes : in create_input_system_channel() 478 if (metadata) in calculate_input_system_channel_cfg() 492 metadata, in calculate_input_system_channel_cfg() 500 metadata, in calculate_input_system_channel_cfg() 685 metadata ? &input_port->metadata.backend_lut_entry : in calculate_be_cfg() [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
A D | era.rst | 21 era <metadata dev> <origin dev> <block size> 24 metadata dev fast device holding the persistent metadata 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 88 - Take metadata snapshot [all …]
|
A D | thin-provisioning.rst | 27 - Improve metadata resilience by storing metadata on a mirrored volume 30 - Improve performance by storing the metadata on SSD. 73 make one by zeroing the first 4k to indicate empty metadata. 132 Updating on-disk metadata 150 that when the pool's metadata space is exhausted the current metadata 286 metadata. This mode is only available after the 302 <transaction id> <used metadata blocks>/<total metadata blocks> 317 held metadata root: 329 drop into a read-only metadata mode in which no changes to 347 flag being set in the metadata's superblock. The metadata [all …]
|
A D | dm-zoned.rst | 27 internally for storing metadata and performing reclaim operations. 48 1) Metadata zones: these are conventional zones used to store metadata. 63 The on-disk metadata format is as follows: 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 123 newest metadata. Once this operation completes, in place of metadata 129 metadata blocks are staged and updated. Normal operation is then 130 resumed. Flushing metadata thus only temporarily delays write and 132 metadata flush is being executed. 138 identification purposes. The first and second copy of the metadata [all …]
|
A D | cache.rst | 86 the metadata. 131 Updating on-disk metadata 186 metadata dev fast device holding the persistent metadata 238 <metadata block size> <#used metadata blocks>/<#total metadata blocks> 243 <cache metadata mode> 247 metadata block size Fixed block size for each metadata block in 249 #used metadata blocks Number of metadata blocks used 250 #total metadata blocks Total number of metadata blocks 284 A metadata operation has failed, resulting in the 285 needs_check flag being set in the metadata's [all …]
|
A D | dm-clone.rst | 29 The dm-clone target reuses the metadata library used by the thin-provisioning 95 only updates its metadata. 124 Updating on-disk metadata 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> 190 metadata block size Fixed block size for each metadata block in sectors 191 #used metadata blocks Number of metadata blocks used 192 #total metadata blocks Total number of metadata blocks [all …]
|
/linux/drivers/thunderbolt/ |
A D | usb4.c | 83 if (metadata) { in usb4_native_switch_op() 115 if (metadata) { in usb4_native_switch_op() 328 u32 metadata; in usb4_switch_drom_read_block() local 497 u32 metadata; in usb4_switch_nvm_sector_size() local 517 u32 metadata; in usb4_switch_nvm_read_block() local 711 u32 metadata = 0; in usb4_switch_credits_init() local 1477 u32 metadata; in usb4_port_retimer_is_last() local 1503 u32 metadata; in usb4_port_retimer_nvm_sector_size() local 1637 u32 metadata, val; in usb4_port_retimer_nvm_authenticate_status() local 1652 &metadata, sizeof(metadata)); in usb4_port_retimer_nvm_authenticate_status() [all …]
|
/linux/Documentation/filesystems/ |
A D | xfs-self-describing-metadata.rst | 16 Almost all metadata on XFS is dynamically allocated. The only fixed location 17 metadata is the allocation group headers (SB, AGF, AGFL and AGI), while all 18 other metadata structures need to be discovered by walking the filesystem 45 you can't look at a single metadata block in isolation and say "yes, it is 56 Hence we need to record more information into the metadata to allow us to 60 self describing metadata. 63 metadata object contains some form of unique identifier in a well known 66 the type of metadata in the object, then the metadata doesn't describe itself 76 metadata object at runtime, during forensic analysis or repair. 218 of the metadata. [all …]
|
A D | squashfs.rst | 120 Inodes are packed into the metadata blocks, and are not aligned to block 122 by a 48-bit number which encodes the location of the compressed metadata block 138 Like inodes, directories are packed into compressed metadata blocks, stored 146 compressed metadata block, and therefore, can share the start block. 156 in each metadata block. Directories are sorted in alphabetical order, 159 location of the metadata block the filename is in has been found. 189 fragment lookup table is itself stored compressed into metadata blocks. 199 stored compressed into metadata blocks. A second index table is used to 232 The xattr lists are packed into compressed 8K metadata blocks. 254 fragment and metadata blocks which have been read as a result of a metadata [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | dev-meta.rst | 13 intended for transfer of metadata between the userspace and the hardware and 16 The metadata interface is implemented on video device nodes. The device can be 17 dedicated to metadata or can support both video and metadata as specified in its 23 Device nodes supporting the metadata capture interface set the 26 ioctl. That flag means the device can capture metadata to memory. Similarly, 27 device nodes supporting metadata output interface set the 30 metadata from memory. 38 The metadata device uses the :ref:`format` ioctls to select the capture format. 39 The metadata buffer content format is bound to that selected format. In addition 62 :ref:`four character code <v4l2-fourcc>`. V4L2 defines metadata formats
|
/linux/samples/bpf/ |
A D | xdp_sample_pkts_kern.c | 25 } __packed metadata; in xdp_sample_prog() local 42 metadata.cookie = 0xdead; in xdp_sample_prog() 43 metadata.pkt_len = (u16)(data_end - data); in xdp_sample_prog() 44 sample_size = min(metadata.pkt_len, SAMPLE_SIZE); in xdp_sample_prog() 48 &metadata, sizeof(metadata)); in xdp_sample_prog()
|
/linux/drivers/md/ |
A D | dm-zoned-target.c | 50 struct dmz_metadata *metadata; member 173 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_read() 255 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write() 288 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write() 322 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_write() 375 dmz_metadata_label(dmz->metadata), in dmz_handle_discard() 511 ret = dmz_flush_metadata(dmz->metadata); in dmz_flush_work() 909 dmz_metadata_label(dmz->metadata)); in dmz_ctr() 952 dmz_dtr_metadata(dmz->metadata); in dmz_ctr() 980 dmz_dtr_metadata(dmz->metadata); in dmz_dtr() [all …]
|
A D | dm-zoned-reclaim.c | 15 struct dmz_metadata *metadata; member 62 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_align_wp() 120 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_copy() 200 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_buf() 239 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_seq_data() 284 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_rnd_data() 342 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_empty() 366 struct dmz_metadata *zmd = zrc->metadata; in dmz_do_reclaim() 433 ret = dmz_flush_metadata(zrc->metadata); in dmz_do_reclaim() 473 if (dmz_nr_cache_zones(zrc->metadata)) { in dmz_should_reclaim() [all …]
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_tx_dqo.c | 309 memset(metadata, 0, sizeof(*metadata)); in gve_extract_tx_metadata_dqo() 412 .flex0 = metadata->bytes[0], in gve_tx_fill_tso_ctx_desc() 413 .flex5 = metadata->bytes[5], in gve_tx_fill_tso_ctx_desc() 414 .flex6 = metadata->bytes[6], in gve_tx_fill_tso_ctx_desc() 415 .flex7 = metadata->bytes[7], in gve_tx_fill_tso_ctx_desc() 416 .flex8 = metadata->bytes[8], in gve_tx_fill_tso_ctx_desc() 417 .flex9 = metadata->bytes[9], in gve_tx_fill_tso_ctx_desc() 430 .flex0 = metadata->bytes[0], in gve_tx_fill_general_ctx_desc() 431 .flex1 = metadata->bytes[1], in gve_tx_fill_general_ctx_desc() 432 .flex2 = metadata->bytes[2], in gve_tx_fill_general_ctx_desc() [all …]
|
/linux/tools/perf/util/ |
A D | cs-etm.c | 64 u64 **metadata; member 132 u64 *metadata; in cs_etm__get_magic() local 146 u64 *metadata; in cs_etm__get_cpu() local 172 u64 *metadata, val; in cs_etm__get_pid_fmt() local 442 u64 **metadata = etm->metadata; in cs_etm__set_trace_param_etmv3() local 452 u64 **metadata = etm->metadata; in cs_etm__set_trace_param_etmv4() local 466 u64 **metadata = etm->metadata; in cs_etm__set_trace_param_ete() local 2668 metadata = zalloc(sizeof(*metadata) * out_blk_size); in cs_etm__create_meta_blk() 2669 if (!metadata) in cs_etm__create_meta_blk() 2949 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_rxtx.h | 43 #define MLX5_IPSEC_METADATA_MARKER(metadata) (((metadata) >> 31) & 0x1) argument 44 #define MLX5_IPSEC_METADATA_SYNDROM(metadata) (((metadata) >> 24) & GENMASK(6, 0)) argument 45 #define MLX5_IPSEC_METADATA_HANDLE(metadata) ((metadata) & GENMASK(23, 0)) argument
|
/linux/Documentation/block/ |
A D | data-integrity.rst | 8 Modern filesystems feature checksumming of data and metadata to 18 support for appending integrity metadata to an I/O. The integrity 19 metadata (or protection information in SCSI terminology) includes a 40 allow the operating system to interact with the integrity metadata 46 information to each sector. The data + integrity metadata is stored 140 containing the integrity metadata and the required housekeeping 164 merging and splitting the integrity metadata. 237 the integrity metadata in the pages must be in a format 242 integrity metadata must have a value of bip->bip_sector. 280 metadata. [all …]
|
/linux/net/bridge/ |
A D | br_vlan_tunnel.c | 66 struct metadata_dst *metadata = rtnl_dereference(vlan->tinfo.tunnel_dst); in __vlan_tunnel_info_add() local 70 if (metadata) in __vlan_tunnel_info_add() 73 metadata = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in __vlan_tunnel_info_add() 75 if (!metadata) in __vlan_tunnel_info_add() 78 metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_BRIDGE; in __vlan_tunnel_info_add() 79 rcu_assign_pointer(vlan->tinfo.tunnel_dst, metadata); in __vlan_tunnel_info_add()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_xdp_context_test_run.c | 9 __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/include/trace/events/ |
A D | devlink.h | 179 const struct devlink_trap_metadata *metadata), 181 TP_ARGS(devlink, skb, metadata), 187 __string(trap_name, metadata->trap_name) 188 __string(trap_group_name, metadata->trap_group_name) 193 struct net_device *input_dev = metadata->input_dev; 198 __assign_str(trap_name, metadata->trap_name); 199 __assign_str(trap_group_name, metadata->trap_group_name);
|
/linux/drivers/nvme/host/ |
A D | ioctl.c | 118 void __user *metadata; in nvme_submit_io() local 142 if (nvme_to_user_ptr(io.metadata)) in nvme_submit_io() 145 metadata = NULL; in nvme_submit_io() 148 metadata = nvme_to_user_ptr(io.metadata); in nvme_submit_io() 155 if ((io.metadata & 3) || !io.metadata) in nvme_submit_io() 173 metadata, meta_len, lower_32_bits(io.slba), NULL, 0); in nvme_submit_io() 226 nvme_to_user_ptr(cmd.metadata), cmd.metadata_len, in nvme_user_cmd() 272 nvme_to_user_ptr(cmd.metadata), cmd.metadata_len, in nvme_user_cmd64() 312 __u64 metadata; member
|
/linux/drivers/soc/qcom/ |
A D | mdt_loader.c | 144 void *metadata; in __qcom_mdt_load() local 166 metadata = qcom_mdt_read_metadata(fw, &metadata_len); in __qcom_mdt_load() 167 if (IS_ERR(metadata)) { in __qcom_mdt_load() 168 ret = PTR_ERR(metadata); in __qcom_mdt_load() 174 ret = qcom_scm_pas_init_image(pas_id, metadata, metadata_len); in __qcom_mdt_load() 176 kfree(metadata); in __qcom_mdt_load()
|
/linux/Documentation/driver-api/dmaengine/ |
A D | client.rst | 158 **Optional: per descriptor metadata** 160 DMAengine provides two ways for metadata support. 174 The metadata buffer is allocated/managed by the DMA driver. The client 176 the metadata and can directly update or read it. 182 metadata must not be accessed after issue_pending. 208 construct the metadata in the client's buffer 228 engine's metadata area 229 3. update the metadata at the pointer 231 amount of data the client has placed into the metadata buffer 239 the pointer to the engine's metadata area [all …]
|
/linux/fs/jffs2/ |
A D | fs.c | 61 mdatalen = f->metadata->size; in jffs2_do_setattr() 62 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr() 67 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr() 158 old_metadata = f->metadata; in jffs2_do_setattr() 167 f->metadata = NULL; in jffs2_do_setattr() 169 f->metadata = new_metadata; in jffs2_do_setattr() 327 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget() 328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget() 330 f->metadata->size); in jffs2_iget() 334 ret = jffs2_read_dnode(c, f, f->metadata, (char *)&jdev, 0, f->metadata->size); in jffs2_iget() [all …]
|