Home
last modified time | relevance | path

Searched refs:metadata_size (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/platform/x86/intel/ifs/
Dload.c19 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/
Dgpmi-nand.c232 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 …]
Dgpmi-nand.h52 unsigned int metadata_size; member
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1151 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 …]
Damdgpu_object.h118 u32 metadata_size; member
311 uint32_t metadata_size, uint64_t flags);
313 size_t buffer_size, uint32_t *metadata_size,
Damdgpu_amdkfd.c499 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()
Damdgpu_amdkfd.h231 size_t buffer_size, uint32_t *metadata_size,
/Linux-v6.1/fs/ecryptfs/
Dcrypto.c616 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()
Dmmap.c122 (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()
Decryptfs_kernel.h233 size_t metadata_size; member
425 return crypt_stat->metadata_size; in ecryptfs_lower_header_size()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dpapr_scm.c96 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/
Dio-cmd-bdev.c64 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()
Dnvmet.h85 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()
Dadmin-cmd.c563 id->lbaf[0].ms = cpu_to_le16(req->ns->metadata_size); in nvmet_execute_identify_ns()
/Linux-v6.1/drivers/mtd/nand/raw/
Drockchip-nand-controller.c157 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/
Dk3-udma.c229 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/
Dkfd_ioctl.h451 __u32 metadata_size; /* to KFD (space allocated by user) member
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1477 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()