Home
last modified time | relevance | path

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

/Linux-v6.6/net/rose/
Daf_rose.c1344 struct rose_cause_struct rose_cause; in rose_ioctl() local
1345 rose_cause.cause = rose->cause; in rose_ioctl()
1346 rose_cause.diagnostic = rose->diagnostic; in rose_ioctl()
1347 return copy_to_user(argp, &rose_cause, sizeof(struct rose_cause_struct)) ? -EFAULT : 0; in rose_ioctl()
1351 struct rose_cause_struct rose_cause; in rose_ioctl() local
1352 if (copy_from_user(&rose_cause, argp, sizeof(struct rose_cause_struct))) in rose_ioctl()
1354 rose->cause = rose_cause.cause; in rose_ioctl()
1355 rose->diagnostic = rose_cause.diagnostic; in rose_ioctl()