Searched refs:arg (Results 1 - 25 of 3423) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/cxl/test/
H A Dcxl.c475 void *arg)
477 struct cxl_cedt_context *ctx = arg;
484 return acpi_table_parse_cedt(id, handler_arg, arg);
490 handler_arg(h, arg, end);
497 handler_arg(h, arg, end);
504 handler_arg(h, arg, end);
473 mock_acpi_table_parse_cedt(enum acpi_cedt_type id, acpi_tbl_entry_handler_arg handler_arg, void *arg) argument
/linux-master/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c158 bpf_testmod_test_btf_type_tag_user_1(struct bpf_testmod_btf_type_tag_1 __user *arg) { argument
162 return arg->a;
166 bpf_testmod_test_btf_type_tag_user_2(struct bpf_testmod_btf_type_tag_2 *arg) { argument
167 return arg->p->a;
171 bpf_testmod_test_btf_type_tag_percpu_1(struct bpf_testmod_btf_type_tag_1 __percpu *arg) { argument
172 return arg->a;
176 bpf_testmod_test_btf_type_tag_percpu_2(struct bpf_testmod_btf_type_tag_3 *arg) { argument
177 return arg->p->a;
196 __weak noinline struct file *bpf_testmod_return_ptr(int arg) argument
200 switch (arg) {
495 bpf_kfunc_call_test_static_unused_arg(u32 arg, u32 unused) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Demu10k1.c155 struct snd_emu10k1_synth_arg *arg; local
156 arg = SNDRV_SEQ_DEVICE_ARGPTR(wave);
158 arg->hwptr = emu;
159 arg->index = 1;
160 arg->seq_ports = seq_ports[dev];
161 arg->max_voices = max_synth_voices[dev];
/linux-master/net/l2tp/
H A Dl2tp_eth.c177 static void l2tp_eth_show(struct seq_file *m, void *arg) argument
179 struct l2tp_session *session = arg;
/linux-master/net/ipv4/
H A Draw.c899 static int compat_raw_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg) argument
907 return ipmr_compat_ioctl(sk, cmd, compat_ptr(arg));
H A Dip_output.c1589 const struct ip_reply_arg *arg,
1615 oif = arg->bound_dev_if;
1621 RT_TOS(arg->tos),
1623 ip_reply_arg_flowi_flags(arg),
1626 arg->uid);
1632 inet_sk(sk)->tos = arg->tos & ~INET_ECN_MASK;
1635 sk->sk_bound_dev_if = arg->bound_dev_if;
1638 err = ip_append_data(sk, &fl4, ip_reply_glue_bits, arg->iov->iov_base,
1647 if (arg->csumoffset >= 0)
1649 arg
1586 ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb, const struct ip_options *sopt, __be32 daddr, __be32 saddr, const struct ip_reply_arg *arg, unsigned int len, u64 transmit_time, u32 txhash) argument
[all...]
H A Daf_inet.c957 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
962 void __user *p = (void __user *)arg;
979 err = arp_ioctl(net, cmd, (void __user *)arg);
1005 err = sk_ioctl(sk, cmd, (void __user *)arg);
1035 static int inet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1037 void __user *argp = compat_ptr(arg);
1047 return sk->sk_prot->compat_ioctl(sk, cmd, arg);
/linux-master/net/8021q/
H A Dvlan_core.c228 int (*action)(struct net_device *dev, int vid, void *arg),
229 void *arg)
245 ret = action(vdev, vid_info->vid, arg);
227 vlan_for_each(struct net_device *dev, int (*action)(struct net_device *dev, int vid, void *arg), void *arg) argument
/linux-master/kernel/bpf/
H A Dverifier.c315 * bpf_refcount_acquire (via KF_ARG_PTR_TO_REFCOUNTED_KPTR arg type)
3133 /* Helper call will reach here because of arg type
7164 * arg 1. This can be relaxed on a case by case basis for known
7712 "Expected an initialized dynptr as arg #%d\n",
7720 "Expected a dynptr of type %s as arg #%d\n",
7757 static bool is_kfunc_arg_iter(struct bpf_kfunc_call_arg_meta *meta, int arg) argument
7762 return arg == 0 && is_iter_kfunc(meta);
7770 const struct btf_param *arg; local
7775 arg = &btf_params(meta->func_proto)[0];
7776 t = btf_type_skip_modifiers(meta->btf, arg
8569 check_func_arg(struct bpf_verifier_env *env, u32 arg, struct bpf_call_arg_meta *meta, const struct bpf_func_proto *fn, int insn_idx) argument
9141 check_args_pair_invalid(const struct bpf_func_proto *fn, int arg) argument
9367 struct bpf_subprog_arg_info *arg = &sub->args[i]; local
10746 is_kfunc_arg_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument
10759 is_kfunc_arg_const_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument
10772 is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) argument
10777 is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) argument
10782 is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) argument
10787 is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg) argument
10792 is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) argument
10797 is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) argument
10802 is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) argument
10807 is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg) argument
10812 is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg) argument
10817 is_kfunc_arg_scalar_with_name(const struct btf *btf, const struct btf_param *arg, const char *name) argument
10851 __is_kfunc_ptr_arg_type(const struct btf *btf, const struct btf_param *arg, int type) argument
10868 is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg) argument
10873 is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg) argument
10878 is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg) argument
10883 is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg) argument
10888 is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg) argument
10893 is_kfunc_arg_callback(struct bpf_verifier_env *env, const struct btf *btf, const struct btf_param *arg) argument
20467 struct bpf_subprog_arg_info *arg; local
[all...]
/linux-master/fs/btrfs/
H A Dioctl.c485 static int btrfs_ioctl_getversion(struct inode *inode, int __user *arg) argument
487 return put_user(inode->i_generation, arg);
491 void __user *arg)
533 if (copy_from_user(&range, arg, sizeof(range)))
549 if (copy_to_user(arg, &range, sizeof(range)))
1127 void __user *arg)
1157 vol_args = memdup_user(arg, sizeof(*vol_args));
1354 void __user *arg, int subvol)
1362 vol_args = memdup_user(arg, sizeof(*vol_args));
1379 void __user *arg, in
490 btrfs_ioctl_fitrim(struct btrfs_fs_info *fs_info, void __user *arg) argument
1126 btrfs_ioctl_resize(struct file *file, void __user *arg) argument
1353 btrfs_ioctl_snap_create(struct file *file, void __user *arg, int subvol) argument
1378 btrfs_ioctl_snap_create_v2(struct file *file, void __user *arg, int subvol) argument
1434 btrfs_ioctl_subvol_getflags(struct inode *inode, void __user *arg) argument
1456 btrfs_ioctl_subvol_setflags(struct file *file, void __user *arg) argument
2373 btrfs_ioctl_snap_destroy(struct file *file, void __user *arg, bool destroy_v2) argument
2674 btrfs_ioctl_add_dev(struct btrfs_fs_info *fs_info, void __user *arg) argument
2733 btrfs_ioctl_rm_dev_v2(struct file *file, void __user *arg) argument
2801 btrfs_ioctl_rm_dev(struct file *file, void __user *arg) argument
2853 btrfs_ioctl_fs_info(struct btrfs_fs_info *fs_info, void __user *arg) argument
2907 btrfs_ioctl_dev_info(struct btrfs_fs_info *fs_info, void __user *arg) argument
3043 btrfs_ioctl_space_info(struct btrfs_fs_info *fs_info, void __user *arg) argument
3224 btrfs_ioctl_scrub(struct file *file, void __user *arg) argument
3287 btrfs_ioctl_scrub_progress(struct btrfs_fs_info *fs_info, void __user *arg) argument
3309 btrfs_ioctl_get_dev_stats(struct btrfs_fs_info *fs_info, void __user *arg) argument
3333 btrfs_ioctl_dev_replace(struct btrfs_fs_info *fs_info, void __user *arg) argument
3384 btrfs_ioctl_ino_to_path(struct btrfs_root *root, void __user *arg) argument
3445 btrfs_ioctl_logical_to_ino(struct btrfs_fs_info *fs_info, void __user *arg, int version) argument
3601 btrfs_ioctl_balance(struct file *file, void __user *arg) argument
3709 btrfs_ioctl_balance_progress(struct btrfs_fs_info *fs_info, void __user *arg) argument
3741 btrfs_ioctl_quota_ctl(struct file *file, void __user *arg) argument
3810 btrfs_ioctl_qgroup_assign(struct file *file, void __user *arg) argument
3863 btrfs_ioctl_qgroup_create(struct file *file, void __user *arg) argument
3918 btrfs_ioctl_qgroup_limit(struct file *file, void __user *arg) argument
3966 btrfs_ioctl_quota_rescan(struct file *file, void __user *arg) argument
4000 btrfs_ioctl_quota_rescan_status(struct btrfs_fs_info *fs_info, void __user *arg) argument
4019 btrfs_ioctl_quota_rescan_wait(struct btrfs_fs_info *fs_info, void __user *arg) argument
4120 btrfs_ioctl_set_received_subvol_32(struct file *file, void __user *arg) argument
4170 btrfs_ioctl_set_received_subvol(struct file *file, void __user *arg) argument
4194 btrfs_ioctl_get_fslabel(struct btrfs_fs_info *fs_info, void __user *arg) argument
4218 btrfs_ioctl_set_fslabel(struct file *file, void __user *arg) argument
4266 btrfs_ioctl_get_supported_features(void __user *arg) argument
4280 btrfs_ioctl_get_features(struct btrfs_fs_info *fs_info, void __user *arg) argument
4361 btrfs_ioctl_set_features(struct file *file, void __user *arg) argument
4434 struct btrfs_ioctl_send_args *arg; local
4651 btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
4809 btrfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/drivers/spi/
H A Dspi.c4465 static void spi_complete(void *arg) argument
4467 complete(arg);
4748 void *arg)
4750 struct of_reconfig_data *rd = arg;
4754 switch (of_reconfig_get_state_change(action, arg)) {
4840 void *arg)
4842 struct acpi_device *adev = arg;
4747 of_spi_notify(struct notifier_block *nb, unsigned long action, void *arg) argument
4839 acpi_spi_notify(struct notifier_block *nb, unsigned long value, void *arg) argument
/linux-master/drivers/nvme/target/
H A Dtcp.c47 return param_store_val(str, kp->arg, 0, INT_MAX);
/linux-master/drivers/nvme/host/
H A Dtcp.c925 struct nvme_tcp_queue *queue = desc->arg.data;
1259 rd_desc.arg.data = queue;
2401 static void nvme_tcp_submit_async_event(struct nvme_ctrl *arg) argument
2403 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(arg);
H A Dnvme.h904 unsigned int cmd, unsigned long arg);
905 long nvme_ns_chr_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
907 unsigned int cmd, unsigned long arg);
909 unsigned long arg);
911 unsigned long arg);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fence.c726 struct drm_vmw_fence_wait_arg *arg = local
733 uint64_t wait_timeout = ((uint64_t)arg->timeout_us * HZ);
743 if (!arg->cookie_valid) {
744 arg->cookie_valid = 1;
745 arg->kernel_cookie = jiffies + wait_timeout;
748 base = vmw_fence_obj_lookup(tfile, arg->handle);
755 if (time_after_eq(timeout, (unsigned long)arg->kernel_cookie)) {
761 timeout = (unsigned long)arg->kernel_cookie - timeout;
763 ret = vmw_fence_obj_wait(fence, arg->lazy, true, timeout);
772 if (ret == 0 && (arg
780 struct drm_vmw_fence_signaled_arg *arg = local
811 struct drm_vmw_fence_arg *arg = local
1032 struct drm_vmw_fence_event_arg *arg = local
[all...]
H A Dvmwgfx_bo.c526 struct drm_vmw_synccpu_arg *arg = local
531 if ((arg->flags & (drm_vmw_synccpu_read | drm_vmw_synccpu_write)) == 0
532 || (arg->flags & ~(drm_vmw_synccpu_read | drm_vmw_synccpu_write |
539 switch (arg->op) {
541 ret = vmw_user_bo_lookup(file_priv, arg->handle, &vbo);
545 ret = vmw_user_bo_synccpu_grab(vbo, arg->flags);
551 (unsigned int) arg->handle);
557 arg->handle,
558 arg->flags);
561 (unsigned int) arg
587 struct drm_vmw_unref_dmabuf_arg *arg = local
[all...]
/linux-master/drivers/firewire/
H A Dnosy.c346 nosy_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
360 if (copy_to_user((void __user *) arg, &stats, sizeof stats))
385 client->tcode_mask = arg;
/linux-master/kernel/
H A Dworkqueue.c6550 void *arg; member in struct:work_for_cpu
6558 wfc->ret = wfc->fn(wfc->arg);
6565 * @arg: the function arg
6574 void *arg, struct lock_class_key *key)
6576 struct work_for_cpu wfc = { .fn = fn, .arg = arg };
6590 * @arg: the function argument
6599 void *arg, struct lock_class_key *key)
6605 ret = work_on_cpu_key(cpu, fn, arg, ke
6573 work_on_cpu_key(int cpu, long (*fn)(void *), void *arg, struct lock_class_key *key) argument
6598 work_on_cpu_safe_key(int cpu, long (*fn)(void *), void *arg, struct lock_class_key *key) argument
[all...]
/linux-master/drivers/scsi/
H A Dsd.c1526 * @arg: this is third argument given to ioctl(2) system call.
1536 unsigned int cmd, unsigned long arg)
1541 void __user *p = (void __user *)arg;
1535 sd_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned int cmd, unsigned long arg) argument
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.c601 unsigned long arg)
603 void __user *argp = (void __user *)arg;
641 ret = cb->def_ioctl(file, cmd, arg);
600 isst_if_def_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c1084 unsigned int arg = 0; local
1107 arg = rzg2l_read_pin_config(pctrl, IEN(off), bit, IEN_MASK);
1108 if (!arg)
1113 arg = rzg2l_read_oen(pctrl, cfg, _pin, bit);
1114 if (!arg)
1122 arg = ret;
1136 arg = hwcfg->iolh_groupa_ua[index + RZG2L_IOLH_IDX_3V3] / 1000;
1153 arg = rzg2l_iolh_val_to_ua(hwcfg, cfg, iolh_idx + val);
1164 arg = hwcfg->iolh_groupb_oi[index];
1172 *config = pinconf_to_config_packed(param, arg);
1188 unsigned int i, arg, index; local
[all...]
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-paris.c259 enum pin_config_param param, u32 arg)
280 err = hw->soc->bias_set_combo(hw, desc, 1, arg);
285 err = hw->soc->bias_set_combo(hw, desc, 0, arg);
289 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES, !!arg);
293 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR, !!arg);
297 arg);
306 /* arg = 1: Input mode & SMT enable ;
307 * arg = 0: Output mode & SMT disable
309 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !arg);
313 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, !!arg);
258 mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, enum pin_config_param param, u32 arg) argument
[all...]
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-baytrail.c853 u16 arg = 0; local
872 byt_get_pull_strength(conf, &arg);
880 byt_get_pull_strength(conf, &arg);
892 arg = 375;
895 arg = 750;
898 arg = 1500;
901 arg = 3000;
904 arg = 6000;
907 arg = 12000;
910 arg
937 u32 arg; local
[all...]
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c53 static void test_no_zicbom(void *arg) argument
70 static void test_no_zicboz(void *arg) argument
84 static void test_zicboz(void *arg) argument
89 cpu_set_t *cpus = (cpu_set_t *)arg;
168 void (*test_fn)(void *arg);
/linux-master/rust/
H A DMakefile290 -fno-partial-inlining -fplugin-arg-arm_ssp_per_task_plugin-% \

Completed in 357 milliseconds

1234567891011>>