/linux/net/wireless/ |
A D | wext-priv.c | 97 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 D | wext-core.c | 722 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 D | init.c | 139 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 D | hda_component.h | 24 size_t extra_size); 52 size_t extra_size) in snd_hdac_acomp_init() argument
|
A D | core.h | 277 struct module *module, int extra_size, 280 struct module *module, size_t extra_size,
|
A D | vx_core.h | 198 const struct snd_vx_ops *ops, int extra_size);
|
/linux/fs/f2fs/ |
A D | inode.c | 64 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 D | signal.c | 354 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 D | virt-pci.c | 69 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 D | cfi_cmdset_0001.c | 396 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 D | signal_32.c | 42 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 D | signal32.c | 52 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 D | metronomefb.h | 34 int extra_size; member
|
/linux/sound/hda/ |
A D | hdac_component.c | 286 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 D | resource_ext.h | 31 resource_list_create_entry(struct resource *res, size_t extra_size);
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_dl.h | 70 unsigned int num_entries, size_t extra_size);
|
A D | vsp1_dl.c | 249 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 D | inline.c | 1473 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 D | vx_core.c | 799 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 D | atl1e_main.c | 932 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 D | uvc_driver.c | 1033 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 D | stex.c | 225 __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 D | wsm.c | 79 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 D | dr_action.c | 785 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 D | resource.c | 1778 size_t extra_size) in resource_list_create_entry() argument 1782 entry = kzalloc(sizeof(*entry) + extra_size, GFP_KERNEL); in resource_list_create_entry()
|