summaryrefslogtreecommitdiffstats
path: root/include/linux/posix-clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/posix-clock.h')
-rw-r--r--include/linux/posix-clock.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/posix-clock.h b/include/linux/posix-clock.h
index 83b22ae9ae12..38d8225510f1 100644
--- a/include/linux/posix-clock.h
+++ b/include/linux/posix-clock.h
@@ -42,12 +42,6 @@ struct posix_clock;
42 * @clock_gettime: Read the current time 42 * @clock_gettime: Read the current time
43 * @clock_getres: Get the clock resolution 43 * @clock_getres: Get the clock resolution
44 * @clock_settime: Set the current time value 44 * @clock_settime: Set the current time value
45 * @timer_create: Create a new timer
46 * @timer_delete: Remove a previously created timer
47 * @timer_gettime: Get remaining time and interval of a timer
48 * @timer_settime: Set a timer's initial expiration and interval
49 * @fasync: Optional character device fasync method
50 * @mmap: Optional character device mmap method
51 * @open: Optional character device open method 45 * @open: Optional character device open method
52 * @release: Optional character device release method 46 * @release: Optional character device release method
53 * @ioctl: Optional character device ioctl method 47 * @ioctl: Optional character device ioctl method
@@ -66,28 +60,12 @@ struct posix_clock_operations {
66 int (*clock_settime)(struct posix_clock *pc, 60 int (*clock_settime)(struct posix_clock *pc,
67 const struct timespec64 *ts); 61 const struct timespec64 *ts);
68 62
69 int (*timer_create) (struct posix_clock *pc, struct k_itimer *kit);
70
71 int (*timer_delete) (struct posix_clock *pc, struct k_itimer *kit);
72
73 void (*timer_gettime)(struct posix_clock *pc,
74 struct k_itimer *kit, struct itimerspec64 *tsp);
75
76 int (*timer_settime)(struct posix_clock *pc,
77 struct k_itimer *kit, int flags,
78 struct itimerspec64 *tsp, struct itimerspec64 *old);
79 /* 63 /*
80 * Optional character device methods: 64 * Optional character device methods:
81 */ 65 */
82 int (*fasync) (struct posix_clock *pc,
83 int fd, struct file *file, int on);
84
85 long (*ioctl) (struct posix_clock *pc, 66 long (*ioctl) (struct posix_clock *pc,
86 unsigned int cmd, unsigned long arg); 67 unsigned int cmd, unsigned long arg);
87 68
88 int (*mmap) (struct posix_clock *pc,
89 struct vm_area_struct *vma);
90
91 int (*open) (struct posix_clock *pc, fmode_t f_mode); 69 int (*open) (struct posix_clock *pc, fmode_t f_mode);
92 70
93 uint (*poll) (struct posix_clock *pc, 71 uint (*poll) (struct posix_clock *pc,