Home
last modified time | relevance | path

Searched refs:info_size (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/drivers/acpi/acpica/
Dnsxfname.c240 u32 info_size; in acpi_get_object_info() local
263 info_size = sizeof(struct acpi_device_info); in acpi_get_object_info()
290 info_size += hid->length; in acpi_get_object_info()
298 info_size += uid->length; in acpi_get_object_info()
309 info_size += in acpi_get_object_info()
319 info_size += cls->length; in acpi_get_object_info()
328 info = ACPI_ALLOCATE_ZEROED(info_size); in acpi_get_object_info()
434 info->info_size = info_size; in acpi_get_object_info()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c199 const uint32_t info_size = sizeof(struct drm_amdgpu_bo_list_entry); in amdgpu_bo_create_list_entry_array() local
203 info = kvmalloc_array(in->bo_number, info_size, GFP_KERNEL); in amdgpu_bo_create_list_entry_array()
209 if (likely(info_size == in->bo_info_size)) { in amdgpu_bo_create_list_entry_array()
217 unsigned long bytes = min(in->bo_info_size, info_size); in amdgpu_bo_create_list_entry_array()
220 memset(info, 0, in->bo_number * info_size); in amdgpu_bo_create_list_entry_array()
/linux-6.6.21/drivers/firmware/efi/libstub/
Dgop.c140 unsigned long info_size; in choose_mode_modenum() local
158 &info_size, &info); in choose_mode_modenum()
194 unsigned long info_size; in choose_mode_res() local
222 &info_size, &info); in choose_mode_res()
252 unsigned long info_size; in choose_mode_auto() local
282 &info_size, &info); in choose_mode_auto()
315 unsigned long info_size; in choose_mode_list() local
336 &info_size, &info); in choose_mode_list()
/linux-6.6.21/sound/soc/sprd/
Dsprd-pcm-dma.h34 u32 info_size; member
Dsprd-pcm-compress.c85 int info_size; member
296 compr_params.info_size = stream->info_size; in sprd_platform_compr_set_params()
356 stream->info_size = SPRD_COMPR_IRAM_INFO_SIZE; in sprd_platform_compr_open()
/linux-6.6.21/net/netfilter/
Dnft_compat.c320 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() local
327 info_size = user_size ? : size; in nft_extension_dump_info()
328 memcpy(nla_data(nla), info, info_size); in nft_extension_dump_info()
329 memset(nla_data(nla) + info_size, 0, aligned_size - info_size); in nft_extension_dump_info()
/linux-6.6.21/drivers/rpmsg/
Dqcom_smd.c1130 size_t info_size; in qcom_smd_create_channel() local
1151 info = qcom_smem_get(edge->remote_pid, smem_info_item, &info_size); in qcom_smd_create_channel()
1161 if (info_size == 2 * sizeof(struct smd_channel_info_word)) { in qcom_smd_create_channel()
1163 } else if (info_size == 2 * sizeof(struct smd_channel_info)) { in qcom_smd_create_channel()
1167 "channel info of size %zu not supported\n", info_size); in qcom_smd_create_channel()
1182 name, info_size, fifo_size); in qcom_smd_create_channel()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_debug.c899 uint32_t *info_size) in kfd_dbg_trap_query_exception_info() argument
909 if (!info || !info_size) in kfd_dbg_trap_query_exception_info()
967 copy_size = min((size_t)(*info_size), pdd->vm_fault_exc_data_size); in kfd_dbg_trap_query_exception_info()
989 copy_size = min((size_t)(*info_size), sizeof(target->runtime_info)); in kfd_dbg_trap_query_exception_info()
1006 *info_size = actual_info_size; in kfd_dbg_trap_query_exception_info()
Dkfd_debug.h71 uint32_t *info_size);
Dkfd_chardev.c3065 &args->query_exception_info.info_size); in kfd_ioctl_set_debug_trap()
/linux-6.6.21/drivers/regulator/
Dab8500.c1637 int info_size; member
1648 abx500_regulator.info_size = ARRAY_SIZE(ab8505_regulator_info); in abx500_get_regulator_info()
1655 abx500_regulator.info_size = ARRAY_SIZE(ab8500_regulator_info); in abx500_get_regulator_info()
1726 for (i = 0; i < abx500_regulator.info_size; i++) { in ab8500_regulator_probe()
/linux-6.6.21/drivers/soc/qcom/
Dsocinfo.c556 struct socinfo *info, size_t info_size) in socinfo_debugfs_init() argument
649 if (pmic_array_offset + 2 * num_pmics * sizeof(u32) <= info_size) in socinfo_debugfs_init()
729 struct socinfo *info, size_t info_size) in socinfo_debugfs_init() argument
/linux-6.6.21/net/ethtool/
Dioctl.c911 size_t *info_size, void __user *useraddr) in ethtool_rxnfc_copy_struct() argument
919 *info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_rxnfc_copy_struct()
922 if (ethtool_rxnfc_copy_from_user(info, useraddr, *info_size)) in ethtool_rxnfc_copy_struct()
926 *info_size = sizeof(*info); in ethtool_rxnfc_copy_struct()
927 if (ethtool_rxnfc_copy_from_user(info, useraddr, *info_size)) in ethtool_rxnfc_copy_struct()
973 size_t info_size = sizeof(info); in ethtool_set_rxnfc() local
979 rc = ethtool_rxnfc_copy_struct(cmd, &info, &info_size, useraddr); in ethtool_set_rxnfc()
988 ethtool_rxnfc_copy_to_user(useraddr, &info, info_size, NULL)) in ethtool_set_rxnfc()
998 size_t info_size = sizeof(info); in ethtool_get_rxnfc() local
1006 ret = ethtool_rxnfc_copy_struct(cmd, &info, &info_size, useraddr); in ethtool_get_rxnfc()
[all …]
/linux-6.6.21/include/xen/interface/
Dxen.h635 uint32_t info_size; /* Size of console_info struct from start.*/ member
/linux-6.6.21/drivers/net/fjes/
Dfjes_hw.h202 u32 info_size; member
Dfjes_hw.c160 info->v1i.info_size = sizeof(union ep_buffer_info); in fjes_hw_setup_epbuf()
161 info->v1i.buffer_size = epbh->size - info->v1i.info_size; in fjes_hw_setup_epbuf()
/linux-6.6.21/drivers/crypto/hisilicon/
Ddebugfs.c123 unsigned int info_size, char *info_name) in dump_show() argument
131 for (i = 0; i < info_size; i += BYTE_PER_DW, info_curr += BYTE_PER_DW) { in dump_show()
/linux-6.6.21/arch/ia64/kernel/
Dunwind.c2191 size_t info_size, size; in create_gate_table() local
2229 info_size = 8 + 8*UNW_LENGTH(*(u64 *) (segbase + entry->info_offset)); in create_gate_table()
2230 info -= info_size; in create_gate_table()
2231 memcpy(info, (char *) segbase + entry->info_offset, info_size); in create_gate_table()
/linux-6.6.21/include/uapi/linux/
Dkfd_ioctl.h1335 __u32 info_size; member
/linux-6.6.21/include/acpi/
Dactypes.h1181 u32 info_size; /* Size of info, including ID strings */ member
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dfw.c2017 u8 info_size = RTW_CH_INFO_SIZE; in rtw_add_chan_info() local
2034 info_size += RTW_EX_CH_INFO_SIZE; in rtw_add_chan_info()
2036 list->size += info_size; in rtw_add_chan_info()
/linux-6.6.21/arch/x86/xen/
Denlighten_pv.c1471 xen_init_vga(info, xen_start_info->console.dom0.info_size, in xen_start_kernel()
/linux-6.6.21/drivers/hv/
Dhv_balloon.c415 __u32 info_size; member
/linux-6.6.21/drivers/mmc/host/
Dvub300.c54 u8 info_size; member
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc.h10768 u8 info_size[0x20]; member