Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c230 geo->metadata_size, in gpmi_dump_info()
282 i = (mtd->writesize * 8 - geo->metadata_size * 8) / in bbm_in_data_chunk()
286 j = (mtd->writesize * 8 - geo->metadata_size * 8) - in bbm_in_data_chunk()
344 geo->metadata_size = 10; in set_geometry_by_ecc_info()
396 geo->page_size = mtd->writesize + geo->metadata_size + in set_geometry_by_ecc_info()
401 geo->auxiliary_status_offset = ALIGN(geo->metadata_size, 4); in set_geometry_by_ecc_info()
402 geo->auxiliary_size = ALIGN(geo->metadata_size, 4) in set_geometry_by_ecc_info()
411 + geo->metadata_size * 8); in set_geometry_by_ecc_info()
442 ecc_strength = ((mtd->oobsize - geo->metadata_size) * 8) in get_ecc_strength()
476 geo->metadata_size = 10; in set_geometry_for_large_oob()
[all …]
Dgpmi-nand.h52 unsigned int metadata_size; member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1175 u32 metadata_size, uint64_t flags) in amdgpu_bo_set_metadata() argument
1182 if (!metadata_size) { in amdgpu_bo_set_metadata()
1183 if (ubo->metadata_size) { in amdgpu_bo_set_metadata()
1186 ubo->metadata_size = 0; in amdgpu_bo_set_metadata()
1194 buffer = kmemdup(metadata, metadata_size, GFP_KERNEL); in amdgpu_bo_set_metadata()
1201 ubo->metadata_size = metadata_size; in amdgpu_bo_set_metadata()
1222 size_t buffer_size, uint32_t *metadata_size, in amdgpu_bo_get_metadata() argument
1227 if (!buffer && !metadata_size) in amdgpu_bo_get_metadata()
1232 if (metadata_size) in amdgpu_bo_get_metadata()
1233 *metadata_size = ubo->metadata_size; in amdgpu_bo_get_metadata()
[all …]
Damdgpu_object.h127 u32 metadata_size; member
343 uint32_t metadata_size, uint64_t flags);
345 size_t buffer_size, uint32_t *metadata_size,
Damdgpu_amdkfd.c495 size_t buffer_size, uint32_t *metadata_size, in amdgpu_amdkfd_get_dmabuf_info() argument
531 metadata_size, &metadata_flags); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_amdkfd.h243 size_t buffer_size, uint32_t *metadata_size,
/linux-6.6.21/fs/ecryptfs/
Dcrypto.c592 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in ecryptfs_set_default_sizes()
595 crypt_stat->metadata_size = in ecryptfs_set_default_sizes()
598 crypt_stat->metadata_size = PAGE_SIZE; in ecryptfs_set_default_sizes()
982 (u16)(crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_write_header_metadata()
1140 virt_len = crypt_stat->metadata_size; in ecryptfs_write_metadata()
1187 crypt_stat->metadata_size = (((size_t)num_header_extents_at_front in parse_header_metadata()
1191 && (crypt_stat->metadata_size in parse_header_metadata()
1195 crypt_stat->metadata_size); in parse_header_metadata()
1210 crypt_stat->metadata_size = ECRYPTFS_MINIMUM_HEADER_EXTENT_SIZE; in set_default_header_data()
1225 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-6.6.21/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
1447 of_property_read_u32(dn, "ibm,metadata-size", &metadata_size); in papr_scm_probe()
1480 p->metadata_size = metadata_size; in papr_scm_probe()
/linux-6.6.21/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
601 req->ns->metadata_size; in nvmet_rw_metadata_len()
671 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
Dadmin-cmd.c565 id->lbaf[0].ms = cpu_to_le16(req->ns->metadata_size); in nvmet_execute_identify_ns()
/linux-6.6.21/drivers/mtd/nand/raw/
Drockchip-nand-controller.c156 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-6.6.21/drivers/dma/ti/
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()
3312 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_attach_metadata()
3315 if (!data || len > uc->config.metadata_size) in udma_attach_metadata()
3329 d->metadata_size = len; in udma_attach_metadata()
3346 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_get_metadata_ptr()
3351 *max_len = uc->config.metadata_size; in udma_get_metadata_ptr()
3369 if (!uc->config.pkt_mode || !uc->config.metadata_size) in udma_set_metadata_len()
3372 if (payload_len > uc->config.metadata_size) in udma_set_metadata_len()
[all …]
/linux-6.6.21/include/uapi/linux/
Dkfd_ioctl.h488 __u32 metadata_size; /* to KFD (space allocated by user) member
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1525 metadata_buffer = kzalloc(args->metadata_size, GFP_KERNEL); in kfd_ioctl_get_dmabuf_info()
1533 metadata_buffer, args->metadata_size, in kfd_ioctl_get_dmabuf_info()
1534 &args->metadata_size, &flags, &xcp_id); in kfd_ioctl_get_dmabuf_info()
1547 metadata_buffer, args->metadata_size); in kfd_ioctl_get_dmabuf_info()