Searched refs:arg (Results 501 - 525 of 3472) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/dma-buf/
H A Dst-dma-fence.c97 static int sanitycheck(void *arg) argument
113 static int test_signaling(void *arg) argument
160 static int test_add_callback(void *arg) argument
187 static int test_late_add_callback(void *arg) argument
218 static int test_rm_callback(void *arg) argument
250 static int test_late_rm_callback(void *arg) argument
282 static int test_status(void *arg) argument
310 static int test_error(void *arg) argument
341 static int test_wait(void *arg) argument
383 static int test_wait_timeout(void *arg) argument
422 test_stub(void *arg) argument
458 thread_signal_callback(void *arg) argument
527 race_signal_callback(void *arg) argument
[all...]
/linux-master/tools/testing/radix-tree/
H A Diteration_check.c46 static void *add_entries_fn(void *arg) argument
67 static void *tagged_iteration_fn(void *arg) argument
100 static void *untagged_iteration_fn(void *arg) argument
133 static void *remove_entries_fn(void *arg) argument
153 static void *tag_entries_fn(void *arg) argument
/linux-master/drivers/net/ppp/
H A Dpppox.c67 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
84 if (put_user(index , (int __user *) arg))
93 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY;
103 int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
108 return pppox_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
/linux-master/drivers/watchdog/
H A Dindydog.c99 unsigned long arg)
110 if (copy_to_user((struct watchdog_info *)arg,
116 return put_user(0, (int *)arg);
119 if (get_user(options, (int *)arg))
135 return put_user(WATCHDOG_TIMEOUT, (int *)arg);
98 indydog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
/linux-master/sound/core/seq/oss/
H A Dseq_oss_timer.c218 snd_seq_oss_timer_ioctl(struct seq_oss_timer *timer, unsigned int cmd, int __user *arg) argument
223 /* if *arg == 0, just return the current rate */
224 if (get_user(value, arg))
229 return put_user(value, arg) ? -EFAULT : 0;
243 if (get_user(value, arg))
247 if (get_user(value, arg))
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dp2p.c125 struct ath10k_p2p_noa_arg *arg = data; local
127 if (arvif->vdev_id != arg->vdev_id)
130 ath10k_p2p_noa_update(arvif, arg->noa);
136 struct ath10k_p2p_noa_arg arg = { local
144 &arg);
/linux-master/drivers/scsi/elx/libefc/
H A Defc_cmds.c50 efc_nport_free_unreg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
52 struct efc_nport *nport = arg;
105 efc_nport_alloc_init_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
107 struct efc_nport *nport = arg;
148 efc_nport_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
150 struct efc_nport *nport = arg;
248 void *arg)
250 struct efc_nport *nport = arg;
367 void *arg)
369 struct efc_domain *domain = arg;
247 efc_nport_attach_reg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
366 efc_domain_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
407 efc_domain_alloc_init_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
496 efc_domain_attach_reg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
550 efc_domain_free_unreg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
634 efc_cmd_node_attach_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
720 efc_cmd_node_free_cb(struct efc *efc, int status, u8 *mqe, void *arg) argument
[all...]
/linux-master/scripts/selinux/mdp/
H A Dmdp.c46 char **arg, *polout, *ctxout; local
52 arg = argv+1;
55 arg++;
57 polout = *arg++;
58 ctxout = *arg;
/linux-master/drivers/macintosh/
H A Dans-lcd.c83 anslcd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
89 printk(KERN_DEBUG "LCD: ioctl(%d,%d)\n",cmd,arg);
104 temp = (char __user *) arg;
115 anslcd_short_delay=arg;
121 anslcd_long_delay=arg;
/linux-master/drivers/net/wireless/st/cw1200/
H A Dsta.h47 int cw1200_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
53 struct wsm_join_complete *arg);
90 const struct wsm_edca_params *arg);
92 void cw1200_ba_timer(unsigned long arg);
113 struct wsm_suspend_resume *arg);
/linux-master/arch/riscv/kernel/
H A Dacpi.c35 static int __init parse_acpi(char *arg) argument
37 if (!arg)
41 if (strcmp(arg, "off") == 0)
43 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */
45 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */
/linux-master/drivers/i2c/
H A Di2c-dev.c392 static long i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
397 dev_dbg(&client->adapter->dev, "ioctl, cmd=0x%02x, arg=0x%02lx\n",
398 cmd, arg);
403 if ((arg > 0x3ff) ||
404 (((client->flags & I2C_M_TEN) == 0) && arg > 0x7f))
406 if (cmd == I2C_SLAVE && i2cdev_check_addr(client->adapter, arg))
409 client->addr = arg;
412 if (arg)
425 if (arg)
432 return put_user(funcs, (unsigned long __user *)arg);
519 compat_i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/drivers/net/mdio/
H A Dfwnode_mdio.c42 struct of_phandle_args arg; local
49 "timestamper", 1, 0, &arg);
55 if (arg.args_count != 1)
58 return register_mii_timestamper(arg.np, arg.args[0]);
/linux-master/arch/arm/mach-omap2/
H A Domap-secure.c89 void omap_smccc_smc(u32 fn, u32 arg) argument
93 arm_smccc_smc(OMAP_SIP_SMC_STD_CALL_VAL(fn), arg, local
98 void omap_smc1(u32 fn, u32 arg) argument
105 omap_smccc_smc(fn, arg);
107 _omap_smc1(fn, arg);
/linux-master/net/sched/
H A Dsch_drr.c54 struct nlattr **tca, unsigned long *arg,
58 struct drr_class *cl = (struct drr_class *)*arg;
135 *arg = (unsigned long)cl;
146 static int drr_delete_class(struct Qdisc *sch, unsigned long arg, argument
150 struct drr_class *cl = (struct drr_class *)arg;
197 static void drr_unbind_tcf(struct Qdisc *sch, unsigned long arg) argument
199 struct drr_class *cl = (struct drr_class *)arg;
204 static int drr_graft_class(struct Qdisc *sch, unsigned long arg, argument
208 struct drr_class *cl = (struct drr_class *)arg;
221 static struct Qdisc *drr_class_leaf(struct Qdisc *sch, unsigned long arg) argument
53 drr_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, unsigned long *arg, struct netlink_ext_ack *extack) argument
228 drr_qlen_notify(struct Qdisc *csh, unsigned long arg) argument
235 drr_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
257 drr_dump_class_stats(struct Qdisc *sch, unsigned long arg, struct gnet_dump *d) argument
277 drr_walk(struct Qdisc *sch, struct qdisc_walker *arg) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dp2p.c129 struct ath11k_p2p_noa_arg *arg = data; local
131 if (arvif->vdev_id != arg->vdev_id)
134 ath11k_p2p_noa_update(arvif, arg->noa);
140 struct ath11k_p2p_noa_arg arg = { local
148 &arg);
/linux-master/Documentation/
H A Dconf.py217 for arg in sys.argv:
218 if arg.startswith('version='):
219 c_version = arg[8:]
220 elif arg.startswith('release='):
221 c_release = arg[8:]
/linux-master/io_uring/
H A Dkbuf.h61 int io_buffers_select(struct io_kiocb *req, struct buf_sel_arg *arg,
63 int io_buffers_peek(struct io_kiocb *req, struct buf_sel_arg *arg);
72 int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg);
73 int io_unregister_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg);
74 int io_register_pbuf_status(struct io_ring_ctx *ctx, void __user *arg);
H A Drsrc.h64 int io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg,
68 int io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg,
71 int io_register_files_update(struct io_ring_ctx *ctx, void __user *arg,
73 int io_register_rsrc_update(struct io_ring_ctx *ctx, void __user *arg,
75 int io_register_rsrc(struct io_ring_ctx *ctx, void __user *arg,
/linux-master/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c34 static void *run_vcpu(void *arg) argument
36 struct kvm_vcpu *vcpu = arg;
47 static void *sleeping_thread(void *arg) argument
60 void *(*f)(void *), void *arg)
64 r = pthread_create(thread, attr, f, arg);
59 check_create_thread(pthread_t *thread, pthread_attr_t *attr, void *(*f)(void *), void *arg) argument
/linux-master/tools/perf/util/
H A Dunwind-libunwind-local.c49 int need_unwind_info, void *arg);
444 int need_unwind_info, void *arg)
446 struct unwind_info *ui = arg;
476 need_unwind_info, arg);
497 need_unwind_info, arg);
508 void __maybe_unused *arg)
516 void __maybe_unused *arg)
523 void __maybe_unused *arg)
533 unw_word_t __maybe_unused *offp, void __maybe_unused *arg)
567 int __write, void *arg)
443 find_proc_info(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, int need_unwind_info, void *arg) argument
504 access_fpreg(unw_addr_space_t __maybe_unused as, unw_regnum_t __maybe_unused num, unw_fpreg_t __maybe_unused *val, int __maybe_unused __write, void __maybe_unused *arg) argument
514 get_dyn_info_list_addr(unw_addr_space_t __maybe_unused as, unw_word_t __maybe_unused *dil_addr, void __maybe_unused *arg) argument
521 resume(unw_addr_space_t __maybe_unused as, unw_cursor_t __maybe_unused *cu, void __maybe_unused *arg) argument
530 get_proc_name(unw_addr_space_t __maybe_unused as, unw_word_t __maybe_unused addr, char __maybe_unused *bufp, size_t __maybe_unused buf_len, unw_word_t __maybe_unused *offp, void __maybe_unused *arg) argument
565 access_mem(unw_addr_space_t __maybe_unused as, unw_word_t addr, unw_word_t *valp, int __write, void *arg) argument
612 access_reg(unw_addr_space_t __maybe_unused as, unw_regnum_t regnum, unw_word_t *valp, int __write, void *arg) argument
654 entry(u64 ip, struct thread *thread, unwind_entry_cb_t cb, void *arg) argument
729 get_entries(struct unwind_info *ui, unwind_entry_cb_t cb, void *arg, int max_stack) argument
794 _unwind__get_entries(unwind_entry_cb_t cb, void *arg, struct thread *thread, struct perf_sample *data, int max_stack, bool best_effort) argument
[all...]
/linux-master/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c446 unsigned int reg, arg; local
460 arg = reg;
464 arg = (reg >> SLEEP_MODE_SHIFT) & SLEEP_MODE_MASK;
467 arg = (reg >> SLEEP_INPUT_SHIFT) & SLEEP_INPUT_MASK;
470 arg = reg & SLEEP_OUTPUT_MASK;
476 arg = 1;
479 arg = (reg >> DRIVE_STRENGTH_SHIFT) &
484 arg = ((reg >> SLEEP_PULL_DOWN_SHIFT) &
486 arg |= (reg >> PULL_DOWN_SHIFT) & PULL_DOWN_MASK;
489 arg
607 unsigned int param, arg, shift, mask, val; local
[all...]
/linux-master/kernel/trace/
H A Dtrace_dynevent.c274 * dynevent_arg_add - Add an arg to a dynevent_cmd
276 * @arg: The argument to append to the current cmd
277 * @check_arg: An (optional) pointer to a function checking arg sanity
282 * if present, will be used to check the sanity of the current arg
292 struct dynevent_arg *arg,
298 ret = check_arg(arg);
303 ret = seq_buf_printf(&cmd->seq, " %s%c", arg->str, arg->separator);
305 pr_err("String is too long: %s%c\n", arg->str, arg
291 dynevent_arg_add(struct dynevent_cmd *cmd, struct dynevent_arg *arg, dynevent_check_arg_fn_t check_arg) argument
427 dynevent_arg_init(struct dynevent_arg *arg, char separator) argument
[all...]
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h43 #define wl1251_error(fmt, arg...) \
44 printk(KERN_ERR DRIVER_PREFIX "ERROR " fmt "\n", ##arg)
46 #define wl1251_warning(fmt, arg...) \
47 printk(KERN_WARNING DRIVER_PREFIX "WARNING " fmt "\n", ##arg)
49 #define wl1251_notice(fmt, arg...) \
50 printk(KERN_INFO DRIVER_PREFIX fmt "\n", ##arg)
52 #define wl1251_info(fmt, arg...) \
53 printk(KERN_DEBUG DRIVER_PREFIX fmt "\n", ##arg)
55 #define wl1251_debug(level, fmt, arg...) \
58 printk(KERN_DEBUG DRIVER_PREFIX fmt "\n", ##arg); \
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dbench-lookups.c92 void (*f)(int, void *), int sk, void *arg)
101 f(sk, arg);
128 static void delete_mkt(int sk, void *arg) argument
130 struct tcp_ao_del *ao = arg;
136 static void add_back_mkt(int sk, void *arg) argument
138 union tcp_addr *p = arg;
209 static void *server_fn(void *arg) argument
256 static void connect_client(int sk, void *arg) argument
258 size_t *p = arg;
336 static void *client_fn(void *arg) argument
91 measure_call(struct bench_stats *st, void (*f)(int, void *), int sk, void *arg) argument
[all...]

Completed in 568 milliseconds

<<21222324252627282930>>