/drivers/staging/comedi/ |
H A D | comedi_compat32.c | 87 unsigned long arg) 90 return file->f_op->unlocked_ioctl(file, cmd, arg); 96 static int compat_chaninfo(struct file *file, unsigned long arg) argument 106 chaninfo32 = compat_ptr(arg); 130 static int compat_rangeinfo(struct file *file, unsigned long arg) argument 140 rangeinfo32 = compat_ptr(arg); 261 static int compat_cmd(struct file *file, unsigned long arg) argument 267 cmd32 = compat_ptr(arg); 278 static int compat_cmdtest(struct file *file, unsigned long arg) argument 284 cmd32 = compat_ptr(arg); 86 translated_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 332 compat_insnlist(struct file *file, unsigned long arg) argument 382 compat_insn(struct file *file, unsigned long arg) argument 400 raw_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 449 comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/staging/comedi/drivers/ |
H A D | das16m1.c | 185 unsigned int arg; local 232 arg = cmd->convert_arg; 236 &arg, cmd->flags); 237 err |= cfc_check_trigger_arg_is(&cmd->convert_arg, arg);
|
/drivers/staging/gdm72xx/ |
H A D | gdm_usb.c | 695 static int k_mode_thread(void *arg) argument
|
/drivers/staging/goldfish/ |
H A D | goldfish_audio.c | 219 unsigned long arg) 218 goldfish_audio_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | class_obd.c | 204 int class_handle_ioctl(unsigned int cmd, unsigned long arg) argument 214 debug_data = (struct libcfs_debug_ioctl_data *)arg; 221 if (obd_ioctl_getdata(&buf, &len, (void *)arg)) { 268 err = obd_ioctl_popdata((void *)arg, data, len); 287 err = obd_ioctl_popdata((void *)arg, data, sizeof(*data)); 324 err = obd_ioctl_popdata((void *)arg, data, sizeof(*data)); 371 err = obd_ioctl_popdata((void *)arg, data, len); 429 err = obd_ioctl_popdata((void *)arg, data, len);
|
H A D | llog.c | 271 static int llog_process_thread(void *arg) argument 273 struct llog_process_info *lpi = arg; 408 static int llog_process_thread_daemonize(void *arg) argument 410 struct llog_process_info *lpi = arg; 422 rc = llog_process_thread(arg);
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | nrs.c | 75 enum ptlrpc_nrs_ctl opc, void *arg) 87 policy->pol_desc->pd_ops->op_policy_ctl(policy, opc, arg) : 621 * \param[in,out] arg can be used to pass information in and out between when 630 enum ptlrpc_nrs_ctl opc, void *arg) 649 rc = nrs_policy_ctl_locked(policy, opc, arg); 1665 * \param[in,out] arg can be used as a generic in/out buffer between control 1673 enum ptlrpc_nrs_ctl opc, bool single, void *arg) 1687 opc, arg); 1703 opc, arg); 74 nrs_policy_ctl_locked(struct ptlrpc_nrs_policy *policy, enum ptlrpc_nrs_ctl opc, void *arg) argument 629 nrs_policy_ctl(struct ptlrpc_nrs *nrs, char *name, enum ptlrpc_nrs_ctl opc, void *arg) argument 1671 ptlrpc_nrs_policy_control(const struct ptlrpc_service *svc, enum ptlrpc_nrs_queue_type queue, char *name, enum ptlrpc_nrs_ctl opc, bool single, void *arg) argument
|
H A D | pinger.c | 237 static int ptlrpc_pinger_main(void *arg) argument 239 struct ptlrpc_thread *thread = (struct ptlrpc_thread *)arg; 582 static int ping_evictor_main(void *arg) argument
|
/drivers/staging/ozwpan/ |
H A D | ozcdev.c | 247 unsigned long arg) 256 rc = !access_ok(VERIFY_WRITE, (void __user *)arg, 259 rc = !access_ok(VERIFY_READ, (void __user *)arg, 270 if (copy_to_user((void __user *)arg, &list, 279 if (copy_from_user(addr, (void __user *)arg, ETH_ALEN)) 291 if (copy_to_user((void __user *)arg, addr, ETH_ALEN)) 299 if (copy_from_user(&b, (void __user *)arg, 246 oz_cdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
|
/drivers/staging/rtl8188eu/hal/ |
H A D | hal_intf.c | 251 void rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg, argument 255 adapt->HalFunc.Add_RateATid(adapt, bitmap, arg,
|
/drivers/target/iscsi/ |
H A D | iscsi_target_login.c | 1435 int iscsi_target_login_thread(void *arg) argument 1437 struct iscsi_np *np = arg;
|
/drivers/target/tcm_fc/ |
H A D | tfc_conf.c | 116 static ssize_t ft_wwn_show(void *arg, char *buf) argument 118 u64 *wwn = arg; 126 static ssize_t ft_wwn_store(void *arg, const char *buf, size_t len) argument 133 *(u64 *)arg = wwn;
|
/drivers/tty/ |
H A D | bfin_jtag_comm.c | 69 bfin_jc_emudat_manager(void *arg) argument
|
H A D | n_hdlc.c | 185 unsigned int cmd, unsigned long arg); 742 * @arg - argument for IOCTL call (cmd dependent) 747 unsigned int cmd, unsigned long arg) 772 error = put_user(count, (int __user *)arg); 783 error = put_user(count, (int __user *)arg); 787 switch (arg) { 795 error = n_tty_ioctl_helper(tty, file, cmd, arg); 958 /* range check maxframe arg */ 746 n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
|
H A D | n_r3964.c | 90 #define TRACE_M(fmt, arg...) do {} while (0) 95 #define TRACE_PS(fmt, arg...) do {} while (0) 100 #define TRACE_PE(fmt, arg...) do {} while (0) 105 #define TRACE_L(fmt, arg...) do {} while (0) 110 #define TRACE_Q(fmt, arg...) do {} while (0) 121 static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg); 124 static void add_msg(struct r3964_client_info *pClient, int msg_id, int arg, 138 unsigned int cmd, unsigned long arg); 750 static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg) argument 756 if ((arg 839 add_msg(struct r3964_client_info *pClient, int msg_id, int arg, int error_code, struct r3964_block_header *pBlock) argument 1183 r3964_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | pty.c | 160 static int pty_set_lock(struct tty_struct *tty, int __user *arg) argument 163 if (get_user(val, arg)) 172 static int pty_get_lock(struct tty_struct *tty, int __user *arg) argument 175 return put_user(locked, arg); 179 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) argument 184 if (get_user(pktmode, arg)) 201 static int pty_get_pktmode(struct tty_struct *tty, int __user *arg) argument 204 return put_user(pktmode, arg); 457 unsigned int cmd, unsigned long arg) 461 return pty_set_lock(tty, (int __user *) arg); 456 pty_bsd_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 580 pty_unix98_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/tty/ipwireless/ |
H A D | tty.c | 386 unsigned int cmd, unsigned long arg) 400 return ipwireless_get_serial_info(tty, (void __user *) arg); 415 if (put_user(chan, (int __user *) arg)) 427 if (put_user(unit, (int __user *) arg)) 436 if (put_user(val, (int __user *) arg)) 441 return tty_perform_flush(linux_tty, arg); 385 ipw_ioctl(struct tty_struct *linux_tty, unsigned int cmd, unsigned long arg) argument
|
/drivers/tty/serial/ |
H A D | mcf.c | 468 unsigned long arg) 473 if (copy_from_user(&rs485, (struct serial_rs485 *)arg, 481 if (copy_to_user((struct serial_rs485 *)arg, &pp->rs485, 467 mcf_ioctl(struct uart_port *port, unsigned int cmd, unsigned long arg) argument
|
/drivers/tty/vt/ |
H A D | consolemap.c | 300 * arg points to a 256 byte translation table. 306 int con_set_trans_old(unsigned char __user * arg) argument 311 if (!access_ok(VERIFY_READ, arg, E_TABSZ)) 317 __get_user(uc, arg+i); 326 int con_get_trans_old(unsigned char __user * arg) argument 331 if (!access_ok(VERIFY_WRITE, arg, E_TABSZ)) 338 __put_user((ch & ~0xff) ? 0 : ch, arg+i); 344 int con_set_trans_new(ushort __user * arg) argument 349 if (!access_ok(VERIFY_READ, arg, E_TABSZ*sizeof(unsigned short))) 355 __get_user(us, arg 364 con_get_trans_new(ushort __user * arg) argument [all...] |
/drivers/usb/serial/ |
H A D | ark3116.c | 404 unsigned int cmd, unsigned long arg) 408 void __user *user_arg = (void __user *)arg; 403 ark3116_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
|
/drivers/uwb/ |
H A D | drp.c | 58 static void uwb_rc_set_drp_cmd_done(struct uwb_rc *rc, void *arg, argument 606 static void uwb_cnflt_timer(unsigned long arg) argument 608 struct uwb_cnflt_alien *cnflt = (struct uwb_cnflt_alien *)arg;
|
H A D | rsv.c | 26 static void uwb_rsv_timer(unsigned long arg); 201 void uwb_rsv_backoff_win_timer(unsigned long arg) argument 203 struct uwb_drp_backoff_win *bow = (struct uwb_drp_backoff_win *)arg; 944 static void uwb_rsv_timer(unsigned long arg) argument 946 struct uwb_rsv *rsv = (struct uwb_rsv *)arg;
|
/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 453 static irqreturn_t vfio_msihandler(int irq, void *arg) argument 455 struct eventfd_ctx *trigger = arg;
|
/drivers/video/fbdev/ |
H A D | bfin_adv7393fb.c | 116 static int dma_desc_list(struct adv7393fb_device *fbdev, u16 arg) argument 118 if (arg == BUILD) { /* Build */
|
H A D | bw2.c | 172 static int bw2_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) argument 174 return sbusfb_ioctl_helper(cmd, arg, info,
|