Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
A 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/drivers/firmware/efi/libstub/
A 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/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_bo_list.c227 const uint32_t info_size = sizeof(struct drm_amdgpu_bo_list_entry); in amdgpu_bo_create_list_entry_array() local
231 info = kvmalloc_array(in->bo_number, info_size, GFP_KERNEL); in amdgpu_bo_create_list_entry_array()
237 if (likely(info_size == in->bo_info_size)) { in amdgpu_bo_create_list_entry_array()
245 unsigned long bytes = min(in->bo_info_size, info_size); in amdgpu_bo_create_list_entry_array()
248 memset(info, 0, in->bo_number * info_size); in amdgpu_bo_create_list_entry_array()
/linux/sound/soc/sprd/
A 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()
A Dsprd-pcm-dma.h34 u32 info_size; member
/linux/drivers/soc/qcom/
A Dsocinfo.c455 struct socinfo *info, size_t info_size) in socinfo_debugfs_init() argument
520 if (pmic_array_offset + 2 * num_pmics * sizeof(u32) <= info_size) in socinfo_debugfs_init()
600 struct socinfo *info, size_t info_size) in socinfo_debugfs_init() argument
/linux/net/netfilter/
A Dnft_compat.c313 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() local
320 info_size = user_size ? : size; in nft_extension_dump_info()
321 memcpy(nla_data(nla), info, info_size); in nft_extension_dump_info()
322 memset(nla_data(nla) + info_size, 0, aligned_size - info_size); in nft_extension_dump_info()
/linux/drivers/rpmsg/
A 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/tools/lib/bpf/
A Dnetlink.c307 size_t info_size, __u32 flags) in bpf_get_link_xdp_info() argument
319 if (flags & ~XDP_FLAGS_MASK || !info_size) in bpf_get_link_xdp_info()
334 size_t sz = min(info_size, sizeof(xdp_id.info)); in bpf_get_link_xdp_info()
337 memset((void *) info + sz, 0, info_size - sz); in bpf_get_link_xdp_info()
A Dlibbpf.h703 size_t info_size, __u32 flags);
/linux/drivers/regulator/
A 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/net/ethtool/
A Dioctl.c948 size_t info_size = sizeof(info); in ethtool_set_rxnfc() local
959 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
962 if (ethtool_rxnfc_copy_from_user(&info, useraddr, info_size)) in ethtool_set_rxnfc()
970 ethtool_rxnfc_copy_to_user(useraddr, &info, info_size, NULL)) in ethtool_set_rxnfc()
980 size_t info_size = sizeof(info); in ethtool_get_rxnfc() local
993 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
996 if (ethtool_rxnfc_copy_from_user(&info, useraddr, info_size)) in ethtool_get_rxnfc()
1003 info_size = sizeof(info); in ethtool_get_rxnfc()
1004 if (ethtool_rxnfc_copy_from_user(&info, useraddr, info_size)) in ethtool_get_rxnfc()
1030 ret = ethtool_rxnfc_copy_to_user(useraddr, &info, info_size, rule_buf); in ethtool_get_rxnfc()
/linux/include/xen/interface/
A Dxen.h635 uint32_t info_size; /* Size of console_info struct from start.*/ member
/linux/drivers/net/fjes/
A Dfjes_hw.h202 u32 info_size; member
A 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/arch/ia64/kernel/
A 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/include/acpi/
A Dactypes.h1157 u32 info_size; /* Size of info, including ID strings */ member
/linux/arch/x86/xen/
A Denlighten_pv.c1332 xen_init_vga(info, xen_start_info->console.dom0.info_size); in xen_start_kernel()
/linux/drivers/hv/
A Dhv_balloon.c412 __u32 info_size; member
/linux/drivers/crypto/hisilicon/
A Dqm.c1520 unsigned int info_size, char *info_name) in dump_show() argument
1527 info_buf = kzalloc(info_size, GFP_KERNEL); in dump_show()
1531 for (i = 0; i < info_size; i++, info_curr++) { in dump_show()
1543 for (i = 0; i < info_size; i += BYTE_PER_DW) { in dump_show()
/linux/drivers/mmc/host/
A Dvub300.c54 u8 info_size; member
/linux/include/linux/mlx5/
A Dmlx5_ifc.h10304 u8 info_size[0x20]; member

Completed in 141 milliseconds