Home
last modified time | relevance | path

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

/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-cpd.c67 unsigned int metadata_size, u8 idx) in ipu6_cpd_metadata_get_cmpnt() argument
70 size_t cmpnt_count = metadata_size - extn_size; in ipu6_cpd_metadata_get_cmpnt()
85 unsigned int metadata_size, u8 idx) in ipu6_cpd_metadata_cmpnt_version() argument
89 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_cmpnt_version()
98 unsigned int metadata_size, u8 idx) in ipu6_cpd_metadata_get_cmpnt_id() argument
102 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_get_cmpnt_id()
114 unsigned int metadata_size) in ipu6_cpd_parse_module_data() argument
140 metadata_size, i); in ipu6_cpd_parse_module_data()
147 metadata_size, i); in ipu6_cpd_parse_module_data()
/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c231 geo->metadata_size, in gpmi_dump_info()
283 i = (mtd->writesize * 8 - geo->metadata_size * 8) / in bbm_in_data_chunk()
287 j = (mtd->writesize * 8 - geo->metadata_size * 8) - in bbm_in_data_chunk()
345 geo->metadata_size = 10; in set_geometry_by_ecc_info()
397 geo->page_size = mtd->writesize + geo->metadata_size + in set_geometry_by_ecc_info()
402 geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); in set_geometry_by_ecc_info()
403 geo->auxiliary_size = ALIGN(geo->metadata_size, 4) in set_geometry_by_ecc_info()
412 + geo->metadata_size * 8); in set_geometry_by_ecc_info()
443 ecc_strength = ((mtd->oobsize - geo->metadata_size) * 8) in get_ecc_strength()
477 geo->metadata_size = 10; in set_geometry_for_large_oob()
[all …]
H A Dgpmi-nand.h52 unsigned int metadata_size; member
/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.c551 u32 metadata_size) in msm_ioctl_gem_info_set_metadata() argument
558 if (metadata_size > 128) { in msm_ioctl_gem_info_set_metadata()
563 buf = memdup_user(metadata, metadata_size); in msm_ioctl_gem_info_set_metadata()
572 krealloc(msm_obj->metadata, metadata_size, GFP_KERNEL); in msm_ioctl_gem_info_set_metadata()
573 msm_obj->metadata_size = metadata_size; in msm_ioctl_gem_info_set_metadata()
574 memcpy(msm_obj->metadata, buf, metadata_size); in msm_ioctl_gem_info_set_metadata()
586 u32 *metadata_size) in msm_ioctl_gem_info_get_metadata() argument
601 *metadata_size = msm_obj->metadata_size; in msm_ioctl_gem_info_get_metadata()
610 len = msm_obj->metadata_size; in msm_ioctl_gem_info_get_metadata()
615 if (*metadata_size < len) { in msm_ioctl_gem_info_get_metadata()
[all …]
H A Dmsm_gem.h114 u32 metadata_size; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c1065 u32 metadata_size, uint64_t flags) in amdgpu_bo_set_metadata() argument
1072 if (!metadata_size) { in amdgpu_bo_set_metadata()
1073 if (ubo->metadata_size) { in amdgpu_bo_set_metadata()
1076 ubo->metadata_size = 0; in amdgpu_bo_set_metadata()
1084 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
1091 ubo->metadata_size = metadata_size; in amdgpu_bo_set_metadata()
1112 size_t buffer_size, uint32_t *metadata_size, in amdgpu_bo_get_metadata() argument
1117 if (!buffer && !metadata_size) in amdgpu_bo_get_metadata()
1122 if (metadata_size) in amdgpu_bo_get_metadata()
1123 *metadata_size = ubo->metadata_size; in amdgpu_bo_get_metadata()
[all …]
H A Damdgpu_object.h133 u32 metadata_size; member
286 uint32_t metadata_size, uint64_t flags);
288 size_t buffer_size, uint32_t *metadata_size,
H A Damdgpu_amdkfd.c505 size_t buffer_size, uint32_t *metadata_size, in amdgpu_amdkfd_get_dmabuf_info() argument
541 metadata_size, &metadata_flags); in amdgpu_amdkfd_get_dmabuf_info()
H A Damdgpu_amdkfd.h255 size_t buffer_size, uint32_t *metadata_size,
/linux/drivers/nvme/target/
H A Dio-cmd-bdev.c68 ns->metadata_size = bi->tuple_size; in nvmet_bdev_ns_enable_integrity()
74 ns->metadata_size = 0; in nvmet_bdev_ns_enable_integrity()
106 ns->metadata_size = 0; in nvmet_bdev_ns_enable()
H A Dnvmet.h127 int metadata_size; member
680 req->ns->metadata_size; in nvmet_rw_metadata_len()
750 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
H A Dadmin-cmd.c745 id->lbaf[0].ms = cpu_to_le16(req->ns->metadata_size); in nvmet_execute_identify_ns()
/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c157 u16 metadata_size; member
214 poi = chip->oob_poi + rknand->metadata_size + chip->ecc.bytes * i; in rk_nfc_buf_to_oob_ecc_ptr()
944 oob_region->length = rknand->metadata_size - NFC_SYS_DATA_SIZE - 2; in rk_nfc_ooblayout_free()
959 oob_region->length = mtd->oobsize - rknand->metadata_size; in rk_nfc_ooblayout_ecc()
960 oob_region->offset = rknand->metadata_size; in rk_nfc_ooblayout_ecc()
1036 rknand->metadata_size = NFC_SYS_DATA_SIZE * ecc->steps; in rk_nfc_attach_chip()
1038 if (rknand->metadata_size < NFC_SYS_DATA_SIZE + 2) { in rk_nfc_attach_chip()
/linux/fs/ecryptfs/
H A Dmmap.c104 (crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_copy_up_encrypted_with_header()
134 - crypt_stat->metadata_size); in ecryptfs_copy_up_encrypted_with_header()
/linux/drivers/dma/ti/
H A Dk3-udma.c230 u32 metadata_size; member
253 u32 metadata_size; /* (needs_epib ? 16:0) + psd_size */ member
1056 memcpy(d->metadata, h_desc->epib, d->metadata_size); in udma_fetch_epib()
3325 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_attach_metadata()
3328 if (!data || len > uc->config.metadata_size) in udma_attach_metadata()
3342 d->metadata_size = len; in udma_attach_metadata()
3359 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_get_metadata_ptr()
3364 *max_len = uc->config.metadata_size; in udma_get_metadata_ptr()
3382 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_set_metadata_len()
3385 if (payload_len > uc->config.metadata_size) in udma_set_metadata_len()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1514 metadata_buffer = kzalloc(args->metadata_size, GFP_KERNEL); in kfd_ioctl_get_dmabuf_info()
1522 metadata_buffer, args->metadata_size, in kfd_ioctl_get_dmabuf_info()
1523 &args->metadata_size, &flags, &xcp_id); in kfd_ioctl_get_dmabuf_info()
1536 metadata_buffer, args->metadata_size); in kfd_ioctl_get_dmabuf_info()
/linux/include/uapi/linux/
H A Dkfd_ioctl.h496 __u32 metadata_size; /* to KFD (space allocated by user) member