Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/linux-4.19.296/block/
Dcompat_ioctl.c15 static int compat_put_ushort(unsigned long arg, unsigned short val) in compat_put_ushort() argument
17 return put_user(val, (unsigned short __user *)compat_ptr(arg)); in compat_put_ushort()
20 static int compat_put_int(unsigned long arg, int val) in compat_put_int() argument
22 return put_user(val, (compat_int_t __user *)compat_ptr(arg)); in compat_put_int()
25 static int compat_put_uint(unsigned long arg, unsigned int val) in compat_put_uint() argument
27 return put_user(val, (compat_uint_t __user *)compat_ptr(arg)); in compat_put_uint()
30 static int compat_put_long(unsigned long arg, long val) in compat_put_long() argument
32 return put_user(val, (compat_long_t __user *)compat_ptr(arg)); in compat_put_long()
35 static int compat_put_ulong(unsigned long arg, compat_ulong_t val) in compat_put_ulong() argument
37 return put_user(val, (compat_ulong_t __user *)compat_ptr(arg)); in compat_put_ulong()
[all …]
Dioctl.c13 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl() argument
26 if (copy_from_user(&a, arg, sizeof(struct blkpg_ioctl_arg))) in blkpg_ioctl()
201 unsigned long arg, unsigned long flags) in blk_ioctl_discard() argument
215 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_discard()
234 unsigned long arg) in blk_ioctl_zeroout() argument
243 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_zeroout()
267 static int put_ushort(unsigned long arg, unsigned short val) in put_ushort() argument
269 return put_user(val, (unsigned short __user *)arg); in put_ushort()
272 static int put_int(unsigned long arg, int val) in put_int() argument
274 return put_user(val, (int __user *)arg); in put_int()
[all …]
/linux-4.19.296/include/linux/
Dstop_machine.h20 typedef int (*cpu_stop_fn_t)(void *arg);
27 void *arg; member
31 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
32 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
33 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
35 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg);
36 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg);
47 void *arg; member
50 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
55 ret = fn(arg); in stop_one_cpu()
[all …]
Dmoduleparam.h57 void (*free)(void *arg);
79 void *arg; member
169 #define module_param_cb(name, ops, arg, perm) \ argument
170 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
172 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
173 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
185 #define __level_param_cb(name, ops, arg, perm, level) \ argument
186 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
188 #define core_param_cb(name, ops, arg, perm) \ argument
189 __level_param_cb(name, ops, arg, perm, 1)
[all …]
/linux-4.19.296/include/media/
Dv4l2-common.h34 #define v4l_printk(level, name, adapter, addr, fmt, arg...) \ argument
35 printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg)
37 #define v4l_client_printk(level, client, fmt, arg...) \ argument
39 (client)->addr, fmt , ## arg)
41 #define v4l_err(client, fmt, arg...) \ argument
42 v4l_client_printk(KERN_ERR, client, fmt , ## arg)
44 #define v4l_warn(client, fmt, arg...) \ argument
45 v4l_client_printk(KERN_WARNING, client, fmt , ## arg)
47 #define v4l_info(client, fmt, arg...) \ argument
48 v4l_client_printk(KERN_INFO, client, fmt , ## arg)
[all …]
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ioctl.c212 static void v4l_print_querycap(const void *arg, bool write_only) in v4l_print_querycap() argument
214 const struct v4l2_capability *p = arg; in v4l_print_querycap()
223 static void v4l_print_enuminput(const void *arg, bool write_only) in v4l_print_enuminput() argument
225 const struct v4l2_input *p = arg; in v4l_print_enuminput()
233 static void v4l_print_enumoutput(const void *arg, bool write_only) in v4l_print_enumoutput() argument
235 const struct v4l2_output *p = arg; in v4l_print_enumoutput()
242 static void v4l_print_audio(const void *arg, bool write_only) in v4l_print_audio() argument
244 const struct v4l2_audio *p = arg; in v4l_print_audio()
254 static void v4l_print_audioout(const void *arg, bool write_only) in v4l_print_audioout() argument
256 const struct v4l2_audioout *p = arg; in v4l_print_audioout()
[all …]
Dv4l2-subdev.c178 static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) in subdev_do_ioctl() argument
200 return v4l2_queryctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
205 return v4l2_query_ext_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
210 return v4l2_querymenu(vfh->ctrl_handler, arg); in subdev_do_ioctl()
215 return v4l2_g_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl()
220 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
225 return v4l2_g_ext_ctrls(vfh->ctrl_handler, arg); in subdev_do_ioctl()
230 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
235 return v4l2_try_ext_ctrls(vfh->ctrl_handler, arg); in subdev_do_ioctl()
241 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); in subdev_do_ioctl()
[all …]
/linux-4.19.296/fs/jfs/
Djfs_debug.h68 #define jfs_info(fmt, arg...) do { \ argument
70 printk(KERN_INFO fmt "\n", ## arg); \
74 #define jfs_debug(fmt, arg...) do { \ argument
76 printk(KERN_DEBUG fmt "\n", ## arg); \
80 #define jfs_warn(fmt, arg...) do { \ argument
82 printk(KERN_WARNING fmt "\n", ## arg); \
86 #define jfs_err(fmt, arg...) do { \ argument
88 printk(KERN_ERR fmt "\n", ## arg); \
97 #define jfs_info(fmt, arg...) do {} while (0) argument
98 #define jfs_debug(fmt, arg...) do {} while (0) argument
[all …]
/linux-4.19.296/drivers/media/tuners/
Dtuner-i2c.h87 #define tuner_printk(kernlvl, i2cprops, fmt, arg...) do { \ argument
91 i2cprops.addr, ##arg); \
97 #define __tuner_warn(i2cprops, fmt, arg...) do { \ argument
98 tuner_printk(KERN_WARNING, i2cprops, fmt, ##arg); \
101 #define __tuner_info(i2cprops, fmt, arg...) do { \ argument
102 tuner_printk(KERN_INFO, i2cprops, fmt, ##arg); \
105 #define __tuner_err(i2cprops, fmt, arg...) do { \ argument
106 tuner_printk(KERN_ERR, i2cprops, fmt, ##arg); \
109 #define __tuner_dbg(i2cprops, fmt, arg...) do { \ argument
111 tuner_printk(KERN_DEBUG, i2cprops, fmt, ##arg); \
[all …]
Dtda18271-priv.h147 #define tda_printk(st, lvl, fmt, arg...) \ argument
148 _tda_printk(st, lvl, __func__, fmt, ##arg)
150 #define tda_dprintk(st, lvl, fmt, arg...) \ argument
153 tda_printk(st, KERN_DEBUG, fmt, ##arg); \
156 #define tda_info(fmt, arg...) pr_info(fmt, ##arg) argument
157 #define tda_warn(fmt, arg...) tda_printk(priv, KERN_WARNING, fmt, ##arg) argument
158 #define tda_err(fmt, arg...) tda_printk(priv, KERN_ERR, fmt, ##arg) argument
159 #define tda_dbg(fmt, arg...) tda_dprintk(priv, DBG_INFO, fmt, ##arg) argument
160 #define tda_map(fmt, arg...) tda_dprintk(priv, DBG_MAP, fmt, ##arg) argument
161 #define tda_reg(fmt, arg...) tda_dprintk(priv, DBG_REG, fmt, ##arg) argument
[all …]
Dfc0013-priv.h24 #define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg) argument
26 #define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg) argument
28 #define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg) argument
/linux-4.19.296/drivers/media/dvb-frontends/
Dcx24120.c166 u8 arg[CX24120_MAX_CMD_LEN]; member
391 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0], in cx24120_message_send()
429 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv()
455 cmd.arg[0] = 0x01; in cx24120_msg_mpeg_output_global_config()
456 cmd.arg[1] = 0x00; in cx24120_msg_mpeg_output_global_config()
457 cmd.arg[2] = enable ? 0 : (u8)(-1); in cx24120_msg_mpeg_output_global_config()
458 cmd.arg[3] = 0x01; in cx24120_msg_mpeg_output_global_config()
482 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */ in cx24120_msg_mpeg_output_config()
483 cmd.arg[1] = ((i.x1 & 0x01) << 1) | ((i.x1 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
484 cmd.arg[2] = 0x05; in cx24120_msg_mpeg_output_config()
[all …]
/linux-4.19.296/drivers/misc/
Dkgdbts.c217 static unsigned long lookup_addr(char *arg) in lookup_addr() argument
221 if (!strcmp(arg, "kgdbts_break_test")) in lookup_addr()
223 else if (!strcmp(arg, "sys_open")) in lookup_addr()
225 else if (!strcmp(arg, "do_fork")) in lookup_addr()
227 else if (!strcmp(arg, "hw_break_val")) in lookup_addr()
233 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument
237 if (arg) in break_helper()
238 addr = lookup_addr(arg); in break_helper()
247 static void sw_break(char *arg) in sw_break() argument
249 break_helper(force_hwbrks ? "Z1" : "Z0", arg, 0); in sw_break()
[all …]
/linux-4.19.296/drivers/pci/hotplug/
Dpciehp.h35 #define dbg(format, arg...) \ argument
38 printk(KERN_DEBUG "%s: " format, MY_NAME, ## arg); \
40 #define err(format, arg...) \ argument
41 printk(KERN_ERR "%s: " format, MY_NAME, ## arg)
42 #define info(format, arg...) \ argument
43 printk(KERN_INFO "%s: " format, MY_NAME, ## arg)
44 #define warn(format, arg...) \ argument
45 printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
47 #define ctrl_dbg(ctrl, format, arg...) \ argument
51 format, ## arg); \
[all …]
Drpaphp.h36 #define dbg(format, arg...) \ argument
40 MY_NAME, ## arg); \
42 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) argument
43 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) argument
44 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) argument
/linux-4.19.296/fs/
Dfcntl.c35 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() argument
44 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl()
48 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl()
54 if (arg & O_NDELAY) in setfl()
55 arg |= O_NONBLOCK; in setfl()
58 if (!S_ISFIFO(inode->i_mode) && (arg & O_DIRECT)) { in setfl()
65 error = filp->f_op->check_flags(arg); in setfl()
72 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { in setfl()
73 error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); in setfl()
80 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl()
[all …]
/linux-4.19.296/drivers/misc/ocxl/
Dfile.c89 struct ocxl_ioctl_attach arg; in afu_ioctl_attach() local
95 if (copy_from_user(&arg, uarg, sizeof(arg))) in afu_ioctl_attach()
99 if (arg.reserved1 || arg.reserved2 || arg.reserved3) in afu_ioctl_attach()
102 amr = arg.amr & mfspr(SPRN_UAMOR); in afu_ioctl_attach()
110 struct ocxl_ioctl_metadata arg; in afu_ioctl_get_metadata() local
112 memset(&arg, 0, sizeof(arg)); in afu_ioctl_get_metadata()
114 arg.version = 0; in afu_ioctl_get_metadata()
116 arg.afu_version_major = ctx->afu->config.version_major; in afu_ioctl_get_metadata()
117 arg.afu_version_minor = ctx->afu->config.version_minor; in afu_ioctl_get_metadata()
118 arg.pasid = ctx->pasid; in afu_ioctl_get_metadata()
[all …]
/linux-4.19.296/drivers/char/agp/
Dcompat_ioctl.c38 static int compat_agpioc_info_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_info_wrap() argument
55 if (copy_to_user(arg, &userinfo, sizeof(userinfo))) in compat_agpioc_info_wrap()
61 static int compat_agpioc_reserve_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_reserve_wrap() argument
69 if (copy_from_user(&ureserve, arg, sizeof(ureserve))) in compat_agpioc_reserve_wrap()
152 static int compat_agpioc_allocate_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_allocate_wrap() argument
158 if (copy_from_user(&alloc, arg, sizeof(alloc))) in compat_agpioc_allocate_wrap()
169 if (copy_to_user(arg, &alloc, sizeof(alloc))) { in compat_agpioc_allocate_wrap()
176 static int compat_agpioc_bind_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_bind_wrap() argument
182 if (copy_from_user(&bind_info, arg, sizeof(bind_info))) in compat_agpioc_bind_wrap()
193 static int compat_agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_unbind_wrap() argument
[all …]
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h120 #define mxl_printk(kern, fmt, arg...) \ argument
121 printk(kern "%s: " fmt "\n", __func__, ##arg)
123 #define mxl_info(fmt, arg...) \ argument
124 mxl_printk(KERN_INFO, fmt, ##arg)
127 #define mxl_debug(fmt, arg...) \ argument
129 mxl_printk(KERN_DEBUG, fmt, ##arg)
133 #define mxl_debug_adv(fmt, arg...) \ argument
135 mxl_printk(KERN_DEBUG, fmt, ##arg)
137 #define mxl_i2c(fmt, arg...) \ argument
139 mxl_printk(KERN_DEBUG, fmt, ##arg)
[all …]
/linux-4.19.296/include/xen/arm/
Dhypercall.h47 int HYPERVISOR_xen_version(int cmd, void *arg);
50 int HYPERVISOR_sched_op(int cmd, void *arg);
51 int HYPERVISOR_event_channel_op(int cmd, void *arg);
52 unsigned long HYPERVISOR_hvm_op(int op, void *arg);
53 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
54 int HYPERVISOR_physdev_op(int cmd, void *arg);
56 int HYPERVISOR_tmem_op(void *arg);
60 int HYPERVISOR_platform_op_raw(void *arg);
/linux-4.19.296/drivers/edac/
Dedac_mc.h48 #define edac_printk(level, prefix, fmt, arg...) \ argument
49 printk(level "EDAC " prefix ": " fmt, ##arg)
51 #define edac_mc_printk(mci, level, fmt, arg...) \ argument
52 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg)
54 #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ argument
55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
57 #define edac_device_printk(ctl, level, fmt, arg...) \ argument
58 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
60 #define edac_pci_printk(ctl, level, fmt, arg...) \ argument
61 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg)
/linux-4.19.296/drivers/thunderbolt/
Dtb.h325 #define tb_err(tb, fmt, arg...) dev_err(&(tb)->nhi->pdev->dev, fmt, ## arg) argument
326 #define tb_WARN(tb, fmt, arg...) dev_WARN(&(tb)->nhi->pdev->dev, fmt, ## arg) argument
327 #define tb_warn(tb, fmt, arg...) dev_warn(&(tb)->nhi->pdev->dev, fmt, ## arg) argument
328 #define tb_info(tb, fmt, arg...) dev_info(&(tb)->nhi->pdev->dev, fmt, ## arg) argument
331 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument
335 tb_route(__sw), ## arg); \
337 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument
338 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument
339 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument
342 #define __TB_PORT_PRINT(level, _port, fmt, arg...) \ argument
[all …]
/linux-4.19.296/fs/nfs/
Dnfs3proc.c126 struct nfs3_sattrargs arg = { in nfs3_proc_setattr() local
132 .rpc_argp = &arg, in nfs3_proc_setattr()
156 struct nfs3_diropargs arg = { in nfs3_proc_lookup() local
167 .rpc_argp = &arg, in nfs3_proc_lookup()
193 struct nfs3_accessargs arg = { in nfs3_proc_access() local
200 .rpc_argp = &arg, in nfs3_proc_access()
258 } arg; member
271 data->msg.rpc_argp = &data->arg; in nfs3_alloc_createdata()
316 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create()
317 data->arg.create.name = dentry->d_name.name; in nfs3_proc_create()
[all …]
/linux-4.19.296/drivers/isdn/hisax/
Dl3_1tr6.c44 l3_1tr6_release_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_release_req() argument
53 l3_1tr6_invalid(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_invalid() argument
55 struct sk_buff *skb = arg; in l3_1tr6_invalid()
71 l3_1tr6_setup_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_req() argument
161 l3_1tr6_setup(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup() argument
165 struct sk_buff *skb = arg; in l3_1tr6_setup()
228 l3_1tr6_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_ack() argument
231 struct sk_buff *skb = arg; in l3_1tr6_setup_ack()
256 l3_1tr6_call_sent(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_call_sent() argument
259 struct sk_buff *skb = arg; in l3_1tr6_call_sent()
[all …]
/linux-4.19.296/drivers/isdn/mISDN/
Dlayer2.c164 l2up_create(struct layer2 *l2, u_int prim, int len, void *arg) in l2up_create() argument
179 skb_put_data(skb, arg, len); in l2up_create()
225 l2down_create(struct layer2 *l2, u_int prim, u_int id, int len, void *arg) in l2down_create() argument
238 skb_put_data(skb, arg, len); in l2down_create()
287 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() argument
312 l2mgr(struct layer2 *l2, u_int prim, void *arg) { in l2mgr() argument
313 long c = (long)arg; in l2mgr()
324 l2_tei(l2, prim, (u_long)arg); in l2mgr()
723 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument
725 struct sk_buff *skb = arg; in l2_mdl_error_ua()
[all …]

12345678910>>...29