Searched refs:sioc (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/net/atm/ |
D | ioctl.c | 280 struct atmif_sioc __user *sioc; in do_atmif_sioc() local 286 sioc = compat_alloc_user_space(sizeof(*sioc)); in do_atmif_sioc() 289 if (copy_in_user(&sioc->number, &sioc32->number, 2 * sizeof(int)) || in do_atmif_sioc() 293 if (put_user(datap, &sioc->arg)) in do_atmif_sioc() 296 err = do_vcc_ioctl(sock, cmd, (unsigned long) sioc, 0); in do_atmif_sioc() 299 if (copy_in_user(&sioc32->length, &sioc->length, in do_atmif_sioc()
|
D | resources.c | 272 struct atmif_sioc __user *sioc = arg; in atm_dev_ioctl() local 274 sioc_len = &sioc->length; in atm_dev_ioctl() 275 if (get_user(buf, &sioc->arg)) in atm_dev_ioctl() 277 if (get_user(len, &sioc->length)) in atm_dev_ioctl() 279 if (get_user(number, &sioc->number)) in atm_dev_ioctl()
|