Searched refs:uarg (Results 1 – 1 of 1) sorted by relevance
/block/ |
D | bsg.c | 136 static int bsg_sg_io(struct request_queue *q, fmode_t mode, void __user *uarg) in bsg_sg_io() argument 143 if (copy_from_user(&hdr, uarg, sizeof(hdr))) in bsg_sg_io() 194 if (!ret && copy_to_user(uarg, &hdr, sizeof(hdr))) in bsg_sg_io() 337 static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg) in bsg_get_command_q() argument 339 return put_user(bd->max_queue, uarg); in bsg_get_command_q() 342 static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg) in bsg_set_command_q() argument 346 if (get_user(queue, uarg)) in bsg_set_command_q() 360 void __user *uarg = (void __user *) arg; in bsg_ioctl() local 367 return bsg_get_command_q(bd, uarg); in bsg_ioctl() 369 return bsg_set_command_q(bd, uarg); in bsg_ioctl() [all …]
|