Home
last modified time | relevance | path

Searched refs:rose_cause (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/rose/
Daf_rose.c1336 struct rose_cause_struct rose_cause; in rose_ioctl() local
1337 rose_cause.cause = rose->cause; in rose_ioctl()
1338 rose_cause.diagnostic = rose->diagnostic; in rose_ioctl()
1339 return copy_to_user(argp, &rose_cause, sizeof(struct rose_cause_struct)) ? -EFAULT : 0; in rose_ioctl()
1343 struct rose_cause_struct rose_cause; in rose_ioctl() local
1344 if (copy_from_user(&rose_cause, argp, sizeof(struct rose_cause_struct))) in rose_ioctl()
1346 rose->cause = rose_cause.cause; in rose_ioctl()
1347 rose->diagnostic = rose_cause.diagnostic; in rose_ioctl()