Searched refs:posix_clock_context (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dposix-clock.h17 struct posix_clock_context;
54 long (*ioctl)(struct posix_clock_context *pccontext, unsigned int cmd,
57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode);
59 __poll_t (*poll)(struct posix_clock_context *pccontext, struct file *file,
62 int (*release)(struct posix_clock_context *pccontext);
64 ssize_t (*read)(struct posix_clock_context *pccontext, uint flags,
95 * struct posix_clock_context - represents clock file operations context
100 * Drivers should use struct posix_clock_context during specific character
107 struct posix_clock_context { struct
/linux-master/drivers/ptp/
H A Dptp_private.h133 long ptp_ioctl(struct posix_clock_context *pccontext, unsigned int cmd,
136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
138 int ptp_release(struct posix_clock_context *pccontext);
140 ssize_t ptp_read(struct posix_clock_context *pccontext, uint flags, char __user *buf,
143 __poll_t ptp_poll(struct posix_clock_context *pccontext, struct file *fp,
H A Dptp_chardev.c105 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode)
141 int ptp_release(struct posix_clock_context *pccontext)
158 long ptp_ioctl(struct posix_clock_context *pccontext, unsigned int cmd,
505 __poll_t ptp_poll(struct posix_clock_context *pccontext, struct file *fp,
523 ssize_t ptp_read(struct posix_clock_context *pccontext, uint rdflags,
/linux-master/kernel/time/
H A Dposix-clock.c22 struct posix_clock_context *pccontext = fp->private_data;
43 struct posix_clock_context *pccontext = fp->private_data;
60 struct posix_clock_context *pccontext = fp->private_data;
78 struct posix_clock_context *pccontext = fp->private_data;
97 struct posix_clock_context *pccontext = fp->private_data;
118 struct posix_clock_context *pccontext;
150 struct posix_clock_context *pccontext = fp->private_data;

Completed in 103 milliseconds