~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/kernel/time/posix-timers.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /kernel/time/posix-timers.h (Version linux-6.12-rc7) and /kernel/time/posix-timers.h (Version linux-5.19.17)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #define TIMER_RETRY 1                               2 #define TIMER_RETRY 1
  3                                                     3 
  4 struct k_clock {                                    4 struct k_clock {
  5         int     (*clock_getres)(const clockid_      5         int     (*clock_getres)(const clockid_t which_clock,
  6                                 struct timespe      6                                 struct timespec64 *tp);
  7         int     (*clock_set)(const clockid_t w      7         int     (*clock_set)(const clockid_t which_clock,
  8                              const struct time      8                              const struct timespec64 *tp);
  9         /* Returns the clock value in the curr      9         /* Returns the clock value in the current time namespace. */
 10         int     (*clock_get_timespec)(const cl     10         int     (*clock_get_timespec)(const clockid_t which_clock,
 11                                       struct t     11                                       struct timespec64 *tp);
 12         /* Returns the clock value in the root     12         /* Returns the clock value in the root time namespace. */
 13         ktime_t (*clock_get_ktime)(const clock     13         ktime_t (*clock_get_ktime)(const clockid_t which_clock);
 14         int     (*clock_adj)(const clockid_t w     14         int     (*clock_adj)(const clockid_t which_clock, struct __kernel_timex *tx);
 15         int     (*timer_create)(struct k_itime     15         int     (*timer_create)(struct k_itimer *timer);
 16         int     (*nsleep)(const clockid_t whic     16         int     (*nsleep)(const clockid_t which_clock, int flags,
 17                           const struct timespe     17                           const struct timespec64 *);
 18         int     (*timer_set)(struct k_itimer *     18         int     (*timer_set)(struct k_itimer *timr, int flags,
 19                              struct itimerspec     19                              struct itimerspec64 *new_setting,
 20                              struct itimerspec     20                              struct itimerspec64 *old_setting);
 21         int     (*timer_del)(struct k_itimer *     21         int     (*timer_del)(struct k_itimer *timr);
 22         void    (*timer_get)(struct k_itimer *     22         void    (*timer_get)(struct k_itimer *timr,
 23                              struct itimerspec     23                              struct itimerspec64 *cur_setting);
 24         void    (*timer_rearm)(struct k_itimer     24         void    (*timer_rearm)(struct k_itimer *timr);
 25         s64     (*timer_forward)(struct k_itim     25         s64     (*timer_forward)(struct k_itimer *timr, ktime_t now);
 26         ktime_t (*timer_remaining)(struct k_it     26         ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now);
 27         int     (*timer_try_to_cancel)(struct      27         int     (*timer_try_to_cancel)(struct k_itimer *timr);
 28         void    (*timer_arm)(struct k_itimer *     28         void    (*timer_arm)(struct k_itimer *timr, ktime_t expires,
 29                              bool absolute, bo     29                              bool absolute, bool sigev_none);
 30         void    (*timer_wait_running)(struct k     30         void    (*timer_wait_running)(struct k_itimer *timr);
 31 };                                                 31 };
 32                                                    32 
 33 extern const struct k_clock clock_posix_cpu;       33 extern const struct k_clock clock_posix_cpu;
 34 extern const struct k_clock clock_posix_dynami     34 extern const struct k_clock clock_posix_dynamic;
 35 extern const struct k_clock clock_process;         35 extern const struct k_clock clock_process;
 36 extern const struct k_clock clock_thread;          36 extern const struct k_clock clock_thread;
 37 extern const struct k_clock alarm_clock;           37 extern const struct k_clock alarm_clock;
 38                                                    38 
 39 int posix_timer_queue_signal(struct k_itimer * !!  39 int posix_timer_event(struct k_itimer *timr, int si_private);
 40                                                    40 
 41 void common_timer_get(struct k_itimer *timr, s     41 void common_timer_get(struct k_itimer *timr, struct itimerspec64 *cur_setting);
 42 int common_timer_set(struct k_itimer *timr, in     42 int common_timer_set(struct k_itimer *timr, int flags,
 43                      struct itimerspec64 *new_     43                      struct itimerspec64 *new_setting,
 44                      struct itimerspec64 *old_     44                      struct itimerspec64 *old_setting);
 45 void posix_timer_set_common(struct k_itimer *t << 
 46 int common_timer_del(struct k_itimer *timer);      45 int common_timer_del(struct k_itimer *timer);
 47                                                    46 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php