Searched refs:extra_size (Results 1 - 21 of 21) sorted by relevance

/linux-4.1.27/net/wireless/
H A Dwext-priv.c97 int i, extra_size; get_priv_descr_and_size() local
107 extra_size = 0; get_priv_descr_and_size()
117 extra_size = get_priv_size(descr->set_args); get_priv_descr_and_size()
121 ((extra_size + offset) <= IFNAMSIZ)) get_priv_descr_and_size()
122 extra_size = 0; get_priv_descr_and_size()
125 extra_size = get_priv_size(descr->get_args); get_priv_descr_and_size()
129 (extra_size <= IFNAMSIZ)) get_priv_descr_and_size()
130 extra_size = 0; get_priv_descr_and_size()
134 return extra_size; get_priv_descr_and_size()
140 struct iw_request_info *info, int extra_size) ioctl_private_iw_point()
155 extra = kzalloc(extra_size, GFP_KERNEL); ioctl_private_iw_point()
161 if (copy_from_user(extra, iwp->pointer, extra_size)) { ioctl_private_iw_point()
176 extra_size = adjust_priv_size(descr->get_args, iwp); ioctl_private_iw_point()
178 if (copy_to_user(iwp->pointer, extra, extra_size)) ioctl_private_iw_point()
191 int extra_size = 0, ret = -EINVAL; ioctl_private_call() local
194 extra_size = get_priv_descr_and_size(dev, cmd, &descr); ioctl_private_call()
197 if (extra_size == 0) { ioctl_private_call()
202 handler, dev, info, extra_size); ioctl_private_call()
218 int ret, extra_size; compat_private_call() local
220 extra_size = get_priv_descr_and_size(dev, cmd, &descr); compat_private_call()
223 if (extra_size == 0) { compat_private_call()
236 handler, dev, info, extra_size); compat_private_call()
137 ioctl_private_iw_point(struct iw_point *iwp, unsigned int cmd, const struct iw_priv_args *descr, iw_handler handler, struct net_device *dev, struct iw_request_info *info, int extra_size) ioctl_private_iw_point() argument
H A Dwext-core.c720 int err, extra_size, user_length = 0, essid_compat = 0; ioctl_standard_iw_point() local
726 extra_size = descr->max_tokens * descr->token_size; ioctl_standard_iw_point()
787 extra_size = user_length * descr->token_size; ioctl_standard_iw_point()
791 * so extra_size won't get negative and ioctl_standard_iw_point()
798 extra = kzalloc(extra_size, GFP_KERNEL); ioctl_standard_iw_point()
/linux-4.1.27/include/linux/
H A Dresource_ext.h39 resource_list_create_entry(struct resource *res, size_t extra_size);
/linux-4.1.27/include/video/
H A Dmetronomefb.h34 int extra_size; member in struct:metronomefb_par
/linux-4.1.27/arch/sparc/kernel/
H A Dsignal_32.c43 unsigned int extra_size; /* Should be 0 */ member in struct:signal_frame
55 unsigned int extra_size; /* Should be 0 */ member in struct:rt_signal_frame
246 err |= __put_user(0, &sf->extra_size); setup_frame()
342 err |= __put_user(0, &sf->extra_size); setup_rt_frame()
H A Dsignal32.c52 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member in struct:signal_frame32
66 unsigned int extra_size; /* Should be sizeof(siginfo_extra_v8plus_t) */ member in struct:rt_signal_frame32
450 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); setup_frame32()
581 err |= __put_user(sizeof(siginfo_extra_v8plus_t), &sf->extra_size); setup_rt_frame32()
/linux-4.1.27/drivers/uwb/i1480/
H A Di1480-est.c36 * neh->extra_size to specify the real size that will
/linux-4.1.27/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c383 unsigned int extra_size = 0; read_pri_intelext() local
408 extra_size = 0; read_pri_intelext()
411 extra_size += (extp->NumProtectionFields - 1) * read_pri_intelext()
417 extra_size += 2; read_pri_intelext()
418 if (extp_size < sizeof(*extp) + extra_size) read_pri_intelext()
420 extra_size += extp->extra[extra_size - 1]; read_pri_intelext()
427 extra_size += 1; read_pri_intelext()
428 if (extp_size < sizeof(*extp) + extra_size) read_pri_intelext()
430 nb_parts = extp->extra[extra_size - 1]; read_pri_intelext()
434 extra_size += 2; read_pri_intelext()
438 rinfo = (struct cfi_intelext_regioninfo *)&extp->extra[extra_size]; read_pri_intelext()
439 extra_size += sizeof(*rinfo); read_pri_intelext()
440 if (extp_size < sizeof(*extp) + extra_size) read_pri_intelext()
443 extra_size += (rinfo->NumBlockTypes - 1) read_pri_intelext()
448 extra_size += sizeof(struct cfi_intelext_programming_regioninfo); read_pri_intelext()
450 if (extp_size < sizeof(*extp) + extra_size) { read_pri_intelext()
452 extp_size = sizeof(*extp) + extra_size; read_pri_intelext()
/linux-4.1.27/fs/ext4/
H A Dinline.c1442 int dotdot_offset, dotdot_size, extra_offset, extra_size; ext4_read_inline_dir() local
1477 * So we will use extra_offset and extra_size to indicate them ext4_read_inline_dir()
1483 extra_size = extra_offset + inline_size; ext4_read_inline_dir()
1492 for (i = 0; i < extra_size && i < offset;) { ext4_read_inline_dir()
1515 if (ext4_rec_len_from_disk(de->rec_len, extra_size) ext4_read_inline_dir()
1519 extra_size); ext4_read_inline_dir()
1526 while (ctx->pos < extra_size) { ext4_read_inline_dir()
1544 extra_size, ctx->pos)) ext4_read_inline_dir()
1552 ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size); ext4_read_inline_dir()
/linux-4.1.27/sound/core/
H A Dinit.c197 * @extra_size: allocate this extra size after the main soundcard structure
209 struct module *module, int extra_size, snd_card_new()
219 if (extra_size < 0) snd_card_new()
220 extra_size = 0; snd_card_new()
221 card = kzalloc(sizeof(*card) + extra_size, GFP_KERNEL); snd_card_new()
224 if (extra_size > 0) snd_card_new()
208 snd_card_new(struct device *parent, int idx, const char *xid, struct module *module, int extra_size, struct snd_card **card_ret) snd_card_new() argument
/linux-4.1.27/sound/drivers/vx/
H A Dvx_core.c781 * @extra_size: extra byte size to allocate appending to chip
790 int extra_size) snd_vx_create()
797 chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL); snd_vx_create()
788 snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw, struct snd_vx_ops *ops, int extra_size) snd_vx_create() argument
/linux-4.1.27/drivers/uwb/
H A Dneh.c75 * the handle [w/ neh->extra_size()].
320 * adjusted to take into account the @neh->extra_size
/linux-4.1.27/drivers/scsi/
H A Dstex.c210 __le32 extra_size; /* NEW */ member in struct:handshake_frame
1009 h->extra_size = cpu_to_le32(hba->dma_size - hba->extra_offset); stex_common_handshake()
1011 h->extra_offset = h->extra_size = 0; stex_common_handshake()
1081 h->extra_offset = h->extra_size = 0; stex_ss_handshake()
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_driver.c843 unsigned int num_pads, unsigned int extra_size) uvc_alloc_entity()
850 extra_size = ALIGN(extra_size, sizeof(*entity->pads)); uvc_alloc_entity()
852 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads uvc_alloc_entity()
863 entity->pads = ((void *)(entity + 1)) + extra_size; uvc_alloc_entity()
842 uvc_alloc_entity(u16 type, u8 id, unsigned int num_pads, unsigned int extra_size) uvc_alloc_entity() argument
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c951 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ atl1e_configure_tx() local
955 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN; atl1e_configure_tx()
957 jumbo_thresh = hw->max_frame_size + extra_size; atl1e_configure_tx()
960 (hw->max_frame_size + extra_size) * 2 / 3; atl1e_configure_tx()
962 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; atl1e_configure_tx()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dwsm.c82 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size);
1806 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) wsm_buf_reserve() argument
1809 size_t size = pos + extra_size; wsm_buf_reserve()
/linux-4.1.27/include/sound/
H A Dcore.h256 struct module *module, int extra_size, snd_minor_info_oss_done()
H A Dvx_core.h210 struct snd_vx_ops *ops, int extra_size);
/linux-4.1.27/kernel/
H A Dresource.c1503 size_t extra_size) resource_list_create_entry()
1507 entry = kzalloc(sizeof(*entry) + extra_size, GFP_KERNEL); resource_list_create_entry()
1502 resource_list_create_entry(struct resource *res, size_t extra_size) resource_list_create_entry() argument
/linux-4.1.27/block/
H A Dbio.c71 static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size) bio_find_or_create_slab() argument
73 unsigned int sz = sizeof(struct bio) + extra_size; bio_find_or_create_slab()
/linux-4.1.27/fs/btrfs/
H A Dextent-tree.c983 u64 owner, u32 extra_size) convert_extent_item_v0()
1033 new_size + extra_size, 1); convert_extent_item_v0()
1486 int extra_size; lookup_inline_extent_backref() local
1500 extra_size = btrfs_extent_inline_ref_size(want); lookup_inline_extent_backref()
1503 extra_size = -1; lookup_inline_extent_backref()
1515 ret = btrfs_search_slot(trans, root, &key, path, extra_size, 1); lookup_inline_extent_backref()
1562 extra_size); lookup_inline_extent_backref()
1632 if (item_size + extra_size >= lookup_inline_extent_backref()
980 convert_extent_item_v0(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 owner, u32 extra_size) convert_extent_item_v0() argument

Completed in 720 milliseconds