Searched defs:arg (Results 276 - 300 of 1115) sorted by relevance

<<11121314151617181920>>

/drivers/staging/lustre/lnet/lnet/
H A Dacceptor.c333 lnet_acceptor(void *arg) argument
340 int secure = (int)((long_ptr_t)arg);
/drivers/staging/lustre/lustre/libcfs/
H A Ddebug.c335 void libcfs_debug_dumplog_internal(void *arg) argument
345 get_seconds(), (long_ptr_t)arg);
355 int libcfs_debug_dumplog_thread(void *arg) argument
357 libcfs_debug_dumplog_internal(arg);
H A Dworkitem.c222 cfs_wi_scheduler (void *arg) argument
224 struct cfs_wi_sched *sched = (cfs_wi_sched_t *)arg;
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tcpip.c47 libcfs_sock_ioctl(int cmd, unsigned long arg) argument
69 rc = sock_filp->f_op->unlocked_ioctl(sock_filp, cmd, arg);
/drivers/staging/lustre/lustre/obdclass/linux/
H A Dlinux-module.c79 int obd_ioctl_getdata(char **buf, int *len, void *arg) argument
86 err = copy_from_user(&hdr, (void *)arg, sizeof(hdr));
120 err = copy_from_user(*buf, (void *)arg, hdr.ioc_len);
157 int obd_ioctl_popdata(void *arg, void *data, int len) argument
161 err = copy_to_user(arg, data, len);
184 unsigned long arg)
194 err = class_handle_ioctl(cmd, (unsigned long)arg);
183 obd_class_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
/drivers/staging/lustre/lustre/ptlrpc/
H A Dptlrpcd.c378 static int ptlrpcd(void *arg) argument
380 struct ptlrpcd_ctl *pc = arg;
/drivers/staging/media/omap24xx/
H A Domap24xxcam-dma.c198 u32 len, dma_callback_t callback, void *arg)
213 dma->ch_state[dmach].arg = arg;
249 void *arg; local
270 arg = dma->ch_state[dmach].arg;
276 (*callback) (dma, csr, arg);
302 void *arg; local
337 arg = dma->ch_state[dmach].arg;
197 omap24xxcam_dma_start(struct omap24xxcam_dma *dma, dma_addr_t start, u32 len, dma_callback_t callback, void *arg) argument
389 omap24xxcam_sgdma_callback(struct omap24xxcam_dma *dma, u32 csr, void *arg) argument
421 void *arg = sg_state->arg; local
498 omap24xxcam_sgdma_queue(struct omap24xxcam_sgdma *sgdma, const struct scatterlist *sglist, int sglen, int len, sgdma_callback_t callback, void *arg) argument
561 void *arg = sg_state->arg; local
[all...]
/drivers/staging/octeon/
H A Dethernet-tx.c71 static void cvm_oct_tx_do_cleanup(unsigned long arg);
709 static void cvm_oct_tx_do_cleanup(unsigned long arg) argument
/drivers/staging/wlan-ng/
H A Dp80211netdev.c264 * @arg: pointer to WLAN network device structure (cast to unsigned long)
266 static void p80211netdev_rx_bh(unsigned long arg) argument
268 wlandevice_t *wlandev = (wlandevice_t *) arg;
/drivers/target/tcm_fc/
H A Dtfc_cmd.c267 static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument
269 struct ft_cmd *cmd = arg;
H A Dtfc_sess.c115 void ft_lport_add(struct fc_lport *lport, void *arg) argument
126 void ft_lport_del(struct fc_lport *lport, void *arg) argument
141 int ft_lport_notify(struct notifier_block *nb, unsigned long event, void *arg) argument
143 struct fc_lport *lport = arg;
/drivers/thermal/int340x_thermal/
H A Dacpi_thermal_rel.c321 char __user *arg = (void __user *)__arg; local
342 return fill_trt(arg);
360 return fill_art(arg);
/drivers/tty/ipwireless/
H A Dnetwork.c156 unsigned int cmd, unsigned long arg)
161 int __user *user_arg = (int __user *) arg;
205 if (copy_to_user((void __user *) arg, network->xaccm,
212 if (copy_from_user(accm, (void __user *) arg, sizeof(accm)))
155 ipwireless_ppp_ioctl(struct ppp_channel *ppp_channel, unsigned int cmd, unsigned long arg) argument
/drivers/tty/serial/
H A Dtimbuart.c187 static void timbuart_tasklet(unsigned long arg) argument
189 struct timbuart_port *uart = (struct timbuart_port *)arg;
/drivers/usb/gadget/function/
H A Duvc_v4l2.c250 unsigned int cmd, void *arg)
257 return uvc_send_response(uvc, arg);
249 uvc_v4l2_ioctl_default(struct file *file, void *fh, bool valid_prio, unsigned int cmd, void *arg) argument
/drivers/usb/misc/
H A Drio500.c112 static long ioctl_rio(struct file *file, unsigned int cmd, unsigned long arg) argument
131 data = (void __user *) arg;
202 data = (void __user *) arg;
H A Dusblcd.c163 static long lcd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
183 if (copy_to_user((void __user *)arg, buf, strlen(buf)) != 0)
188 if (copy_to_user((void __user *)arg, buf, strlen(buf)) != 0)
/drivers/usb/serial/
H A Df81232.c250 unsigned int cmd, unsigned long arg)
263 if (copy_to_user((void __user *)arg, &ser, sizeof ser))
249 f81232_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
H A Dgeneric.c464 unsigned long arg, struct async_icount *cprev)
482 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
483 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
484 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
485 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
492 int usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg) argument
504 usb_serial_generic_msr_changed(tty, arg, &cnow));
463 usb_serial_generic_msr_changed(struct tty_struct *tty, unsigned long arg, struct async_icount *cprev) argument
H A Dkobil_sct.c62 unsigned int cmd, unsigned long arg);
522 unsigned int cmd, unsigned long arg)
521 kobil_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
H A Dopticon.c361 unsigned int cmd, unsigned long arg)
368 (struct serial_struct __user *)arg);
360 opticon_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
H A Dusb_wwan.c158 unsigned int cmd, unsigned long arg)
167 (struct serial_struct __user *) arg);
170 (struct serial_struct __user *) arg);
175 dev_dbg(&port->dev, "%s arg not supported\n", __func__);
157 usb_wwan_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
/drivers/uwb/
H A Dneh.c112 void *arg; member in struct:uwb_rc_neh
118 static void uwb_rc_neh_timer(unsigned long arg);
204 * @arg: argument for the callback
211 uwb_rc_cmd_cb_f cb, void *arg)
234 neh->arg = arg;
303 (*neh->cb)(neh->rc, neh->arg, rceb, size);
570 static void uwb_rc_neh_timer(unsigned long arg) argument
572 struct uwb_rc_neh *neh = (struct uwb_rc_neh *)arg;
209 uwb_rc_neh_add(struct uwb_rc *rc, struct uwb_rccb *cmd, u8 expected_type, u16 expected_event, uwb_rc_cmd_cb_f cb, void *arg) argument
/drivers/vhost/
H A Dtest.c261 unsigned long arg)
264 void __user *argp = (void __user *)arg;
300 unsigned long arg)
302 return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg));
260 vhost_test_ioctl(struct file *f, unsigned int ioctl, unsigned long arg) argument
299 vhost_test_compat_ioctl(struct file *f, unsigned int ioctl, unsigned long arg) argument
/drivers/video/fbdev/
H A Dsbuslib.c99 int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, argument
105 struct fbtype __user *f = (struct fbtype __user *) arg;
117 struct fbcmap __user *c = (struct fbcmap __user *) arg;
158 struct fbcmap __user *c = (struct fbcmap __user *) arg;
194 static int fbiogetputcmap(struct fb_info *info, unsigned int cmd, unsigned long arg) argument
196 struct fbcmap32 __user *argp = (void __user *)arg;
216 static int fbiogscursor(struct fb_info *info, unsigned long arg) argument
219 struct fbcursor32 __user *argp = (void __user *)arg;
242 int sbusfb_compat_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) argument
255 return info->fbops->fb_ioctl(info, cmd, arg);
[all...]

Completed in 8809 milliseconds

<<11121314151617181920>>