Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1206 uint32_t metadata_size, uint64_t flags) in amdgpu_bo_set_metadata() argument
1210 if (!metadata_size) { in amdgpu_bo_set_metadata()
1211 if (bo->metadata_size) { in amdgpu_bo_set_metadata()
1214 bo->metadata_size = 0; in amdgpu_bo_set_metadata()
1222 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
1229 bo->metadata_size = metadata_size; in amdgpu_bo_set_metadata()
1250 size_t buffer_size, uint32_t *metadata_size, in amdgpu_bo_get_metadata() argument
1253 if (!buffer && !metadata_size) in amdgpu_bo_get_metadata()
1257 if (buffer_size < bo->metadata_size) in amdgpu_bo_get_metadata()
1260 if (bo->metadata_size) in amdgpu_bo_get_metadata()
[all …]
Damdgpu_object.h96 u32 metadata_size; member
280 uint32_t metadata_size, uint64_t flags);
282 size_t buffer_size, uint32_t *metadata_size,
Damdgpu_amdkfd.c478 size_t buffer_size, uint32_t *metadata_size, in amdgpu_amdkfd_get_dmabuf_info() argument
513 if (metadata_size) in amdgpu_amdkfd_get_dmabuf_info()
514 *metadata_size = bo->metadata_size; in amdgpu_amdkfd_get_dmabuf_info()
517 metadata_size, &metadata_flags); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_amdkfd.h202 size_t buffer_size, uint32_t *metadata_size,
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c229 geo->metadata_size, in gpmi_dump_info()
295 geo->metadata_size = 10; in set_geometry_by_ecc_info()
347 geo->page_size = mtd->writesize + geo->metadata_size + in set_geometry_by_ecc_info()
352 geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); in set_geometry_by_ecc_info()
353 geo->auxiliary_size = ALIGN(geo->metadata_size, 4) in set_geometry_by_ecc_info()
362 + geo->metadata_size * 8); in set_geometry_by_ecc_info()
393 ecc_strength = ((mtd->oobsize - geo->metadata_size) * 8) in get_ecc_strength()
404 unsigned int metadata_size; in legacy_set_geometry() local
413 geo->metadata_size = 10; in legacy_set_geometry()
438 geo->page_size = mtd->writesize + geo->metadata_size + in legacy_set_geometry()
[all …]
Dgpmi-nand.h50 unsigned int metadata_size; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c95 int metadata_size; member
364 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_get()
418 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_set()
759 get_size_hdr->config_size = p->metadata_size; in papr_scm_ndctl()
1052 u32 drc_index, metadata_size; in papr_scm_probe() local
1091 of_property_read_u32(dn, "ibm,metadata-size", &metadata_size); in papr_scm_probe()
1119 p->metadata_size = metadata_size; in papr_scm_probe()
/kernel/linux/linux-5.10/fs/ecryptfs/
Dcrypto.c618 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in ecryptfs_set_default_sizes()
621 crypt_stat->metadata_size = in ecryptfs_set_default_sizes()
624 crypt_stat->metadata_size = PAGE_SIZE; in ecryptfs_set_default_sizes()
1009 (u16)(crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_write_header_metadata()
1167 virt_len = crypt_stat->metadata_size; in ecryptfs_write_metadata()
1214 crypt_stat->metadata_size = (((size_t)num_header_extents_at_front in parse_header_metadata()
1218 && (crypt_stat->metadata_size in parse_header_metadata()
1222 crypt_stat->metadata_size); in parse_header_metadata()
1237 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in set_default_header_data()
1252 file_size += crypt_stat->metadata_size; in ecryptfs_i_size_init()
Dmmap.c121 (crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_copy_up_encrypted_with_header()
151 - crypt_stat->metadata_size); in ecryptfs_copy_up_encrypted_with_header()
Decryptfs_kernel.h233 size_t metadata_size; member
428 return crypt_stat->metadata_size; in ecryptfs_lower_header_size()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-bdev.c55 ns->metadata_size = bi->tuple_size; in nvmet_bdev_ns_enable_integrity()
62 ns->metadata_size = 0; in nvmet_bdev_ns_enable_integrity()
85 ns->metadata_size = 0; in nvmet_bdev_ns_enable()
Dnvmet.h83 int metadata_size; member
542 req->ns->metadata_size; in nvmet_rw_metadata_len()
600 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
Dadmin-cmd.c539 id->lbaf[0].ms = cpu_to_le16(req->ns->metadata_size); in nvmet_execute_identify_ns()
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma.c174 u32 metadata_size; member
197 u32 metadata_size; /* (needs_epib ? 16:0) + psd_size */ member
932 memcpy(d->metadata, h_desc->epib, d->metadata_size); in udma_fetch_epib()
2241 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_attach_metadata()
2244 if (!data || len > uc->config.metadata_size) in udma_attach_metadata()
2258 d->metadata_size = len; in udma_attach_metadata()
2275 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_get_metadata_ptr()
2280 *max_len = uc->config.metadata_size; in udma_get_metadata_ptr()
2298 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_set_metadata_len()
2301 if (payload_len > uc->config.metadata_size) in udma_set_metadata_len()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkfd_ioctl.h279 __u32 metadata_size; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dkfd_ioctl.h434 __u32 metadata_size; /* to KFD (space allocated by user) member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dtango_nand.c107 #define XFER_CFG(cs, page_count, steps, metadata_size) \ argument
108 ((cs) << 24 | (page_count) << 16 | (steps) << 8 | (metadata_size))
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1661 metadata_buffer = kzalloc(args->metadata_size, GFP_KERNEL); in kfd_ioctl_get_dmabuf_info()
1669 metadata_buffer, args->metadata_size, in kfd_ioctl_get_dmabuf_info()
1670 &args->metadata_size, &flags); in kfd_ioctl_get_dmabuf_info()
1686 metadata_buffer, args->metadata_size); in kfd_ioctl_get_dmabuf_info()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch16269 geo->metadata_size,
16293 + i = (mtd->writesize * 8 - geo->metadata_size * 8) /
16297 + j = (mtd->writesize * 8 - geo->metadata_size * 8) -
16333 geo->metadata_size = 10;
16372 + geo->metadata_size = 10;
16397 + if (mtd->oobsize * 8 < geo->metadata_size * 8 +
16405 + bbm_chunk = (mtd->writesize * 8 - geo->metadata_size * 8 -
16412 + geo->page_size = mtd->writesize + geo->metadata_size +
16422 + geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4);
16423 + geo->auxiliary_size = ALIGN(geo->metadata_size, 4)
[all …]