Home
last modified time | relevance | path

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

12

/linux-6.12.1/net/wireless/
Dwext-priv.c97 int i, extra_size; in get_priv_descr_and_size() local
107 extra_size = 0; in get_priv_descr_and_size()
117 extra_size = get_priv_size(descr->set_args); in get_priv_descr_and_size()
121 ((extra_size + offset) <= IFNAMSIZ)) in get_priv_descr_and_size()
122 extra_size = 0; in get_priv_descr_and_size()
125 extra_size = get_priv_size(descr->get_args); in get_priv_descr_and_size()
129 (extra_size <= IFNAMSIZ)) in get_priv_descr_and_size()
130 extra_size = 0; in get_priv_descr_and_size()
134 return extra_size; in get_priv_descr_and_size()
140 struct iw_request_info *info, int extra_size) in ioctl_private_iw_point() argument
[all …]
Dwext-core.c744 int err, extra_size, user_length = 0, essid_compat = 0; in ioctl_standard_iw_point() local
750 extra_size = descr->max_tokens * descr->token_size; in ioctl_standard_iw_point()
811 extra_size = user_length * descr->token_size; in ioctl_standard_iw_point()
824 if (extra_size <= 0) in ioctl_standard_iw_point()
828 extra = kzalloc(extra_size, GFP_KERNEL); in ioctl_standard_iw_point()
/linux-6.12.1/mm/
Dpercpu-internal.h155 size_t extra_size = 0; in pcpu_obj_full_size() local
159 extra_size += size / PCPU_MIN_ALLOC_SIZE * sizeof(struct obj_cgroup *); in pcpu_obj_full_size()
162 return size * num_possible_cpus() + extra_size; in pcpu_obj_full_size()
/linux-6.12.1/sound/core/
Dinit.c147 size_t extra_size);
172 struct module *module, int extra_size, in snd_card_new() argument
182 if (extra_size < 0) in snd_card_new()
183 extra_size = 0; in snd_card_new()
184 card = kzalloc(sizeof(*card) + extra_size, GFP_KERNEL); in snd_card_new()
188 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_card_new()
228 struct module *module, size_t extra_size, in snd_devm_card_new() argument
235 card = devres_alloc(__snd_card_release, sizeof(*card) + extra_size, in snd_devm_card_new()
240 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_devm_card_new()
278 size_t extra_size) in snd_card_init() argument
[all …]
/linux-6.12.1/arch/powerpc/kexec/
Dfile_load_64.c797 unsigned int extra_size = 0; in kdump_extra_fdt_size_ppc64() local
814 extra_size += (unsigned int)(usm_entries * sizeof(u64)); in kdump_extra_fdt_size_ppc64()
826 extra_size += (possible_cpu_nodes - cpu_nodes) * cpu_node_size(); in kdump_extra_fdt_size_ppc64()
830 return extra_size; in kdump_extra_fdt_size_ppc64()
843 unsigned int cpu_nodes = 0, extra_size = 0; in kexec_extra_fdt_size_ppc64() local
848 extra_size += (unsigned int)plpks_get_passwordlen(); in kexec_extra_fdt_size_ppc64()
857 extra_size += (cpu_nodes - boot_cpu_node_count) * cpu_node_size(); in kexec_extra_fdt_size_ppc64()
861 extra_size += sizeof(struct fdt_reserve_entry) * rmem->nr_ranges; in kexec_extra_fdt_size_ppc64()
863 return extra_size + kdump_extra_fdt_size_ppc64(image, cpu_nodes); in kexec_extra_fdt_size_ppc64()
/linux-6.12.1/include/sound/
Dhda_component.h24 size_t extra_size);
52 size_t extra_size) in snd_hdac_acomp_init() argument
Dcore.h283 struct module *module, int extra_size,
286 struct module *module, size_t extra_size,
Dvx_core.h197 const struct snd_vx_ops *ops, int extra_size);
/linux-6.12.1/drivers/mtd/chips/
Dcfi_cmdset_0001.c397 unsigned int extra_size = 0; in read_pri_intelext() local
422 extra_size = 0; in read_pri_intelext()
429 extra_size += (extp->NumProtectionFields - 1) * in read_pri_intelext()
432 if (extp_size >= sizeof(*extp) + extra_size) { in read_pri_intelext()
448 extra_size += 2; in read_pri_intelext()
449 if (extp_size < sizeof(*extp) + extra_size) in read_pri_intelext()
451 extra_size += extp->extra[extra_size - 1]; in read_pri_intelext()
458 extra_size += 1; in read_pri_intelext()
459 if (extp_size < sizeof(*extp) + extra_size) in read_pri_intelext()
461 nb_parts = extp->extra[extra_size - 1]; in read_pri_intelext()
[all …]
/linux-6.12.1/arch/um/drivers/
Dvirt-pci.c74 const void *extra, unsigned int extra_size, in um_pci_send_cmd() argument
109 u8 *ncmd = kmalloc(cmd_size + extra_size, GFP_ATOMIC); in um_pci_send_cmd()
114 memcpy(ncmd + cmd_size, extra, extra_size); in um_pci_send_cmd()
116 cmd_size += extra_size; in um_pci_send_cmd()
118 extra_size = 0; in um_pci_send_cmd()
130 sg_init_one(&extra_sg, extra, extra_size); in um_pci_send_cmd()
/linux-6.12.1/arch/sparc/kernel/
Dsignal_32.c42 unsigned int extra_size; /* Should be 0 */ member
54 unsigned int extra_size; /* Should be 0 */ member
256 err |= __put_user(0, &sf->extra_size); in setup_frame()
352 err |= __put_user(0, &sf->extra_size); in setup_rt_frame()
Dsignal32.c51 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member
65 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member
402 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_frame32()
536 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_rt_frame32()
/linux-6.12.1/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c10 void **extra_data, size_t *extra_size) in validate_extra_context() argument
33 *extra_size = extra->size; in validate_extra_context()
/linux-6.12.1/include/video/
Dmetronomefb.h34 int extra_size; member
/linux-6.12.1/arch/arm64/kernel/
Dsignal.c720 u32 extra_size; in parse_user_sigframe() local
839 __get_user_error(extra_size, &extra->size, err); in parse_user_sigframe()
866 if (!IS_ALIGNED(extra_size, 16)) in parse_user_sigframe()
873 if (extra_size > sfp + SIGFRAME_MAXSZ - userp) in parse_user_sigframe()
881 limit = extra_size; in parse_user_sigframe()
1186 u32 extra_size; in setup_sigframe() local
1200 extra_size = sfp + round_up(user->size, 16) - userp; in setup_sigframe()
1205 __put_user_error(extra_size, &extra->size, err); in setup_sigframe()
/linux-6.12.1/sound/hda/
Dhdac_component.c286 size_t extra_size) in snd_hdac_acomp_init() argument
296 acomp = devres_alloc(hdac_acomp_release, sizeof(*acomp) + extra_size, in snd_hdac_acomp_init()
/linux-6.12.1/include/linux/
Dresource_ext.h31 resource_list_create_entry(struct resource *res, size_t extra_size);
/linux-6.12.1/drivers/media/platform/renesas/vsp1/
Dvsp1_dl.h70 unsigned int num_entries, size_t extra_size);
Dvsp1_dl.c249 unsigned int num_entries, size_t extra_size) in vsp1_dl_body_pool_create() argument
267 dlb_size = num_entries * sizeof(struct vsp1_dl_entry) + extra_size; in vsp1_dl_body_pool_create()
/linux-6.12.1/fs/ext4/
Dinline.c1463 int dotdot_offset, dotdot_size, extra_offset, extra_size; in ext4_read_inline_dir() local
1505 extra_size = extra_offset + inline_size; in ext4_read_inline_dir()
1514 for (i = 0; i < extra_size && i < offset;) { in ext4_read_inline_dir()
1537 if (ext4_rec_len_from_disk(de->rec_len, extra_size) in ext4_read_inline_dir()
1541 extra_size); in ext4_read_inline_dir()
1548 while (ctx->pos < extra_size) { in ext4_read_inline_dir()
1566 extra_size, ctx->pos)) in ext4_read_inline_dir()
1574 ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size); in ext4_read_inline_dir()
/linux-6.12.1/sound/drivers/vx/
Dvx_core.c789 int extra_size) in snd_vx_create() argument
796 chip = devres_alloc(snd_vx_release, sizeof(*chip) + extra_size, in snd_vx_create()
/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_malone.c1633 inst->extra_size += size; in vpu_malone_input_frame()
1636 if (inst->extra_size) { in vpu_malone_input_frame()
1637 size += inst->extra_size; in vpu_malone_input_frame()
1638 inst->extra_size = 0; in vpu_malone_input_frame()
Dvpu.h272 u32 extra_size; member
/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c935 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ in atl1e_configure_tx() local
939 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN; in atl1e_configure_tx()
941 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx()
944 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx()
946 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx()
/linux-6.12.1/drivers/media/usb/uvc/
Duvc_driver.c779 unsigned int num_pads, unsigned int extra_size) in uvc_alloc_entity() argument
786 extra_size = roundup(extra_size, sizeof(*entity->pads)); in uvc_alloc_entity()
791 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads in uvc_alloc_entity()
821 entity->pads = ((void *)(entity + 1)) + extra_size; in uvc_alloc_entity()

12