/Linux-v6.1/drivers/platform/x86/intel/ifs/ |
D | load.c | 19 u32 metadata_size; member 121 int metadata_size, curr_pkg, cpu, ret = -ENOMEM; in scan_chunks_sanity_check() local 131 metadata_size = ifs_header_ptr->metadata_size; in scan_chunks_sanity_check() 134 if (metadata_size == 0) in scan_chunks_sanity_check() 135 metadata_size = 2000; in scan_chunks_sanity_check() 138 if ((metadata_size + IFS_HEADER_SIZE) % 256) { in scan_chunks_sanity_check() 143 test_ptr = (char *)ifs_header_ptr + IFS_HEADER_SIZE + metadata_size; in scan_chunks_sanity_check()
|
/Linux-v6.1/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 232 geo->metadata_size, in gpmi_dump_info() 284 i = (mtd->writesize * 8 - geo->metadata_size * 8) / in bbm_in_data_chunk() 288 j = (mtd->writesize * 8 - geo->metadata_size * 8) - in bbm_in_data_chunk() 346 geo->metadata_size = 10; in set_geometry_by_ecc_info() 398 geo->page_size = mtd->writesize + geo->metadata_size + in set_geometry_by_ecc_info() 403 geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); in set_geometry_by_ecc_info() 404 geo->auxiliary_size = ALIGN(geo->metadata_size, 4) in set_geometry_by_ecc_info() 413 + geo->metadata_size * 8); in set_geometry_by_ecc_info() 444 ecc_strength = ((mtd->oobsize - geo->metadata_size) * 8) in get_ecc_strength() 478 geo->metadata_size = 10; in set_geometry_for_large_oob() [all …]
|
D | gpmi-nand.h | 52 unsigned int metadata_size; member
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 1151 uint32_t metadata_size, uint64_t flags) in amdgpu_bo_set_metadata() argument 1158 if (!metadata_size) { in amdgpu_bo_set_metadata() 1159 if (ubo->metadata_size) { in amdgpu_bo_set_metadata() 1162 ubo->metadata_size = 0; in amdgpu_bo_set_metadata() 1170 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata() 1177 ubo->metadata_size = metadata_size; in amdgpu_bo_set_metadata() 1198 size_t buffer_size, uint32_t *metadata_size, in amdgpu_bo_get_metadata() argument 1203 if (!buffer && !metadata_size) in amdgpu_bo_get_metadata() 1208 if (metadata_size) in amdgpu_bo_get_metadata() 1209 *metadata_size = ubo->metadata_size; in amdgpu_bo_get_metadata() [all …]
|
D | amdgpu_object.h | 118 u32 metadata_size; member 311 uint32_t metadata_size, uint64_t flags); 313 size_t buffer_size, uint32_t *metadata_size,
|
D | amdgpu_amdkfd.c | 499 size_t buffer_size, uint32_t *metadata_size, in amdgpu_amdkfd_get_dmabuf_info() argument 535 metadata_size, &metadata_flags); in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_amdkfd.h | 231 size_t buffer_size, uint32_t *metadata_size,
|
/Linux-v6.1/fs/ecryptfs/ |
D | crypto.c | 616 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in ecryptfs_set_default_sizes() 619 crypt_stat->metadata_size = in ecryptfs_set_default_sizes() 622 crypt_stat->metadata_size = PAGE_SIZE; in ecryptfs_set_default_sizes() 1006 (u16)(crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_write_header_metadata() 1164 virt_len = crypt_stat->metadata_size; in ecryptfs_write_metadata() 1211 crypt_stat->metadata_size = (((size_t)num_header_extents_at_front in parse_header_metadata() 1215 && (crypt_stat->metadata_size in parse_header_metadata() 1219 crypt_stat->metadata_size); in parse_header_metadata() 1234 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in set_default_header_data() 1249 file_size += crypt_stat->metadata_size; in ecryptfs_i_size_init()
|
D | mmap.c | 122 (crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_copy_up_encrypted_with_header() 152 - crypt_stat->metadata_size); in ecryptfs_copy_up_encrypted_with_header()
|
D | ecryptfs_kernel.h | 233 size_t metadata_size; member 425 return crypt_stat->metadata_size; in ecryptfs_lower_header_size()
|
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 96 int metadata_size; member 606 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_get() 660 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_set() 1069 get_size_hdr->config_size = p->metadata_size; in papr_scm_ndctl() 1401 u32 drc_index, metadata_size; in papr_scm_probe() local 1440 of_property_read_u32(dn, "ibm,metadata-size", &metadata_size); in papr_scm_probe() 1473 p->metadata_size = metadata_size; in papr_scm_probe()
|
/Linux-v6.1/drivers/nvme/target/ |
D | io-cmd-bdev.c | 64 ns->metadata_size = bi->tuple_size; in nvmet_bdev_ns_enable_integrity() 71 ns->metadata_size = 0; in nvmet_bdev_ns_enable_integrity() 102 ns->metadata_size = 0; in nvmet_bdev_ns_enable()
|
D | nvmet.h | 85 int metadata_size; member 597 req->ns->metadata_size; in nvmet_rw_metadata_len() 667 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
|
D | admin-cmd.c | 563 id->lbaf[0].ms = cpu_to_le16(req->ns->metadata_size); in nvmet_execute_identify_ns()
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | rockchip-nand-controller.c | 157 u16 metadata_size; member 215 poi = chip->oob_poi + rknand->metadata_size + chip->ecc.bytes * i; in rk_nfc_buf_to_oob_ecc_ptr() 940 oob_region->length = rknand->metadata_size - NFC_SYS_DATA_SIZE - 2; in rk_nfc_ooblayout_free() 955 oob_region->length = mtd->oobsize - rknand->metadata_size; in rk_nfc_ooblayout_ecc() 956 oob_region->offset = rknand->metadata_size; in rk_nfc_ooblayout_ecc() 1032 rknand->metadata_size = NFC_SYS_DATA_SIZE * ecc->steps; in rk_nfc_attach_chip() 1034 if (rknand->metadata_size < NFC_SYS_DATA_SIZE + 2) { in rk_nfc_attach_chip()
|
/Linux-v6.1/drivers/dma/ti/ |
D | k3-udma.c | 229 u32 metadata_size; member 252 u32 metadata_size; /* (needs_epib ? 16:0) + psd_size */ member 1052 memcpy(d->metadata, h_desc->epib, d->metadata_size); in udma_fetch_epib() 3308 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_attach_metadata() 3311 if (!data || len > uc->config.metadata_size) in udma_attach_metadata() 3325 d->metadata_size = len; in udma_attach_metadata() 3342 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_get_metadata_ptr() 3347 *max_len = uc->config.metadata_size; in udma_get_metadata_ptr() 3365 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_set_metadata_len() 3368 if (payload_len > uc->config.metadata_size) in udma_set_metadata_len() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | kfd_ioctl.h | 451 __u32 metadata_size; /* to KFD (space allocated by user) member
|
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1477 metadata_buffer = kzalloc(args->metadata_size, GFP_KERNEL); in kfd_ioctl_get_dmabuf_info() 1485 metadata_buffer, args->metadata_size, in kfd_ioctl_get_dmabuf_info() 1486 &args->metadata_size, &flags); in kfd_ioctl_get_dmabuf_info() 1502 metadata_buffer, args->metadata_size); in kfd_ioctl_get_dmabuf_info()
|