Home
last modified time | relevance | path

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

12

/linux/net/wireless/
A Dwext-priv.c97 int i, extra_size; in get_priv_descr_and_size() local
107 extra_size = 0; in get_priv_descr_and_size()
122 extra_size = 0; 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()
155 extra = kzalloc(extra_size, GFP_KERNEL); in ioctl_private_iw_point()
191 int extra_size = 0, ret = -EINVAL; in ioctl_private_call() local
197 if (extra_size == 0) { in ioctl_private_call()
218 int ret, extra_size; in compat_private_call() local
[all …]
A Dwext-core.c722 int err, extra_size, user_length = 0, essid_compat = 0; in ioctl_standard_iw_point() local
728 extra_size = descr->max_tokens * descr->token_size; in ioctl_standard_iw_point()
789 extra_size = user_length * descr->token_size; in ioctl_standard_iw_point()
800 extra = kzalloc(extra_size, GFP_KERNEL); in ioctl_standard_iw_point()
/linux/sound/core/
A Dinit.c139 size_t extra_size);
164 struct module *module, int extra_size, in snd_card_new() argument
174 if (extra_size < 0) in snd_card_new()
175 extra_size = 0; in snd_card_new()
176 card = kzalloc(sizeof(*card) + extra_size, GFP_KERNEL); in snd_card_new()
180 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_card_new()
214 struct module *module, size_t extra_size, in snd_devm_card_new() argument
221 card = devres_alloc(__snd_card_release, sizeof(*card) + extra_size, in snd_devm_card_new()
226 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_devm_card_new()
240 size_t extra_size) in snd_card_init() argument
[all …]
/linux/include/sound/
A Dhda_component.h24 size_t extra_size);
52 size_t extra_size) in snd_hdac_acomp_init() argument
A Dcore.h277 struct module *module, int extra_size,
280 struct module *module, size_t extra_size,
A Dvx_core.h198 const struct snd_vx_ops *ops, int extra_size);
/linux/fs/f2fs/
A Dinode.c64 int extra_size = get_extra_isize(inode); in __get_inode_rdev() local
68 if (ri->i_addr[extra_size]) in __get_inode_rdev()
70 le32_to_cpu(ri->i_addr[extra_size])); in __get_inode_rdev()
73 le32_to_cpu(ri->i_addr[extra_size + 1])); in __get_inode_rdev()
91 int extra_size = get_extra_isize(inode); in __set_inode_rdev() local
95 ri->i_addr[extra_size] = in __set_inode_rdev()
97 ri->i_addr[extra_size + 1] = 0; in __set_inode_rdev()
99 ri->i_addr[extra_size] = 0; in __set_inode_rdev()
100 ri->i_addr[extra_size + 1] = in __set_inode_rdev()
102 ri->i_addr[extra_size + 2] = 0; in __set_inode_rdev()
/linux/arch/arm64/kernel/
A Dsignal.c354 u32 extra_size; in parse_user_sigframe() local
422 __get_user_error(extra_size, &extra->size, err); in parse_user_sigframe()
449 if (!IS_ALIGNED(extra_size, 16)) in parse_user_sigframe()
456 if (extra_size > sfp + SIGFRAME_MAXSZ - userp) in parse_user_sigframe()
464 limit = extra_size; in parse_user_sigframe()
666 u32 extra_size; in setup_sigframe() local
680 extra_size = sfp + round_up(user->size, 16) - userp; in setup_sigframe()
685 __put_user_error(extra_size, &extra->size, err); in setup_sigframe()
/linux/arch/um/drivers/
A Dvirt-pci.c69 const void *extra, unsigned int extra_size, in um_pci_send_cmd() argument
103 u8 *ncmd = kmalloc(cmd_size + extra_size, GFP_ATOMIC); in um_pci_send_cmd()
108 memcpy(ncmd + cmd_size, extra, extra_size); in um_pci_send_cmd()
110 cmd_size += extra_size; in um_pci_send_cmd()
112 extra_size = 0; in um_pci_send_cmd()
124 sg_init_one(&extra_sg, extra, extra_size); in um_pci_send_cmd()
/linux/drivers/mtd/chips/
A Dcfi_cmdset_0001.c396 unsigned int extra_size = 0; in read_pri_intelext() local
421 extra_size = 0; in read_pri_intelext()
431 extra_size += 2; in read_pri_intelext()
432 if (extp_size < sizeof(*extp) + extra_size) in read_pri_intelext()
434 extra_size += extp->extra[extra_size - 1]; in read_pri_intelext()
441 extra_size += 1; in read_pri_intelext()
444 nb_parts = extp->extra[extra_size - 1]; in read_pri_intelext()
448 extra_size += 2; in read_pri_intelext()
453 extra_size += sizeof(*rinfo); in read_pri_intelext()
457 extra_size += (rinfo->NumBlockTypes - 1) in read_pri_intelext()
[all …]
/linux/arch/sparc/kernel/
A 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()
A Dsignal32.c52 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member
66 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member
401 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_frame32()
535 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); in setup_rt_frame32()
/linux/include/video/
A Dmetronomefb.h34 int extra_size; member
/linux/sound/hda/
A 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/include/linux/
A Dresource_ext.h31 resource_list_create_entry(struct resource *res, size_t extra_size);
/linux/drivers/media/platform/vsp1/
A Dvsp1_dl.h70 unsigned int num_entries, size_t extra_size);
A 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/fs/ext4/
A Dinline.c1473 int dotdot_offset, dotdot_size, extra_offset, extra_size; in ext4_read_inline_dir() local
1514 extra_size = extra_offset + inline_size; in ext4_read_inline_dir()
1523 for (i = 0; i < extra_size && i < offset;) { in ext4_read_inline_dir()
1546 if (ext4_rec_len_from_disk(de->rec_len, extra_size) in ext4_read_inline_dir()
1550 extra_size); in ext4_read_inline_dir()
1557 while (ctx->pos < extra_size) { in ext4_read_inline_dir()
1575 extra_size, ctx->pos)) in ext4_read_inline_dir()
1583 ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size); in ext4_read_inline_dir()
/linux/sound/drivers/vx/
A Dvx_core.c799 int extra_size) in snd_vx_create() argument
806 chip = devres_alloc(snd_vx_release, sizeof(*chip) + extra_size, in snd_vx_create()
/linux/drivers/net/ethernet/atheros/atl1e/
A Datl1e_main.c932 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ in atl1e_configure_tx() local
936 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN; in atl1e_configure_tx()
938 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx()
941 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx()
943 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx()
/linux/drivers/media/usb/uvc/
A Duvc_driver.c1033 unsigned int num_pads, unsigned int extra_size) in uvc_alloc_entity() argument
1040 extra_size = roundup(extra_size, sizeof(*entity->pads)); in uvc_alloc_entity()
1045 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads in uvc_alloc_entity()
1075 entity->pads = ((void *)(entity + 1)) + extra_size; in uvc_alloc_entity()
/linux/drivers/scsi/
A Dstex.c225 __le32 extra_size; /* NEW */ member
1066 h->extra_size = cpu_to_le32(hba->dma_size - hba->extra_offset); in stex_common_handshake()
1068 h->extra_offset = h->extra_size = 0; in stex_common_handshake()
1155 h->extra_offset = h->extra_size = 0; in stex_ss_handshake()
/linux/drivers/net/wireless/st/cw1200/
A Dwsm.c79 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size);
1799 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) in wsm_buf_reserve() argument
1802 size_t size = pos + extra_size; in wsm_buf_reserve()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c785 int extra_size; in dr_action_create_generic() local
788 extra_size = action_size[action_type]; in dr_action_create_generic()
792 action = kzalloc(sizeof(*action) + extra_size, GFP_KERNEL); in dr_action_create_generic()
/linux/kernel/
A Dresource.c1778 size_t extra_size) in resource_list_create_entry() argument
1782 entry = kzalloc(sizeof(*entry) + extra_size, GFP_KERNEL); in resource_list_create_entry()

Completed in 71 milliseconds

12