Searched refs:sysoff (Results 1 – 1 of 1) sorted by relevance
78 struct ptp_sys_offset sysoff; in ptp_ioctl() local82 if (umove_or_printaddr(tcp, arg, &sysoff)) in ptp_ioctl()85 tprintf("{n_samples=%u", sysoff.n_samples); in ptp_ioctl()96 if (umove(tcp, arg, &sysoff) < 0) { in ptp_ioctl()102 n_samples = sysoff.n_samples > PTP_MAX_SAMPLES ? in ptp_ioctl()103 PTP_MAX_SAMPLES : sysoff.n_samples; in ptp_ioctl()108 (int64_t)sysoff.ts[i].sec, in ptp_ioctl()109 sysoff.ts[i].nsec); in ptp_ioctl()111 if (sysoff.n_samples > PTP_MAX_SAMPLES) in ptp_ioctl()