# 0 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "./config.h" 1 # 0 "" 2 # 1 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" # 1 "/usr/include/errno.h" 1 3 4 # 25 "/usr/include/errno.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 394 "/usr/include/features.h" 3 4 # 1 "/usr/include/features-time64.h" 1 3 4 # 20 "/usr/include/features-time64.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 21 "/usr/include/features-time64.h" 2 3 4 # 1 "/usr/include/bits/timesize.h" 1 3 4 # 22 "/usr/include/features-time64.h" 2 3 4 # 395 "/usr/include/features.h" 2 3 4 # 503 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 576 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 577 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/include/bits/long-double.h" 1 3 4 # 578 "/usr/include/sys/cdefs.h" 2 3 4 # 504 "/usr/include/features.h" 2 3 4 # 527 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-hard.h" 1 3 4 # 11 "/usr/include/gnu/stubs.h" 2 3 4 # 528 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/errno.h" 2 3 4 # 1 "/usr/include/bits/errno.h" 1 3 4 # 26 "/usr/include/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 6 "/usr/include/asm-generic/errno.h" 2 3 4 # 2 "/usr/include/asm/errno.h" 2 3 4 # 2 "/usr/include/linux/errno.h" 2 3 4 # 27 "/usr/include/bits/errno.h" 2 3 4 # 29 "/usr/include/errno.h" 2 3 4 # 37 "/usr/include/errno.h" 3 4 extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern char *program_invocation_name; extern char *program_invocation_short_name; # 1 "/usr/include/bits/types/error_t.h" 1 3 4 # 22 "/usr/include/bits/types/error_t.h" 3 4 typedef int error_t; # 49 "/usr/include/errno.h" 2 3 4 # 4 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/math.h" 1 3 4 # 27 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 28 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 27 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/include/bits/timesize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; typedef __int8_t __int_least8_t; typedef __uint8_t __uint_least8_t; typedef __int16_t __int_least16_t; typedef __uint16_t __uint_least16_t; typedef __int32_t __int_least32_t; typedef __uint32_t __uint_least32_t; typedef __int64_t __int_least64_t; typedef __uint64_t __uint_least64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; __extension__ typedef long long int __intmax_t; __extension__ typedef unsigned long long int __uintmax_t; # 141 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 142 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/include/bits/time64.h" 1 3 4 # 143 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __uint64_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __uint64_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __int64_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __uint64_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef __int64_t __suseconds64_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __int64_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __uint64_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __uint64_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; typedef int __sig_atomic_t; __extension__ typedef __int64_t __time64_t; # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/math-vector.h" 1 3 4 # 27 "/usr/include/bits/math-vector.h" 3 4 # 1 "/usr/include/bits/libm-simd-decl-stubs.h" 1 3 4 # 28 "/usr/include/bits/math-vector.h" 2 3 4 # 41 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/floatn.h" 1 3 4 # 52 "/usr/include/bits/floatn.h" 3 4 # 1 "/usr/include/bits/floatn-common.h" 1 3 4 # 24 "/usr/include/bits/floatn-common.h" 3 4 # 1 "/usr/include/bits/long-double.h" 1 3 4 # 25 "/usr/include/bits/floatn-common.h" 2 3 4 # 53 "/usr/include/bits/floatn.h" 2 3 4 # 44 "/usr/include/math.h" 2 3 4 # 152 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/flt-eval-method.h" 1 3 4 # 153 "/usr/include/math.h" 2 3 4 # 163 "/usr/include/math.h" 3 4 typedef float float_t; typedef double double_t; # 204 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/fp-logb.h" 1 3 4 # 205 "/usr/include/math.h" 2 3 4 # 247 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/fp-fast.h" 1 3 4 # 248 "/usr/include/math.h" 2 3 4 enum { FP_INT_UPWARD = 0, FP_INT_DOWNWARD = 1, FP_INT_TOWARDZERO = 2, FP_INT_TONEARESTFROMZERO = 3, FP_INT_TONEAREST = 4, }; # 312 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsig (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignaling (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 313 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern double exp10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double nextdown (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nextdown (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextup (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nextup (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double roundeven (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __roundeven (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfp (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfp (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfp (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfp (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpx (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpx (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpx (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpx (double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalize (double *__cx, const double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern double fmaxmag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmaxmag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fminmag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fminmag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmaximum (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmaximum (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fminimum (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fminimum (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmaximum_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmaximum_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fminimum_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fminimum_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmaximum_mag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmaximum_mag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fminimum_mag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fminimum_mag (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmaximum_mag_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmaximum_mag_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fminimum_mag_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fminimum_mag_num (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorder (const double *__x, const double *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermag (const double *__x, const double *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern double getpayload (const double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern double __getpayload (const double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayload (double *__x, double __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsig (double *__x, double __payload) __attribute__ ((__nothrow__ , __leaf__)); extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); # 314 "/usr/include/math.h" 2 3 4 # 329 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsigf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignalingf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 330 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern float exp10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float nextdownf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nextdownf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextupf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nextupf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float roundevenf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundevenf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfpf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpxf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpxf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpxf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpxf (float __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalizef (float *__cx, const float *__x) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxmagf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxmagf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminmagf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminmagf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaximumf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaximumf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminimumf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminimumf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaximum_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaximum_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminimum_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminimum_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaximum_magf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaximum_magf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminimum_magf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminimum_magf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaximum_mag_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaximum_mag_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminimum_mag_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminimum_mag_numf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorderf (const float *__x, const float *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermagf (const float *__x, const float *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern float getpayloadf (const float *__x) __attribute__ ((__nothrow__ , __leaf__)); extern float __getpayloadf (const float *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadf (float *__x, float __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsigf (float *__x, float __payload) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); # 331 "/usr/include/math.h" 2 3 4 # 398 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsigl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignalingl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 399 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern long double exp10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextdownl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nextdownl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextupl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nextupl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundevenl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundevenl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfpl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpxl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpxl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpxl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpxl (long double __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalizel (long double *__cx, const long double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxmagl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxmagl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminmagl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminmagl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmaximuml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaximuml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminimuml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminimuml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmaximum_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaximum_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminimum_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminimum_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmaximum_magl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaximum_magl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminimum_magl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminimum_magl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmaximum_mag_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaximum_mag_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminimum_mag_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminimum_mag_numl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorderl (const long double *__x, const long double *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermagl (const long double *__x, const long double *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern long double getpayloadl (const long double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __getpayloadl (const long double *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadl (long double *__x, long double __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsigl (long double *__x, long double __payload) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); # 400 "/usr/include/math.h" 2 3 4 # 450 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32 acosf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __acosf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 asinf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __asinf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 atanf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __atanf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 atan2f32 (_Float32 __y, _Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __atan2f32 (_Float32 __y, _Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 cosf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __cosf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 sinf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __sinf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 tanf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __tanf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 coshf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __coshf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 sinhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __sinhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 tanhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __tanhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincosf32 (_Float32 __x, _Float32 *__sinx, _Float32 *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincosf32 (_Float32 __x, _Float32 *__sinx, _Float32 *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern _Float32 acoshf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __acoshf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 asinhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __asinhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 atanhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __atanhf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 expf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __expf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 frexpf32 (_Float32 __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __frexpf32 (_Float32 __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 ldexpf32 (_Float32 __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __ldexpf32 (_Float32 __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 logf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __logf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 log10f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __log10f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 modff32 (_Float32 __x, _Float32 *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __modff32 (_Float32 __x, _Float32 *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern _Float32 exp10f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __exp10f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 expm1f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __expm1f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 log1pf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __log1pf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 logbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __logbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 exp2f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __exp2f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 log2f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __log2f32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 powf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __powf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 sqrtf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __sqrtf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 hypotf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __hypotf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 cbrtf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __cbrtf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 ceilf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __ceilf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fabsf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fabsf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 floorf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __floorf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmodf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __fmodf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); # 198 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32 copysignf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __copysignf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 nanf32 (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __nanf32 (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 220 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32 j0f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __j0f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 j1f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __j1f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 jnf32 (int, _Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __jnf32 (int, _Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 y0f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __y0f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 y1f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __y1f32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 ynf32 (int, _Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __ynf32 (int, _Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 erff32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __erff32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 erfcf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __erfcf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 lgammaf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __lgammaf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 tgammaf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __tgammaf32 (_Float32) __attribute__ ((__nothrow__ , __leaf__)); # 252 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32 lgammaf32_r (_Float32, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __lgammaf32_r (_Float32, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 rintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __rintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 nextafterf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __nextafterf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 nextdownf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __nextdownf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 nextupf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __nextupf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 remainderf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __remainderf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 scalbnf32 (_Float32 __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __scalbnf32 (_Float32 __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogbf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 scalblnf32 (_Float32 __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __scalblnf32 (_Float32 __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 nearbyintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __nearbyintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 roundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __roundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 truncf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __truncf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 remquof32 (_Float32 __x, _Float32 __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __remquof32 (_Float32 __x, _Float32 __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 fdimf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __fdimf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 fmaxf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaxf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmaf32 (_Float32 __x, _Float32 __y, _Float32 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __fmaf32 (_Float32 __x, _Float32 __y, _Float32 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 roundevenf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __roundevenf32 (_Float32 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfpf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpxf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpxf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpxf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpxf32 (_Float32 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalizef32 (_Float32 *__cx, const _Float32 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 fmaxmagf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaxmagf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminmagf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminmagf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmaximumf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaximumf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminimumf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminimumf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmaximum_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaximum_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminimum_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminimum_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmaximum_magf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaximum_magf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminimum_magf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminimum_magf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fmaximum_mag_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fmaximum_mag_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 fminimum_mag_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32 __fminimum_mag_numf32 (_Float32 __x, _Float32 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorderf32 (const _Float32 *__x, const _Float32 *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermagf32 (const _Float32 *__x, const _Float32 *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern _Float32 getpayloadf32 (const _Float32 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 __getpayloadf32 (const _Float32 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadf32 (_Float32 *__x, _Float32 __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsigf32 (_Float32 *__x, _Float32 __payload) __attribute__ ((__nothrow__ , __leaf__)); # 451 "/usr/include/math.h" 2 3 4 # 467 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern _Float64 acosf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __acosf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 asinf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __asinf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 atanf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __atanf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 atan2f64 (_Float64 __y, _Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __atan2f64 (_Float64 __y, _Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 cosf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __cosf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 sinf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __sinf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 tanf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __tanf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 coshf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __coshf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 sinhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __sinhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 tanhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __tanhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincosf64 (_Float64 __x, _Float64 *__sinx, _Float64 *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincosf64 (_Float64 __x, _Float64 *__sinx, _Float64 *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern _Float64 acoshf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __acoshf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 asinhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __asinhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 atanhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __atanhf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 expf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __expf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 frexpf64 (_Float64 __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __frexpf64 (_Float64 __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 ldexpf64 (_Float64 __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __ldexpf64 (_Float64 __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 logf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __logf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 log10f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __log10f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 modff64 (_Float64 __x, _Float64 *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __modff64 (_Float64 __x, _Float64 *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern _Float64 exp10f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __exp10f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 expm1f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __expm1f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 log1pf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __log1pf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 logbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __logbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 exp2f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __exp2f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 log2f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __log2f64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 powf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __powf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 sqrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __sqrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 hypotf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __hypotf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 cbrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __cbrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 ceilf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __ceilf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fabsf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fabsf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 floorf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __floorf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmodf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __fmodf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); # 198 "/usr/include/bits/mathcalls.h" 3 4 extern _Float64 copysignf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __copysignf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 nanf64 (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __nanf64 (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 220 "/usr/include/bits/mathcalls.h" 3 4 extern _Float64 j0f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __j0f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 j1f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __j1f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 jnf64 (int, _Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __jnf64 (int, _Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 y0f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __y0f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 y1f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __y1f64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 ynf64 (int, _Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __ynf64 (int, _Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 erff64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __erff64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 erfcf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __erfcf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 lgammaf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __lgammaf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 tgammaf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __tgammaf64 (_Float64) __attribute__ ((__nothrow__ , __leaf__)); # 252 "/usr/include/bits/mathcalls.h" 3 4 extern _Float64 lgammaf64_r (_Float64, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __lgammaf64_r (_Float64, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 rintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __rintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 nextafterf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __nextafterf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 nextdownf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __nextdownf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 nextupf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __nextupf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 remainderf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __remainderf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 scalbnf64 (_Float64 __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __scalbnf64 (_Float64 __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogbf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 scalblnf64 (_Float64 __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __scalblnf64 (_Float64 __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 nearbyintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __nearbyintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 roundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __roundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 truncf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __truncf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 remquof64 (_Float64 __x, _Float64 __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __remquof64 (_Float64 __x, _Float64 __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 fdimf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __fdimf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 fmaxf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaxf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __fmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 roundevenf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __roundevenf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfpf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpxf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpxf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpxf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpxf64 (_Float64 __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalizef64 (_Float64 *__cx, const _Float64 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 fmaxmagf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaxmagf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminmagf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminmagf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmaximumf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaximumf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminimumf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminimumf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmaximum_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaximum_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminimum_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminimum_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmaximum_magf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaximum_magf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminimum_magf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminimum_magf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fmaximum_mag_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fmaximum_mag_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 fminimum_mag_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float64 __fminimum_mag_numf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorderf64 (const _Float64 *__x, const _Float64 *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermagf64 (const _Float64 *__x, const _Float64 *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern _Float64 getpayloadf64 (const _Float64 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float64 __getpayloadf64 (const _Float64 *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadf64 (_Float64 *__x, _Float64 __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsigf64 (_Float64 *__x, _Float64 __payload) __attribute__ ((__nothrow__ , __leaf__)); # 468 "/usr/include/math.h" 2 3 4 # 501 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32x acosf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __acosf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x asinf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __asinf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x atanf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __atanf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x atan2f32x (_Float32x __y, _Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __atan2f32x (_Float32x __y, _Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x cosf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __cosf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x sinf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __sinf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x tanf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __tanf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x coshf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __coshf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x sinhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __sinhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x tanhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __tanhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern void sincosf32x (_Float32x __x, _Float32x *__sinx, _Float32x *__cosx) __attribute__ ((__nothrow__ , __leaf__)); extern void __sincosf32x (_Float32x __x, _Float32x *__sinx, _Float32x *__cosx) __attribute__ ((__nothrow__ , __leaf__)) ; extern _Float32x acoshf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __acoshf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x asinhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __asinhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x atanhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __atanhf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x expf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __expf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x frexpf32x (_Float32x __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __frexpf32x (_Float32x __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x ldexpf32x (_Float32x __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __ldexpf32x (_Float32x __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x logf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __logf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x log10f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __log10f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x modff32x (_Float32x __x, _Float32x *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __modff32x (_Float32x __x, _Float32x *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern _Float32x exp10f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __exp10f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x expm1f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __expm1f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x log1pf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __log1pf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x logbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __logbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x exp2f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __exp2f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x log2f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __log2f32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x powf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __powf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x sqrtf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __sqrtf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x hypotf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __hypotf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x cbrtf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __cbrtf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x ceilf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __ceilf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fabsf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fabsf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x floorf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __floorf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmodf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __fmodf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); # 198 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32x copysignf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __copysignf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x nanf32x (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __nanf32x (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 220 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32x j0f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __j0f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x j1f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __j1f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x jnf32x (int, _Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __jnf32x (int, _Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x y0f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __y0f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x y1f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __y1f32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x ynf32x (int, _Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __ynf32x (int, _Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x erff32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __erff32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x erfcf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __erfcf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x lgammaf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __lgammaf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x tgammaf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __tgammaf32x (_Float32x) __attribute__ ((__nothrow__ , __leaf__)); # 252 "/usr/include/bits/mathcalls.h" 3 4 extern _Float32x lgammaf32x_r (_Float32x, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __lgammaf32x_r (_Float32x, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x rintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __rintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x nextafterf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __nextafterf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x nextdownf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __nextdownf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x nextupf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __nextupf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x remainderf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __remainderf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x scalbnf32x (_Float32x __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __scalbnf32x (_Float32x __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int llogbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __llogbf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x scalblnf32x (_Float32x __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __scalblnf32x (_Float32x __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x nearbyintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __nearbyintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x roundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __roundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x truncf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __truncf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x remquof32x (_Float32x __x, _Float32x __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __remquof32x (_Float32x __x, _Float32x __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x fdimf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __fdimf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x fmaxf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaxf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmaf32x (_Float32x __x, _Float32x __y, _Float32x __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __fmaf32x (_Float32x __x, _Float32x __y, _Float32x __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x roundevenf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __roundevenf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __intmax_t fromfpf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __intmax_t fromfpxf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __intmax_t __fromfpxf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern __uintmax_t ufromfpxf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)); extern __uintmax_t __ufromfpxf32x (_Float32x __x, int __round, unsigned int __width) __attribute__ ((__nothrow__ , __leaf__)) ; extern int canonicalizef32x (_Float32x *__cx, const _Float32x *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x fmaxmagf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaxmagf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminmagf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminmagf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmaximumf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaximumf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminimumf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminimumf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmaximum_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaximum_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminimum_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminimum_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmaximum_magf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaximum_magf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminimum_magf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminimum_magf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fmaximum_mag_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fmaximum_mag_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x fminimum_mag_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern _Float32x __fminimum_mag_numf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int totalorderf32x (const _Float32x *__x, const _Float32x *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int totalordermagf32x (const _Float32x *__x, const _Float32x *__y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern _Float32x getpayloadf32x (const _Float32x *__x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x __getpayloadf32x (const _Float32x *__x) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadf32x (_Float32x *__x, _Float32x __payload) __attribute__ ((__nothrow__ , __leaf__)); extern int setpayloadsigf32x (_Float32x *__x, _Float32x __payload) __attribute__ ((__nothrow__ , __leaf__)); # 502 "/usr/include/math.h" 2 3 4 # 566 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern float fadd (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fdiv (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float ffma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern float fmul (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fsqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fsub (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); # 567 "/usr/include/math.h" 2 3 4 # 587 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern float faddl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fdivl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float ffmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern float fmull (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fsqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fsubl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 588 "/usr/include/math.h" 2 3 4 # 616 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern double daddl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double ddivl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double dfmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double dmull (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double dsqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double dsubl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 617 "/usr/include/math.h" 2 3 4 # 697 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern _Float32 f32addf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32divf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32fmaf32x (_Float32x __x, _Float32x __y, _Float32x __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32mulf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32sqrtf32x (_Float32x __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32subf32x (_Float32x __x, _Float32x __y) __attribute__ ((__nothrow__ , __leaf__)); # 698 "/usr/include/math.h" 2 3 4 # 707 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern _Float32 f32addf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32divf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32fmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32mulf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32sqrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32 f32subf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); # 708 "/usr/include/math.h" 2 3 4 # 747 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls-narrow.h" 1 3 4 # 24 "/usr/include/bits/mathcalls-narrow.h" 3 4 extern _Float32x f32xaddf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x f32xdivf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x f32xfmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x f32xmulf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x f32xsqrtf64 (_Float64 __x) __attribute__ ((__nothrow__ , __leaf__)); extern _Float32x f32xsubf64 (_Float64 __x, _Float64 __y) __attribute__ ((__nothrow__ , __leaf__)); # 748 "/usr/include/math.h" 2 3 4 # 854 "/usr/include/math.h" 3 4 extern int signgam; # 934 "/usr/include/math.h" 3 4 enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 1055 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/iscanonical.h" 1 3 4 # 1056 "/usr/include/math.h" 2 3 4 # 1472 "/usr/include/math.h" 3 4 # 5 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/netinet/in.h" 1 3 4 # 22 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/bits/stdint-uintn.h" 1 3 4 # 24 "/usr/include/bits/stdint-uintn.h" 3 4 typedef __uint8_t uint8_t; typedef __uint16_t uint16_t; typedef __uint32_t uint32_t; typedef __uint64_t uint64_t; # 23 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/sys/socket.h" 1 3 4 # 24 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/bits/types/struct_iovec.h" 1 3 4 # 23 "/usr/include/bits/types/struct_iovec.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 214 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 typedef unsigned int size_t; # 24 "/usr/include/bits/types/struct_iovec.h" 2 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 27 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 29 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 27 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 28 "/usr/include/bits/socket.h" 2 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino64_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off64_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 typedef __clock_t clock_t; # 127 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 typedef __clockid_t clockid_t; # 129 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 # 10 "/usr/include/bits/types/time_t.h" 3 4 typedef __time_t time_t; # 130 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 typedef __timer_t timer_t; # 131 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 145 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 # 24 "/usr/include/bits/stdint-intn.h" 3 4 typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; # 156 "/usr/include/sys/types.h" 2 3 4 typedef __uint8_t u_int8_t; typedef __uint16_t u_int16_t; typedef __uint32_t u_int32_t; typedef __uint64_t u_int64_t; typedef int register_t __attribute__ ((__mode__ (__word__))); # 176 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 24 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 35 "/usr/include/bits/endian.h" 3 4 # 1 "/usr/include/bits/endianness.h" 1 3 4 # 36 "/usr/include/bits/endian.h" 2 3 4 # 25 "/usr/include/endian.h" 2 3 4 # 35 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 33 "/usr/include/bits/byteswap.h" 3 4 static __inline __uint16_t __bswap_16 (__uint16_t __bsx) { return __builtin_bswap16 (__bsx); } static __inline __uint32_t __bswap_32 (__uint32_t __bsx) { return __builtin_bswap32 (__bsx); } # 69 "/usr/include/bits/byteswap.h" 3 4 __extension__ static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 36 "/usr/include/endian.h" 2 3 4 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 # 32 "/usr/include/bits/uintn-identity.h" 3 4 static __inline __uint16_t __uint16_identity (__uint16_t __x) { return __x; } static __inline __uint32_t __uint32_identity (__uint32_t __x) { return __x; } static __inline __uint64_t __uint64_identity (__uint64_t __x) { return __x; } # 37 "/usr/include/endian.h" 2 3 4 # 177 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 30 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 typedef __sigset_t sigset_t; # 34 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 38 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 # 11 "/usr/include/bits/types/struct_timespec.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; # 31 "/usr/include/bits/types/struct_timespec.h" 3 4 }; # 40 "/usr/include/sys/select.h" 2 3 4 # 49 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 59 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 91 "/usr/include/sys/select.h" 3 4 # 102 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 127 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 150 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select2.h" 1 3 4 # 23 "/usr/include/bits/select2.h" 3 4 # 1 "/usr/include/bits/select-decl.h" 1 3 4 # 27 "/usr/include/bits/select-decl.h" 3 4 extern long int __fdelt_chk (long int __d); extern long int __fdelt_warn (long int __d) __attribute__((__warning__ ("bit outside of fd_set selected"))); # 24 "/usr/include/bits/select2.h" 2 3 4 # 151 "/usr/include/sys/select.h" 2 3 4 # 180 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; # 205 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt_t; typedef __fsblkcnt64_t fsblkcnt_t; typedef __fsfilcnt64_t fsfilcnt_t; typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 # 44 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes-arch.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes-arch.h" 2 3 4 # 45 "/usr/include/bits/thread-shared-types.h" 2 3 4 # 1 "/usr/include/bits/atomic_wide_counter.h" 1 3 4 # 25 "/usr/include/bits/atomic_wide_counter.h" 3 4 typedef union { __extension__ unsigned long long int __value64; struct { unsigned int __low; unsigned int __high; } __value32; } __atomic_wide_counter; # 47 "/usr/include/bits/thread-shared-types.h" 2 3 4 typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; # 76 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/struct_mutex.h" 1 3 4 # 27 "/usr/include/bits/struct_mutex.h" 3 4 struct __pthread_mutex_s { int __lock ; unsigned int __count; int __owner; # 58 "/usr/include/bits/struct_mutex.h" 3 4 int __kind; unsigned int __nusers; __extension__ union { int __spins; __pthread_slist_t __list; }; }; # 77 "/usr/include/bits/thread-shared-types.h" 2 3 4 # 89 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/struct_rwlock.h" 1 3 4 # 29 "/usr/include/bits/struct_rwlock.h" 3 4 struct __pthread_rwlock_arch_t { unsigned int __readers; unsigned int __writers; unsigned int __wrphase_futex; unsigned int __writers_futex; unsigned int __pad3; unsigned int __pad4; # 45 "/usr/include/bits/struct_rwlock.h" 3 4 unsigned char __flags; unsigned char __shared; unsigned char __pad1; unsigned char __pad2; int __cur_writer; }; # 90 "/usr/include/bits/thread-shared-types.h" 2 3 4 struct __pthread_cond_s { __atomic_wide_counter __wseq; __atomic_wide_counter __g1_start; unsigned int __g_refs[2] ; unsigned int __g_size[2]; unsigned int __g1_orig_size; unsigned int __wrefs; unsigned int __g_signals[2]; }; typedef unsigned int __tss_t; typedef unsigned long int __thrd_t; typedef struct { int __data ; } __once_flag; # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 typedef unsigned long int pthread_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef union { struct __pthread_mutex_s __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { struct __pthread_cond_s __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { struct __pthread_rwlock_arch_t __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 228 "/usr/include/sys/types.h" 2 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; # 1 "/usr/include/bits/socket_type.h" 1 3 4 # 24 "/usr/include/bits/socket_type.h" 3 4 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 39 "/usr/include/bits/socket.h" 2 3 4 # 180 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 28 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 181 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 196 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))]; unsigned long int __ss_align; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_TRYHARD = MSG_DONTROUTE, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_BATCH = 0x40000, MSG_ZEROCOPY = 0x4000000, MSG_FASTOPEN = 0x20000000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 316 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); extern __inline __attribute__ ((__gnu_inline__)) struct cmsghdr * __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { unsigned char * __msg_control_ptr = (unsigned char *) __mhdr->msg_control; unsigned char * __cmsg_ptr = (unsigned char *) __cmsg; size_t __size_needed = sizeof (struct cmsghdr) + ((sizeof (size_t) - ((__cmsg->cmsg_len) & (sizeof (size_t) - 1))) & (sizeof (size_t) - 1)); if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return (struct cmsghdr *) 0; if (((size_t) (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr) < __size_needed) || ((size_t) (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr - __size_needed) < __cmsg->cmsg_len)) return (struct cmsghdr *) 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); return __cmsg; } enum { SCM_RIGHTS = 0x01 , SCM_CREDENTIALS = 0x02 }; struct ucred { pid_t pid; uid_t uid; gid_t gid; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/linux/posix_types.h" 1 3 4 # 1 "../systemd-stable-254.8/src/basic/linux/stddef.h" 1 3 4 # 6 "/usr/include/linux/posix_types.h" 2 3 4 # 25 "/usr/include/linux/posix_types.h" 3 4 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/asm/posix_types.h" 1 3 4 # 23 "/usr/include/asm/posix_types.h" 3 4 typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_ipc_pid_t; typedef unsigned short __kernel_uid_t; typedef unsigned short __kernel_gid_t; typedef unsigned short __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 # 1 "/usr/include/asm/bitsperlong.h" 1 3 4 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 # 2 "/usr/include/asm/bitsperlong.h" 2 3 4 # 6 "/usr/include/asm-generic/posix_types.h" 2 3 4 # 15 "/usr/include/asm-generic/posix_types.h" 3 4 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef int __kernel_pid_t; # 41 "/usr/include/asm-generic/posix_types.h" 3 4 typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; # 68 "/usr/include/asm-generic/posix_types.h" 3 4 typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; # 79 "/usr/include/asm-generic/posix_types.h" 3 4 typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_old_time_t; typedef __kernel_long_t __kernel_time_t; typedef long long __kernel_time64_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 37 "/usr/include/asm/posix_types.h" 2 3 4 # 37 "/usr/include/linux/posix_types.h" 2 3 4 # 6 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 2 "/usr/include/asm/sockios.h" 2 3 4 # 7 "/usr/include/asm-generic/socket.h" 2 3 4 # 2 "/usr/include/asm/socket.h" 2 3 4 # 386 "/usr/include/bits/socket.h" 2 3 4 struct linger { int l_onoff; int l_linger; }; # 34 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/bits/types/struct_osockaddr.h" 1 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; # 37 "/usr/include/sys/socket.h" 2 3 4 enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 79 "/usr/include/sys/socket.h" 3 4 typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__; } __SOCKADDR_ARG __attribute__ ((__transparent_union__)); typedef union { const struct sockaddr *__restrict __sockaddr__; const struct sockaddr_at *__restrict __sockaddr_at__; const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; const struct sockaddr_dl *__restrict __sockaddr_dl__; const struct sockaddr_eon *__restrict __sockaddr_eon__; const struct sockaddr_in *__restrict __sockaddr_in__; const struct sockaddr_in6 *__restrict __sockaddr_in6__; const struct sockaddr_inarp *__restrict __sockaddr_inarp__; const struct sockaddr_ipx *__restrict __sockaddr_ipx__; const struct sockaddr_iso *__restrict __sockaddr_iso__; const struct sockaddr_ns *__restrict __sockaddr_ns__; const struct sockaddr_un *__restrict __sockaddr_un__; const struct sockaddr_x25 *__restrict __sockaddr_x25__; } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__)); struct mmsghdr { struct msghdr msg_hdr; unsigned int msg_len; }; extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); # 126 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); extern int getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, __CONST_SOCKADDR_ARG __addr, socklen_t __addr_len); # 163 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); # 174 "/usr/include/sys/socket.h" 3 4 extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 195 "/usr/include/sys/socket.h" 3 4 extern int sendmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags); # 216 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 235 "/usr/include/sys/socket.h" 3 4 extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags, struct timespec *__tmo); # 255 "/usr/include/sys/socket.h" 3 4 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); # 277 "/usr/include/sys/socket.h" 3 4 extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); # 296 "/usr/include/sys/socket.h" 3 4 extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); # 306 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); extern int accept4 (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len, int __flags); # 324 "/usr/include/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/socket2.h" 1 3 4 # 23 "/usr/include/bits/socket2.h" 3 4 extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags); extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv") ; extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk") __attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t recv (int __fd, void *__buf, size_t __n, int __flags) { size_t sz = __builtin_object_size (__buf, 0); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))))) return __recv_alias (__fd, __buf, __n, __flags); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char))))) return __recv_chk_warn (__fd, __buf, __n, sz, __flags); return __recv_chk (__fd, __buf, __n, sz, __flags); } extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); extern ssize_t __recvfrom_alias (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "recvfrom") ; extern ssize_t __recvfrom_chk_warn (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "__recvfrom_chk") __attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) { size_t sz = __builtin_object_size (__buf, 0); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))))) return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char))))) return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr, __addr_len); return __recvfrom_chk (__fd, __buf, __n, sz, __flags, __addr, __addr_len); } # 344 "/usr/include/sys/socket.h" 2 3 4 # 24 "/usr/include/netinet/in.h" 2 3 4 typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 1 "/usr/include/bits/in.h" 1 3 4 # 144 "/usr/include/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 38 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_MTP = 92, IPPROTO_BEETPH = 94, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_L2TP = 115, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, IPPROTO_RAW = 255, IPPROTO_MPTCP = 262, IPPROTO_MAX }; enum { IPPROTO_HOPOPTS = 0, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MH = 135 }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; # 221 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 247 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 397 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 409 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 # 410 "/usr/include/netinet/in.h" 2 3 4 # 525 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); # 555 "/usr/include/netinet/in.h" 3 4 struct cmsghdr; struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; }; struct ip6_mtuinfo { struct sockaddr_in6 ip6m_addr; uint32_t ip6m_mtu; }; extern int inet6_option_space (int __nbytes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int inet6_option_append (struct cmsghdr *__cmsg, const uint8_t *__typep, int __multx, int __plusy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen, int __multx, int __plusy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int inet6_option_next (const struct cmsghdr *__cmsg, uint8_t **__tptrp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int inet6_option_find (const struct cmsghdr *__cmsg, uint8_t **__tptrp, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset, uint8_t __type, socklen_t __len, uint8_t __align, void **__databufp) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val, socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset, uint8_t *__typep, socklen_t *__lenp, void **__databufp) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset, uint8_t __type, socklen_t *__lenp, void **__databufp) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val, socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__)); extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__ , __leaf__)); extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type, int __segments) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_rth_add (void *__bp, const struct in6_addr *__addr) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_rth_reverse (const void *__in, void *__out) __attribute__ ((__nothrow__ , __leaf__)); extern int inet6_rth_segments (const void *__bp) __attribute__ ((__nothrow__ , __leaf__)); extern struct in6_addr *inet6_rth_getaddr (const void *__bp, int __index) __attribute__ ((__nothrow__ , __leaf__)); extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr, struct in_addr __group, uint32_t *__fmode, uint32_t *__numsrc, struct in_addr *__slist) __attribute__ ((__nothrow__ , __leaf__)); extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr, struct in_addr __group, uint32_t __fmode, uint32_t __numsrc, const struct in_addr *__slist) __attribute__ ((__nothrow__ , __leaf__)); extern int getsourcefilter (int __s, uint32_t __interface_addr, const struct sockaddr *__group, socklen_t __grouplen, uint32_t *__fmode, uint32_t *__numsrc, struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__)); extern int setsourcefilter (int __s, uint32_t __interface_addr, const struct sockaddr *__group, socklen_t __grouplen, uint32_t __fmode, uint32_t __numsrc, const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__)); # 6 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/netinet/ip.h" 1 3 4 # 26 "/usr/include/netinet/ip.h" 3 4 struct timestamp { uint8_t len; uint8_t ptr; unsigned int flags:4; unsigned int overflow:4; uint32_t data[9]; }; struct iphdr { unsigned int ihl:4; unsigned int version:4; uint8_t tos; uint16_t tot_len; uint16_t id; uint16_t frag_off; uint8_t ttl; uint8_t protocol; uint16_t check; uint32_t saddr; uint32_t daddr; }; # 107 "/usr/include/netinet/ip.h" 3 4 struct ip { unsigned int ip_hl:4; unsigned int ip_v:4; uint8_t ip_tos; unsigned short ip_len; unsigned short ip_id; unsigned short ip_off; uint8_t ip_ttl; uint8_t ip_p; unsigned short ip_sum; struct in_addr ip_src, ip_dst; }; struct ip_timestamp { uint8_t ipt_code; uint8_t ipt_len; uint8_t ipt_ptr; unsigned int ipt_flg:4; unsigned int ipt_oflw:4; uint32_t data[9]; }; # 305 "/usr/include/netinet/ip.h" 3 4 # 7 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/resolv.h" 1 3 4 # 56 "/usr/include/resolv.h" 3 4 # 1 "/usr/include/sys/param.h" 1 3 4 # 23 "/usr/include/sys/param.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 24 "/usr/include/sys/param.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 1 3 4 # 34 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 1 3 4 # 205 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 26 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/usr/include/limits.h" 2 3 4 # 195 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 27 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/posix1_lim.h" 2 3 4 # 161 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 38 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 2 3 4 # 81 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/bits/pthread_stack_min-dynamic.h" 1 3 4 # 23 "/usr/include/bits/pthread_stack_min-dynamic.h" 3 4 extern long int __sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); # 82 "/usr/include/bits/local_lim.h" 2 3 4 # 162 "/usr/include/bits/posix1_lim.h" 2 3 4 # 196 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 200 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4 # 64 "/usr/include/bits/xopen_lim.h" 3 4 # 1 "/usr/include/bits/uio_lim.h" 1 3 4 # 65 "/usr/include/bits/xopen_lim.h" 2 3 4 # 204 "/usr/include/limits.h" 2 3 4 # 206 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/syslimits.h" 2 3 4 # 35 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 2 3 4 # 27 "/usr/include/sys/param.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 27 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/signum-generic.h" 1 3 4 # 76 "/usr/include/bits/signum-generic.h" 3 4 # 1 "/usr/include/bits/signum-arch.h" 1 3 4 # 77 "/usr/include/bits/signum-generic.h" 2 3 4 # 31 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 typedef __sig_atomic_t sig_atomic_t; # 33 "/usr/include/signal.h" 2 3 4 # 57 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 # 24 "/usr/include/bits/types/__sigval_t.h" 3 4 union sigval { int sival_int; void *sival_ptr; }; typedef union sigval __sigval_t; # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 # 16 "/usr/include/bits/types/siginfo_t.h" 3 4 # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 # 36 "/usr/include/bits/types/siginfo_t.h" 3 4 typedef struct { int si_signo; int si_errno; int si_code; # 51 "/usr/include/bits/types/siginfo_t.h" 3 4 union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; __sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; __sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; short int si_addr_lsb; union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; # 58 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 # 35 "/usr/include/bits/siginfo-consts.h" 3 4 enum { SI_ASYNCNL = -60, SI_DETHREAD = -7, SI_TKILL, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 # 66 "/usr/include/bits/siginfo-consts.h" 3 4 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK, ILL_BADIADDR }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB, FPE_FLTUNK = 14, FPE_CONDTRAP }; enum { SEGV_MAPERR = 1, SEGV_ACCERR, SEGV_BNDERR, SEGV_PKUERR, SEGV_ACCADI, SEGV_ADIDERR, SEGV_ADIPERR, SEGV_MTEAERR, SEGV_MTESERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR, BUS_MCEERR_AR, BUS_MCEERR_AO }; enum { TRAP_BRKPT = 1, TRAP_TRACE, TRAP_BRANCH, TRAP_HWBKPT, TRAP_UNK }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 1 "/usr/include/bits/siginfo-consts-arch.h" 1 3 4 # 214 "/usr/include/bits/siginfo-consts.h" 2 3 4 # 59 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 # 16 "/usr/include/bits/types/sigval_t.h" 3 4 typedef __sigval_t sigval_t; # 63 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 typedef struct sigevent { __sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (__sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; # 67 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 # 27 "/usr/include/bits/sigevent-consts.h" 3 4 enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 68 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 112 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); # 151 "/usr/include/signal.h" 3 4 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") __attribute__ ((__deprecated__ ("Use the sigsuspend function instead"))); # 173 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 188 "/usr/include/signal.h" 3 4 typedef __sighandler_t sighandler_t; typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigisemptyset (const sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigandset (sigset_t *__set, const sigset_t *__left, const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int sigorset (sigset_t *__set, const sigset_t *__left, const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); # 1 "/usr/include/bits/sigaction.h" 1 3 4 # 27 "/usr/include/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 230 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); # 292 "/usr/include/signal.h" 3 4 extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 4 # 30 "/usr/include/bits/sigcontext.h" 3 4 # 1 "/usr/include/asm/sigcontext.h" 1 3 4 # 10 "/usr/include/asm/sigcontext.h" 3 4 struct sigcontext { unsigned long trap_no; unsigned long error_code; unsigned long oldmask; unsigned long arm_r0; unsigned long arm_r1; unsigned long arm_r2; unsigned long arm_r3; unsigned long arm_r4; unsigned long arm_r5; unsigned long arm_r6; unsigned long arm_r7; unsigned long arm_r8; unsigned long arm_r9; unsigned long arm_r10; unsigned long arm_fp; unsigned long arm_ip; unsigned long arm_sp; unsigned long arm_lr; unsigned long arm_pc; unsigned long arm_cpsr; unsigned long fault_address; }; # 31 "/usr/include/bits/sigcontext.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 35 "/usr/include/bits/sigcontext.h" 2 3 4 # 302 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 312 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 # 23 "/usr/include/bits/types/stack_t.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 typedef struct { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 314 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/sys/ucontext.h" 1 3 4 # 36 "/usr/include/sys/ucontext.h" 3 4 typedef int greg_t; typedef greg_t gregset_t[18]; enum { REG_R0 = 0, REG_R1 = 1, REG_R2 = 2, REG_R3 = 3, REG_R4 = 4, REG_R5 = 5, REG_R6 = 6, REG_R7 = 7, REG_R8 = 8, REG_R9 = 9, REG_R10 = 10, REG_R11 = 11, REG_R12 = 12, REG_R13 = 13, REG_R14 = 14, REG_R15 = 15 }; struct _libc_fpstate { struct { unsigned int sign1:1; unsigned int unused:15; unsigned int sign2:1; unsigned int exponent:14; unsigned int j:1; unsigned int mantissa1:31; unsigned int mantissa0:32; } fpregs[8]; unsigned int fpsr:32; unsigned int fpcr:32; unsigned char ftype[8]; unsigned int init_flag; }; typedef struct _libc_fpstate fpregset_t; typedef struct { unsigned long int trap_no; unsigned long int error_code; unsigned long int oldmask; unsigned long int arm_r0; unsigned long int arm_r1; unsigned long int arm_r2; unsigned long int arm_r3; unsigned long int arm_r4; unsigned long int arm_r5; unsigned long int arm_r6; unsigned long int arm_r7; unsigned long int arm_r8; unsigned long int arm_r9; unsigned long int arm_r10; unsigned long int arm_fp; unsigned long int arm_ip; unsigned long int arm_sp; unsigned long int arm_lr; unsigned long int arm_pc; unsigned long int arm_cpsr; unsigned long int fault_address; } mcontext_t; typedef struct ucontext_t { unsigned long uc_flags; struct ucontext_t *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask; unsigned long uc_regspace[128] __attribute__((__aligned__(8))); } ucontext_t; # 317 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use sigaction with SA_RESTART instead"))); # 1 "/usr/include/bits/sigstack.h" 1 3 4 # 328 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/sigstksz.h" 1 3 4 # 24 "/usr/include/bits/sigstksz.h" 3 4 # 1 "/usr/include/unistd.h" 1 3 4 # 27 "/usr/include/unistd.h" 3 4 # 202 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 203 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/bits/environments.h" 1 3 4 # 22 "/usr/include/bits/environments.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 23 "/usr/include/bits/environments.h" 2 3 4 # 207 "/usr/include/unistd.h" 2 3 4 # 226 "/usr/include/unistd.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 227 "/usr/include/unistd.h" 2 3 4 # 267 "/usr/include/unistd.h" 3 4 typedef __intptr_t intptr_t; # 287 "/usr/include/unistd.h" 3 4 extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int euidaccess (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int eaccess (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int execveat (int __fd, const char *__path, char *const __argv[], char *const __envp[], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int faccessat (int __fd, const char *__file, int __type, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); # 342 "/usr/include/unistd.h" 3 4 extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__)) ; extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); extern int close (int __fd); extern void closefrom (int __lowfd) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 404 "/usr/include/unistd.h" 3 4 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 422 "/usr/include/unistd.h" 3 4 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, __off64_t __offset) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 452 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); # 464 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__ , __leaf__)); extern int usleep (__useconds_t __useconds); # 489 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 531 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *getwd (char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1))); extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern char **__environ; extern char **environ; extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int execv (const char *__path, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (const char *__file, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (const char *__file, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvpe (const char *__file, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/bits/confname.h" 1 3 4 # 24 "/usr/include/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT, _SC_MINSIGSTKSZ, _SC_SIGSTKSZ }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; # 631 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (const char *__path, int __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); # 682 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1))); extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)); extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) __attribute__ ((__nothrow__ , __leaf__)); extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) __attribute__ ((__nothrow__ , __leaf__)); extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t _Fork (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); extern int link (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__)); extern int symlink (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int symlinkat (const char *__from, int __tofd, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, const char *__name, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/getopt_posix.h" 1 3 4 # 27 "/usr/include/bits/getopt_posix.h" 3 4 # 1 "/usr/include/bits/getopt_core.h" 1 3 4 # 28 "/usr/include/bits/getopt_core.h" 3 4 extern char *optarg; # 50 "/usr/include/bits/getopt_core.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 91 "/usr/include/bits/getopt_core.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 28 "/usr/include/bits/getopt_posix.h" 2 3 4 # 49 "/usr/include/bits/getopt_posix.h" 3 4 # 904 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int sethostname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2))); extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int setdomainname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2))); extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); extern int fsync (int __fd); extern int syncfs (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); # 1030 "/usr/include/unistd.h" 3 4 extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int truncate64 (const char *__file, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1052 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 1070 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); # 1091 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); # 1117 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") __attribute__ ((__warn_unused_result__)); extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__)); # 1142 "/usr/include/unistd.h" 3 4 ssize_t copy_file_range (int __infd, __off64_t *__pinoff, int __outfd, __off64_t *__poutoff, size_t __length, unsigned int __flags); extern int fdatasync (int __fildes); # 1159 "/usr/include/unistd.h" 3 4 extern char *crypt (const char *__key, const char *__salt) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void swab (const void *__restrict __from, void *__restrict __to, ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__read_only__, 1, 3))) __attribute__ ((__access__ (__write_only__, 2, 3))); # 1198 "/usr/include/unistd.h" 3 4 int getentropy (void *__buffer, size_t __length) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); # 1208 "/usr/include/unistd.h" 3 4 extern int close_range (unsigned int __fd, unsigned int __max_fd, int __flags) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/unistd.h" 1 3 4 # 23 "/usr/include/bits/unistd.h" 3 4 # 1 "/usr/include/bits/unistd-decl.h" 1 3 4 # 26 "/usr/include/bits/unistd-decl.h" 3 4 extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))) ; extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer"))) ; extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer"))) ; extern ssize_t __readlink_chk (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))) ; extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4))); extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4))); extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer"))) ; extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))) ; extern char *__getwd_chk (char *__buf, size_t buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))) ; extern size_t __confstr_chk (int __name, char *__buf, size_t __len, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))) ; extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1))); extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1))); extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))) ; extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))) ; extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") __attribute__ ((__nonnull__ (1))); extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk") __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer"))) ; extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))) ; extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))) ; # 24 "/usr/include/bits/unistd.h" 2 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t read (int __fd, void *__buf, size_t __nbytes) { return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __read_alias (__fd, __buf, __nbytes) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)) : __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)))) ; } # 43 "/usr/include/bits/unistd.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t __attribute__ ((__nothrow__ , __leaf__)) readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlink_alias (__path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t __attribute__ ((__nothrow__ , __leaf__)) readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlinkat_alias (__fd, __path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlinkat_chk_warn (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__ , __leaf__)) getcwd (char *__buf, size_t __size) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getcwd_alias (__buf, __size) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)) : __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__ , __leaf__)) getwd (char *__buf) { if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); return __getwd_warn (__buf); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) confstr (int __name, char *__buf, size_t __len) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __confstr_alias (__name, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) getgroups (int __size, __gid_t __list[]) { return (((__builtin_constant_p (__builtin_object_size (__list, 2 > 1)) && (__builtin_object_size (__list, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t)))))) ? __getgroups_alias (__size, __list) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) ? __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)) : __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) ttyname_r (int __fd, char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ttyname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int getlogin_r (char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getlogin_r_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) gethostname (char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __gethostname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) getdomainname (char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getdomainname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } # 1215 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/bits/unistd_ext.h" 1 3 4 # 34 "/usr/include/bits/unistd_ext.h" 3 4 extern __pid_t gettid (void) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/linux/close_range.h" 1 3 4 # 39 "/usr/include/bits/unistd_ext.h" 2 3 4 # 1219 "/usr/include/unistd.h" 2 3 4 # 25 "/usr/include/bits/sigstksz.h" 2 3 4 # 329 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 # 27 "/usr/include/bits/ss_flags.h" 3 4 enum { SS_ONSTACK = 1, SS_DISABLE }; # 330 "/usr/include/signal.h" 2 3 4 extern int sigaltstack (const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 # 23 "/usr/include/bits/types/struct_sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; # 340 "/usr/include/signal.h" 2 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sighold (int __sig) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use the sigprocmask function instead"))); extern int sigrelse (int __sig) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use the sigprocmask function instead"))); extern int sigignore (int __sig) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use the signal function instead"))); extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use the signal and sigprocmask functions instead"))) ; # 1 "/usr/include/bits/sigthread.h" 1 3 4 # 31 "/usr/include/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); extern int pthread_sigqueue (pthread_t __threadid, int __signo, const union sigval __value) __attribute__ ((__nothrow__ , __leaf__)); # 377 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/signal_ext.h" 1 3 4 # 29 "/usr/include/bits/signal_ext.h" 3 4 extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); # 392 "/usr/include/signal.h" 2 3 4 # 29 "/usr/include/sys/param.h" 2 3 4 # 1 "/usr/include/bits/param.h" 1 3 4 # 28 "/usr/include/bits/param.h" 3 4 # 1 "/usr/include/linux/param.h" 1 3 4 # 1 "/usr/include/asm/param.h" 1 3 4 # 1 "/usr/include/asm-generic/param.h" 1 3 4 # 2 "/usr/include/asm/param.h" 2 3 4 # 6 "/usr/include/linux/param.h" 2 3 4 # 29 "/usr/include/bits/param.h" 2 3 4 # 32 "/usr/include/sys/param.h" 2 3 4 # 57 "/usr/include/resolv.h" 2 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 27 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 28 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 37 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__fpos_t.h" 1 3 4 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 6 "/usr/include/bits/types/__fpos_t.h" 2 3 4 typedef struct _G_fpos_t { __off_t __pos; __mbstate_t __state; } __fpos_t; # 40 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__fpos64_t.h" 1 3 4 # 10 "/usr/include/bits/types/__fpos64_t.h" 3 4 typedef struct _G_fpos64_t { __off64_t __pos; __mbstate_t __state; } __fpos64_t; # 41 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 struct _IO_FILE; typedef struct _IO_FILE __FILE; # 42 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 43 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/struct_FILE.h" 1 3 4 # 35 "/usr/include/bits/types/struct_FILE.h" 3 4 struct _IO_FILE; struct _IO_marker; struct _IO_codecvt; struct _IO_wide_data; typedef void _IO_lock_t; struct _IO_FILE { int _flags; char *_IO_read_ptr; char *_IO_read_end; char *_IO_read_base; char *_IO_write_base; char *_IO_write_ptr; char *_IO_write_end; char *_IO_buf_base; char *_IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; __off64_t _offset; struct _IO_codecvt *_codecvt; struct _IO_wide_data *_wide_data; struct _IO_FILE *_freeres_list; void *_freeres_buf; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; # 44 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/cookie_io_functions_t.h" 1 3 4 # 27 "/usr/include/bits/types/cookie_io_functions_t.h" 3 4 typedef __ssize_t cookie_read_function_t (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t cookie_write_function_t (void *__cookie, const char *__buf, size_t __nbytes); typedef int cookie_seek_function_t (void *__cookie, __off64_t *__pos, int __w); typedef int cookie_close_function_t (void *__cookie); typedef struct _IO_cookie_io_functions_t { cookie_read_function_t *read; cookie_write_function_t *write; cookie_seek_function_t *seek; cookie_close_function_t *close; } cookie_io_functions_t; # 47 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 86 "/usr/include/stdio.h" 3 4 typedef __fpos64_t fpos_t; typedef __fpos64_t fpos64_t; # 128 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 129 "/usr/include/stdio.h" 2 3 4 # 148 "/usr/include/stdio.h" 3 4 extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); # 175 "/usr/include/stdio.h" 3 4 extern int renameat2 (int __oldfd, const char *__old, int __newfd, const char *__new, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern int fclose (FILE *__stream) __attribute__ ((__nonnull__ (1))); # 197 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *tmpfile64 (void) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *tmpnam_r (char __s[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 227 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1))); extern int fflush (FILE *__stream); # 244 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 254 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); # 275 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") __attribute__ ((__warn_unused_result__)); extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (3))); extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); # 333 "/usr/include/stdio.h" 3 4 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/floatn.h" 1 3 4 # 436 "/usr/include/stdio.h" 2 3 4 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc23_fscanf") __attribute__ ((__warn_unused_result__)); extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc23_scanf") __attribute__ ((__warn_unused_result__)); extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc23_sscanf") __attribute__ ((__nothrow__ , __leaf__)) ; # 486 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc23_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 571 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 596 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); # 607 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 623 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); # 673 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); # 690 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 749 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); # 760 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); extern void rewind (FILE *__stream); # 802 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") ; extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); # 826 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") ; extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64") ; extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__)); extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void perror (const char *__s) __attribute__ ((__cold__)); extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 881 "/usr/include/stdio.h" 3 4 extern int pclose (FILE *__stream); extern FILE *popen (const char *__command, const char *__modes) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (pclose, 1))) __attribute__ ((__warn_unused_result__)); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1))); extern char *cuserid (char *__s) __attribute__ ((__access__ (__write_only__, 1))); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 943 "/usr/include/stdio.h" 3 4 extern int __uflow (FILE *); extern int __overflow (FILE *, int); # 1 "/usr/include/bits/stdio2-decl.h" 1 3 4 # 26 "/usr/include/bits/stdio2-decl.h" 3 4 extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __fprintf_chk (FILE *__restrict __stream, int __flag, const char *__restrict __format, ...); extern int __printf_chk (int __flag, const char *__restrict __format, ...); extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, const char *__restrict __format, __gnuc_va_list __ap); extern int __vprintf_chk (int __flag, const char *__restrict __format, __gnuc_va_list __ap); extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __vdprintf_chk (int __fd, int __flag, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 3, 0))); extern int __asprintf_chk (char **__restrict __ptr, int __flag, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__)); extern int __vasprintf_chk (char **__restrict __ptr, int __flag, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__)); extern int __obstack_printf_chk (struct obstack *__restrict __obstack, int __flag, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack, int __flag, const char *__restrict __format, __gnuc_va_list __args) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 94 "/usr/include/bits/stdio2-decl.h" 3 4 extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) ; extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) ; extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer"))) ; extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) ; extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); # 949 "/usr/include/stdio.h" 2 3 4 # 960 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 46 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int getchar (void) { return getc (stdin); } extern __inline __attribute__ ((__gnu_inline__)) int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int putchar (int __c) { return putc (__c, stdout); } extern __inline __attribute__ ((__gnu_inline__)) int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x0010) != 0); } extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x0020) != 0); } # 961 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/stdio2.h" 1 3 4 # 27 "/usr/include/bits/stdio2.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...) { return __builtin___sprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...) { return __builtin___snprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsnprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) { return __fprintf_chk (__stream, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int printf (const char *__restrict __fmt, ...) { return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int vprintf (const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int vfprintf (FILE *__restrict __stream, const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int dprintf (int __fd, const char *__restrict __fmt, ...) { return __dprintf_chk (__fd, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap) { return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) { return __asprintf_chk (__ptr, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) { return __asprintf_chk (__ptr, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __fmt, ...) { return __obstack_printf_chk (__obstack, 2 - 1, __fmt, __builtin_va_arg_pack ()); } # 165 "/usr/include/bits/stdio2.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) vasprintf (char **__restrict __ptr, const char *__restrict __fmt, __gnuc_va_list __ap) { return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __fmt, __gnuc_va_list __ap) { return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt, __ap); } # 194 "/usr/include/bits/stdio2.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char * fgets (char *__restrict __s, int __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__s, 2 > 1); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))))) return __fgets_alias (__s, __n, __stream); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char))))) return __fgets_chk_warn (__s, sz, __n, __stream); return __fgets_chk (__s, sz, __n, __stream); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__ptr, 0); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size)))))) return __fread_alias (__ptr, __size, __n, __stream); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size)))) return __fread_chk_warn (__ptr, sz, __size, __n, __stream); return __fread_chk (__ptr, sz, __size, __n, __stream); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char * fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__s, 2 > 1); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))))) return __fgets_unlocked_alias (__s, __n, __stream); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char))))) return __fgets_unlocked_chk_warn (__s, sz, __n, __stream); return __fgets_unlocked_chk (__s, sz, __n, __stream); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__ptr, 0); if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size)))))) { if (__builtin_constant_p (__size) && __builtin_constant_p (__n) && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) && __size * __n <= 8) { size_t __cnt = __size * __n; char *__cptr = (char *) __ptr; if (__cnt == 0) return 0; for (; __cnt > 0; --__cnt) { int __c = getc_unlocked (__stream); if (__c == (-1)) break; *__cptr++ = __c; } return (__cptr - (char *) __ptr) / __size; } return __fread_unlocked_alias (__ptr, __size, __n, __stream); } if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size)))) return __fread_unlocked_chk_warn (__ptr, sz, __size, __n, __stream); return __fread_unlocked_chk (__ptr, sz, __size, __n, __stream); } # 965 "/usr/include/stdio.h" 2 3 4 # 59 "/usr/include/resolv.h" 2 3 4 # 1 "/usr/include/arpa/nameser.h" 1 3 4 # 53 "/usr/include/arpa/nameser.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 30 "/usr/include/stdint.h" 2 3 4 # 43 "/usr/include/stdint.h" 3 4 typedef __int_least8_t int_least8_t; typedef __int_least16_t int_least16_t; typedef __int_least32_t int_least32_t; typedef __int_least64_t int_least64_t; typedef __uint_least8_t uint_least8_t; typedef __uint_least16_t uint_least16_t; typedef __uint_least32_t uint_least32_t; typedef __uint_least64_t uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 96 "/usr/include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef __intmax_t intmax_t; typedef __uintmax_t uintmax_t; # 10 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdint.h" 2 3 4 # 54 "/usr/include/arpa/nameser.h" 2 3 4 # 83 "/usr/include/arpa/nameser.h" 3 4 typedef enum __ns_sect { ns_s_qd = 0, ns_s_zn = 0, ns_s_an = 1, ns_s_pr = 1, ns_s_ns = 2, ns_s_ud = 2, ns_s_ar = 3, ns_s_max = 4 } ns_sect; typedef struct __ns_msg { const unsigned char *_msg, *_eom; uint16_t _id, _flags, _counts[ns_s_max]; const unsigned char *_sections[ns_s_max]; ns_sect _sect; int _rrnum; const unsigned char *_msg_ptr; } ns_msg; struct _ns_flagdata { int mask, shift; }; extern const struct _ns_flagdata _ns_flagdata[]; # 123 "/usr/include/arpa/nameser.h" 3 4 typedef struct __ns_rr { char name[1025]; uint16_t type; uint16_t rr_class; uint32_t ttl; uint16_t rdlength; const unsigned char * rdata; } ns_rr; # 145 "/usr/include/arpa/nameser.h" 3 4 typedef enum __ns_flag { ns_f_qr, ns_f_opcode, ns_f_aa, ns_f_tc, ns_f_rd, ns_f_ra, ns_f_z, ns_f_ad, ns_f_cd, ns_f_rcode, ns_f_max } ns_flag; typedef enum __ns_opcode { ns_o_query = 0, ns_o_iquery = 1, ns_o_status = 2, ns_o_notify = 4, ns_o_update = 5, ns_o_max = 6 } ns_opcode; typedef enum __ns_rcode { ns_r_noerror = 0, ns_r_formerr = 1, ns_r_servfail = 2, ns_r_nxdomain = 3, ns_r_notimpl = 4, ns_r_refused = 5, ns_r_yxdomain = 6, ns_r_yxrrset = 7, ns_r_nxrrset = 8, ns_r_notauth = 9, ns_r_notzone = 10, ns_r_max = 11, ns_r_badvers = 16, ns_r_badsig = 16, ns_r_badkey = 17, ns_r_badtime = 18 } ns_rcode; typedef enum __ns_update_operation { ns_uop_delete = 0, ns_uop_add = 1, ns_uop_max = 2 } ns_update_operation; struct ns_tsig_key { char name[1025], alg[1025]; unsigned char *data; int len; }; typedef struct ns_tsig_key ns_tsig_key; struct ns_tcp_tsig_state { int counter; struct dst_key *key; void *ctx; unsigned char sig[512]; int siglen; }; typedef struct ns_tcp_tsig_state ns_tcp_tsig_state; # 237 "/usr/include/arpa/nameser.h" 3 4 typedef enum __ns_type { ns_t_invalid = 0, ns_t_a = 1, ns_t_ns = 2, ns_t_md = 3, ns_t_mf = 4, ns_t_cname = 5, ns_t_soa = 6, ns_t_mb = 7, ns_t_mg = 8, ns_t_mr = 9, ns_t_null = 10, ns_t_wks = 11, ns_t_ptr = 12, ns_t_hinfo = 13, ns_t_minfo = 14, ns_t_mx = 15, ns_t_txt = 16, ns_t_rp = 17, ns_t_afsdb = 18, ns_t_x25 = 19, ns_t_isdn = 20, ns_t_rt = 21, ns_t_nsap = 22, ns_t_nsap_ptr = 23, ns_t_sig = 24, ns_t_key = 25, ns_t_px = 26, ns_t_gpos = 27, ns_t_aaaa = 28, ns_t_loc = 29, ns_t_nxt = 30, ns_t_eid = 31, ns_t_nimloc = 32, ns_t_srv = 33, ns_t_atma = 34, ns_t_naptr = 35, ns_t_kx = 36, ns_t_cert = 37, ns_t_a6 = 38, ns_t_dname = 39, ns_t_sink = 40, ns_t_opt = 41, ns_t_apl = 42, ns_t_ds = 43, ns_t_sshfp = 44, ns_t_ipseckey = 45, ns_t_rrsig = 46, ns_t_nsec = 47, ns_t_dnskey = 48, ns_t_dhcid = 49, ns_t_nsec3 = 50, ns_t_nsec3param = 51, ns_t_tlsa = 52, ns_t_smimea = 53, ns_t_hip = 55, ns_t_ninfo = 56, ns_t_rkey = 57, ns_t_talink = 58, ns_t_cds = 59, ns_t_cdnskey = 60, ns_t_openpgpkey = 61, ns_t_csync = 62, ns_t_spf = 99, ns_t_uinfo = 100, ns_t_uid = 101, ns_t_gid = 102, ns_t_unspec = 103, ns_t_nid = 104, ns_t_l32 = 105, ns_t_l64 = 106, ns_t_lp = 107, ns_t_eui48 = 108, ns_t_eui64 = 109, ns_t_tkey = 249, ns_t_tsig = 250, ns_t_ixfr = 251, ns_t_axfr = 252, ns_t_mailb = 253, ns_t_maila = 254, ns_t_any = 255, ns_t_uri = 256, ns_t_caa = 257, ns_t_avc = 258, ns_t_ta = 32768, ns_t_dlv = 32769, ns_t_max = 65536 } ns_type; typedef enum __ns_class { ns_c_invalid = 0, ns_c_in = 1, ns_c_2 = 2, ns_c_chaos = 3, ns_c_hs = 4, ns_c_none = 254, ns_c_any = 255, ns_c_max = 65536 } ns_class; typedef enum __ns_cert_types { cert_t_pkix = 1, cert_t_spki = 2, cert_t_pgp = 3, cert_t_url = 253, cert_t_oid = 254 } ns_cert_types; # 398 "/usr/include/arpa/nameser.h" 3 4 int ns_msg_getflag (ns_msg, int) __attribute__ ((__nothrow__ , __leaf__)); unsigned int ns_get16 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); unsigned long ns_get32 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); void ns_put16 (unsigned int, unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); void ns_put32 (unsigned long, unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); int ns_initparse (const unsigned char *, int, ns_msg *) __attribute__ ((__nothrow__ , __leaf__)); int ns_skiprr (const unsigned char *, const unsigned char *, ns_sect, int) __attribute__ ((__nothrow__ , __leaf__)); int ns_parserr (ns_msg *, ns_sect, int, ns_rr *) __attribute__ ((__nothrow__ , __leaf__)); int ns_sprintrr (const ns_msg *, const ns_rr *, const char *, const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_sprintrrf (const unsigned char *, size_t, const char *, ns_class, ns_type, unsigned long, const unsigned char *, size_t, const char *, const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_format_ttl (unsigned long, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_parse_ttl (const char *, unsigned long *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); uint32_t ns_datetosecs (const char *, int *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_name_ntol (const unsigned char *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_ntop (const unsigned char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_pton (const char *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_unpack (const unsigned char *, const unsigned char *, const unsigned char *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_pack (const unsigned char *, unsigned char *, int, const unsigned char **, const unsigned char **) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_uncompress (const unsigned char *, const unsigned char *, const unsigned char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_compress (const char *, unsigned char *, size_t, const unsigned char **, const unsigned char **) __attribute__ ((__nothrow__ , __leaf__)); int ns_name_skip (const unsigned char **, const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); void ns_name_rollback (const unsigned char *, const unsigned char **, const unsigned char **) __attribute__ ((__nothrow__ , __leaf__)); int ns_samedomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_subdomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_makecanon (const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int ns_samename (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 1 "/usr/include/arpa/nameser_compat.h" 1 3 4 # 41 "/usr/include/arpa/nameser_compat.h" 3 4 typedef struct { unsigned id :16; # 59 "/usr/include/arpa/nameser_compat.h" 3 4 unsigned rd :1; unsigned tc :1; unsigned aa :1; unsigned opcode :4; unsigned qr :1; unsigned rcode :4; unsigned cd: 1; unsigned ad: 1; unsigned unused :1; unsigned ra :1; unsigned qdcount :16; unsigned ancount :16; unsigned nscount :16; unsigned arcount :16; } HEADER; # 456 "/usr/include/arpa/nameser.h" 2 3 4 # 61 "/usr/include/resolv.h" 2 3 4 # 1 "/usr/include/bits/types/res_state.h" 1 3 4 # 13 "/usr/include/bits/types/res_state.h" 3 4 struct __res_state { int retrans; int retry; unsigned long options; int nscount; struct sockaddr_in nsaddr_list[3]; unsigned short id; char *dnsrch[6 +1]; char defdname[256]; unsigned long pfcode; unsigned ndots:4; unsigned nsort:4; unsigned ipv6_unavail:1; unsigned unused:23; struct { struct in_addr addr; uint32_t mask; } sort_list[10]; void * __glibc_unused_qhook; void * __glibc_unused_rhook; int res_h_errno; int _vcsock; unsigned int _flags; union { char pad[52]; struct { uint16_t nscount; uint16_t nsmap[3]; int nssocks[3]; uint16_t nscount6; uint16_t nsinit; struct sockaddr_in6 *nsaddrs[3]; unsigned int __glibc_reserved[2]; } _ext; } _u; }; typedef struct __res_state *res_state; # 62 "/usr/include/resolv.h" 2 3 4 # 97 "/usr/include/resolv.h" 3 4 struct res_sym { int number; char * name; char * humanname; }; # 160 "/usr/include/resolv.h" 3 4 extern struct __res_state *__res_state(void) __attribute__ ((__const__)); # 181 "/usr/include/resolv.h" 3 4 void __fp_nquery (const unsigned char *, int, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); void __fp_query (const unsigned char *, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __hostalias (const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use getaddrinfo instead"))); void __p_query (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); void __res_close (void) __attribute__ ((__nothrow__ , __leaf__)); int __res_init (void) __attribute__ ((__nothrow__ , __leaf__)); int __res_isourserver (const struct sockaddr_in *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int res_mkquery (int, const char *, int, int, const unsigned char *, int, const unsigned char *, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_query (const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_querydomain (const char *, const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_search (const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_send (const unsigned char *, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); # 233 "/usr/include/resolv.h" 3 4 int res_hnok (const char *) __attribute__ ((__nothrow__ , __leaf__)); int res_ownok (const char *) __attribute__ ((__nothrow__ , __leaf__)); int res_mailok (const char *) __attribute__ ((__nothrow__ , __leaf__)); int res_dnok (const char *) __attribute__ ((__nothrow__ , __leaf__)); int __sym_ston (const struct res_sym *, const char *, int *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __sym_ntos (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __sym_ntop (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int __b64_ntop (const unsigned char *, size_t, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int __b64_pton (char const *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__)); int __loc_aton (const char *__ascii, unsigned char *__binary) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __loc_ntoa (const unsigned char *__binary, char *__ascii) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int dn_skipname (const unsigned char *, const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)); void __putlong (uint32_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use NS_PUT16 instead"))); void __putshort (uint16_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use NS_PUT32 instead"))); const char * __p_class (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __p_time (uint32_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __p_type (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __p_rcode (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const unsigned char * __p_cdnname (const unsigned char *, const unsigned char *, int, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const unsigned char * __p_cdname (const unsigned char *, const unsigned char *, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const unsigned char * __p_fqnname (const unsigned char *__cp, const unsigned char *__msg, int, char *, int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const unsigned char * __p_fqname (const unsigned char *, const unsigned char *, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __p_option (unsigned long __option) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int __dn_count_labels (const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int dn_comp (const char *, unsigned char *, int, unsigned char **, unsigned char **) __attribute__ ((__nothrow__ , __leaf__)); int dn_expand (const unsigned char *, const unsigned char *, const unsigned char *, char *, int) __attribute__ ((__nothrow__ , __leaf__)); unsigned int __res_randomid (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use getentropy instead"))); int __res_nameinquery (const char *, int, int, const unsigned char *, const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int __res_queriesmatch (const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); int __res_ninit (res_state) __attribute__ ((__nothrow__ , __leaf__)); void __fp_resstat (const res_state, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); const char * __res_hostalias (const res_state, const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use getaddrinfo instead"))); int res_nquery (res_state, const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_nsearch (res_state, const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_nquerydomain (res_state, const char *, const char *, int, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_nmkquery (res_state, int, const char *, int, int, const unsigned char *, int, const unsigned char *, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); int res_nsend (res_state, const unsigned char *, int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__)); void __res_nclose (res_state) __attribute__ ((__nothrow__ , __leaf__)); # 8 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 26 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 329 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 typedef unsigned int wchar_t; # 33 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 41 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 42 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/floatn.h" 1 3 4 # 57 "/usr/include/stdlib.h" 2 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 98 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 141 "/usr/include/stdlib.h" 3 4 extern _Float32 strtof32 (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern _Float64 strtof64 (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 159 "/usr/include/stdlib.h" 3 4 extern _Float32x strtof32x (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 177 "/usr/include/stdlib.h" 3 4 extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtol") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoul") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoll") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoull") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoll") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoull") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 278 "/usr/include/stdlib.h" 3 4 extern int strfromd (char *__dest, size_t __size, const char *__format, double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf (char *__dest, size_t __size, const char *__format, float __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfroml (char *__dest, size_t __size, const char *__format, long double __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); # 298 "/usr/include/stdlib.h" 3 4 extern int strfromf32 (char *__dest, size_t __size, const char * __format, _Float32 __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int strfromf64 (char *__dest, size_t __size, const char * __format, _Float64 __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); # 316 "/usr/include/stdlib.h" 3 4 extern int strfromf32x (char *__dest, size_t __size, const char * __format, _Float32x __f) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); # 338 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 # 22 "/usr/include/bits/types/locale_t.h" 3 4 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 # 27 "/usr/include/bits/types/__locale_t.h" 3 4 struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; }; typedef struct __locale_struct *__locale_t; # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 typedef __locale_t locale_t; # 339 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __asm__ ("" "__isoc23_strtol_l") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __asm__ ("" "__isoc23_strtoul_l") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __asm__ ("" "__isoc23_strtoll_l") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, locale_t __loc) __asm__ ("" "__isoc23_strtoull_l") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4))); # 415 "/usr/include/stdlib.h" 3 4 extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 436 "/usr/include/stdlib.h" 3 4 extern _Float32 strtof32_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern _Float64 strtof64_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 457 "/usr/include/stdlib.h" 3 4 extern _Float32x strtof32x_l (const char *__restrict __nptr, char **__restrict __endptr, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); # 480 "/usr/include/stdlib.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline __attribute__ ((__gnu_inline__)) long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 505 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 521 "/usr/include/stdlib.h" 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern __uint32_t arc4random (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void arc4random_buf (void *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __uint32_t arc4random_uniform (__uint32_t __upper_bound) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2))); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2, 3))) __attribute__ ((__malloc__ (__builtin_free, 1))); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__ (reallocarray, 1))); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 707 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)); extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1))) __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__)); extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern char *secure_getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 814 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 830 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 852 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 870 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 884 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 905 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 923 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) __attribute__ ((__warn_unused_result__)); extern char *canonicalize_file_name (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (__builtin_free, 1))) __attribute__ ((__warn_unused_result__)); # 940 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); # 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 4 # 19 "/usr/include/bits/stdlib-bsearch.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) void * bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) { size_t __l, __u, __idx; const void *__p; int __comparison; __l = 0; __u = __nmemb; while (__l < __u) { __idx = (__l + __u) / 2; __p = (const void *) (((const char *) __base) + (__idx * __size)); __comparison = (*__compar) (__key, __p); if (__comparison < 0) __u = __idx; else if (__comparison > 0) __l = __idx + 1; else { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" return (void *) __p; #pragma GCC diagnostic pop } } return ((void *)0); } # 966 "/usr/include/stdlib.h" 2 3 4 extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); # 1012 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__read_only__, 2))); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1099 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1155 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/stdlib-float.h" 1 3 4 # 24 "/usr/include/bits/stdlib-float.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } # 1156 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/stdlib.h" 1 3 4 # 23 "/usr/include/bits/stdlib.h" 3 4 extern char *__realpath_chk (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved) { size_t sz = __builtin_object_size (__resolved, 2 > 1); if (sz == (size_t) -1) return __realpath_alias (__name, __resolved); if ((((__typeof (4096)) 0 < (__typeof (4096)) -1 || (__builtin_constant_p (4096) && (4096) > 0)) && __builtin_constant_p ((((unsigned int) (4096)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (4096)) <= (sz) / (sizeof (char))))) return __realpath_chk_warn (__name, __resolved, sz); return __realpath_chk (__name, __resolved, sz); } extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int __attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar) { if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); return __wctomb_alias (__s, __wchar); } extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_nulldst (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) { if (__builtin_constant_p (__dst == ((void *)0)) && __dst == ((void *)0)) return __mbstowcs_nulldst (__dst, __src, __len); else return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))))) ; } extern size_t __wcstombs_chk (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) { return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)))) ; } # 1160 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/floatn.h" 1 3 4 # 1163 "/usr/include/stdlib.h" 2 3 4 # 9 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/sys/timerfd.h" 1 3 4 # 21 "/usr/include/sys/timerfd.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 29 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 30 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 73 "/usr/include/bits/time.h" 3 4 # 1 "/usr/include/bits/timex.h" 1 3 4 # 26 "/usr/include/bits/timex.h" 3 4 struct timex { # 58 "/usr/include/bits/timex.h" 3 4 unsigned int modes; __syscall_slong_t offset; __syscall_slong_t freq; __syscall_slong_t maxerror; __syscall_slong_t esterror; int status; __syscall_slong_t constant; __syscall_slong_t precision; __syscall_slong_t tolerance; struct timeval time; __syscall_slong_t tick; __syscall_slong_t ppsfreq; __syscall_slong_t jitter; int shift; __syscall_slong_t stabil; __syscall_slong_t jitcnt; __syscall_slong_t calcnt; __syscall_slong_t errcnt; __syscall_slong_t stbcnt; int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; }; # 74 "/usr/include/bits/time.h" 2 3 4 extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 90 "/usr/include/bits/time.h" 3 4 # 34 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/types/struct_tm.h" 1 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; # 40 "/usr/include/time.h" 2 3 4 # 48 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types/struct_itimerspec.h" 1 3 4 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; # 49 "/usr/include/time.h" 2 3 4 struct sigevent; # 68 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); # 100 "/usr/include/time.h" 3 4 extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3, 4))); extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern char *strptime_l (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); # 155 "/usr/include/time.h" 3 4 extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 180 "/usr/include/time.h" 3 4 extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); # 198 "/usr/include/time.h" 3 4 extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); # 218 "/usr/include/time.h" 3 4 extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; # 247 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); # 264 "/usr/include/time.h" 3 4 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 282 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 324 "/usr/include/time.h" 3 4 extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); # 339 "/usr/include/time.h" 3 4 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); # 377 "/usr/include/time.h" 3 4 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 400 "/usr/include/time.h" 3 4 extern int timespec_getres (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)); # 426 "/usr/include/time.h" 3 4 extern int getdate_err; # 435 "/usr/include/time.h" 3 4 extern struct tm *getdate (const char *__string); # 449 "/usr/include/time.h" 3 4 extern int getdate_r (const char *__restrict __string, struct tm *__restrict __resbufp); # 22 "/usr/include/sys/timerfd.h" 2 3 4 # 1 "/usr/include/bits/timerfd.h" 1 3 4 # 23 "/usr/include/bits/timerfd.h" 3 4 enum { TFD_CLOEXEC = 02000000, TFD_NONBLOCK = 00004000 }; # 26 "/usr/include/sys/timerfd.h" 2 3 4 enum { TFD_TIMER_ABSTIME = 1 << 0, TFD_TIMER_CANCEL_ON_SET = 1 << 1 }; extern int timerfd_create (__clockid_t __clock_id, int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern int timerfd_settime (int __ufd, int __flags, const struct itimerspec *__utmr, struct itimerspec *__otmr) __attribute__ ((__nothrow__ , __leaf__)); # 63 "/usr/include/sys/timerfd.h" 3 4 extern int timerfd_gettime (int __ufd, struct itimerspec *__otmr) __attribute__ ((__nothrow__ , __leaf__)); # 75 "/usr/include/sys/timerfd.h" 3 4 # 10 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "/usr/include/sys/timex.h" 1 3 4 # 22 "/usr/include/sys/timex.h" 3 4 # 1 "/usr/include/sys/time.h" 1 3 4 # 34 "/usr/include/sys/time.h" 3 4 # 52 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 67 "/usr/include/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, void *__restrict __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 86 "/usr/include/sys/time.h" 3 4 extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); # 114 "/usr/include/sys/time.h" 3 4 enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef enum __itimer_which __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 189 "/usr/include/sys/time.h" 3 4 extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 214 "/usr/include/sys/time.h" 3 4 extern int futimesat (int __fd, const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 258 "/usr/include/sys/time.h" 3 4 # 23 "/usr/include/sys/timex.h" 2 3 4 struct ntptimeval { struct timeval time; long int maxerror; long int esterror; long int tai; long int __glibc_reserved1; long int __glibc_reserved2; long int __glibc_reserved3; long int __glibc_reserved4; }; # 55 "/usr/include/sys/timex.h" 3 4 extern int adjtimex (struct timex *__ntx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int ntp_gettimex (struct ntptimeval *__ntv) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int ntp_gettime (struct ntptimeval *__ntv) __asm__ ("" "ntp_gettimex") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int ntp_adjtime (struct timex *__tntx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 86 "/usr/include/sys/timex.h" 3 4 # 11 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/systemd/sd-daemon.h" 1 # 20 "../systemd-stable-254.8/src/systemd/sd-daemon.h" # 1 "/usr/include/inttypes.h" 1 3 4 # 34 "/usr/include/inttypes.h" 3 4 typedef unsigned int __gwchar_t; # 327 "/usr/include/inttypes.h" 3 4 # 341 "/usr/include/inttypes.h" 3 4 typedef struct { __extension__ long long int quot; __extension__ long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern intmax_t strtoimax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t strtoumax (const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern intmax_t strtoimax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoimax") __attribute__ ((__nothrow__ , __leaf__)) ; extern uintmax_t strtoumax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __asm__ ("" "__isoc23_strtoumax") __attribute__ ((__nothrow__ , __leaf__)) ; extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __asm__ ("" "__isoc23_wcstoimax") __attribute__ ((__nothrow__ , __leaf__)) ; extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __asm__ ("" "__isoc23_wcstoumax") __attribute__ ((__nothrow__ , __leaf__)) ; # 415 "/usr/include/inttypes.h" 3 4 # 21 "../systemd-stable-254.8/src/systemd/sd-daemon.h" 2 # 1 "../systemd-stable-254.8/src/systemd/_sd-common.h" 1 # 26 "../systemd-stable-254.8/src/systemd/_sd-common.h" # 26 "../systemd-stable-254.8/src/systemd/_sd-common.h" typedef void (*_sd_destroy_t)(void *userdata); # 25 "../systemd-stable-254.8/src/systemd/sd-daemon.h" 2 struct _sd_useless_struct_to_allow_trailing_semicolon_; # 73 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_listen_fds(int unset_environment); int sd_listen_fds_with_names(int unset_environment, char ***names); # 87 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_fifo(int fd, const char *path); # 99 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_special(int fd, const char *path); # 115 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_socket(int fd, int family, int type, int listening); # 129 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port); # 141 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_socket_sockaddr(int fd, int type, const struct sockaddr* addr, unsigned addr_len, int listening); # 157 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length); # 167 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_is_mq(int fd, const char *path); # 250 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_notify(int unset_environment, const char *state); # 272 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_notifyf(int unset_environment, const char *format, ...) __attribute__((__format__(printf, 2, 3))); int sd_pid_notify(pid_t pid, int unset_environment, const char *state); int sd_pid_notifyf(pid_t pid, int unset_environment, const char *format, ...) __attribute__((__format__(printf, 3, 4))); int sd_pid_notify_with_fds(pid_t pid, int unset_environment, const char *state, const int *fds, unsigned n_fds); int sd_pid_notifyf_with_fds(pid_t pid, int unset_environment, const int *fds, size_t n_fds, const char *format, ...) __attribute__((__format__(printf, 5, 6))); # 309 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_notify_barrier(int unset_environment, uint64_t timeout); int sd_pid_notify_barrier(pid_t pid, int unset_environment, uint64_t timeout); # 327 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_booted(void); # 343 "../systemd-stable-254.8/src/systemd/sd-daemon.h" int sd_watchdog_enabled(int unset_environment, uint64_t *usec); struct _sd_useless_struct_to_allow_trailing_semicolon_; # 14 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/systemd/sd-messages.h" 1 # 20 "../systemd-stable-254.8/src/systemd/sd-messages.h" # 1 "../systemd-stable-254.8/src/systemd/sd-id128.h" 1 # 21 "../systemd-stable-254.8/src/systemd/sd-id128.h" # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdarg.h" 1 3 4 # 22 "../systemd-stable-254.8/src/systemd/sd-id128.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 # 43 "/usr/include/string.h" 3 4 # 43 "/usr/include/string.h" 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 4))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 80 "/usr/include/string.h" 3 4 extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 107 "/usr/include/string.h" 3 4 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 120 "/usr/include/string.h" 3 4 extern void *rawmemchr (const void *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 133 "/usr/include/string.h" 3 4 extern void *memrchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__read_only__, 1, 3))); extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 1, 3))); extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__access__ (__write_only__, 1, 3))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 246 "/usr/include/string.h" 3 4 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/string.h" 3 4 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 286 "/usr/include/string.h" 3 4 extern char *strchrnul (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 323 "/usr/include/string.h" 3 4 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 350 "/usr/include/string.h" 3 4 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 380 "/usr/include/string.h" 3 4 extern char *strcasestr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (const void *__haystack, size_t __haystacklen, const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__access__ (__read_only__, 1, 2))) __attribute__ ((__access__ (__read_only__, 3, 4))); extern void *__mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 444 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3))); extern const char *strerrordesc_np (int __err) __attribute__ ((__nothrow__ , __leaf__)); extern const char *strerrorname_np (int __err) __attribute__ ((__nothrow__ , __leaf__)); extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/strings.h" 1 3 4 # 23 "/usr/include/strings.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 24 "/usr/include/strings.h" 2 3 4 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 68 "/usr/include/strings.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 96 "/usr/include/strings.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 1 "/usr/include/bits/strings_fortified.h" 1 3 4 # 22 "/usr/include/bits/strings_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len) { (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len) { (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); } # 145 "/usr/include/strings.h" 2 3 4 # 463 "/usr/include/string.h" 2 3 4 extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern const char *sigabbrev_np (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern const char *sigdescr_np (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlcpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 3))); extern size_t strlcat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__read_write__, 1, 3))); extern int strverscmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__read_write__, 1, 2))); # 540 "/usr/include/string.h" 3 4 extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/string_fortified.h" 1 3 4 # 25 "/usr/include/bits/string_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) { return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len) { return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) { return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } # 56 "/usr/include/bits/string_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len) { return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); } void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) explicit_bzero (void *__dest, size_t __len) { __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src) { return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src) { return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len) { return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n) { return __builtin___stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); } # 127 "/usr/include/bits/string_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src) { return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len) { return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } extern size_t __strlcpy_chk (char *__dest, const char *__src, size_t __n, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); extern size_t __strlcpy_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcpy") __attribute__ ((__nothrow__ , __leaf__)) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) strlcpy (char *__restrict __dest, const char *__restrict __src, size_t __n) { if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1)) || __n > __builtin_object_size (__dest, 2 > 1))) return __strlcpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); return __strlcpy_alias (__dest, __src, __n); } extern size_t __strlcat_chk (char *__dest, const char *__src, size_t __n, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); extern size_t __strlcat_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcat") __attribute__ ((__nothrow__ , __leaf__)) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) strlcat (char *__restrict __dest, const char *__restrict __src, size_t __n) { if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1)) || __n > __builtin_object_size (__dest, 2 > 1))) return __strlcat_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); return __strlcat_alias (__dest, __src, __n); } # 549 "/usr/include/string.h" 2 3 4 # 23 "../systemd-stable-254.8/src/systemd/sd-id128.h" 2 # 26 "../systemd-stable-254.8/src/systemd/sd-id128.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; typedef union sd_id128 sd_id128_t; union sd_id128 { uint8_t bytes[16]; uint64_t qwords[2]; }; char *sd_id128_to_string(sd_id128_t id, char s[static 33U]); char *sd_id128_to_uuid_string(sd_id128_t id, char s[static 37U]); int sd_id128_from_string(const char *s, sd_id128_t *ret); int sd_id128_randomize(sd_id128_t *ret); int sd_id128_get_machine(sd_id128_t *ret); int sd_id128_get_boot(sd_id128_t *ret); int sd_id128_get_invocation(sd_id128_t *ret); int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret); int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret); # 118 "../systemd-stable-254.8/src/systemd/sd-id128.h" __attribute__((__pure__)) static __inline__ int sd_id128_equal(sd_id128_t a, sd_id128_t b) { return a.qwords[0] == b.qwords[0] && a.qwords[1] == b.qwords[1]; } int sd_id128_string_equal(const char *s, sd_id128_t id); __attribute__((__pure__)) static __inline__ int sd_id128_is_null(sd_id128_t a) { return a.qwords[0] == 0 && a.qwords[1] == 0; } __attribute__((__pure__)) static __inline__ int sd_id128_is_allf(sd_id128_t a) { return a.qwords[0] == 0xFFFFFFFFFFFFFFFFULL && a.qwords[1] == 0xFFFFFFFFFFFFFFFFULL; } __attribute__((__pure__)) static __inline__ int sd_id128_in_setv(sd_id128_t a, va_list ap) { for (;;) { sd_id128_t b = # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 __builtin_va_arg( # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" ap # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 , # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" sd_id128_t # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 ) # 137 "../systemd-stable-254.8/src/systemd/sd-id128.h" ; if (sd_id128_is_null(b)) return 0; if (sd_id128_equal(a, b)) return 1; } } __attribute__((__pure__)) static __inline__ int sd_id128_in_set_sentinel(sd_id128_t a, ...) { va_list ap; int r; # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 __builtin_va_start( # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" ap # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 , # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" a # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 ) # 151 "../systemd-stable-254.8/src/systemd/sd-id128.h" ; r = sd_id128_in_setv(a, ap); # 153 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 __builtin_va_end( # 153 "../systemd-stable-254.8/src/systemd/sd-id128.h" ap # 153 "../systemd-stable-254.8/src/systemd/sd-id128.h" 3 4 ) # 153 "../systemd-stable-254.8/src/systemd/sd-id128.h" ; return r; } struct _sd_useless_struct_to_allow_trailing_semicolon_; # 21 "../systemd-stable-254.8/src/systemd/sd-messages.h" 2 struct _sd_useless_struct_to_allow_trailing_semicolon_; # 204 "../systemd-stable-254.8/src/systemd/sd-messages.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; # 15 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/alloc-util.h" 1 # 1 "/usr/include/malloc.h" 1 3 4 # 24 "/usr/include/malloc.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 145 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 # 145 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 typedef int ptrdiff_t; # 425 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); # 436 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 3 4 } max_align_t; # 25 "/usr/include/malloc.h" 2 3 4 # 36 "/usr/include/malloc.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2))); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2, 3))) __attribute__ ((__malloc__ (__builtin_free, 1))); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void *memalign (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1))) __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1))); extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1))); extern void *pvalloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1))); struct mallinfo { int arena; int ordblks; int smblks; int hblks; int hblkhd; int usmblks; int fsmblks; int uordblks; int fordblks; int keepcost; }; struct mallinfo2 { size_t arena; size_t ordblks; size_t smblks; size_t hblks; size_t hblkhd; size_t usmblks; size_t fsmblks; size_t uordblks; size_t fordblks; size_t keepcost; }; extern struct mallinfo mallinfo (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern struct mallinfo2 mallinfo2 (void) __attribute__ ((__nothrow__ , __leaf__)); # 144 "/usr/include/malloc.h" 3 4 extern int mallopt (int __param, int __val) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_trim (size_t __pad) __attribute__ ((__nothrow__ , __leaf__)); extern size_t malloc_usable_size (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void malloc_stats (void) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_info (int __options, FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); # 6 "../systemd-stable-254.8/src/basic/alloc-util.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/alloc-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/macro.h" 1 # 1 "/usr/include/assert.h" 1 3 4 # 64 "/usr/include/assert.h" 3 4 extern void __assert_fail (const char *__assertion, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert_perror_fail (int __errnum, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert (const char *__assertion, const char *__file, int __line) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 5 "../systemd-stable-254.8/src/basic/macro.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdbool.h" 1 3 4 # 8 "../systemd-stable-254.8/src/basic/macro.h" 2 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/sys/sysmacros.h" 3 4 # 1 "/usr/include/bits/sysmacros.h" 1 3 4 # 25 "/usr/include/sys/sysmacros.h" 2 3 4 # 33 "/usr/include/sys/sysmacros.h" 3 4 extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (__dev_t __dev) { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (__dev_t __dev) { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; } # 10 "../systemd-stable-254.8/src/basic/macro.h" 2 # 1 "../systemd-stable-254.8/src/basic/constants.h" 1 # 13 "../systemd-stable-254.8/src/basic/macro.h" 2 # 1 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 1 # 1 "/usr/include/assert.h" 1 3 4 # 64 "/usr/include/assert.h" 3 4 extern void __assert_fail (const char *__assertion, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert_perror_fail (int __errnum, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert (const char *__assertion, const char *__file, int __line) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 6 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 1 3 4 # 9 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stdalign.h" 1 3 4 # 10 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 12 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 2 # 337 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" # 337 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" static inline size_t ALIGN_TO(size_t l, size_t ali) { # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 ((void) sizeof (( # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" __builtin_choose_expr( __builtin_constant_p(ali), ((ali) > 0 && ((ali) & ((ali) - 1)) == 0), ({ const typeof(ali) _x = (ali); ((_x) > 0 && ((_x) & ((_x) - 1)) == 0); })) # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" __builtin_choose_expr( __builtin_constant_p(ali), ((ali) > 0 && ((ali) & ((ali) - 1)) == 0), ({ const typeof(ali) _x = (ali); ((_x) > 0 && ((_x) & ((_x) - 1)) == 0); })) # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 ) ; else __assert_fail ( # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" "ISPOWEROF2(ali)" # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 , "../systemd-stable-254.8/src/fundamental/macro-fundamental.h", 338, __extension__ __PRETTY_FUNCTION__); })) # 338 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" ; if (l > # 340 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 (4294967295U) # 340 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" - (ali - 1)) return # 341 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" 3 4 (4294967295U) # 341 "../systemd-stable-254.8/src/fundamental/macro-fundamental.h" ; return ((l + ali - 1) & ~(ali - 1)); } # 14 "../systemd-stable-254.8/src/basic/macro.h" 2 # 91 "../systemd-stable-254.8/src/basic/macro.h" static inline unsigned long ALIGN_POWER2(unsigned long u) { if (u == 0) return 0; if (u == 1) return 1; if (__builtin_clzl(u - 1UL) < 1) return 0; return 1UL << (sizeof(u) * 8 - __builtin_clzl(u - 1UL)); } static inline size_t GREEDY_ALLOC_ROUND_UP(size_t l) { size_t m; # 121 "../systemd-stable-254.8/src/basic/macro.h" if (l <= 2) return 2; m = ALIGN_POWER2(l); if (m == 0) return l; return m; } # 411 "../systemd-stable-254.8/src/basic/macro.h" static inline size_t size_add(size_t x, size_t y) { return ({ typeof( # 412 "../systemd-stable-254.8/src/basic/macro.h" 3 4 (4294967295U) # 412 "../systemd-stable-254.8/src/basic/macro.h" ) _x = (x); typeof( # 412 "../systemd-stable-254.8/src/basic/macro.h" 3 4 (4294967295U) # 412 "../systemd-stable-254.8/src/basic/macro.h" ) _y = (y); _x > ( # 412 "../systemd-stable-254.8/src/basic/macro.h" 3 4 (4294967295U) # 412 "../systemd-stable-254.8/src/basic/macro.h" ) || _y >= ( # 412 "../systemd-stable-254.8/src/basic/macro.h" 3 4 (4294967295U) # 412 "../systemd-stable-254.8/src/basic/macro.h" ) - _x ? ( # 412 "../systemd-stable-254.8/src/basic/macro.h" 3 4 (4294967295U) # 412 "../systemd-stable-254.8/src/basic/macro.h" ) : _x + _y; }); } typedef struct { int _empty[0]; } dummy_t; # 419 "../systemd-stable-254.8/src/basic/macro.h" 3 4 _Static_assert # 419 "../systemd-stable-254.8/src/basic/macro.h" (sizeof(dummy_t) == 0, "sizeof(dummy_t) == 0"); # 446 "../systemd-stable-254.8/src/basic/macro.h" # 1 "../systemd-stable-254.8/src/basic/log.h" 1 # 1 "/usr/include/syslog.h" 1 3 4 # 1 "/usr/include/sys/syslog.h" 1 3 4 # 40 "/usr/include/sys/syslog.h" 3 4 # 1 "/usr/include/bits/syslog-path.h" 1 3 4 # 41 "/usr/include/sys/syslog.h" 2 3 4 # 169 "/usr/include/sys/syslog.h" 3 4 # 175 "/usr/include/sys/syslog.h" 3 4 extern void closelog (void); extern void openlog (const char *__ident, int __option, int __facility); extern int setlogmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)); extern void syslog (int __pri, const char *__fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); # 200 "/usr/include/sys/syslog.h" 3 4 extern void vsyslog (int __pri, const char *__fmt, __gnuc_va_list __ap) __attribute__ ((__format__ (__printf__, 2, 0))); # 1 "/usr/include/bits/syslog.h" 1 3 4 # 23 "/usr/include/bits/syslog.h" 3 4 # 1 "/usr/include/bits/syslog-decl.h" 1 3 4 # 26 "/usr/include/bits/syslog-decl.h" 3 4 extern void __syslog_chk (int __pri, int __flag, const char *__fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern void __vsyslog_chk (int __pri, int __flag, const char *__fmt, __gnuc_va_list __ap) __attribute__ ((__format__ (__printf__, 3, 0))); # 24 "/usr/include/bits/syslog.h" 2 3 4 # 1 "/usr/include/bits/floatn.h" 1 3 4 # 26 "/usr/include/bits/syslog.h" 2 3 4 # 34 "/usr/include/bits/syslog.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void syslog (int __pri, const char *__fmt, ...) { __syslog_chk (__pri, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void vsyslog (int __pri, const char *__fmt, __gnuc_va_list __ap) { __vsyslog_chk (__pri, 2 - 1, __fmt, __ap); } # 208 "/usr/include/sys/syslog.h" 2 3 4 # 2 "/usr/include/syslog.h" 2 3 4 # 9 "../systemd-stable-254.8/src/basic/log.h" 2 # 1 "../systemd-stable-254.8/src/basic/list.h" 1 # 11 "../systemd-stable-254.8/src/basic/log.h" 2 # 1 "../systemd-stable-254.8/src/basic/ratelimit.h" 1 # 1 "../systemd-stable-254.8/src/basic/time-util.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/time-util.h" 2 # 11 "../systemd-stable-254.8/src/basic/time-util.h" typedef uint64_t usec_t; typedef uint64_t nsec_t; # 21 "../systemd-stable-254.8/src/basic/time-util.h" typedef struct dual_timestamp { usec_t realtime; usec_t monotonic; } dual_timestamp; typedef struct triple_timestamp { usec_t realtime; usec_t monotonic; usec_t boottime; } triple_timestamp; typedef enum TimestampStyle { TIMESTAMP_PRETTY, TIMESTAMP_US, TIMESTAMP_UTC, TIMESTAMP_US_UTC, TIMESTAMP_UNIX, TIMESTAMP_DATE, _TIMESTAMP_STYLE_MAX, _TIMESTAMP_STYLE_INVALID = - # 40 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 22 # 40 "../systemd-stable-254.8/src/basic/time-util.h" , } TimestampStyle; # 77 "../systemd-stable-254.8/src/basic/time-util.h" usec_t now(clockid_t clock); nsec_t now_nsec(clockid_t clock); usec_t map_clock_usec(usec_t from, clockid_t from_clock, clockid_t to_clock); dual_timestamp* dual_timestamp_get(dual_timestamp *ts); dual_timestamp* dual_timestamp_from_realtime(dual_timestamp *ts, usec_t u); dual_timestamp* dual_timestamp_from_monotonic(dual_timestamp *ts, usec_t u); dual_timestamp* dual_timestamp_from_boottime(dual_timestamp *ts, usec_t u); triple_timestamp* triple_timestamp_get(triple_timestamp *ts); triple_timestamp* triple_timestamp_from_realtime(triple_timestamp *ts, usec_t u); static inline # 96 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 96 "../systemd-stable-254.8/src/basic/time-util.h" timestamp_is_set(usec_t timestamp) { return timestamp > 0 && timestamp != ((usec_t) # 97 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 97 "../systemd-stable-254.8/src/basic/time-util.h" ); } static inline # 100 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 100 "../systemd-stable-254.8/src/basic/time-util.h" dual_timestamp_is_set(const dual_timestamp *ts) { return timestamp_is_set(ts->realtime) || timestamp_is_set(ts->monotonic); } static inline # 105 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 105 "../systemd-stable-254.8/src/basic/time-util.h" triple_timestamp_is_set(const triple_timestamp *ts) { return timestamp_is_set(ts->realtime) || timestamp_is_set(ts->monotonic) || timestamp_is_set(ts->boottime); } usec_t triple_timestamp_by_clock(triple_timestamp *ts, clockid_t clock); usec_t timespec_load(const struct timespec *ts) __attribute__((__pure__)); nsec_t timespec_load_nsec(const struct timespec *ts) __attribute__((__pure__)); struct timespec* timespec_store(struct timespec *ts, usec_t u); struct timespec* timespec_store_nsec(struct timespec *ts, nsec_t n); usec_t timeval_load(const struct timeval *tv) __attribute__((__pure__)); struct timeval* timeval_store(struct timeval *tv, usec_t u); char* format_timestamp_style(char *buf, size_t l, usec_t t, TimestampStyle style) __attribute__((__warn_unused_result__)); char* format_timestamp_relative_full(char *buf, size_t l, usec_t t, clockid_t clock, # 126 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 126 "../systemd-stable-254.8/src/basic/time-util.h" implicit_left) __attribute__((__warn_unused_result__)); char* format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) __attribute__((__warn_unused_result__)); __attribute__((__warn_unused_result__)) static inline char* format_timestamp_relative(char *buf, size_t l, usec_t t) { return format_timestamp_relative_full(buf, l, t, # 131 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 0 # 131 "../systemd-stable-254.8/src/basic/time-util.h" , # 131 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 0 # 131 "../systemd-stable-254.8/src/basic/time-util.h" ); } __attribute__((__warn_unused_result__)) static inline char* format_timestamp_relative_monotonic(char *buf, size_t l, usec_t t) { return format_timestamp_relative_full(buf, l, t, # 135 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 1 # 135 "../systemd-stable-254.8/src/basic/time-util.h" , # 135 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 0 # 135 "../systemd-stable-254.8/src/basic/time-util.h" ); } __attribute__((__warn_unused_result__)) static inline char* format_timestamp(char *buf, size_t l, usec_t t) { return format_timestamp_style(buf, l, t, TIMESTAMP_PRETTY); } # 155 "../systemd-stable-254.8/src/basic/time-util.h" int parse_timestamp(const char *t, usec_t *ret); int parse_sec(const char *t, usec_t *ret); int parse_sec_fix_0(const char *t, usec_t *ret); int parse_sec_def_infinity(const char *t, usec_t *ret); int parse_time(const char *t, usec_t *ret, usec_t default_unit); int parse_nsec(const char *t, nsec_t *ret); int get_timezones(char ***ret); int verify_timezone(const char *name, int log_level); static inline # 165 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 165 "../systemd-stable-254.8/src/basic/time-util.h" timezone_is_valid(const char *name, int log_level) { return verify_timezone(name, log_level) >= 0; } # 169 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 169 "../systemd-stable-254.8/src/basic/time-util.h" clock_supported(clockid_t clock); usec_t usec_shift_clock(usec_t, clockid_t from, clockid_t to); int get_timezone(char **ret); time_t mktime_or_timegm(struct tm *tm, # 175 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 175 "../systemd-stable-254.8/src/basic/time-util.h" utc); struct tm *localtime_or_gmtime_r(const time_t *t, struct tm *tm, # 176 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 176 "../systemd-stable-254.8/src/basic/time-util.h" utc); uint32_t usec_to_jiffies(usec_t usec); usec_t jiffies_to_usec(uint32_t jiffies); # 181 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Bool # 181 "../systemd-stable-254.8/src/basic/time-util.h" in_utc_timezone(void); static inline usec_t usec_add(usec_t a, usec_t b) { if (a > ((usec_t) # 187 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 187 "../systemd-stable-254.8/src/basic/time-util.h" ) - b) return ((usec_t) # 188 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 188 "../systemd-stable-254.8/src/basic/time-util.h" ); return a + b; } static inline usec_t usec_sub_unsigned(usec_t timestamp, usec_t delta) { if (timestamp == ((usec_t) # 194 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 194 "../systemd-stable-254.8/src/basic/time-util.h" )) return ((usec_t) # 195 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 195 "../systemd-stable-254.8/src/basic/time-util.h" ); if (timestamp < delta) return 0; return timestamp - delta; } static inline usec_t usec_sub_signed(usec_t timestamp, int64_t delta) { if (delta == # 203 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (-9223372036854775807LL -1) # 203 "../systemd-stable-254.8/src/basic/time-util.h" ) { # 204 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Static_assert # 204 "../systemd-stable-254.8/src/basic/time-util.h" (-( # 204 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (-9223372036854775807LL -1) # 204 "../systemd-stable-254.8/src/basic/time-util.h" + 1) == # 204 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (9223372036854775807LL) # 204 "../systemd-stable-254.8/src/basic/time-util.h" , "-(INT64_MIN + 1) == INT64_MAX"); # 205 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 _Static_assert # 205 "../systemd-stable-254.8/src/basic/time-util.h" (((usec_t) # 205 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (18446744073709551615ULL) # 205 "../systemd-stable-254.8/src/basic/time-util.h" ) > # 205 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (9223372036854775807LL) # 205 "../systemd-stable-254.8/src/basic/time-util.h" , "USEC_INFINITY > INT64_MAX"); return usec_add(timestamp, (usec_t) # 206 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (9223372036854775807LL) # 206 "../systemd-stable-254.8/src/basic/time-util.h" + 1); } if (delta < 0) return usec_add(timestamp, (usec_t) (-delta)); return usec_sub_unsigned(timestamp, (usec_t) delta); } static inline int usleep_safe(usec_t usec) { return nanosleep(timespec_store(&(struct timespec) {}, (usec)), # 219 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 ((void *)0) # 219 "../systemd-stable-254.8/src/basic/time-util.h" ) < 0 ? - # 219 "../systemd-stable-254.8/src/basic/time-util.h" 3 4 (*__errno_location ()) # 219 "../systemd-stable-254.8/src/basic/time-util.h" : 0; } # 237 "../systemd-stable-254.8/src/basic/time-util.h" int time_change_fd(void); const char* timestamp_style_to_string(TimestampStyle t) __attribute__((__const__)); TimestampStyle timestamp_style_from_string(const char *s) __attribute__((__pure__)); # 7 "../systemd-stable-254.8/src/basic/ratelimit.h" 2 typedef struct RateLimit { usec_t interval; unsigned burst; unsigned num; usec_t begin; } RateLimit; static inline void ratelimit_reset(RateLimit *rl) { rl->num = rl->begin = 0; } static inline # 19 "../systemd-stable-254.8/src/basic/ratelimit.h" 3 4 _Bool # 19 "../systemd-stable-254.8/src/basic/ratelimit.h" ratelimit_configured(RateLimit *rl) { return rl->interval > 0 && rl->burst > 0; } # 23 "../systemd-stable-254.8/src/basic/ratelimit.h" 3 4 _Bool # 23 "../systemd-stable-254.8/src/basic/ratelimit.h" ratelimit_below(RateLimit *r); unsigned ratelimit_num_dropped(RateLimit *r); usec_t ratelimit_end(const RateLimit *rl); usec_t ratelimit_left(const RateLimit *rl); # 13 "../systemd-stable-254.8/src/basic/log.h" 2 # 1 "../systemd-stable-254.8/src/basic/stdio-util.h" 1 # 1 "/usr/include/printf.h" 1 3 4 # 23 "/usr/include/printf.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 30 "/usr/include/printf.h" 2 3 4 # 34 "/usr/include/printf.h" 3 4 struct printf_info { int prec; int width; wchar_t spec; unsigned int is_long_double:1; unsigned int is_short:1; unsigned int is_long:1; unsigned int alt:1; unsigned int space:1; unsigned int left:1; unsigned int showsign:1; unsigned int group:1; unsigned int extra:1; unsigned int is_char:1; unsigned int wide:1; unsigned int i18n:1; unsigned int is_binary128:1; unsigned int __pad:3; unsigned short int user; wchar_t pad; }; # 69 "/usr/include/printf.h" 3 4 typedef int printf_function (FILE *__stream, const struct printf_info *__info, const void *const *__args); # 81 "/usr/include/printf.h" 3 4 typedef int printf_arginfo_size_function (const struct printf_info *__info, size_t __n, int *__argtypes, int *__size); typedef int printf_arginfo_function (const struct printf_info *__info, size_t __n, int *__argtypes); typedef void printf_va_arg_function (void *__mem, va_list *__ap); extern int register_printf_specifier (int __spec, printf_function __func, printf_arginfo_size_function __arginfo) __attribute__ ((__nothrow__ , __leaf__)); extern int register_printf_function (int __spec, printf_function __func, printf_arginfo_function __arginfo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int register_printf_modifier (const wchar_t *__str) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int register_printf_type (printf_va_arg_function __fct) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 137 "/usr/include/printf.h" 3 4 extern size_t parse_printf_format (const char *__restrict __fmt, size_t __n, int *__restrict __argtypes) __attribute__ ((__nothrow__ , __leaf__)); # 147 "/usr/include/printf.h" 3 4 enum { PA_INT, PA_CHAR, PA_WCHAR, PA_STRING, PA_WSTRING, PA_POINTER, PA_FLOAT, PA_DOUBLE, PA_LAST }; # 176 "/usr/include/printf.h" 3 4 extern int printf_size (FILE *__restrict __fp, const struct printf_info *__info, const void *const *__restrict __args) __attribute__ ((__nothrow__ , __leaf__)); extern int printf_size_info (const struct printf_info *__restrict __info, size_t __n, int *__restrict __argtypes) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/floatn.h" 1 3 4 # 186 "/usr/include/printf.h" 2 3 4 # 5 "../systemd-stable-254.8/src/basic/stdio-util.h" 2 # 11 "../systemd-stable-254.8/src/basic/stdio-util.h" __attribute__((__format__(printf, 3, 4))) static inline char *snprintf_ok(char *buf, size_t len, const char *format, ...) { va_list ap; int r; # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 __builtin_va_start( # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" ap # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 , # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" format # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 ) # 16 "../systemd-stable-254.8/src/basic/stdio-util.h" ; # 17 "../systemd-stable-254.8/src/basic/stdio-util.h" #pragma GCC diagnostic push # 17 "../systemd-stable-254.8/src/basic/stdio-util.h" ; # 17 "../systemd-stable-254.8/src/basic/stdio-util.h" #pragma GCC diagnostic ignored "-Wformat-nonliteral" # 17 "../systemd-stable-254.8/src/basic/stdio-util.h" ; r = vsnprintf(buf, len, format, ap); # 19 "../systemd-stable-254.8/src/basic/stdio-util.h" #pragma GCC diagnostic pop # 19 "../systemd-stable-254.8/src/basic/stdio-util.h" ; # 20 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 __builtin_va_end( # 20 "../systemd-stable-254.8/src/basic/stdio-util.h" ap # 20 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 ) # 20 "../systemd-stable-254.8/src/basic/stdio-util.h" ; return r >= 0 && (size_t) r < len ? buf : # 22 "../systemd-stable-254.8/src/basic/stdio-util.h" 3 4 ((void *)0) # 22 "../systemd-stable-254.8/src/basic/stdio-util.h" ; } # 14 "../systemd-stable-254.8/src/basic/log.h" 2 struct iovec; struct signalfd_siginfo; typedef enum LogTarget{ LOG_TARGET_CONSOLE, LOG_TARGET_CONSOLE_PREFIXED, LOG_TARGET_KMSG, LOG_TARGET_JOURNAL, LOG_TARGET_JOURNAL_OR_KMSG, LOG_TARGET_SYSLOG, LOG_TARGET_SYSLOG_OR_KMSG, LOG_TARGET_AUTO, LOG_TARGET_NULL, _LOG_TARGET_MAX, _LOG_TARGET_INVALID = - # 30 "../systemd-stable-254.8/src/basic/log.h" 3 4 22 # 30 "../systemd-stable-254.8/src/basic/log.h" , } LogTarget; # 44 "../systemd-stable-254.8/src/basic/log.h" typedef void (*log_syntax_callback_t)(const char *unit, int level, void *userdata); void set_log_syntax_callback(log_syntax_callback_t cb, void *userdata); static inline void clear_log_syntax_callback(dummy_t *dummy) { set_log_syntax_callback( # 48 "../systemd-stable-254.8/src/basic/log.h" 3 4 ((void *)0) # 48 "../systemd-stable-254.8/src/basic/log.h" , # 48 "../systemd-stable-254.8/src/basic/log.h" 3 4 ((void *)0) # 48 "../systemd-stable-254.8/src/basic/log.h" ); } const char *log_target_to_string(LogTarget target) __attribute__((__const__)); LogTarget log_target_from_string(const char *s) __attribute__((__pure__)); void log_set_target(LogTarget target); void log_set_target_and_open(LogTarget target); int log_set_target_from_string(const char *e); LogTarget log_get_target(void) __attribute__((__pure__)); void log_settle_target(void); void log_set_max_level(int level); int log_set_max_level_from_string(const char *e); int log_get_max_level(void) __attribute__((__pure__)); void log_set_facility(int facility); void log_show_color( # 65 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 65 "../systemd-stable-254.8/src/basic/log.h" b); # 66 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 66 "../systemd-stable-254.8/src/basic/log.h" log_get_show_color(void) __attribute__((__pure__)); void log_show_location( # 67 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 67 "../systemd-stable-254.8/src/basic/log.h" b); # 68 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 68 "../systemd-stable-254.8/src/basic/log.h" log_get_show_location(void) __attribute__((__pure__)); void log_show_time( # 69 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 69 "../systemd-stable-254.8/src/basic/log.h" b); # 70 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 70 "../systemd-stable-254.8/src/basic/log.h" log_get_show_time(void) __attribute__((__pure__)); void log_show_tid( # 71 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 71 "../systemd-stable-254.8/src/basic/log.h" b); # 72 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 72 "../systemd-stable-254.8/src/basic/log.h" log_get_show_tid(void) __attribute__((__pure__)); int log_show_color_from_string(const char *e); int log_show_location_from_string(const char *e); int log_show_time_from_string(const char *e); int log_show_tid_from_string(const char *e); # 83 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Static_assert # 83 "../systemd-stable-254.8/src/basic/log.h" ((sizeof("""../systemd-stable-254.8/src/basic/log.h""") - sizeof(typeof("../systemd-stable-254.8/src/basic/log.h"[0]))) > (sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1, "STRLEN(__FILE__) > STRLEN(RELATIVE_SOURCE_PATH) + 1"); int log_open(void); void log_close(void); void log_forget_fds(void); void log_parse_environment_variables(void); void log_parse_environment(void); int log_dispatch_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *extra, const char *extra_field, char *buffer); int log_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) __attribute__((__format__(printf, 6, 7))); int log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) __attribute__((__format__(printf, 6, 0))); int log_object_internalv( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *extra_field, const char *extra, const char *format, va_list ap) __attribute__((__format__(printf, 10, 0))); int log_object_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *extra_field, const char *extra, const char *format, ...) __attribute__((__format__(printf, 10, 11))); int log_struct_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) __attribute__((__format__(printf, 6, 0))) __attribute__((__sentinel__)); int log_oom_internal( int level, const char *file, int line, const char *func); int log_format_iovec( struct iovec *iovec, size_t iovec_len, size_t *n, # 165 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 165 "../systemd-stable-254.8/src/basic/log.h" newline_separator, int error, const char *format, va_list ap) __attribute__((__format__(printf, 6, 0))); int log_struct_iovec_internal( int level, int error, const char *file, int line, const char *func, const struct iovec *input_iovec, size_t n_input_iovec); int log_dump_internal( int level, int error, const char *file, int line, const char *func, char *buffer); _Noreturn void log_assert_failed( const char *text, const char *file, int line, const char *func); _Noreturn void log_assert_failed_unreachable( const char *file, int line, const char *func); void log_assert_failed_return( const char *text, const char *file, int line, const char *func); # 239 "../systemd-stable-254.8/src/basic/log.h" int log_emergency_level(void); # 305 "../systemd-stable-254.8/src/basic/log.h" # 305 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 305 "../systemd-stable-254.8/src/basic/log.h" log_on_console(void) __attribute__((__pure__)); extern # 312 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 312 "../systemd-stable-254.8/src/basic/log.h" _log_message_dummy; void log_received_signal(int level, const struct signalfd_siginfo *si); void log_set_upgrade_syslog_to_journal( # 321 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 321 "../systemd-stable-254.8/src/basic/log.h" b); void log_set_always_reopen_console( # 324 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 324 "../systemd-stable-254.8/src/basic/log.h" b); void log_set_open_when_needed( # 328 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 328 "../systemd-stable-254.8/src/basic/log.h" b); void log_set_prohibit_ipc( # 332 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 332 "../systemd-stable-254.8/src/basic/log.h" b); int log_dup_console(void); int log_syntax_internal( const char *unit, int level, const char *config_file, unsigned config_line, int error, const char *file, int line, const char *func, const char *format, ...) __attribute__((__format__(printf, 9, 10))); int log_syntax_invalid_utf8_internal( const char *unit, int level, const char *config_file, unsigned config_line, const char *file, int line, const char *func, const char *rvalue); # 375 "../systemd-stable-254.8/src/basic/log.h" void log_setup(void); typedef struct LogRateLimit { int error; int level; RateLimit ratelimit; } LogRateLimit; # 429 "../systemd-stable-254.8/src/basic/log.h" const char *_log_set_prefix(const char *prefix, # 429 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 429 "../systemd-stable-254.8/src/basic/log.h" force); static inline const char *_log_unset_prefixp(const char **p) { do { if ((__builtin_expect(!!(!(p)), 0))) log_assert_failed("p", (&"../systemd-stable-254.8/src/basic/log.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 431, __func__); } while ( # 431 "../systemd-stable-254.8/src/basic/log.h" 3 4 0 # 431 "../systemd-stable-254.8/src/basic/log.h" ); _log_set_prefix(*p, # 432 "../systemd-stable-254.8/src/basic/log.h" 3 4 1 # 432 "../systemd-stable-254.8/src/basic/log.h" ); return # 433 "../systemd-stable-254.8/src/basic/log.h" 3 4 ((void *)0) # 433 "../systemd-stable-254.8/src/basic/log.h" ; } # 467 "../systemd-stable-254.8/src/basic/log.h" typedef struct LogContext LogContext; # 469 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 469 "../systemd-stable-254.8/src/basic/log.h" log_context_enabled(void); LogContext* log_context_new(const char *key, const char *value); LogContext* log_context_new_strv(char **fields, # 472 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 472 "../systemd-stable-254.8/src/basic/log.h" owned); LogContext* log_context_new_iov(struct iovec *input_iovec, size_t n_input_iovec, # 473 "../systemd-stable-254.8/src/basic/log.h" 3 4 _Bool # 473 "../systemd-stable-254.8/src/basic/log.h" owned); LogContext* log_context_new_strv_consume(char **fields); LogContext* log_context_new_iov_consume(struct iovec *input_iovec, size_t n_input_iovec); LogContext *log_context_ref(LogContext *c); LogContext *log_context_unref(LogContext *c); static inline void log_context_unrefp(LogContext* *p) { if (*p) *p = log_context_unref(*p); }; size_t log_context_num_contexts(void); size_t log_context_num_fields(void); # 447 "../systemd-stable-254.8/src/basic/macro.h" 2 # 11 "../systemd-stable-254.8/src/basic/alloc-util.h" 2 typedef void (*free_func_t)(void *p); typedef void* (*mfree_func_t)(void *p); typedef void (*free_array_func_t)(void *p, size_t n); # 79 "../systemd-stable-254.8/src/basic/alloc-util.h" void* memdup(const void *p, size_t l) __attribute__((__alloc_size__(2))); void* memdup_suffix0(const void *p, size_t l); # 99 "../systemd-stable-254.8/src/basic/alloc-util.h" static inline void unsetp(void *p) { *(void**)p = # 103 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 ((void *)0) # 103 "../systemd-stable-254.8/src/basic/alloc-util.h" ; } static inline void freep(void *p) { *(void**)p = ({ free(*(void**) p); (typeof(*(void**) p)) # 107 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 ((void *)0) # 107 "../systemd-stable-254.8/src/basic/alloc-util.h" ; }); } static inline # 112 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 _Bool # 112 "../systemd-stable-254.8/src/basic/alloc-util.h" size_multiply_overflow(size_t size, size_t need) { return (__builtin_expect(!!(need != 0 && size > ( # 113 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 (4294967295U) # 113 "../systemd-stable-254.8/src/basic/alloc-util.h" / need)), 0)); } __attribute__((__malloc__)) __attribute__((__alloc_size__(1, 2))) static inline void *malloc_multiply(size_t size, size_t need) { if (size_multiply_overflow(size, need)) return # 118 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 ((void *)0) # 118 "../systemd-stable-254.8/src/basic/alloc-util.h" ; return malloc(size * need ?: 1); } # 132 "../systemd-stable-254.8/src/basic/alloc-util.h" __attribute__((__alloc_size__(2, 3))) static inline void *memdup_multiply(const void *p, size_t size, size_t need) { if (size_multiply_overflow(size, need)) return # 134 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 ((void *)0) # 134 "../systemd-stable-254.8/src/basic/alloc-util.h" ; return memdup(p, size * need); } static inline void *memdup_suffix0_multiply(const void *p, size_t size, size_t need) { if (size_multiply_overflow(size, need)) return # 143 "../systemd-stable-254.8/src/basic/alloc-util.h" 3 4 ((void *)0) # 143 "../systemd-stable-254.8/src/basic/alloc-util.h" ; return memdup_suffix0(p, size * need); } void* greedy_realloc(void **p, size_t need, size_t size); void* greedy_realloc0(void **p, size_t need, size_t size); void* greedy_realloc_append(void **p, size_t *n_p, const void *from, size_t n_from, size_t size); # 198 "../systemd-stable-254.8/src/basic/alloc-util.h" void *expand_to_usable(void *p, size_t newsize) __attribute__((__alloc_size__(2))) __attribute__((__returns_nonnull__)) __attribute__((noinline)); static inline size_t malloc_sizeof_safe(void **xp) { if ((__builtin_expect(!!(!xp || !*xp), 0))) return 0; size_t sz = malloc_usable_size(*xp); *xp = expand_to_usable(*xp, sz); if (!*xp) log_assert_failed_unreachable((&"../systemd-stable-254.8/src/basic/alloc-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 210, __func__); return sz; } # 245 "../systemd-stable-254.8/src/basic/alloc-util.h" # 1 "../systemd-stable-254.8/src/basic/memory-util.h" 1 # 12 "../systemd-stable-254.8/src/basic/memory-util.h" # 1 "../systemd-stable-254.8/src/fundamental/memory-util-fundamental.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 5 "../systemd-stable-254.8/src/fundamental/memory-util-fundamental.h" 2 # 15 "../systemd-stable-254.8/src/fundamental/memory-util-fundamental.h" static inline void *explicit_bzero_safe(void *p, size_t l) { if (p && l > 0) explicit_bzero(p, l); return p; } # 31 "../systemd-stable-254.8/src/fundamental/memory-util-fundamental.h" struct VarEraser { void *p; size_t size; }; static inline void erase_var(struct VarEraser *e) { explicit_bzero_safe(e->p, e->size); } # 49 "../systemd-stable-254.8/src/fundamental/memory-util-fundamental.h" static inline void erase_varp(struct VarEraser *e) { if (!e->p) return; explicit_bzero_safe(*(void**) e->p, e->size); } # 13 "../systemd-stable-254.8/src/basic/memory-util.h" 2 size_t page_size(void) __attribute__((__pure__)); static inline void *memcpy_safe(void *dst, const void *src, size_t n) { if (n == 0) return dst; do { if ((__builtin_expect(!!(!(src)), 0))) log_assert_failed("src", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 23, __func__); } while ( # 23 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 23 "../systemd-stable-254.8/src/basic/memory-util.h" ); return memcpy(dst, src, n); } static inline void *mempcpy_safe(void *dst, const void *src, size_t n) { if (n == 0) return dst; do { if ((__builtin_expect(!!(!(src)), 0))) log_assert_failed("src", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 31, __func__); } while ( # 31 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 31 "../systemd-stable-254.8/src/basic/memory-util.h" ); return mempcpy(dst, src, n); } static inline int memcmp_safe(const void *s1, const void *s2, size_t n) { if (n == 0) return 0; do { if ((__builtin_expect(!!(!(s1)), 0))) log_assert_failed("s1", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 39, __func__); } while ( # 39 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 39 "../systemd-stable-254.8/src/basic/memory-util.h" ); do { if ((__builtin_expect(!!(!(s2)), 0))) log_assert_failed("s2", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 40, __func__); } while ( # 40 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 40 "../systemd-stable-254.8/src/basic/memory-util.h" ); return memcmp(s1, s2, n); } static inline int memcmp_nn(const void *s1, size_t n1, const void *s2, size_t n2) { return memcmp_safe(s1, s2, ({ const typeof((n1)) __unique_prefix_A0 = ((n1)); const typeof((n2)) __unique_prefix_B1 = ((n2)); __unique_prefix_A0 < __unique_prefix_B1 ? __unique_prefix_A0 : __unique_prefix_B1; })) ?: ({ const typeof((n1)) __unique_prefix_A2 = ((n1)); const typeof((n2)) __unique_prefix_B3 = ((n2)); __unique_prefix_A2 < __unique_prefix_B3 ? -1 : __unique_prefix_A2 > __unique_prefix_B3 ? 1 : 0; }); } # 59 "../systemd-stable-254.8/src/basic/memory-util.h" # 59 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 _Bool # 59 "../systemd-stable-254.8/src/basic/memory-util.h" memeqbyte(uint8_t byte, const void *data, size_t length); static inline void *mempset(void *s, int c, size_t n) { memset(s, c, n); return (uint8_t*)s + n; } static inline void *memmem_safe(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) { if (needlelen <= 0) return (void*) haystack; if (haystacklen < needlelen) return # 77 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 77 "../systemd-stable-254.8/src/basic/memory-util.h" ; do { if ((__builtin_expect(!!(!(haystack)), 0))) log_assert_failed("haystack", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 79, __func__); } while ( # 79 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 79 "../systemd-stable-254.8/src/basic/memory-util.h" ); do { if ((__builtin_expect(!!(!(needle)), 0))) log_assert_failed("needle", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 80, __func__); } while ( # 80 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 80 "../systemd-stable-254.8/src/basic/memory-util.h" ); return memmem(haystack, haystacklen, needle, needlelen); } static inline void *mempmem_safe(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) { const uint8_t *p; p = memmem_safe(haystack, haystacklen, needle, needlelen); if (!p) return # 90 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 90 "../systemd-stable-254.8/src/basic/memory-util.h" ; return (uint8_t*) p + needlelen; } static inline void* erase_and_free(void *p) { size_t l; if (!p) return # 99 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 99 "../systemd-stable-254.8/src/basic/memory-util.h" ; l = malloc_sizeof_safe((void**) &__builtin_choose_expr(__builtin_constant_p(p), (void*) { # 101 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 101 "../systemd-stable-254.8/src/basic/memory-util.h" }, (p))); explicit_bzero_safe(p, l); return ({ free(p); (typeof(p)) # 103 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 103 "../systemd-stable-254.8/src/basic/memory-util.h" ; }); } static inline void erase_and_freep(void *p) { erase_and_free(*(void**) p); } static inline void erase_char(char *p) { explicit_bzero_safe(p, sizeof(char)); } typedef struct ArrayCleanup { void **parray; size_t *pn; free_array_func_t pfunc; } ArrayCleanup; static inline void array_cleanup(const ArrayCleanup *c) { do { if ((__builtin_expect(!!(!(c)), 0))) log_assert_failed("c", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 123, __func__); } while ( # 123 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 123 "../systemd-stable-254.8/src/basic/memory-util.h" ); do { if ((__builtin_expect(!!(!(!c->parray == !c->pn)), 0))) log_assert_failed("!c->parray == !c->pn", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 125, __func__); } while ( # 125 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 125 "../systemd-stable-254.8/src/basic/memory-util.h" ); if (!c->parray) return; if (*c->parray) { do { if ((__builtin_expect(!!(!(c->pfunc)), 0))) log_assert_failed("c->pfunc", (&"../systemd-stable-254.8/src/basic/memory-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 131, __func__); } while ( # 131 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 0 # 131 "../systemd-stable-254.8/src/basic/memory-util.h" ); c->pfunc(*c->parray, *c->pn); *c->parray = # 133 "../systemd-stable-254.8/src/basic/memory-util.h" 3 4 ((void *)0) # 133 "../systemd-stable-254.8/src/basic/memory-util.h" ; } *c->pn = 0; } # 246 "../systemd-stable-254.8/src/basic/alloc-util.h" 2 # 17 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/shared/bus-polkit.h" 1 # 1 "../systemd-stable-254.8/src/systemd/sd-bus.h" 1 # 24 "../systemd-stable-254.8/src/systemd/sd-bus.h" # 1 "/usr/include/sys/uio.h" 1 3 4 # 31 "/usr/include/sys/uio.h" 3 4 # 41 "/usr/include/sys/uio.h" 3 4 # 41 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 52 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 86 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "preadv64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "pwritev64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 110 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv64 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 123 "/usr/include/sys/uio.h" 3 4 extern ssize_t pwritev64 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 143 "/usr/include/sys/uio.h" 3 4 extern ssize_t pwritev2 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset, int __flags) __asm__ ("" "pwritev64v2") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); extern ssize_t preadv2 (int __fd, const struct iovec *__iovec, int __count, __off64_t __offset, int __flags) __asm__ ("" "preadv64v2") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 161 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv64v2 (int __fp, const struct iovec *__iovec, int __count, __off64_t __offset, int ___flags) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); extern ssize_t pwritev64v2 (int __fd, const struct iovec *__iodev, int __count, __off64_t __offset, int __flags) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 2, 3))); # 1 "/usr/include/bits/uio-ext.h" 1 3 4 # 26 "/usr/include/bits/uio-ext.h" 3 4 extern ssize_t process_vm_readv (pid_t __pid, const struct iovec *__lvec, unsigned long int __liovcnt, const struct iovec *__rvec, unsigned long int __riovcnt, unsigned long int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec, unsigned long int __liovcnt, const struct iovec *__rvec, unsigned long int __riovcnt, unsigned long int __flags) __attribute__ ((__nothrow__ , __leaf__)); # 51 "/usr/include/bits/uio-ext.h" 3 4 # 180 "/usr/include/sys/uio.h" 2 3 4 # 25 "../systemd-stable-254.8/src/systemd/sd-bus.h" 2 # 1 "../systemd-stable-254.8/src/systemd/sd-event.h" 1 # 22 "../systemd-stable-254.8/src/systemd/sd-event.h" # 1 "/usr/include/sys/epoll.h" 1 3 4 # 28 "/usr/include/sys/epoll.h" 3 4 # 1 "/usr/include/bits/epoll.h" 1 3 4 # 23 "/usr/include/bits/epoll.h" 3 4 enum { EPOLL_CLOEXEC = 02000000 }; # 29 "/usr/include/sys/epoll.h" 2 3 4 enum EPOLL_EVENTS { EPOLLIN = 0x001, EPOLLPRI = 0x002, EPOLLOUT = 0x004, EPOLLRDNORM = 0x040, EPOLLRDBAND = 0x080, EPOLLWRNORM = 0x100, EPOLLWRBAND = 0x200, EPOLLMSG = 0x400, EPOLLERR = 0x008, EPOLLHUP = 0x010, EPOLLRDHUP = 0x2000, EPOLLEXCLUSIVE = 1u << 28, EPOLLWAKEUP = 1u << 29, EPOLLONESHOT = 1u << 30, EPOLLET = 1u << 31 }; # 76 "/usr/include/sys/epoll.h" 3 4 typedef union epoll_data { void *ptr; int fd; uint32_t u32; uint64_t u64; } epoll_data_t; struct epoll_event { uint32_t events; epoll_data_t data; } ; extern int epoll_create (int __size) __attribute__ ((__nothrow__ , __leaf__)); extern int epoll_create1 (int __flags) __attribute__ ((__nothrow__ , __leaf__)); # 110 "/usr/include/sys/epoll.h" 3 4 extern int epoll_ctl (int __epfd, int __op, int __fd, struct epoll_event *__event) __attribute__ ((__nothrow__ , __leaf__)); # 124 "/usr/include/sys/epoll.h" 3 4 extern int epoll_wait (int __epfd, struct epoll_event *__events, int __maxevents, int __timeout) __attribute__ ((__access__ (__write_only__, 2, 3))) __attribute__ ((__nonnull__ (2))); extern int epoll_pwait (int __epfd, struct epoll_event *__events, int __maxevents, int __timeout, const __sigset_t *__ss) __attribute__ ((__access__ (__write_only__, 2, 3))) __attribute__ ((__nonnull__ (2))); extern int epoll_pwait2 (int __epfd, struct epoll_event *__events, int __maxevents, const struct timespec *__timeout, const __sigset_t *__ss) __attribute__ ((__access__ (__write_only__, 2, 3))) __attribute__ ((__nonnull__ (2))); # 161 "/usr/include/sys/epoll.h" 3 4 # 23 "../systemd-stable-254.8/src/systemd/sd-event.h" 2 # 1 "/usr/include/sys/inotify.h" 1 3 4 # 24 "/usr/include/sys/inotify.h" 3 4 # 1 "/usr/include/bits/inotify.h" 1 3 4 # 23 "/usr/include/bits/inotify.h" 3 4 enum { IN_CLOEXEC = 02000000, IN_NONBLOCK = 00004000 }; # 25 "/usr/include/sys/inotify.h" 2 3 4 struct inotify_event { int wd; uint32_t mask; uint32_t cookie; uint32_t len; char name []; }; # 82 "/usr/include/sys/inotify.h" 3 4 extern int inotify_init (void) __attribute__ ((__nothrow__ , __leaf__)); extern int inotify_init1 (int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern int inotify_add_watch (int __fd, const char *__name, uint32_t __mask) __attribute__ ((__nothrow__ , __leaf__)); extern int inotify_rm_watch (int __fd, int __wd) __attribute__ ((__nothrow__ , __leaf__)); # 24 "../systemd-stable-254.8/src/systemd/sd-event.h" 2 # 1 "/usr/include/sys/signalfd.h" 1 3 4 # 25 "/usr/include/sys/signalfd.h" 3 4 # 1 "/usr/include/bits/signalfd.h" 1 3 4 # 23 "/usr/include/bits/signalfd.h" 3 4 enum { SFD_CLOEXEC = 02000000, SFD_NONBLOCK = 00004000 }; # 26 "/usr/include/sys/signalfd.h" 2 3 4 struct signalfd_siginfo { uint32_t ssi_signo; int32_t ssi_errno; int32_t ssi_code; uint32_t ssi_pid; uint32_t ssi_uid; int32_t ssi_fd; uint32_t ssi_tid; uint32_t ssi_band; uint32_t ssi_overrun; uint32_t ssi_trapno; int32_t ssi_status; int32_t ssi_int; uint64_t ssi_ptr; uint64_t ssi_utime; uint64_t ssi_stime; uint64_t ssi_addr; uint16_t ssi_addr_lsb; uint16_t __pad2; int32_t ssi_syscall; uint64_t ssi_call_addr; uint32_t ssi_arch; uint8_t __pad[28]; }; extern int signalfd (int __fd, const sigset_t *__mask, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 25 "../systemd-stable-254.8/src/systemd/sd-event.h" 2 # 1 "/usr/include/sys/wait.h" 1 3 4 # 27 "/usr/include/sys/wait.h" 3 4 # 74 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/bits/types/idtype_t.h" 1 3 4 typedef enum { P_ALL, P_PID, P_PGID, P_PIDFD, } idtype_t; # 75 "/usr/include/sys/wait.h" 2 3 4 # 83 "/usr/include/sys/wait.h" 3 4 extern __pid_t wait (int *__stat_loc); # 106 "/usr/include/sys/wait.h" 3 4 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); # 127 "/usr/include/sys/wait.h" 3 4 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (int *__stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); # 159 "/usr/include/sys/wait.h" 3 4 extern __pid_t wait4 (__pid_t __pid, int *__stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 173 "/usr/include/sys/wait.h" 3 4 # 27 "../systemd-stable-254.8/src/systemd/sd-event.h" 2 # 41 "../systemd-stable-254.8/src/systemd/sd-event.h" # 41 "../systemd-stable-254.8/src/systemd/sd-event.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; typedef struct sd_event sd_event; typedef struct sd_event_source sd_event_source; enum { SD_EVENT_OFF = 0, SD_EVENT_ON = 1, SD_EVENT_ONESHOT = -1 }; enum { SD_EVENT_INITIAL, SD_EVENT_ARMED, SD_EVENT_PENDING, SD_EVENT_RUNNING, SD_EVENT_EXITING, SD_EVENT_FINISHED, SD_EVENT_PREPARING }; enum { SD_EVENT_PRIORITY_IMPORTANT = -100, SD_EVENT_PRIORITY_NORMAL = 0, SD_EVENT_PRIORITY_IDLE = 100 }; typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); typedef int (*sd_event_io_handler_t)(sd_event_source *s, int fd, uint32_t revents, void *userdata); typedef int (*sd_event_time_handler_t)(sd_event_source *s, uint64_t usec, void *userdata); typedef int (*sd_event_signal_handler_t)(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata); typedef int (*sd_event_child_handler_t)(sd_event_source *s, const siginfo_t *si, void *userdata); typedef int (*sd_event_inotify_handler_t)(sd_event_source *s, const struct inotify_event *event, void *userdata); typedef _sd_destroy_t sd_event_destroy_t; int sd_event_default(sd_event **e); int sd_event_new(sd_event **e); sd_event* sd_event_ref(sd_event *e); sd_event* sd_event_unref(sd_event *e); int sd_event_add_io(sd_event *e, sd_event_source **s, int fd, uint32_t events, sd_event_io_handler_t callback, void *userdata); int sd_event_add_time(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata); int sd_event_add_time_relative(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata); int sd_event_add_signal(sd_event *e, sd_event_source **s, int sig, sd_event_signal_handler_t callback, void *userdata); int sd_event_add_child(sd_event *e, sd_event_source **s, pid_t pid, int options, sd_event_child_handler_t callback, void *userdata); int sd_event_add_child_pidfd(sd_event *e, sd_event_source **s, int pidfd, int options, sd_event_child_handler_t callback, void *userdata); int sd_event_add_inotify(sd_event *e, sd_event_source **s, const char *path, uint32_t mask, sd_event_inotify_handler_t callback, void *userdata); int sd_event_add_inotify_fd(sd_event *e, sd_event_source **s, int fd, uint32_t mask, sd_event_inotify_handler_t callback, void *userdata); int sd_event_add_defer(sd_event *e, sd_event_source **s, sd_event_handler_t callback, void *userdata); int sd_event_add_post(sd_event *e, sd_event_source **s, sd_event_handler_t callback, void *userdata); int sd_event_add_exit(sd_event *e, sd_event_source **s, sd_event_handler_t callback, void *userdata); int sd_event_add_memory_pressure(sd_event *e, sd_event_source **s, sd_event_handler_t callback, void *userdata); int sd_event_prepare(sd_event *e); int sd_event_wait(sd_event *e, uint64_t usec); int sd_event_dispatch(sd_event *e); int sd_event_run(sd_event *e, uint64_t usec); int sd_event_loop(sd_event *e); int sd_event_exit(sd_event *e, int code); int sd_event_now(sd_event *e, clockid_t clock, uint64_t *usec); int sd_event_get_fd(sd_event *e); int sd_event_get_state(sd_event *e); int sd_event_get_tid(sd_event *e, pid_t *tid); int sd_event_get_exit_code(sd_event *e, int *code); int sd_event_set_watchdog(sd_event *e, int b); int sd_event_get_watchdog(sd_event *e); int sd_event_get_iteration(sd_event *e, uint64_t *ret); int sd_event_set_signal_exit(sd_event *e, int b); sd_event_source* sd_event_source_ref(sd_event_source *s); sd_event_source* sd_event_source_unref(sd_event_source *s); sd_event_source* sd_event_source_disable_unref(sd_event_source *s); sd_event *sd_event_source_get_event(sd_event_source *s); void* sd_event_source_get_userdata(sd_event_source *s); void* sd_event_source_set_userdata(sd_event_source *s, void *userdata); int sd_event_source_set_description(sd_event_source *s, const char *description); int sd_event_source_get_description(sd_event_source *s, const char **description); int sd_event_source_set_prepare(sd_event_source *s, sd_event_handler_t callback); int sd_event_source_get_pending(sd_event_source *s); int sd_event_source_get_priority(sd_event_source *s, int64_t *priority); int sd_event_source_set_priority(sd_event_source *s, int64_t priority); int sd_event_source_get_enabled(sd_event_source *s, int *enabled); int sd_event_source_set_enabled(sd_event_source *s, int enabled); int sd_event_source_get_io_fd(sd_event_source *s); int sd_event_source_set_io_fd(sd_event_source *s, int fd); int sd_event_source_get_io_fd_own(sd_event_source *s); int sd_event_source_set_io_fd_own(sd_event_source *s, int own); int sd_event_source_get_io_events(sd_event_source *s, uint32_t* events); int sd_event_source_set_io_events(sd_event_source *s, uint32_t events); int sd_event_source_get_io_revents(sd_event_source *s, uint32_t* revents); int sd_event_source_get_time(sd_event_source *s, uint64_t *usec); int sd_event_source_set_time(sd_event_source *s, uint64_t usec); int sd_event_source_set_time_relative(sd_event_source *s, uint64_t usec); int sd_event_source_get_time_accuracy(sd_event_source *s, uint64_t *usec); int sd_event_source_set_time_accuracy(sd_event_source *s, uint64_t usec); int sd_event_source_get_time_clock(sd_event_source *s, clockid_t *clock); int sd_event_source_get_signal(sd_event_source *s); int sd_event_source_get_child_pid(sd_event_source *s, pid_t *pid); int sd_event_source_get_child_pidfd(sd_event_source *s); int sd_event_source_get_child_pidfd_own(sd_event_source *s); int sd_event_source_set_child_pidfd_own(sd_event_source *s, int own); int sd_event_source_get_child_process_own(sd_event_source *s); int sd_event_source_set_child_process_own(sd_event_source *s, int own); int sd_event_source_send_child_signal(sd_event_source *s, int sig, const siginfo_t *si, unsigned flags); int sd_event_source_get_inotify_mask(sd_event_source *s, uint32_t *ret); int sd_event_source_set_memory_pressure_type(sd_event_source *e, const char *ty); int sd_event_source_set_memory_pressure_period(sd_event_source *s, uint64_t threshold_usec, uint64_t window_usec); int sd_event_source_set_destroy_callback(sd_event_source *s, sd_event_destroy_t callback); int sd_event_source_get_destroy_callback(sd_event_source *s, sd_event_destroy_t *ret); int sd_event_source_get_floating(sd_event_source *s); int sd_event_source_set_floating(sd_event_source *s, int b); int sd_event_source_get_exit_on_failure(sd_event_source *s); int sd_event_source_set_exit_on_failure(sd_event_source *s, int b); int sd_event_source_set_ratelimit(sd_event_source *s, uint64_t interval_usec, unsigned burst); int sd_event_source_get_ratelimit(sd_event_source *s, uint64_t *ret_interval_usec, unsigned *ret_burst); int sd_event_source_is_ratelimited(sd_event_source *s); int sd_event_source_set_ratelimit_expire_callback(sd_event_source *s, sd_event_handler_t callback); int sd_event_source_leave_ratelimit(sd_event_source *s); int sd_event_trim_memory(void); static __inline__ void sd_event_unrefp(sd_event **p) { if (*p) sd_event_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_event_source_unrefp(sd_event_source **p) { if (*p) sd_event_source_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_event_source_disable_unrefp(sd_event_source **p) { if (*p) sd_event_source_disable_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; struct _sd_useless_struct_to_allow_trailing_semicolon_; # 27 "../systemd-stable-254.8/src/systemd/sd-bus.h" 2 struct _sd_useless_struct_to_allow_trailing_semicolon_; typedef struct sd_bus sd_bus; typedef struct sd_bus_message sd_bus_message; typedef struct sd_bus_slot sd_bus_slot; typedef struct sd_bus_creds sd_bus_creds; typedef struct sd_bus_track sd_bus_track; typedef struct { const char *name; const char *message; int _need_free; } sd_bus_error; typedef struct { const char *name; int code; } sd_bus_error_map; __extension__ enum { SD_BUS_CREDS_PID = 1ULL << 0, SD_BUS_CREDS_TID = 1ULL << 1, SD_BUS_CREDS_PPID = 1ULL << 2, SD_BUS_CREDS_UID = 1ULL << 3, SD_BUS_CREDS_EUID = 1ULL << 4, SD_BUS_CREDS_SUID = 1ULL << 5, SD_BUS_CREDS_FSUID = 1ULL << 6, SD_BUS_CREDS_GID = 1ULL << 7, SD_BUS_CREDS_EGID = 1ULL << 8, SD_BUS_CREDS_SGID = 1ULL << 9, SD_BUS_CREDS_FSGID = 1ULL << 10, SD_BUS_CREDS_SUPPLEMENTARY_GIDS = 1ULL << 11, SD_BUS_CREDS_COMM = 1ULL << 12, SD_BUS_CREDS_TID_COMM = 1ULL << 13, SD_BUS_CREDS_EXE = 1ULL << 14, SD_BUS_CREDS_CMDLINE = 1ULL << 15, SD_BUS_CREDS_CGROUP = 1ULL << 16, SD_BUS_CREDS_UNIT = 1ULL << 17, SD_BUS_CREDS_SLICE = 1ULL << 18, SD_BUS_CREDS_USER_UNIT = 1ULL << 19, SD_BUS_CREDS_USER_SLICE = 1ULL << 20, SD_BUS_CREDS_SESSION = 1ULL << 21, SD_BUS_CREDS_OWNER_UID = 1ULL << 22, SD_BUS_CREDS_EFFECTIVE_CAPS = 1ULL << 23, SD_BUS_CREDS_PERMITTED_CAPS = 1ULL << 24, SD_BUS_CREDS_INHERITABLE_CAPS = 1ULL << 25, SD_BUS_CREDS_BOUNDING_CAPS = 1ULL << 26, SD_BUS_CREDS_SELINUX_CONTEXT = 1ULL << 27, SD_BUS_CREDS_AUDIT_SESSION_ID = 1ULL << 28, SD_BUS_CREDS_AUDIT_LOGIN_UID = 1ULL << 29, SD_BUS_CREDS_TTY = 1ULL << 30, SD_BUS_CREDS_UNIQUE_NAME = 1ULL << 31, SD_BUS_CREDS_WELL_KNOWN_NAMES = 1ULL << 32, SD_BUS_CREDS_DESCRIPTION = 1ULL << 33, SD_BUS_CREDS_AUGMENT = 1ULL << 63, _SD_BUS_CREDS_ALL = (1ULL << 34) -1 }; __extension__ enum { SD_BUS_NAME_REPLACE_EXISTING = 1ULL << 0, SD_BUS_NAME_ALLOW_REPLACEMENT = 1ULL << 1, SD_BUS_NAME_QUEUE = 1ULL << 2 }; __extension__ enum { SD_BUS_MESSAGE_DUMP_WITH_HEADER = 1ULL << 0, SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY = 1ULL << 1, _SD_BUS_MESSAGE_DUMP_KNOWN_FLAGS = SD_BUS_MESSAGE_DUMP_WITH_HEADER | SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY }; typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); typedef int (*sd_bus_property_get_t) (sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error); typedef int (*sd_bus_property_set_t) (sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *ret_error); typedef int (*sd_bus_object_find_t) (sd_bus *bus, const char *path, const char *interface, void *userdata, void **ret_found, sd_bus_error *ret_error); typedef int (*sd_bus_node_enumerator_t) (sd_bus *bus, const char *prefix, void *userdata, char ***ret_nodes, sd_bus_error *ret_error); typedef int (*sd_bus_track_handler_t) (sd_bus_track *track, void *userdata); typedef _sd_destroy_t sd_bus_destroy_t; # 1 "../systemd-stable-254.8/src/systemd/sd-bus-protocol.h" 1 # 22 "../systemd-stable-254.8/src/systemd/sd-bus-protocol.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; enum { _SD_BUS_MESSAGE_TYPE_INVALID = 0, SD_BUS_MESSAGE_METHOD_CALL, SD_BUS_MESSAGE_METHOD_RETURN, SD_BUS_MESSAGE_METHOD_ERROR, SD_BUS_MESSAGE_SIGNAL, _SD_BUS_MESSAGE_TYPE_MAX }; enum { _SD_BUS_TYPE_INVALID = 0, SD_BUS_TYPE_BYTE = 'y', SD_BUS_TYPE_BOOLEAN = 'b', SD_BUS_TYPE_INT16 = 'n', SD_BUS_TYPE_UINT16 = 'q', SD_BUS_TYPE_INT32 = 'i', SD_BUS_TYPE_UINT32 = 'u', SD_BUS_TYPE_INT64 = 'x', SD_BUS_TYPE_UINT64 = 't', SD_BUS_TYPE_DOUBLE = 'd', SD_BUS_TYPE_STRING = 's', SD_BUS_TYPE_OBJECT_PATH = 'o', SD_BUS_TYPE_SIGNATURE = 'g', SD_BUS_TYPE_UNIX_FD = 'h', SD_BUS_TYPE_ARRAY = 'a', SD_BUS_TYPE_VARIANT = 'v', SD_BUS_TYPE_STRUCT = 'r', SD_BUS_TYPE_STRUCT_BEGIN = '(', SD_BUS_TYPE_STRUCT_END = ')', SD_BUS_TYPE_DICT_ENTRY = 'e', SD_BUS_TYPE_DICT_ENTRY_BEGIN = '{', SD_BUS_TYPE_DICT_ENTRY_END = '}' }; # 106 "../systemd-stable-254.8/src/systemd/sd-bus-protocol.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; # 120 "../systemd-stable-254.8/src/systemd/sd-bus.h" 2 # 1 "../systemd-stable-254.8/src/systemd/sd-bus-vtable.h" 1 # 22 "../systemd-stable-254.8/src/systemd/sd-bus-vtable.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; typedef struct sd_bus_vtable sd_bus_vtable; # 1 "../systemd-stable-254.8/src/systemd/sd-bus.h" 1 # 27 "../systemd-stable-254.8/src/systemd/sd-bus-vtable.h" 2 enum { _SD_BUS_VTABLE_START = '<', _SD_BUS_VTABLE_END = '>', _SD_BUS_VTABLE_METHOD = 'M', _SD_BUS_VTABLE_SIGNAL = 'S', _SD_BUS_VTABLE_PROPERTY = 'P', _SD_BUS_VTABLE_WRITABLE_PROPERTY = 'W' }; __extension__ enum { SD_BUS_VTABLE_DEPRECATED = 1ULL << 0, SD_BUS_VTABLE_HIDDEN = 1ULL << 1, SD_BUS_VTABLE_UNPRIVILEGED = 1ULL << 2, SD_BUS_VTABLE_METHOD_NO_REPLY = 1ULL << 3, SD_BUS_VTABLE_PROPERTY_CONST = 1ULL << 4, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE = 1ULL << 5, SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION = 1ULL << 6, SD_BUS_VTABLE_PROPERTY_EXPLICIT = 1ULL << 7, SD_BUS_VTABLE_SENSITIVE = 1ULL << 8, SD_BUS_VTABLE_ABSOLUTE_OFFSET = 1ULL << 9, _SD_BUS_VTABLE_CAPABILITY_MASK = 0xFFFFULL << 40 }; enum { _SD_BUS_VTABLE_PARAM_NAMES = 1 << 0 }; extern const unsigned sd_bus_object_vtable_format; # 66 "../systemd-stable-254.8/src/systemd/sd-bus-vtable.h" struct sd_bus_vtable { __extension__ uint8_t type:8; __extension__ uint64_t flags:56; union { struct { size_t element_size; uint64_t features; const unsigned *vtable_format_reference; } start; struct { size_t _reserved; } end; struct { const char *member; const char *signature; const char *result; sd_bus_message_handler_t handler; size_t offset; const char *names; } method; struct { const char *member; const char *signature; const char *names; } signal; struct { const char *member; const char *signature; sd_bus_property_get_t get; sd_bus_property_set_t set; size_t offset; } property; } x; }; # 351 "../systemd-stable-254.8/src/systemd/sd-bus-vtable.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; # 121 "../systemd-stable-254.8/src/systemd/sd-bus.h" 2 int sd_bus_interface_name_is_valid(const char *p); int sd_bus_service_name_is_valid(const char *p); int sd_bus_member_name_is_valid(const char *p); int sd_bus_object_path_is_valid(const char *p); int sd_bus_default(sd_bus **ret); int sd_bus_default_user(sd_bus **ret); int sd_bus_default_system(sd_bus **ret); int sd_bus_open(sd_bus **ret); int sd_bus_open_with_description(sd_bus **ret, const char *description); int sd_bus_open_user(sd_bus **ret); int sd_bus_open_user_with_description(sd_bus **ret, const char *description); int sd_bus_open_user_machine(sd_bus **ret, const char *machine); int sd_bus_open_system(sd_bus **ret); int sd_bus_open_system_with_description(sd_bus **ret, const char *description); int sd_bus_open_system_remote(sd_bus **ret, const char *host); int sd_bus_open_system_machine(sd_bus **ret, const char *machine); int sd_bus_new(sd_bus **ret); int sd_bus_set_address(sd_bus *bus, const char *address); int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd); int sd_bus_set_exec(sd_bus *bus, const char *path, char *const *argv); int sd_bus_get_address(sd_bus *bus, const char **address); int sd_bus_set_bus_client(sd_bus *bus, int b); int sd_bus_is_bus_client(sd_bus *bus); int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t bus_id); int sd_bus_is_server(sd_bus *bus); int sd_bus_set_anonymous(sd_bus *bus, int b); int sd_bus_is_anonymous(sd_bus *bus); int sd_bus_set_trusted(sd_bus *bus, int b); int sd_bus_is_trusted(sd_bus *bus); int sd_bus_set_monitor(sd_bus *bus, int b); int sd_bus_is_monitor(sd_bus *bus); int sd_bus_set_description(sd_bus *bus, const char *description); int sd_bus_get_description(sd_bus *bus, const char **description); int sd_bus_negotiate_creds(sd_bus *bus, int b, uint64_t creds_mask); int sd_bus_negotiate_timestamp(sd_bus *bus, int b); int sd_bus_negotiate_fds(sd_bus *bus, int b); int sd_bus_can_send(sd_bus *bus, char type); int sd_bus_get_creds_mask(sd_bus *bus, uint64_t *creds_mask); int sd_bus_set_allow_interactive_authorization(sd_bus *bus, int b); int sd_bus_get_allow_interactive_authorization(sd_bus *bus); int sd_bus_set_exit_on_disconnect(sd_bus *bus, int b); int sd_bus_get_exit_on_disconnect(sd_bus *bus); int sd_bus_set_close_on_exit(sd_bus *bus, int b); int sd_bus_get_close_on_exit(sd_bus *bus); int sd_bus_set_watch_bind(sd_bus *bus, int b); int sd_bus_get_watch_bind(sd_bus *bus); int sd_bus_set_connected_signal(sd_bus *bus, int b); int sd_bus_get_connected_signal(sd_bus *bus); int sd_bus_set_sender(sd_bus *bus, const char *sender); int sd_bus_get_sender(sd_bus *bus, const char **ret); int sd_bus_start(sd_bus *bus); int sd_bus_try_close(sd_bus *bus) __attribute__((__deprecated__)); void sd_bus_close(sd_bus *bus); sd_bus* sd_bus_ref(sd_bus *bus); sd_bus* sd_bus_unref(sd_bus *bus); sd_bus* sd_bus_close_unref(sd_bus *bus); sd_bus* sd_bus_flush_close_unref(sd_bus *bus); void sd_bus_default_flush_close(void); int sd_bus_is_open(sd_bus *bus); int sd_bus_is_ready(sd_bus *bus); int sd_bus_get_bus_id(sd_bus *bus, sd_id128_t *id); int sd_bus_get_scope(sd_bus *bus, const char **scope); int sd_bus_get_tid(sd_bus *bus, pid_t *tid); int sd_bus_get_owner_creds(sd_bus *bus, uint64_t creds_mask, sd_bus_creds **ret); int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie); int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie); int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_message **reply); int sd_bus_call_async(sd_bus *bus, sd_bus_slot **slot, sd_bus_message *m, sd_bus_message_handler_t callback, void *userdata, uint64_t usec); int sd_bus_get_fd(sd_bus *bus); int sd_bus_get_events(sd_bus *bus); int sd_bus_get_timeout(sd_bus *bus, uint64_t *timeout_usec); int sd_bus_process(sd_bus *bus, sd_bus_message **r); int sd_bus_process_priority(sd_bus *bus, int64_t max_priority, sd_bus_message **r) __attribute__((__deprecated__)); int sd_bus_wait(sd_bus *bus, uint64_t timeout_usec); int sd_bus_flush(sd_bus *bus); int sd_bus_enqueue_for_read(sd_bus *bus, sd_bus_message *m); sd_bus_slot* sd_bus_get_current_slot(sd_bus *bus); sd_bus_message* sd_bus_get_current_message(sd_bus *bus); sd_bus_message_handler_t sd_bus_get_current_handler(sd_bus *bus); void* sd_bus_get_current_userdata(sd_bus *bus); int sd_bus_attach_event(sd_bus *bus, sd_event *e, int priority); int sd_bus_detach_event(sd_bus *bus); sd_event* sd_bus_get_event(sd_bus *bus); int sd_bus_get_n_queued_read(sd_bus *bus, uint64_t *ret); int sd_bus_get_n_queued_write(sd_bus *bus, uint64_t *ret); int sd_bus_set_method_call_timeout(sd_bus *bus, uint64_t usec); int sd_bus_get_method_call_timeout(sd_bus *bus, uint64_t *ret); int sd_bus_add_filter(sd_bus *bus, sd_bus_slot **slot, sd_bus_message_handler_t callback, void *userdata); int sd_bus_add_match(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handler_t callback, void *userdata); int sd_bus_add_match_async(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handler_t callback, sd_bus_message_handler_t install_callback, void *userdata); int sd_bus_add_object(sd_bus *bus, sd_bus_slot **slot, const char *path, sd_bus_message_handler_t callback, void *userdata); int sd_bus_add_fallback(sd_bus *bus, sd_bus_slot **slot, const char *prefix, sd_bus_message_handler_t callback, void *userdata); int sd_bus_add_object_vtable(sd_bus *bus, sd_bus_slot **slot, const char *path, const char *interface, const sd_bus_vtable *vtable, void *userdata); int sd_bus_add_fallback_vtable(sd_bus *bus, sd_bus_slot **slot, const char *prefix, const char *interface, const sd_bus_vtable *vtable, sd_bus_object_find_t find, void *userdata); int sd_bus_add_node_enumerator(sd_bus *bus, sd_bus_slot **slot, const char *path, sd_bus_node_enumerator_t callback, void *userdata); int sd_bus_add_object_manager(sd_bus *bus, sd_bus_slot **slot, const char *path); sd_bus_slot* sd_bus_slot_ref(sd_bus_slot *slot); sd_bus_slot* sd_bus_slot_unref(sd_bus_slot *slot); sd_bus* sd_bus_slot_get_bus(sd_bus_slot *slot); void* sd_bus_slot_get_userdata(sd_bus_slot *slot); void* sd_bus_slot_set_userdata(sd_bus_slot *slot, void *userdata); int sd_bus_slot_set_description(sd_bus_slot *slot, const char *description); int sd_bus_slot_get_description(sd_bus_slot *slot, const char **description); int sd_bus_slot_get_floating(sd_bus_slot *slot); int sd_bus_slot_set_floating(sd_bus_slot *slot, int b); int sd_bus_slot_set_destroy_callback(sd_bus_slot *s, sd_bus_destroy_t callback); int sd_bus_slot_get_destroy_callback(sd_bus_slot *s, sd_bus_destroy_t *callback); sd_bus_message* sd_bus_slot_get_current_message(sd_bus_slot *slot); sd_bus_message_handler_t sd_bus_slot_get_current_handler(sd_bus_slot *slot); void* sd_bus_slot_get_current_userdata(sd_bus_slot *slot); int sd_bus_message_new(sd_bus *bus, sd_bus_message **m, uint8_t type); int sd_bus_message_new_signal(sd_bus *bus, sd_bus_message **m, const char *path, const char *interface, const char *member); int sd_bus_message_new_signal_to(sd_bus *bus, sd_bus_message **m, const char *destination, const char *path, const char *interface, const char *member); int sd_bus_message_new_method_call(sd_bus *bus, sd_bus_message **m, const char *destination, const char *path, const char *interface, const char *member); int sd_bus_message_new_method_return(sd_bus_message *call, sd_bus_message **m); int sd_bus_message_new_method_error(sd_bus_message *call, sd_bus_message **m, const sd_bus_error *e); int sd_bus_message_new_method_errorf(sd_bus_message *call, sd_bus_message **m, const char *name, const char *format, ...) __attribute__((__format__(printf, 4, 5))); int sd_bus_message_new_method_errno(sd_bus_message *call, sd_bus_message **m, int error, const sd_bus_error *e); int sd_bus_message_new_method_errnof(sd_bus_message *call, sd_bus_message **m, int error, const char *format, ...) __attribute__((__format__(printf, 4, 5))); sd_bus_message* sd_bus_message_ref(sd_bus_message *m); sd_bus_message* sd_bus_message_unref(sd_bus_message *m); int sd_bus_message_seal(sd_bus_message *m, uint64_t cookie, uint64_t timeout_usec); int sd_bus_message_get_type(sd_bus_message *m, uint8_t *type); int sd_bus_message_get_cookie(sd_bus_message *m, uint64_t *cookie); int sd_bus_message_get_reply_cookie(sd_bus_message *m, uint64_t *cookie); int sd_bus_message_get_priority(sd_bus_message *m, int64_t *priority) __attribute__((__deprecated__)); int sd_bus_message_get_expect_reply(sd_bus_message *m); int sd_bus_message_get_auto_start(sd_bus_message *m); int sd_bus_message_get_allow_interactive_authorization(sd_bus_message *m); const char* sd_bus_message_get_signature(sd_bus_message *m, int complete); const char* sd_bus_message_get_path(sd_bus_message *m); const char* sd_bus_message_get_interface(sd_bus_message *m); const char* sd_bus_message_get_member(sd_bus_message *m); const char* sd_bus_message_get_destination(sd_bus_message *m); const char* sd_bus_message_get_sender(sd_bus_message *m); const sd_bus_error* sd_bus_message_get_error(sd_bus_message *m); int sd_bus_message_get_errno(sd_bus_message *m); int sd_bus_message_get_monotonic_usec(sd_bus_message *m, uint64_t *usec); int sd_bus_message_get_realtime_usec(sd_bus_message *m, uint64_t *usec); int sd_bus_message_get_seqnum(sd_bus_message *m, uint64_t *seqnum); sd_bus* sd_bus_message_get_bus(sd_bus_message *m); sd_bus_creds* sd_bus_message_get_creds(sd_bus_message *m); int sd_bus_message_is_signal(sd_bus_message *m, const char *interface, const char *member); int sd_bus_message_is_method_call(sd_bus_message *m, const char *interface, const char *member); int sd_bus_message_is_method_error(sd_bus_message *m, const char *name); int sd_bus_message_is_empty(sd_bus_message *m); int sd_bus_message_has_signature(sd_bus_message *m, const char *signature); int sd_bus_message_set_expect_reply(sd_bus_message *m, int b); int sd_bus_message_set_auto_start(sd_bus_message *m, int b); int sd_bus_message_set_allow_interactive_authorization(sd_bus_message *m, int b); int sd_bus_message_set_destination(sd_bus_message *m, const char *destination); int sd_bus_message_set_sender(sd_bus_message *m, const char *sender); int sd_bus_message_set_priority(sd_bus_message *m, int64_t priority) __attribute__((__deprecated__)); int sd_bus_message_append(sd_bus_message *m, const char *types, ...); int sd_bus_message_appendv(sd_bus_message *m, const char *types, va_list ap); int sd_bus_message_append_basic(sd_bus_message *m, char type, const void *p); int sd_bus_message_append_array(sd_bus_message *m, char type, const void *ptr, size_t size); int sd_bus_message_append_array_space(sd_bus_message *m, char type, size_t size, void **ptr); int sd_bus_message_append_array_iovec(sd_bus_message *m, char type, const struct iovec *iov, unsigned n); int sd_bus_message_append_array_memfd(sd_bus_message *m, char type, int memfd, uint64_t offset, uint64_t size); int sd_bus_message_append_string_space(sd_bus_message *m, size_t size, char **s); int sd_bus_message_append_string_iovec(sd_bus_message *m, const struct iovec *iov, unsigned n); int sd_bus_message_append_string_memfd(sd_bus_message *m, int memfd, uint64_t offset, uint64_t size); int sd_bus_message_append_strv(sd_bus_message *m, char **l); int sd_bus_message_open_container(sd_bus_message *m, char type, const char *contents); int sd_bus_message_close_container(sd_bus_message *m); int sd_bus_message_copy(sd_bus_message *m, sd_bus_message *source, int all); int sd_bus_message_read(sd_bus_message *m, const char *types, ...); int sd_bus_message_readv(sd_bus_message *m, const char *types, va_list ap); int sd_bus_message_read_basic(sd_bus_message *m, char type, void *p); int sd_bus_message_read_array(sd_bus_message *m, char type, const void **ptr, size_t *size); int sd_bus_message_read_strv(sd_bus_message *m, char ***l); int sd_bus_message_read_strv_extend(sd_bus_message *m, char ***l); int sd_bus_message_skip(sd_bus_message *m, const char *types); int sd_bus_message_enter_container(sd_bus_message *m, char type, const char *contents); int sd_bus_message_exit_container(sd_bus_message *m); int sd_bus_message_peek_type(sd_bus_message *m, char *type, const char **contents); int sd_bus_message_verify_type(sd_bus_message *m, char type, const char *contents); int sd_bus_message_at_end(sd_bus_message *m, int complete); int sd_bus_message_rewind(sd_bus_message *m, int complete); int sd_bus_message_sensitive(sd_bus_message *m); int sd_bus_message_dump(sd_bus_message *m, FILE *f, uint64_t flags); int sd_bus_get_unique_name(sd_bus *bus, const char **unique); int sd_bus_request_name(sd_bus *bus, const char *name, uint64_t flags); int sd_bus_request_name_async(sd_bus *bus, sd_bus_slot **ret_slot, const char *name, uint64_t flags, sd_bus_message_handler_t callback, void *userdata); int sd_bus_release_name(sd_bus *bus, const char *name); int sd_bus_release_name_async(sd_bus *bus, sd_bus_slot **ret_slot, const char *name, sd_bus_message_handler_t callback, void *userdata); int sd_bus_list_names(sd_bus *bus, char ***acquired, char ***activatable); int sd_bus_get_name_creds(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **creds); int sd_bus_get_name_machine_id(sd_bus *bus, const char *name, sd_id128_t *machine); int sd_bus_message_send(sd_bus_message *m); int sd_bus_call_methodv(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const char *types, va_list ap); int sd_bus_call_method(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const char *types, ...); int sd_bus_call_method_asyncv(sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata, const char *types, va_list ap); int sd_bus_call_method_async(sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata, const char *types, ...); int sd_bus_get_property(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const char *type); int sd_bus_get_property_trivial(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, char type, void *ret_ptr); int sd_bus_get_property_string(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, char **ret); int sd_bus_get_property_strv(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, char ***ret); int sd_bus_set_propertyv(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, const char *type, va_list ap); int sd_bus_set_property(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, const char *type, ...); int sd_bus_reply_method_returnv(sd_bus_message *call, const char *types, va_list ap); int sd_bus_reply_method_return(sd_bus_message *call, const char *types, ...); int sd_bus_reply_method_error(sd_bus_message *call, const sd_bus_error *e); int sd_bus_reply_method_errorfv(sd_bus_message *call, const char *name, const char *format, va_list ap) __attribute__((__format__(printf, 3, 0))); int sd_bus_reply_method_errorf(sd_bus_message *call, const char *name, const char *format, ...) __attribute__((__format__(printf, 3, 4))); int sd_bus_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *e); int sd_bus_reply_method_errnofv(sd_bus_message *call, int error, const char *format, va_list ap) __attribute__((__format__(printf, 3, 0))); int sd_bus_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) __attribute__((__format__(printf, 3, 4))); int sd_bus_emit_signalv(sd_bus *bus, const char *path, const char *interface, const char *member, const char *types, va_list ap); int sd_bus_emit_signal(sd_bus *bus, const char *path, const char *interface, const char *member, const char *types, ...); int sd_bus_emit_signal_tov(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, const char *types, va_list ap); int sd_bus_emit_signal_to(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, const char *types, ...); int sd_bus_emit_properties_changed_strv(sd_bus *bus, const char *path, const char *interface, char **names); int sd_bus_emit_properties_changed(sd_bus *bus, const char *path, const char *interface, const char *name, ...) __attribute__((__sentinel__)); int sd_bus_emit_object_added(sd_bus *bus, const char *path); int sd_bus_emit_object_removed(sd_bus *bus, const char *path); int sd_bus_emit_interfaces_added_strv(sd_bus *bus, const char *path, char **interfaces); int sd_bus_emit_interfaces_added(sd_bus *bus, const char *path, const char *interface, ...) __attribute__((__sentinel__)); int sd_bus_emit_interfaces_removed_strv(sd_bus *bus, const char *path, char **interfaces); int sd_bus_emit_interfaces_removed(sd_bus *bus, const char *path, const char *interface, ...) __attribute__((__sentinel__)); int sd_bus_query_sender_creds(sd_bus_message *m, uint64_t mask, sd_bus_creds **creds); int sd_bus_query_sender_privilege(sd_bus_message *m, int capability); int sd_bus_match_signal(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata); int sd_bus_match_signal_async(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path, const char *interface, const char *member, sd_bus_message_handler_t match_callback, sd_bus_message_handler_t add_callback, void *userdata); int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t creds_mask); sd_bus_creds* sd_bus_creds_ref(sd_bus_creds *c); sd_bus_creds* sd_bus_creds_unref(sd_bus_creds *c); uint64_t sd_bus_creds_get_mask(const sd_bus_creds *c); uint64_t sd_bus_creds_get_augmented_mask(const sd_bus_creds *c); int sd_bus_creds_get_pid(sd_bus_creds *c, pid_t *pid); int sd_bus_creds_get_ppid(sd_bus_creds *c, pid_t *ppid); int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid); int sd_bus_creds_get_uid(sd_bus_creds *c, uid_t *uid); int sd_bus_creds_get_euid(sd_bus_creds *c, uid_t *euid); int sd_bus_creds_get_suid(sd_bus_creds *c, uid_t *suid); int sd_bus_creds_get_fsuid(sd_bus_creds *c, uid_t *fsuid); int sd_bus_creds_get_gid(sd_bus_creds *c, gid_t *gid); int sd_bus_creds_get_egid(sd_bus_creds *c, gid_t *egid); int sd_bus_creds_get_sgid(sd_bus_creds *c, gid_t *sgid); int sd_bus_creds_get_fsgid(sd_bus_creds *c, gid_t *fsgid); int sd_bus_creds_get_supplementary_gids(sd_bus_creds *c, const gid_t **gids); int sd_bus_creds_get_comm(sd_bus_creds *c, const char **comm); int sd_bus_creds_get_tid_comm(sd_bus_creds *c, const char **comm); int sd_bus_creds_get_exe(sd_bus_creds *c, const char **exe); int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline); int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **cgroup); int sd_bus_creds_get_unit(sd_bus_creds *c, const char **unit); int sd_bus_creds_get_slice(sd_bus_creds *c, const char **slice); int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **unit); int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **slice); int sd_bus_creds_get_session(sd_bus_creds *c, const char **session); int sd_bus_creds_get_owner_uid(sd_bus_creds *c, uid_t *uid); int sd_bus_creds_has_effective_cap(sd_bus_creds *c, int capability); int sd_bus_creds_has_permitted_cap(sd_bus_creds *c, int capability); int sd_bus_creds_has_inheritable_cap(sd_bus_creds *c, int capability); int sd_bus_creds_has_bounding_cap(sd_bus_creds *c, int capability); int sd_bus_creds_get_selinux_context(sd_bus_creds *c, const char **context); int sd_bus_creds_get_audit_session_id(sd_bus_creds *c, uint32_t *sessionid); int sd_bus_creds_get_audit_login_uid(sd_bus_creds *c, uid_t *loginuid); int sd_bus_creds_get_tty(sd_bus_creds *c, const char **tty); int sd_bus_creds_get_unique_name(sd_bus_creds *c, const char **name); int sd_bus_creds_get_well_known_names(sd_bus_creds *c, char ***names); int sd_bus_creds_get_description(sd_bus_creds *c, const char **name); void sd_bus_error_free(sd_bus_error *e); int sd_bus_error_set(sd_bus_error *e, const char *name, const char *message); int sd_bus_error_setf(sd_bus_error *e, const char *name, const char *format, ...) __attribute__((__format__(printf, 3, 4))); int sd_bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap) __attribute__((__format__(printf, 3, 0))); int sd_bus_error_set_const(sd_bus_error *e, const char *name, const char *message); int sd_bus_error_set_errno(sd_bus_error *e, int error); int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) __attribute__((__format__(printf, 3, 4))); int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) __attribute__((__format__(printf, 3, 0))); int sd_bus_error_get_errno(const sd_bus_error *e); int sd_bus_error_copy(sd_bus_error *dest, const sd_bus_error *e); int sd_bus_error_move(sd_bus_error *dest, sd_bus_error *e); int sd_bus_error_is_set(const sd_bus_error *e); int sd_bus_error_has_name(const sd_bus_error *e, const char *name); int sd_bus_error_has_names_sentinel(const sd_bus_error *e, ...) __attribute__((__sentinel__)); # 478 "../systemd-stable-254.8/src/systemd/sd-bus.h" int sd_bus_error_add_map(const sd_bus_error_map *map); # 496 "../systemd-stable-254.8/src/systemd/sd-bus.h" int sd_bus_path_encode(const char *prefix, const char *external_id, char **ret_path); int sd_bus_path_encode_many(char **out, const char *path_template, ...); int sd_bus_path_decode(const char *path, const char *prefix, char **ret_external_id); int sd_bus_path_decode_many(const char *path, const char *path_template, ...); int sd_bus_track_new(sd_bus *bus, sd_bus_track **track, sd_bus_track_handler_t handler, void *userdata); sd_bus_track* sd_bus_track_ref(sd_bus_track *track); sd_bus_track* sd_bus_track_unref(sd_bus_track *track); sd_bus* sd_bus_track_get_bus(sd_bus_track *track); void* sd_bus_track_get_userdata(sd_bus_track *track); void* sd_bus_track_set_userdata(sd_bus_track *track, void *userdata); int sd_bus_track_add_sender(sd_bus_track *track, sd_bus_message *m); int sd_bus_track_remove_sender(sd_bus_track *track, sd_bus_message *m); int sd_bus_track_add_name(sd_bus_track *track, const char *name); int sd_bus_track_remove_name(sd_bus_track *track, const char *name); int sd_bus_track_set_recursive(sd_bus_track *track, int b); int sd_bus_track_get_recursive(sd_bus_track *track); unsigned sd_bus_track_count(sd_bus_track *track); int sd_bus_track_count_sender(sd_bus_track *track, sd_bus_message *m); int sd_bus_track_count_name(sd_bus_track *track, const char *name); const char* sd_bus_track_contains(sd_bus_track *track, const char *name); const char* sd_bus_track_first(sd_bus_track *track); const char* sd_bus_track_next(sd_bus_track *track); int sd_bus_track_set_destroy_callback(sd_bus_track *s, sd_bus_destroy_t callback); int sd_bus_track_get_destroy_callback(sd_bus_track *s, sd_bus_destroy_t *ret); static __inline__ void sd_bus_unrefp(sd_bus **p) { if (*p) sd_bus_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_close_unrefp(sd_bus **p) { if (*p) sd_bus_close_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_flush_close_unrefp(sd_bus **p) { if (*p) sd_bus_flush_close_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_slot_unrefp(sd_bus_slot **p) { if (*p) sd_bus_slot_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_message_unrefp(sd_bus_message **p) { if (*p) sd_bus_message_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_creds_unrefp(sd_bus_creds **p) { if (*p) sd_bus_creds_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_bus_track_unrefp(sd_bus_track **p) { if (*p) sd_bus_track_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; struct _sd_useless_struct_to_allow_trailing_semicolon_; # 5 "../systemd-stable-254.8/src/shared/bus-polkit.h" 2 # 1 "../systemd-stable-254.8/src/basic/hashmap.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 1 3 4 # 5 "../systemd-stable-254.8/src/basic/hashmap.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/hashmap.h" 2 # 1 "../systemd-stable-254.8/src/basic/hash-funcs.h" 1 # 1 "../systemd-stable-254.8/src/basic/siphash24.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/siphash24.h" 2 # 1 "../systemd-stable-254.8/src/basic/string-util.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 6 "../systemd-stable-254.8/src/basic/string-util.h" 2 # 1 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 1 # 23 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" typedef char sd_char; static inline int strcmp_ptr(const sd_char *a, const sd_char *b) { if (a && b) return strcmp(a, b); return ({ const typeof((a)) __unique_prefix_A4 = ((a)); const typeof((b)) __unique_prefix_B5 = ((b)); __unique_prefix_A4 < __unique_prefix_B5 ? -1 : __unique_prefix_A4 > __unique_prefix_B5 ? 1 : 0; }); } static inline int strcasecmp_ptr(const sd_char *a, const sd_char *b) { if (a && b) return strcasecmp(a, b); return ({ const typeof((a)) __unique_prefix_A6 = ((a)); const typeof((b)) __unique_prefix_B7 = ((b)); __unique_prefix_A6 < __unique_prefix_B7 ? -1 : __unique_prefix_A6 > __unique_prefix_B7 ? 1 : 0; }); } static inline # 45 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 45 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" streq_ptr(const sd_char *a, const sd_char *b) { return strcmp_ptr(a, b) == 0; } static inline # 49 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 49 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" strcaseeq_ptr(const sd_char *a, const sd_char *b) { return strcasecmp_ptr(a, b) == 0; } static inline size_t strlen_ptr(const sd_char *s) { if (!s) return 0; return strlen(s); } sd_char *startswith(const sd_char *s, const sd_char *prefix) __attribute__((__pure__)); sd_char *startswith_no_case(const sd_char *s, const sd_char *prefix) __attribute__((__pure__)); sd_char *endswith(const sd_char *s, const sd_char *postfix) __attribute__((__pure__)); sd_char *endswith_no_case(const sd_char *s, const sd_char *postfix) __attribute__((__pure__)); static inline # 65 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 65 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" isempty(const sd_char *a) { return !a || a[0] == '\0'; } static inline const sd_char *strempty(const sd_char *s) { return s ?: (""); } static inline const sd_char *yes_no( # 73 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 73 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" b) { return b ? ("yes") : ("no"); } static inline const sd_char* comparison_operator(int result) { return result < 0 ? ("<") : result > 0 ? (">") : ("=="); } int strverscmp_improved(const sd_char *a, const sd_char *b); static inline void *memory_startswith(const void *p, size_t sz, const sd_char *token) { do { if ((__builtin_expect(!!(!(token)), 0))) log_assert_failed("token", (&"../systemd-stable-254.8/src/fundamental/string-util-fundamental.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 85, __func__); } while ( # 85 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 0 # 85 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ); size_t n = strlen(token) * sizeof(sd_char); if (sz < n) return # 89 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 ((void *)0) # 89 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ; do { if ((__builtin_expect(!!(!(p)), 0))) log_assert_failed("p", (&"../systemd-stable-254.8/src/fundamental/string-util-fundamental.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 91, __func__); } while ( # 91 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 0 # 91 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ); if (memcmp(p, token, n) != 0) return # 94 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 ((void *)0) # 94 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ; return (uint8_t*) p + n; } static inline # 105 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 105 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ascii_isdigit(sd_char a) { return a >= '0' && a <= '9'; } static inline # 110 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 110 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ascii_ishex(sd_char a) { return ascii_isdigit(a) || (a >= 'a' && a <= 'f') || (a >= 'A' && a <= 'F'); } static inline # 114 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" 3 4 _Bool # 114 "../systemd-stable-254.8/src/fundamental/string-util-fundamental.h" ascii_isalpha(sd_char a) { return (a >= 'a' && a <= 'z') || (a >= 'A' && a <= 'Z'); } # 11 "../systemd-stable-254.8/src/basic/string-util.h" 2 # 29 "../systemd-stable-254.8/src/basic/string-util.h" static inline char* strstr_ptr(const char *haystack, const char *needle) { if (!haystack || !needle) return # 31 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 31 "../systemd-stable-254.8/src/basic/string-util.h" ; return strstr(haystack, needle); } static inline char *strstrafter(const char *haystack, const char *needle) { char *p; p = strstr_ptr(haystack, needle); if (!p) return # 42 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 42 "../systemd-stable-254.8/src/basic/string-util.h" ; return p + strlen(needle); } static inline const char* strnull(const char *s) { return s ?: "(null)"; } static inline const char *strna(const char *s) { return s ?: "n/a"; } static inline const char* true_false( # 55 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 55 "../systemd-stable-254.8/src/basic/string-util.h" b) { return b ? "true" : "false"; } static inline const char* plus_minus( # 59 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 59 "../systemd-stable-254.8/src/basic/string-util.h" b) { return b ? "+" : "-"; } static inline const char* one_zero( # 63 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 63 "../systemd-stable-254.8/src/basic/string-util.h" b) { return b ? "1" : "0"; } static inline const char* enable_disable( # 67 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 67 "../systemd-stable-254.8/src/basic/string-util.h" b) { return b ? "enable" : "disable"; } static inline const char* enabled_disabled( # 71 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 71 "../systemd-stable-254.8/src/basic/string-util.h" b) { return b ? "enabled" : "disabled"; } # 83 "../systemd-stable-254.8/src/basic/string-util.h" static inline const char *empty_to_na(const char *p) { return isempty(p) ? "n/a" : p; } static inline const char *empty_to_dash(const char *str) { return isempty(str) ? "-" : str; } static inline # 91 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 91 "../systemd-stable-254.8/src/basic/string-util.h" empty_or_dash(const char *str) { return !str || str[0] == 0 || (str[0] == '-' && str[1] == 0); } static inline const char *empty_or_dash_to_null(const char *p) { return empty_or_dash(p) ? # 98 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 98 "../systemd-stable-254.8/src/basic/string-util.h" : p; } char *first_word(const char *s, const char *word) __attribute__((__pure__)); char *strnappend(const char *s, const char *suffix, size_t length); char *strjoin_real(const char *x, ...) __attribute__((__sentinel__)); # 128 "../systemd-stable-254.8/src/basic/string-util.h" char *strstrip(char *s); char *delete_chars(char *s, const char *bad); char *delete_trailing_chars(char *s, const char *bad); char *truncate_nl_full(char *s, size_t *ret_len); static inline char *truncate_nl(char *s) { return truncate_nl_full(s, # 133 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 133 "../systemd-stable-254.8/src/basic/string-util.h" ); } static inline char *skip_leading_chars(const char *s, const char *bad) { if (!s) return # 138 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 138 "../systemd-stable-254.8/src/basic/string-util.h" ; if (!bad) bad = " \t\n\r"; return (char*) s + strspn(s, bad); } char ascii_tolower(char x); char *ascii_strlower(char *s); char *ascii_strlower_n(char *s, size_t n); char ascii_toupper(char x); char *ascii_strupper(char *s); int ascii_strcasecmp_n(const char *a, const char *b, size_t n); int ascii_strcasecmp_nn(const char *a, size_t n, const char *b, size_t m); # 156 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 156 "../systemd-stable-254.8/src/basic/string-util.h" chars_intersect(const char *a, const char *b) __attribute__((__pure__)); static inline # 158 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 158 "../systemd-stable-254.8/src/basic/string-util.h" __attribute__((__pure__)) in_charset(const char *s, const char* charset) { do { if ((__builtin_expect(!!(!(s)), 0))) log_assert_failed("s", (&"../systemd-stable-254.8/src/basic/string-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 159, __func__); } while ( # 159 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 0 # 159 "../systemd-stable-254.8/src/basic/string-util.h" ); do { if ((__builtin_expect(!!(!(charset)), 0))) log_assert_failed("charset", (&"../systemd-stable-254.8/src/basic/string-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 160, __func__); } while ( # 160 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 0 # 160 "../systemd-stable-254.8/src/basic/string-util.h" ); return s[strspn(s, charset)] == '\0'; } static inline # 164 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 164 "../systemd-stable-254.8/src/basic/string-util.h" char_is_cc(char p) { return (uint8_t) p < (uint8_t) ' ' || p == 127; } # 172 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 172 "../systemd-stable-254.8/src/basic/string-util.h" string_has_cc(const char *p, const char *ok) __attribute__((__pure__)); char *ellipsize_mem(const char *s, size_t old_length_bytes, size_t new_length_columns, unsigned percent); static inline char *ellipsize(const char *s, size_t length, unsigned percent) { return ellipsize_mem(s, strlen(s), length, percent); } char *cellescape(char *buf, size_t len, const char *s); char* strshorten(char *s, size_t l); int strgrowpad0(char **s, size_t l); char *strreplace(const char *text, const char *old_string, const char *new_string); char *strip_tab_ansi(char **ibuf, size_t *_isz, size_t highlight[2]); char *strextend_with_separator_internal(char **x, const char *separator, ...) __attribute__((__sentinel__)); char *strextendn(char **x, const char *s, size_t l); int strextendf_with_separator(char **x, const char *separator, const char *format, ...) __attribute__((__format__(printf, 3, 4))); char *strrep(const char *s, unsigned n); int split_pair(const char *s, const char *sep, char **l, char **r); int free_and_strdup(char **p, const char *s); static inline int free_and_strdup_warn(char **p, const char *s) { int r; r = free_and_strdup(p, s); if (r < 0) return log_oom_internal( # 211 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 3 # 211 "../systemd-stable-254.8/src/basic/string-util.h" , (&"../systemd-stable-254.8/src/basic/string-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 211, __func__); return r; } int free_and_strndup(char **p, const char *s, size_t l); # 216 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 216 "../systemd-stable-254.8/src/basic/string-util.h" string_is_safe(const char *p) __attribute__((__pure__)); # 218 "../systemd-stable-254.8/src/basic/string-util.h" #pragma GCC diagnostic push # 218 "../systemd-stable-254.8/src/basic/string-util.h" ; # 218 "../systemd-stable-254.8/src/basic/string-util.h" #pragma GCC diagnostic ignored "-Wstringop-truncation" # 218 "../systemd-stable-254.8/src/basic/string-util.h" ; static inline void strncpy_exact(char *buf, const char *src, size_t buf_len) { strncpy(buf, src, buf_len); } # 222 "../systemd-stable-254.8/src/basic/string-util.h" #pragma GCC diagnostic pop # 222 "../systemd-stable-254.8/src/basic/string-util.h" ; static inline void *memory_startswith_no_case(const void *p, size_t sz, const char *token) { do { if ((__builtin_expect(!!(!(token)), 0))) log_assert_failed("token", (&"../systemd-stable-254.8/src/basic/string-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 228, __func__); } while ( # 228 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 0 # 228 "../systemd-stable-254.8/src/basic/string-util.h" ); size_t n = strlen(token); if (sz < n) return # 232 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 232 "../systemd-stable-254.8/src/basic/string-util.h" ; do { if ((__builtin_expect(!!(!(p)), 0))) log_assert_failed("p", (&"../systemd-stable-254.8/src/basic/string-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 234, __func__); } while ( # 234 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 0 # 234 "../systemd-stable-254.8/src/basic/string-util.h" ); for (size_t i = 0; i < n; i++) if (ascii_tolower(((char *)p)[i]) != ascii_tolower(token[i])) return # 238 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 238 "../systemd-stable-254.8/src/basic/string-util.h" ; return (uint8_t*) p + n; } static inline char* str_realloc(char *p) { if (!p) return # 247 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 247 "../systemd-stable-254.8/src/basic/string-util.h" ; return realloc(p, strlen(p) + 1) ?: p; } char* string_erase(char *x); int string_truncate_lines(const char *s, size_t n_lines, char **ret); int string_extract_line(const char *s, size_t i, char **ret); int string_contains_word_strv(const char *string, const char *separators, char **words, const char **ret_word); static inline int string_contains_word(const char *string, const char *separators, const char *word) { return string_contains_word_strv(string, separators, ((char**) ((const char*[]) { word, # 259 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 259 "../systemd-stable-254.8/src/basic/string-util.h" })), # 259 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 ((void *)0) # 259 "../systemd-stable-254.8/src/basic/string-util.h" ); } # 262 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 262 "../systemd-stable-254.8/src/basic/string-util.h" streq_skip_trailing_chars(const char *s1, const char *s2, const char *ok); char *string_replace_char(char *str, char old_char, char new_char); typedef enum MakeCStringMode { MAKE_CSTRING_REFUSE_TRAILING_NUL, MAKE_CSTRING_ALLOW_TRAILING_NUL, MAKE_CSTRING_REQUIRE_TRAILING_NUL, _MAKE_CSTRING_MODE_MAX, _MAKE_CSTRING_MODE_INVALID = -1, } MakeCStringMode; int make_cstring(const char *s, size_t n, MakeCStringMode mode, char **ret); size_t strspn_from_end(const char *str, const char *accept); char *strdupspn(const char *a, const char *accept); char *strdupcspn(const char *a, const char *reject); char *find_line_startswith(const char *haystack, const char *needle); char *startswith_strv(const char *string, char **strv); # 288 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 288 "../systemd-stable-254.8/src/basic/string-util.h" version_is_valid(const char *s); # 290 "../systemd-stable-254.8/src/basic/string-util.h" 3 4 _Bool # 290 "../systemd-stable-254.8/src/basic/string-util.h" version_is_valid_versionspec(const char *s); # 11 "../systemd-stable-254.8/src/basic/siphash24.h" 2 struct siphash { uint64_t v0; uint64_t v1; uint64_t v2; uint64_t v3; uint64_t padding; size_t inlen; }; void siphash24_init(struct siphash *state, const uint8_t k[static 16]); void siphash24_compress(const void *in, size_t inlen, struct siphash *state); static inline void siphash24_compress_boolean( # 26 "../systemd-stable-254.8/src/basic/siphash24.h" 3 4 _Bool # 26 "../systemd-stable-254.8/src/basic/siphash24.h" in, struct siphash *state) { uint8_t i = in; siphash24_compress(&i, sizeof i, state); } static inline void siphash24_compress_usec_t(usec_t in, struct siphash *state) { siphash24_compress(&in, sizeof in, state); } static inline void siphash24_compress_safe(const void *in, size_t inlen, struct siphash *state) { if (inlen == 0) return; siphash24_compress(in, inlen, state); } static inline void siphash24_compress_string(const char *in, struct siphash *state) { siphash24_compress_safe(in, strlen_ptr(in), state); } uint64_t siphash24_finalize(struct siphash *state); uint64_t siphash24(const void *in, size_t inlen, const uint8_t k[static 16]); static inline uint64_t siphash24_string(const char *s, const uint8_t k[static 16]) { return siphash24(s, strlen(s) + 1, k); } # 7 "../systemd-stable-254.8/src/basic/hash-funcs.h" 2 typedef void (*hash_func_t)(const void *p, struct siphash *state); typedef int (*compare_func_t)(const void *a, const void *b); struct hash_ops { hash_func_t hash; compare_func_t compare; free_func_t free_key; free_func_t free_value; }; # 76 "../systemd-stable-254.8/src/basic/hash-funcs.h" void string_hash_func(const char *p, struct siphash *state); extern const struct hash_ops string_hash_ops; extern const struct hash_ops string_hash_ops_free; extern const struct hash_ops string_hash_ops_free_free; extern const struct hash_ops string_hash_ops_free_strv_free; void path_hash_func(const char *p, struct siphash *state); extern const struct hash_ops path_hash_ops; extern const struct hash_ops path_hash_ops_free; extern const struct hash_ops path_hash_ops_free_free; void trivial_hash_func(const void *p, struct siphash *state); int trivial_compare_func(const void *a, const void *b) __attribute__((__const__)); extern const struct hash_ops trivial_hash_ops; extern const struct hash_ops trivial_hash_ops_free; extern const struct hash_ops trivial_hash_ops_free_free; void uint64_hash_func(const uint64_t *p, struct siphash *state); int uint64_compare_func(const uint64_t *a, const uint64_t *b) __attribute__((__pure__)); extern const struct hash_ops uint64_hash_ops; # 110 "../systemd-stable-254.8/src/basic/hash-funcs.h" int devt_compare_func(const dev_t *a, const dev_t *b) __attribute__((__pure__)); extern const struct hash_ops devt_hash_ops; # 9 "../systemd-stable-254.8/src/basic/hashmap.h" 2 # 24 "../systemd-stable-254.8/src/basic/hashmap.h" typedef void* (*hashmap_destroy_t)(void *p); typedef struct HashmapBase HashmapBase; typedef struct Hashmap Hashmap; typedef struct OrderedHashmap OrderedHashmap; typedef struct Set Set; typedef struct IteratedCache IteratedCache; typedef struct { unsigned idx; const void *next_key; } Iterator; # 86 "../systemd-stable-254.8/src/basic/hashmap.h" Hashmap* _hashmap_new(const struct hash_ops *hash_ops ); OrderedHashmap* _ordered_hashmap_new(const struct hash_ops *hash_ops ); HashmapBase* _hashmap_free(HashmapBase *h, free_func_t default_free_key, free_func_t default_free_value); static inline Hashmap* hashmap_free(Hashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 96 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 96 "../systemd-stable-254.8/src/basic/hashmap.h" , # 96 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 96 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline OrderedHashmap* ordered_hashmap_free(OrderedHashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 99 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 99 "../systemd-stable-254.8/src/basic/hashmap.h" , # 99 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 99 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline Hashmap* hashmap_free_free(Hashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 103 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 103 "../systemd-stable-254.8/src/basic/hashmap.h" , free); } static inline OrderedHashmap* ordered_hashmap_free_free(OrderedHashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 106 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 106 "../systemd-stable-254.8/src/basic/hashmap.h" , free); } static inline Hashmap* hashmap_free_free_key(Hashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, # 110 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 110 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline OrderedHashmap* ordered_hashmap_free_free_key(OrderedHashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, # 113 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 113 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline Hashmap* hashmap_free_free_free(Hashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, free); } static inline OrderedHashmap* ordered_hashmap_free_free_free(OrderedHashmap *h) { return (void*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, free); } IteratedCache* iterated_cache_free(IteratedCache *cache); int iterated_cache_get(IteratedCache *cache, const void ***res_keys, const void ***res_values, unsigned *res_n_entries); HashmapBase* _hashmap_copy(HashmapBase *h ); int _hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops ); int _hashmap_ensure_put(Hashmap **h, const struct hash_ops *hash_ops, const void *key, void *value ); int _ordered_hashmap_ensure_allocated(OrderedHashmap **h, const struct hash_ops *hash_ops ); int _ordered_hashmap_ensure_put(OrderedHashmap **h, const struct hash_ops *hash_ops, const void *key, void *value ); IteratedCache* _hashmap_iterated_cache_new(HashmapBase *h); static inline IteratedCache* hashmap_iterated_cache_new(Hashmap *h) { return (IteratedCache*) _hashmap_iterated_cache_new(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } static inline IteratedCache* ordered_hashmap_iterated_cache_new(OrderedHashmap *h) { return (IteratedCache*) _hashmap_iterated_cache_new(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } int hashmap_put(Hashmap *h, const void *key, void *value); static inline int ordered_hashmap_put(OrderedHashmap *h, const void *key, void *value) { return hashmap_put(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, value); } int _hashmap_put_strdup_full(Hashmap **h, const struct hash_ops *hash_ops, const char *k, const char *v ); int hashmap_update(Hashmap *h, const void *key, void *value); static inline int ordered_hashmap_update(OrderedHashmap *h, const void *key, void *value) { return hashmap_update(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, value); } int hashmap_replace(Hashmap *h, const void *key, void *value); static inline int ordered_hashmap_replace(OrderedHashmap *h, const void *key, void *value) { return hashmap_replace(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, value); } void* _hashmap_get(HashmapBase *h, const void *key); static inline void *hashmap_get(Hashmap *h, const void *key) { return _hashmap_get(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } static inline void *ordered_hashmap_get(OrderedHashmap *h, const void *key) { return _hashmap_get(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } void* hashmap_get2(Hashmap *h, const void *key, void **rkey); static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) { return hashmap_get2(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, rkey); } # 181 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 181 "../systemd-stable-254.8/src/basic/hashmap.h" _hashmap_contains(HashmapBase *h, const void *key); static inline # 182 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 182 "../systemd-stable-254.8/src/basic/hashmap.h" hashmap_contains(Hashmap *h, const void *key) { return _hashmap_contains(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } static inline # 185 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 185 "../systemd-stable-254.8/src/basic/hashmap.h" ordered_hashmap_contains(OrderedHashmap *h, const void *key) { return _hashmap_contains(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } void* _hashmap_remove(HashmapBase *h, const void *key); static inline void *hashmap_remove(Hashmap *h, const void *key) { return _hashmap_remove(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } static inline void *ordered_hashmap_remove(OrderedHashmap *h, const void *key) { return _hashmap_remove(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key); } void* hashmap_remove2(Hashmap *h, const void *key, void **rkey); static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) { return hashmap_remove2(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, rkey); } void* _hashmap_remove_value(HashmapBase *h, const void *key, void *value); static inline void *hashmap_remove_value(Hashmap *h, const void *key, void *value) { return _hashmap_remove_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), key, value); } static inline void* ordered_hashmap_remove_value(OrderedHashmap *h, const void *key, void *value) { return hashmap_remove_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), key, value); } int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value); static inline int ordered_hashmap_remove_and_put(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { return hashmap_remove_and_put(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), old_key, new_key, value); } int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value); static inline int ordered_hashmap_remove_and_replace(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { return hashmap_remove_and_replace(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*)), (Hashmap*)(h), (void)0), old_key, new_key, value); } int _hashmap_merge(Hashmap *h, Hashmap *other); int _hashmap_reserve(HashmapBase *h, unsigned entries_add); static inline int hashmap_reserve(Hashmap *h, unsigned entries_add) { return _hashmap_reserve(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), entries_add); } static inline int ordered_hashmap_reserve(OrderedHashmap *h, unsigned entries_add) { return _hashmap_reserve(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), entries_add); } int _hashmap_move(HashmapBase *h, HashmapBase *other); static inline int hashmap_move(Hashmap *h, Hashmap *other) { return _hashmap_move(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0)); } static inline int ordered_hashmap_move(OrderedHashmap *h, OrderedHashmap *other) { return _hashmap_move(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0)); } int _hashmap_move_one(HashmapBase *h, HashmapBase *other, const void *key); static inline int hashmap_move_one(Hashmap *h, Hashmap *other, const void *key) { return _hashmap_move_one(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0), key); } static inline int ordered_hashmap_move_one(OrderedHashmap *h, OrderedHashmap *other, const void *key) { return _hashmap_move_one(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0), key); } unsigned _hashmap_size(HashmapBase *h) __attribute__((__pure__)); static inline unsigned hashmap_size(Hashmap *h) { return _hashmap_size(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } static inline unsigned ordered_hashmap_size(OrderedHashmap *h) { return _hashmap_size(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } static inline # 260 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 260 "../systemd-stable-254.8/src/basic/hashmap.h" hashmap_isempty(Hashmap *h) { return hashmap_size(h) == 0; } static inline # 263 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 263 "../systemd-stable-254.8/src/basic/hashmap.h" ordered_hashmap_isempty(OrderedHashmap *h) { return ordered_hashmap_size(h) == 0; } unsigned _hashmap_buckets(HashmapBase *h) __attribute__((__pure__)); static inline unsigned hashmap_buckets(Hashmap *h) { return _hashmap_buckets(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } static inline unsigned ordered_hashmap_buckets(OrderedHashmap *h) { return _hashmap_buckets(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } # 275 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 275 "../systemd-stable-254.8/src/basic/hashmap.h" _hashmap_iterate(HashmapBase *h, Iterator *i, void **value, const void **key); static inline # 276 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 276 "../systemd-stable-254.8/src/basic/hashmap.h" hashmap_iterate(Hashmap *h, Iterator *i, void **value, const void **key) { return _hashmap_iterate(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), i, value, key); } static inline # 279 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 279 "../systemd-stable-254.8/src/basic/hashmap.h" ordered_hashmap_iterate(OrderedHashmap *h, Iterator *i, void **value, const void **key) { return _hashmap_iterate(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), i, value, key); } void _hashmap_clear(HashmapBase *h, free_func_t default_free_key, free_func_t default_free_value); static inline void hashmap_clear(Hashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 285 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 285 "../systemd-stable-254.8/src/basic/hashmap.h" , # 285 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 285 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void ordered_hashmap_clear(OrderedHashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 288 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 288 "../systemd-stable-254.8/src/basic/hashmap.h" , # 288 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 288 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void hashmap_clear_free(Hashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 292 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 292 "../systemd-stable-254.8/src/basic/hashmap.h" , free); } static inline void ordered_hashmap_clear_free(OrderedHashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 295 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 295 "../systemd-stable-254.8/src/basic/hashmap.h" , free); } static inline void hashmap_clear_free_key(Hashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, # 299 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 299 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void ordered_hashmap_clear_free_key(OrderedHashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, # 302 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 302 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void hashmap_clear_free_free(Hashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, free); } static inline void ordered_hashmap_clear_free_free(OrderedHashmap *h) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), free, free); } # 323 "../systemd-stable-254.8/src/basic/hashmap.h" void *_hashmap_first_key_and_value(HashmapBase *h, # 323 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 323 "../systemd-stable-254.8/src/basic/hashmap.h" remove, void **ret_key); static inline void *hashmap_steal_first_key_and_value(Hashmap *h, void **ret) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 325 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 325 "../systemd-stable-254.8/src/basic/hashmap.h" , ret); } static inline void *ordered_hashmap_steal_first_key_and_value(OrderedHashmap *h, void **ret) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 328 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 328 "../systemd-stable-254.8/src/basic/hashmap.h" , ret); } static inline void *hashmap_first_key_and_value(Hashmap *h, void **ret) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 331 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 331 "../systemd-stable-254.8/src/basic/hashmap.h" , ret); } static inline void *ordered_hashmap_first_key_and_value(OrderedHashmap *h, void **ret) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 334 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 334 "../systemd-stable-254.8/src/basic/hashmap.h" , ret); } static inline void *hashmap_steal_first(Hashmap *h) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 338 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 338 "../systemd-stable-254.8/src/basic/hashmap.h" , # 338 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 338 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *ordered_hashmap_steal_first(OrderedHashmap *h) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 341 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 341 "../systemd-stable-254.8/src/basic/hashmap.h" , # 341 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 341 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *hashmap_first(Hashmap *h) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 344 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 344 "../systemd-stable-254.8/src/basic/hashmap.h" , # 344 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 344 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *ordered_hashmap_first(OrderedHashmap *h) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 347 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 347 "../systemd-stable-254.8/src/basic/hashmap.h" , # 347 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 347 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *_hashmap_first_key(HashmapBase *h, # 350 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 _Bool # 350 "../systemd-stable-254.8/src/basic/hashmap.h" remove) { void *key = # 351 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 ((void *)0) # 351 "../systemd-stable-254.8/src/basic/hashmap.h" ; (void) _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), remove, &key); return key; } static inline void *hashmap_steal_first_key(Hashmap *h) { return _hashmap_first_key(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 357 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 357 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *ordered_hashmap_steal_first_key(OrderedHashmap *h) { return _hashmap_first_key(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 360 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 1 # 360 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *hashmap_first_key(Hashmap *h) { return _hashmap_first_key(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 363 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 363 "../systemd-stable-254.8/src/basic/hashmap.h" ); } static inline void *ordered_hashmap_first_key(OrderedHashmap *h) { return _hashmap_first_key(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), # 366 "../systemd-stable-254.8/src/basic/hashmap.h" 3 4 0 # 366 "../systemd-stable-254.8/src/basic/hashmap.h" ); } # 391 "../systemd-stable-254.8/src/basic/hashmap.h" void* ordered_hashmap_next(OrderedHashmap *h, const void *key); char** _hashmap_get_strv(HashmapBase *h); static inline char** hashmap_get_strv(Hashmap *h) { return _hashmap_get_strv(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } static inline char** ordered_hashmap_get_strv(OrderedHashmap *h) { return _hashmap_get_strv(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0)); } int _hashmap_dump_sorted(HashmapBase *h, void ***ret, size_t *ret_n); static inline int hashmap_dump_sorted(Hashmap *h, void ***ret, size_t *ret_n) { return _hashmap_dump_sorted(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), ret, ret_n); } static inline int ordered_hashmap_dump_sorted(OrderedHashmap *h, void ***ret, size_t *ret_n) { return _hashmap_dump_sorted(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), ret, ret_n); } static inline int set_dump_sorted(Set *h, void ***ret, size_t *ret_n) { return _hashmap_dump_sorted(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), ret, ret_n); } # 438 "../systemd-stable-254.8/src/basic/hashmap.h" static inline void hashmap_freep(Hashmap* *p) { if (*p) *p = hashmap_free(*p); }; static inline void hashmap_free_freep(Hashmap* *p) { if (*p) *p = hashmap_free_free(*p); }; static inline void hashmap_free_free_keyp(Hashmap* *p) { if (*p) *p = hashmap_free_free_key(*p); }; static inline void hashmap_free_free_freep(Hashmap* *p) { if (*p) *p = hashmap_free_free_free(*p); }; static inline void ordered_hashmap_freep(OrderedHashmap* *p) { if (*p) *p = ordered_hashmap_free(*p); }; static inline void ordered_hashmap_free_freep(OrderedHashmap* *p) { if (*p) *p = ordered_hashmap_free_free(*p); }; static inline void ordered_hashmap_free_free_keyp(OrderedHashmap* *p) { if (*p) *p = ordered_hashmap_free_free_key(*p); }; static inline void ordered_hashmap_free_free_freep(OrderedHashmap* *p) { if (*p) *p = ordered_hashmap_free_free_free(*p); }; # 454 "../systemd-stable-254.8/src/basic/hashmap.h" static inline void iterated_cache_freep(IteratedCache* *p) { if (*p) *p = iterated_cache_free(*p); }; void hashmap_trim_pools(void); # 7 "../systemd-stable-254.8/src/shared/bus-polkit.h" 2 int bus_test_polkit(sd_bus_message *call, int capability, const char *action, const char **details, uid_t good_user, # 8 "../systemd-stable-254.8/src/shared/bus-polkit.h" 3 4 _Bool # 8 "../systemd-stable-254.8/src/shared/bus-polkit.h" *_challenge, sd_bus_error *e); int bus_verify_polkit_async(sd_bus_message *call, int capability, const char *action, const char **details, # 10 "../systemd-stable-254.8/src/shared/bus-polkit.h" 3 4 _Bool # 10 "../systemd-stable-254.8/src/shared/bus-polkit.h" interactive, uid_t good_user, Hashmap **registry, sd_bus_error *error); Hashmap *bus_verify_polkit_async_registry_free(Hashmap *registry); # 18 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/shared/common-signal.h" 1 # 1 "/usr/include/syslog.h" 1 3 4 # 4 "../systemd-stable-254.8/src/shared/common-signal.h" 2 # 1 "../systemd-stable-254.8/src/systemd/sd-event.h" 1 # 6 "../systemd-stable-254.8/src/shared/common-signal.h" 2 # 32 "../systemd-stable-254.8/src/shared/common-signal.h" enum { _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE = 0x100, COMMON_SIGNAL_COMMAND_LOG_EMERG = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 34 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 0 # 34 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_ALERT = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 35 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 1 # 35 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_CRIT = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 36 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 2 # 36 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_ERR = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 37 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 3 # 37 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_WARNING = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 38 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 4 # 38 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_NOTICE = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 39 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 5 # 39 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_INFO = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 40 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 6 # 40 "../systemd-stable-254.8/src/shared/common-signal.h" , COMMON_SIGNAL_COMMAND_LOG_DEBUG = _COMMON_SIGNAL_COMMAND_LOG_LEVEL_BASE + # 41 "../systemd-stable-254.8/src/shared/common-signal.h" 3 4 7 # 41 "../systemd-stable-254.8/src/shared/common-signal.h" , _COMMON_SIGNAL_COMMAND_LOG_LEVEL_END = COMMON_SIGNAL_COMMAND_LOG_DEBUG, COMMON_SIGNAL_COMMAND_CONSOLE = 0x200, COMMON_SIGNAL_COMMAND_JOURNAL, COMMON_SIGNAL_COMMAND_KMSG, COMMON_SIGNAL_COMMAND_NULL, COMMON_SIGNAL_COMMAND_MEMORY_PRESSURE = 0x300, COMMON_SIGNAL_COMMAND_MALLOC_INFO, }; struct sigrtmin18_info { sd_event_handler_t memory_pressure_handler; void *memory_pressure_userdata; }; int sigrtmin18_handler(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata); # 19 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/shared/dns-domain.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/shared/dns-domain.h" 2 # 1 "../systemd-stable-254.8/src/basic/dns-def.h" 1 # 10 "../systemd-stable-254.8/src/shared/dns-domain.h" 2 # 1 "../systemd-stable-254.8/src/basic/in-addr-util.h" 1 # 1 "/usr/include/arpa/inet.h" 1 3 4 # 30 "/usr/include/arpa/inet.h" 3 4 # 34 "/usr/include/arpa/inet.h" 3 4 extern in_addr_t inet_addr (const char *__cp) __attribute__ ((__nothrow__ , __leaf__)); extern in_addr_t inet_lnaof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) __attribute__ ((__nothrow__ , __leaf__)); extern in_addr_t inet_netof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); extern in_addr_t inet_network (const char *__cp) __attribute__ ((__nothrow__ , __leaf__)); extern char *inet_ntoa (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); extern int inet_pton (int __af, const char *__restrict __cp, void *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern const char *inet_ntop (int __af, const void *__restrict __cp, char *__restrict __buf, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int inet_aton (const char *__cp, struct in_addr *__inp) __attribute__ ((__nothrow__ , __leaf__)); extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use inet_ntop instead"))); extern char *inet_net_ntop (int __af, const void *__cp, int __bits, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int inet_net_pton (int __af, const char *__cp, void *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned int inet_nsap_addr (const char *__cp, unsigned char *__buf, int __len) __attribute__ ((__nothrow__ , __leaf__)); extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp, char *__buf) __attribute__ ((__nothrow__ , __leaf__)); # 5 "../systemd-stable-254.8/src/basic/in-addr-util.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/in-addr-util.h" 2 # 12 "../systemd-stable-254.8/src/basic/in-addr-util.h" union in_addr_union { struct in_addr in; struct in6_addr in6; uint8_t bytes[(__builtin_choose_expr( __builtin_constant_p(sizeof(struct in_addr)) && __builtin_constant_p(sizeof(struct in6_addr)) && (__builtin_types_compatible_p(typeof(sizeof(struct in_addr)), typeof(sizeof(struct in6_addr))) || ((__builtin_types_compatible_p(typeof(sizeof(struct in_addr)), unsigned char) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), unsigned short) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), unsigned) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), unsigned long) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), unsigned long long)) && (__builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), unsigned char) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), unsigned short) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), unsigned) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), unsigned long) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), unsigned long long))) || ((__builtin_types_compatible_p(typeof(sizeof(struct in_addr)), signed char) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), signed short) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), signed) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), signed long) || __builtin_types_compatible_p(typeof(sizeof(struct in_addr)), signed long long)) && (__builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), signed char) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), signed short) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), signed) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), signed long) || __builtin_types_compatible_p(typeof(sizeof(struct in6_addr)), signed long long)))), ((sizeof(struct in_addr)) > (sizeof(struct in6_addr))) ? (sizeof(struct in_addr)) : (sizeof(struct in6_addr)), ((void)0)))]; }; struct in_addr_data { int family; union in_addr_union address; }; # 23 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 23 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_null(const struct in_addr *a); static inline # 24 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 24 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_set(const struct in_addr *a) { return !in4_addr_is_null(a); } # 27 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 27 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_is_null(const struct in6_addr *a); static inline # 28 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 28 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_is_set(const struct in6_addr *a) { return !in6_addr_is_null(a); } int in_addr_is_null(int family, const union in_addr_union *u); static inline # 32 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 32 "../systemd-stable-254.8/src/basic/in-addr-util.h" in_addr_is_set(int family, const union in_addr_union *u) { return in_addr_is_null(family, u) == 0; } static inline int in_addr_data_is_null(const struct in_addr_data *a) { do { if ((__builtin_expect(!!(!(a)), 0))) log_assert_failed("a", (&"../systemd-stable-254.8/src/basic/in-addr-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 36, __func__); } while ( # 36 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 0 # 36 "../systemd-stable-254.8/src/basic/in-addr-util.h" ); return in_addr_is_null(a->family, &a->address); } static inline # 39 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 39 "../systemd-stable-254.8/src/basic/in-addr-util.h" in_addr_data_is_set(const struct in_addr_data *a) { return in_addr_data_is_null(a); } int in_addr_is_multicast(int family, const union in_addr_union *u); # 45 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 45 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_link_local(const struct in_addr *a); # 46 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 46 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_link_local_dynamic(const struct in_addr *a); # 47 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 47 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_is_link_local(const struct in6_addr *a); int in_addr_is_link_local(int family, const union in_addr_union *u); # 49 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 49 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_is_link_local_all_nodes(const struct in6_addr *a); # 51 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 51 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_localhost(const struct in_addr *a); int in_addr_is_localhost(int family, const union in_addr_union *u); int in_addr_is_localhost_one(int family, const union in_addr_union *u); # 55 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 55 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_local_multicast(const struct in_addr *a); # 56 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 56 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_is_non_local(const struct in_addr *a); # 57 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 57 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_is_ipv4_mapped_address(const struct in6_addr *a); # 59 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 59 "../systemd-stable-254.8/src/basic/in-addr-util.h" in4_addr_equal(const struct in_addr *a, const struct in_addr *b); # 60 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 60 "../systemd-stable-254.8/src/basic/in-addr-util.h" in6_addr_equal(const struct in6_addr *a, const struct in6_addr *b); int in_addr_equal(int family, const union in_addr_union *a, const union in_addr_union *b); int in_addr_prefix_intersect(int family, const union in_addr_union *a, unsigned aprefixlen, const union in_addr_union *b, unsigned bprefixlen); int in_addr_prefix_next(int family, union in_addr_union *u, unsigned prefixlen); int in_addr_prefix_nth(int family, union in_addr_union *u, unsigned prefixlen, uint64_t nth); int in_addr_random_prefix(int family, union in_addr_union *u, unsigned prefixlen_fixed_part, unsigned prefixlen); int in_addr_prefix_range( int family, const union in_addr_union *in, unsigned prefixlen, union in_addr_union *ret_start, union in_addr_union *ret_end); int in_addr_to_string(int family, const union in_addr_union *u, char **ret); static inline int in6_addr_to_string(const struct in6_addr *u, char **ret) { return in_addr_to_string( # 75 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 75 "../systemd-stable-254.8/src/basic/in-addr-util.h" , (const union in_addr_union*) u, ret); } static inline const char* typesafe_inet_ntop(int family, const union in_addr_union *a, char *buf, size_t len) { return inet_ntop(family, a, buf, len); } static inline const char* typesafe_inet_ntop4(const struct in_addr *a, char *buf, size_t len) { return inet_ntop( # 82 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 2 # 82 "../systemd-stable-254.8/src/basic/in-addr-util.h" , a, buf, len); } static inline const char* typesafe_inet_ntop6(const struct in6_addr *a, char *buf, size_t len) { return inet_ntop( # 85 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 85 "../systemd-stable-254.8/src/basic/in-addr-util.h" , a, buf, len); } # 96 "../systemd-stable-254.8/src/basic/in-addr-util.h" int in_addr_prefix_to_string( int family, const union in_addr_union *u, unsigned prefixlen, char *buf, size_t buf_len); static inline const char* _in_addr_prefix_to_string( int family, const union in_addr_union *u, unsigned prefixlen, char *buf, size_t buf_len) { do { if ((__builtin_expect(!!(!(in_addr_prefix_to_string(family, u, prefixlen, buf, buf_len) == 0)), 0))) log_assert_failed("in_addr_prefix_to_string(family, u, prefixlen, buf, buf_len) == 0", (&"../systemd-stable-254.8/src/basic/in-addr-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 110, __func__); } while ( # 110 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 0 # 110 "../systemd-stable-254.8/src/basic/in-addr-util.h" ); return buf; } static inline const char* _in4_addr_prefix_to_string(const struct in_addr *a, unsigned prefixlen, char *buf, size_t buf_len) { return _in_addr_prefix_to_string( # 114 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 2 # 114 "../systemd-stable-254.8/src/basic/in-addr-util.h" , (const union in_addr_union *) a, prefixlen, buf, buf_len); } static inline const char* _in6_addr_prefix_to_string(const struct in6_addr *a, unsigned prefixlen, char *buf, size_t buf_len) { return _in_addr_prefix_to_string( # 117 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 117 "../systemd-stable-254.8/src/basic/in-addr-util.h" , (const union in_addr_union *) a, prefixlen, buf, buf_len); } # 128 "../systemd-stable-254.8/src/basic/in-addr-util.h" int in_addr_port_ifindex_name_to_string(int family, const union in_addr_union *u, uint16_t port, int ifindex, const char *server_name, char **ret); static inline int in_addr_ifindex_to_string(int family, const union in_addr_union *u, int ifindex, char **ret) { return in_addr_port_ifindex_name_to_string(family, u, 0, ifindex, # 130 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 ((void *)0) # 130 "../systemd-stable-254.8/src/basic/in-addr-util.h" , ret); } static inline int in_addr_port_to_string(int family, const union in_addr_union *u, uint16_t port, char **ret) { return in_addr_port_ifindex_name_to_string(family, u, port, 0, # 133 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 ((void *)0) # 133 "../systemd-stable-254.8/src/basic/in-addr-util.h" , ret); } int in_addr_from_string(int family, const char *s, union in_addr_union *ret); int in_addr_from_string_auto(const char *s, int *ret_family, union in_addr_union *ret); unsigned char in4_addr_netmask_to_prefixlen(const struct in_addr *addr); struct in_addr* in4_addr_prefixlen_to_netmask(struct in_addr *addr, unsigned char prefixlen); struct in6_addr* in6_addr_prefixlen_to_netmask(struct in6_addr *addr, unsigned char prefixlen); int in_addr_prefixlen_to_netmask(int family, union in_addr_union *addr, unsigned char prefixlen); int in4_addr_default_prefixlen(const struct in_addr *addr, unsigned char *prefixlen); int in4_addr_default_subnet_mask(const struct in_addr *addr, struct in_addr *mask); int in4_addr_mask(struct in_addr *addr, unsigned char prefixlen); int in6_addr_mask(struct in6_addr *addr, unsigned char prefixlen); int in_addr_mask(int family, union in_addr_union *addr, unsigned char prefixlen); int in4_addr_prefix_covers(const struct in_addr *prefix, unsigned char prefixlen, const struct in_addr *address); int in6_addr_prefix_covers(const struct in6_addr *prefix, unsigned char prefixlen, const struct in6_addr *address); int in_addr_prefix_covers(int family, const union in_addr_union *prefix, unsigned char prefixlen, const union in_addr_union *address); int in_addr_parse_prefixlen(int family, const char *p, unsigned char *ret); int in_addr_prefix_from_string(const char *p, int family, union in_addr_union *ret_prefix, unsigned char *ret_prefixlen); typedef enum InAddrPrefixLenMode { PREFIXLEN_FULL, PREFIXLEN_REFUSE, } InAddrPrefixLenMode; int in_addr_prefix_from_string_auto_internal(const char *p, InAddrPrefixLenMode mode, int *ret_family, union in_addr_union *ret_prefix, unsigned char *ret_prefixlen); static inline int in_addr_prefix_from_string_auto(const char *p, int *ret_family, union in_addr_union *ret_prefix, unsigned char *ret_prefixlen) { return in_addr_prefix_from_string_auto_internal(p, PREFIXLEN_FULL, ret_family, ret_prefix, ret_prefixlen); } static inline size_t FAMILY_ADDRESS_SIZE(int family) { do { if ((__builtin_expect(!!(!(({ # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Bool # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" _found = # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 0 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" ; static const typeof(+family) __assert_in_set[] __attribute__((__unused__)) = { # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 2 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" , # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" }; # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 _Static_assert # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (family) { case # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 2 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" : case # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" : _found = # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 1 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" ; break; default: break; } _found; }))), 0))) log_assert_failed("IN_SET(family, AF_INET, AF_INET6)", (&"../systemd-stable-254.8/src/basic/in-addr-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 164, __func__); } while ( # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 0 # 164 "../systemd-stable-254.8/src/basic/in-addr-util.h" ); return family == # 165 "../systemd-stable-254.8/src/basic/in-addr-util.h" 3 4 10 # 165 "../systemd-stable-254.8/src/basic/in-addr-util.h" ? 16 : 4; } # 179 "../systemd-stable-254.8/src/basic/in-addr-util.h" void in_addr_data_hash_func(const struct in_addr_data *a, struct siphash *state); int in_addr_data_compare_func(const struct in_addr_data *x, const struct in_addr_data *y); void in6_addr_hash_func(const struct in6_addr *addr, struct siphash *state); int in6_addr_compare_func(const struct in6_addr *a, const struct in6_addr *b); extern const struct hash_ops in_addr_data_hash_ops; extern const struct hash_ops in_addr_data_hash_ops_free; extern const struct hash_ops in6_addr_hash_ops; extern const struct hash_ops in6_addr_hash_ops_free; # 12 "../systemd-stable-254.8/src/shared/dns-domain.h" 2 typedef enum DNSLabelFlags { DNS_LABEL_LDH = 1 << 0, DNS_LABEL_NO_ESCAPES = 1 << 1, DNS_LABEL_LEAVE_TRAILING_DOT = 1 << 2, } DNSLabelFlags; int dns_label_unescape(const char **name, char *dest, size_t sz, DNSLabelFlags flags); int dns_label_unescape_suffix(const char *name, const char **label_end, char *dest, size_t sz); int dns_label_escape(const char *p, size_t l, char *dest, size_t sz); int dns_label_escape_new(const char *p, size_t l, char **ret); static inline int dns_name_parent(const char **name) { return dns_label_unescape(name, # 25 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 25 "../systemd-stable-254.8/src/shared/dns-domain.h" , 63, 0); } int dns_name_concat(const char *a, const char *b, DNSLabelFlags flags, char **ret); static inline int dns_name_normalize(const char *s, DNSLabelFlags flags, char **ret) { return dns_name_concat(s, # 37 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 37 "../systemd-stable-254.8/src/shared/dns-domain.h" , flags, ret); } static inline int dns_name_is_valid(const char *s) { int r; r = dns_name_concat(s, # 44 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 44 "../systemd-stable-254.8/src/shared/dns-domain.h" , 0, # 44 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 44 "../systemd-stable-254.8/src/shared/dns-domain.h" ); if (r == - # 45 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 22 # 45 "../systemd-stable-254.8/src/shared/dns-domain.h" ) return 0; if (r < 0) return r; return 1; } static inline int dns_name_is_valid_ldh(const char *s) { int r; r = dns_name_concat(s, # 55 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 55 "../systemd-stable-254.8/src/shared/dns-domain.h" , DNS_LABEL_LDH|DNS_LABEL_NO_ESCAPES, # 55 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 ((void *)0) # 55 "../systemd-stable-254.8/src/shared/dns-domain.h" ); if (r == - # 56 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 22 # 56 "../systemd-stable-254.8/src/shared/dns-domain.h" ) return 0; if (r < 0) return r; return 1; } void dns_name_hash_func(const char *s, struct siphash *state); int dns_name_compare_func(const char *a, const char *b); extern const struct hash_ops dns_name_hash_ops; extern const struct hash_ops dns_name_hash_ops_free; int dns_name_between(const char *a, const char *b, const char *c); int dns_name_equal(const char *x, const char *y); int dns_name_endswith(const char *name, const char *suffix); int dns_name_startswith(const char *name, const char *prefix); int dns_name_change_suffix(const char *name, const char *old_suffix, const char *new_suffix, char **ret); int dns_name_reverse(int family, const union in_addr_union *a, char **ret); int dns_name_address(const char *p, int *family, union in_addr_union *a); # 78 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 78 "../systemd-stable-254.8/src/shared/dns-domain.h" dns_name_is_root(const char *name); # 79 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 79 "../systemd-stable-254.8/src/shared/dns-domain.h" dns_name_is_single_label(const char *name); int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len, # 81 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 81 "../systemd-stable-254.8/src/shared/dns-domain.h" canonical); # 83 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 83 "../systemd-stable-254.8/src/shared/dns-domain.h" dns_srv_type_is_valid(const char *name); # 84 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 84 "../systemd-stable-254.8/src/shared/dns-domain.h" dnssd_srv_type_is_valid(const char *name); # 85 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 85 "../systemd-stable-254.8/src/shared/dns-domain.h" dns_service_name_is_valid(const char *name); int dns_service_join(const char *name, const char *type, const char *domain, char **ret); int dns_service_split(const char *joined, char **ret_name, char **ret_type, char **ret_domain); int dns_name_suffix(const char *name, unsigned n_labels, const char **ret); int dns_name_count_labels(const char *name); int dns_name_skip(const char *a, unsigned n_labels, const char **ret); int dns_name_equal_skip(const char *a, unsigned n_labels, const char *b); int dns_name_common_suffix(const char *a, const char *b, const char **ret); int dns_name_apply_idna(const char *name, char **ret); int dns_name_is_valid_or_address(const char *name); int dns_name_dot_suffixed(const char *name); # 104 "../systemd-stable-254.8/src/shared/dns-domain.h" 3 4 _Bool # 104 "../systemd-stable-254.8/src/shared/dns-domain.h" dns_name_dont_resolve(const char *name); # 20 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/libsystemd/sd-event/event-util.h" 1 int event_reset_time( sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata, int64_t priority, const char *description, # 18 "../systemd-stable-254.8/src/libsystemd/sd-event/event-util.h" 3 4 _Bool # 18 "../systemd-stable-254.8/src/libsystemd/sd-event/event-util.h" force_reset); int event_reset_time_relative( sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata, int64_t priority, const char *description, # 29 "../systemd-stable-254.8/src/libsystemd/sd-event/event-util.h" 3 4 _Bool # 29 "../systemd-stable-254.8/src/libsystemd/sd-event/event-util.h" force_reset); static inline int event_source_disable(sd_event_source *s) { return sd_event_source_set_enabled(s, SD_EVENT_OFF); } int event_add_time_change(sd_event *e, sd_event_source **ret, sd_event_io_handler_t callback, void *userdata); # 21 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/fd-util.h" 1 # 1 "/usr/include/dirent.h" 1 3 4 # 27 "/usr/include/dirent.h" 3 4 # 61 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/bits/dirent.h" 1 3 4 # 22 "/usr/include/bits/dirent.h" 3 4 # 22 "/usr/include/bits/dirent.h" 3 4 struct dirent { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; struct dirent64 { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; # 62 "/usr/include/dirent.h" 2 3 4 # 97 "/usr/include/dirent.h" 3 4 enum { DT_UNKNOWN = 0, DT_FIFO = 1, DT_CHR = 2, DT_DIR = 4, DT_BLK = 6, DT_REG = 8, DT_LNK = 10, DT_SOCK = 12, DT_WHT = 14 }; # 127 "/usr/include/dirent.h" 3 4 typedef struct __dirstream DIR; extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); extern DIR *opendir (const char *__name) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (closedir, 1))); extern DIR *fdopendir (int __fd) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (closedir, 1))); # 167 "/usr/include/dirent.h" 3 4 extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") __attribute__ ((__nonnull__ (1))); extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 191 "/usr/include/dirent.h" 3 4 extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__deprecated__)); extern int readdir64_r (DIR *__restrict __dirp, struct dirent64 *__restrict __entry, struct dirent64 **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__deprecated__)); extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 247 "/usr/include/dirent.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 248 "/usr/include/dirent.h" 2 3 4 # 265 "/usr/include/dirent.h" 3 4 extern int scandir (const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandir64") __attribute__ ((__nonnull__ (1, 2))); # 280 "/usr/include/dirent.h" 3 4 extern int scandir64 (const char *__restrict __dir, struct dirent64 ***__restrict __namelist, int (*__selector) (const struct dirent64 *), int (*__cmp) (const struct dirent64 **, const struct dirent64 **)) __attribute__ ((__nonnull__ (1, 2))); # 303 "/usr/include/dirent.h" 3 4 extern int scandirat (int __dfd, const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandirat64") __attribute__ ((__nonnull__ (2, 3))); extern int scandirat64 (int __dfd, const char *__restrict __dir, struct dirent64 ***__restrict __namelist, int (*__selector) (const struct dirent64 *), int (*__cmp) (const struct dirent64 **, const struct dirent64 **)) __attribute__ ((__nonnull__ (2, 3))); # 332 "/usr/include/dirent.h" 3 4 extern int alphasort (const struct dirent **__e1, const struct dirent **__e2) __asm__ ("" "alphasort64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int alphasort64 (const struct dirent64 **__e1, const struct dirent64 **__e2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 361 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __asm__ ("" "getdirentries64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); # 387 "/usr/include/dirent.h" 3 4 extern int versionsort (const struct dirent **__e1, const struct dirent **__e2) __asm__ ("" "versionsort64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int versionsort64 (const struct dirent64 **__e1, const struct dirent64 **__e2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 1 "/usr/include/bits/dirent_ext.h" 1 3 4 # 23 "/usr/include/bits/dirent_ext.h" 3 4 extern __ssize_t getdents64 (int __fd, void *__buffer, size_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 407 "/usr/include/dirent.h" 2 3 4 # 5 "../systemd-stable-254.8/src/basic/fd-util.h" 2 # 1 "/usr/include/fcntl.h" 1 3 4 # 28 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/bits/fcntl.h" 1 3 4 # 28 "/usr/include/bits/fcntl.h" 3 4 struct flock { short int l_type; short int l_whence; __off64_t l_start; __off64_t l_len; __pid_t l_pid; }; struct flock64 { short int l_type; short int l_whence; __off64_t l_start; __off64_t l_len; __pid_t l_pid; }; # 1 "/usr/include/bits/fcntl-linux.h" 1 3 4 # 265 "/usr/include/bits/fcntl-linux.h" 3 4 enum __pid_type { F_OWNER_TID = 0, F_OWNER_PID, F_OWNER_PGRP, F_OWNER_GID = F_OWNER_PGRP }; struct f_owner_ex { enum __pid_type type; __pid_t pid; }; # 354 "/usr/include/bits/fcntl-linux.h" 3 4 # 1 "/usr/include/linux/falloc.h" 1 3 4 # 355 "/usr/include/bits/fcntl-linux.h" 2 3 4 struct file_handle { unsigned int handle_bytes; int handle_type; unsigned char f_handle[0]; }; extern __ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __attribute__ ((__nothrow__ , __leaf__)); extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count, unsigned int __flags); extern __ssize_t vmsplice (int __fdout, const struct iovec *__iov, size_t __count, unsigned int __flags); extern __ssize_t splice (int __fdin, __off64_t *__offin, int __fdout, __off64_t *__offout, size_t __len, unsigned int __flags); extern __ssize_t tee (int __fdin, int __fdout, size_t __len, unsigned int __flags); # 417 "/usr/include/bits/fcntl-linux.h" 3 4 extern int fallocate (int __fd, int __mode, __off64_t __offset, __off64_t __len) __asm__ ("" "fallocate64") ; extern int fallocate64 (int __fd, int __mode, __off64_t __offset, __off64_t __len); extern int name_to_handle_at (int __dfd, const char *__name, struct file_handle *__handle, int *__mnt_id, int __flags) __attribute__ ((__nothrow__ , __leaf__)); extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle, int __flags); # 55 "/usr/include/bits/fcntl.h" 2 3 4 # 36 "/usr/include/fcntl.h" 2 3 4 # 78 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/bits/stat.h" 1 3 4 # 25 "/usr/include/bits/stat.h" 3 4 # 1 "/usr/include/bits/struct_stat.h" 1 3 4 # 27 "/usr/include/bits/struct_stat.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/struct_stat.h" 2 3 4 struct stat { __dev_t st_dev; unsigned short int __pad1; __ino_t __st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned short int __pad2; __off64_t st_size; __blksize_t st_blksize; __blkcnt64_t st_blocks; # 66 "/usr/include/bits/struct_stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 84 "/usr/include/bits/struct_stat.h" 3 4 __ino64_t st_ino; }; struct stat64 { __dev_t st_dev; unsigned int __pad1; __ino_t __st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned int __pad2; __off64_t st_size; __blksize_t st_blksize; __blkcnt64_t st_blocks; struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 127 "/usr/include/bits/struct_stat.h" 3 4 __ino64_t st_ino; }; # 26 "/usr/include/bits/stat.h" 2 3 4 # 79 "/usr/include/fcntl.h" 2 3 4 # 180 "/usr/include/fcntl.h" 3 4 extern int fcntl (int __fd, int __cmd, ...) __asm__ ("" "fcntl64"); extern int fcntl64 (int __fd, int __cmd, ...); # 212 "/usr/include/fcntl.h" 3 4 extern int open (const char *__file, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern int open64 (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 237 "/usr/include/fcntl.h" 3 4 extern int openat (int __fd, const char *__file, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern int openat64 (int __fd, const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 258 "/usr/include/fcntl.h" 3 4 extern int creat (const char *__file, mode_t __mode) __asm__ ("" "creat64") __attribute__ ((__nonnull__ (1))); extern int creat64 (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1))); # 305 "/usr/include/fcntl.h" 3 4 extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__ , __leaf__)) ; extern int posix_fadvise64 (int __fd, off64_t __offset, off64_t __len, int __advise) __attribute__ ((__nothrow__ , __leaf__)); # 326 "/usr/include/fcntl.h" 3 4 extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64") ; extern int posix_fallocate64 (int __fd, off64_t __offset, off64_t __len); # 1 "/usr/include/bits/fcntl2.h" 1 3 4 # 30 "/usr/include/bits/fcntl2.h" 3 4 extern int __open_2 (const char *__path, int __oflag) __asm__ ("" "__open64_2") __attribute__ ((__nonnull__ (1))); extern int __open_alias (const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more"))) ; extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT or O_TMPFILE in second argument needs 3 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int open (const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __open_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1) { __open_missing_mode (); return __open_2 (__path, __oflag); } return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __open_2 (__path, __oflag); return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); } extern int __open64_2 (const char *__path, int __oflag) __attribute__ ((__nonnull__ (1))); extern int __open64_alias (const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1))); extern void __open64_too_many_args (void) __attribute__((__error__ ("open64 can be called either with 2 or 3 arguments, not more"))) ; extern void __open64_missing_mode (void) __attribute__((__error__ ("open64 with O_CREAT or O_TMPFILE in second argument needs 3 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int open64 (const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __open64_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1) { __open64_missing_mode (); return __open64_2 (__path, __oflag); } return __open64_alias (__path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __open64_2 (__path, __oflag); return __open64_alias (__path, __oflag, __builtin_va_arg_pack ()); } # 104 "/usr/include/bits/fcntl2.h" 3 4 extern int __openat_2 (int __fd, const char *__path, int __oflag) __asm__ ("" "__openat64_2") __attribute__ ((__nonnull__ (2))); extern int __openat_alias (int __fd, const char *__path, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more"))) ; extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT or O_TMPFILE in third argument needs 4 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int openat (int __fd, const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __openat_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1) { __openat_missing_mode (); return __openat_2 (__fd, __path, __oflag); } return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __openat_2 (__fd, __path, __oflag); return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } extern int __openat64_2 (int __fd, const char *__path, int __oflag) __attribute__ ((__nonnull__ (2))); extern int __openat64_alias (int __fd, const char *__path, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2))); extern void __openat64_too_many_args (void) __attribute__((__error__ ("openat64 can be called either with 3 or 4 arguments, not more"))) ; extern void __openat64_missing_mode (void) __attribute__((__error__ ("openat64 with O_CREAT or O_TMPFILE in third argument needs 4 arguments"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int openat64 (int __fd, const char *__path, int __oflag, ...) { if (__builtin_va_arg_pack_len () > 1) __openat64_too_many_args (); if (__builtin_constant_p (__oflag)) { if ((((__oflag) & 0100) != 0 || ((__oflag) & (020000000 | 040000)) == (020000000 | 040000)) && __builtin_va_arg_pack_len () < 1) { __openat64_missing_mode (); return __openat64_2 (__fd, __path, __oflag); } return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } if (__builtin_va_arg_pack_len () < 1) return __openat64_2 (__fd, __path, __oflag); return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); } # 343 "/usr/include/fcntl.h" 2 3 4 # 6 "../systemd-stable-254.8/src/basic/fd-util.h" 2 # 21 "../systemd-stable-254.8/src/basic/fd-util.h" # 21 "../systemd-stable-254.8/src/basic/fd-util.h" int close_nointr(int fd); int safe_close(int fd); void safe_close_pair(int p[static 2]); static inline int safe_close_above_stdio(int fd) { if (fd < 3) return - # 27 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 9 # 27 "../systemd-stable-254.8/src/basic/fd-util.h" ; return safe_close(fd); } void close_many(const int fds[], size_t n_fd); int fclose_nointr(FILE *f); FILE* safe_fclose(FILE *f); DIR* safe_closedir(DIR *f); static inline void closep(int *fd) { safe_close(*fd); } static inline void close_pairp(int (*p)[2]) { safe_close_pair(*p); } static inline void fclosep(FILE **f) { safe_fclose(*f); } static inline void pclosep(FILE* *p) { if (*p != ( # 50 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 50 "../systemd-stable-254.8/src/basic/fd-util.h" )) { # 50 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic push # 50 "../systemd-stable-254.8/src/basic/fd-util.h" ; # 50 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic ignored "-Waddress" # 50 "../systemd-stable-254.8/src/basic/fd-util.h" ; do { if ((__builtin_expect(!!(!(pclose)), 0))) log_assert_failed("pclose", (&"../systemd-stable-254.8/src/basic/fd-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 50, __func__); } while ( # 50 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 0 # 50 "../systemd-stable-254.8/src/basic/fd-util.h" ); # 50 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic pop # 50 "../systemd-stable-254.8/src/basic/fd-util.h" ; pclose(*p); *p = ( # 50 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 50 "../systemd-stable-254.8/src/basic/fd-util.h" ); } }; static inline void closedirp(DIR* *p) { if (*p != ( # 51 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 51 "../systemd-stable-254.8/src/basic/fd-util.h" )) { # 51 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic push # 51 "../systemd-stable-254.8/src/basic/fd-util.h" ; # 51 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic ignored "-Waddress" # 51 "../systemd-stable-254.8/src/basic/fd-util.h" ; do { if ((__builtin_expect(!!(!(closedir)), 0))) log_assert_failed("closedir", (&"../systemd-stable-254.8/src/basic/fd-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 51, __func__); } while ( # 51 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 0 # 51 "../systemd-stable-254.8/src/basic/fd-util.h" ); # 51 "../systemd-stable-254.8/src/basic/fd-util.h" #pragma GCC diagnostic pop # 51 "../systemd-stable-254.8/src/basic/fd-util.h" ; closedir(*p); *p = ( # 51 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 51 "../systemd-stable-254.8/src/basic/fd-util.h" ); } }; int fd_nonblock(int fd, # 59 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 _Bool # 59 "../systemd-stable-254.8/src/basic/fd-util.h" nonblock); int fd_cloexec(int fd, # 60 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 _Bool # 60 "../systemd-stable-254.8/src/basic/fd-util.h" cloexec); int fd_cloexec_many(const int fds[], size_t n_fds, # 61 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 _Bool # 61 "../systemd-stable-254.8/src/basic/fd-util.h" cloexec); int get_max_fd(void); int close_all_fds(const int except[], size_t n_except); int close_all_fds_without_malloc(const int except[], size_t n_except); int same_fd(int a, int b); void cmsg_close_all(struct msghdr *mh); # 72 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 _Bool # 72 "../systemd-stable-254.8/src/basic/fd-util.h" fdname_is_valid(const char *s); int fd_get_path(int fd, char **ret); int move_fd(int from, int to, int cloexec); int fd_move_above_stdio(int fd); int rearrange_stdio(int original_input_fd, int original_output_fd, int original_error_fd); static inline int make_null_stdio(void) { return rearrange_stdio(- # 83 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 9 # 83 "../systemd-stable-254.8/src/basic/fd-util.h" , - # 83 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 9 # 83 "../systemd-stable-254.8/src/basic/fd-util.h" , - # 83 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 9 # 83 "../systemd-stable-254.8/src/basic/fd-util.h" ); } # 98 "../systemd-stable-254.8/src/basic/fd-util.h" int fd_reopen(int fd, int flags); int fd_reopen_condition(int fd, int flags, int mask, int *ret_new_fd); int fd_is_opath(int fd); int read_nr_open(void); int fd_get_diskseq(int fd, uint64_t *ret); int path_is_root_at(int dir_fd, const char *path); static inline int path_is_root(const char *path) { return path_is_root_at( # 106 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 -100 # 106 "../systemd-stable-254.8/src/basic/fd-util.h" , path); } static inline int dir_fd_is_root(int dir_fd) { return path_is_root_at(dir_fd, # 109 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 109 "../systemd-stable-254.8/src/basic/fd-util.h" ); } static inline int dir_fd_is_root_or_cwd(int dir_fd) { return dir_fd == # 112 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 -100 # 112 "../systemd-stable-254.8/src/basic/fd-util.h" ? # 112 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 1 # 112 "../systemd-stable-254.8/src/basic/fd-util.h" : path_is_root_at(dir_fd, # 112 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 ((void *)0) # 112 "../systemd-stable-254.8/src/basic/fd-util.h" ); } static inline char *format_proc_fd_path(char buf[static ((sizeof("""/proc/self/fd/""") - sizeof(typeof("/proc/self/fd/"[0]))) + ((size_t) (__builtin_types_compatible_p(typeof(int), signed char) || __builtin_types_compatible_p(typeof(int), signed short) || __builtin_types_compatible_p(typeof(int), signed) || __builtin_types_compatible_p(typeof(int), signed long) || __builtin_types_compatible_p(typeof(int), signed long long)) + 1U + (sizeof(int) <= 1 ? 3U : sizeof(int) <= 2 ? 5U : sizeof(int) <= 4 ? 10U : sizeof(int) <= 8 ? ((__builtin_types_compatible_p(typeof(int), signed char) || __builtin_types_compatible_p(typeof(int), signed short) || __builtin_types_compatible_p(typeof(int), signed) || __builtin_types_compatible_p(typeof(int), signed long) || __builtin_types_compatible_p(typeof(int), signed long long)) ? 19U : 20U) : sizeof(int[-2*(sizeof(int) > 8)]))))], int fd) { do { if ((__builtin_expect(!!(!(buf)), 0))) log_assert_failed("buf", (&"../systemd-stable-254.8/src/basic/fd-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 120, __func__); } while ( # 120 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 0 # 120 "../systemd-stable-254.8/src/basic/fd-util.h" ); do { if ((__builtin_expect(!!(!(fd >= 0)), 0))) log_assert_failed("fd >= 0", (&"../systemd-stable-254.8/src/basic/fd-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 121, __func__); } while ( # 121 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 0 # 121 "../systemd-stable-254.8/src/basic/fd-util.h" ); do { if ((__builtin_expect(!!(!(snprintf_ok(buf, ((sizeof("""/proc/self/fd/""") - sizeof(typeof("/proc/self/fd/"[0]))) + ((size_t) (__builtin_types_compatible_p(typeof(int), signed char) || __builtin_types_compatible_p(typeof(int), signed short) || __builtin_types_compatible_p(typeof(int), signed) || __builtin_types_compatible_p(typeof(int), signed long) || __builtin_types_compatible_p(typeof(int), signed long long)) + 1U + (sizeof(int) <= 1 ? 3U : sizeof(int) <= 2 ? 5U : sizeof(int) <= 4 ? 10U : sizeof(int) <= 8 ? ((__builtin_types_compatible_p(typeof(int), signed char) || __builtin_types_compatible_p(typeof(int), signed short) || __builtin_types_compatible_p(typeof(int), signed) || __builtin_types_compatible_p(typeof(int), signed long) || __builtin_types_compatible_p(typeof(int), signed long long)) ? 19U : 20U) : sizeof(int[-2*(sizeof(int) > 8)])))), "/proc/self/fd/%i", fd))), 0))) log_assert_failed("snprintf_ok(buf, PROC_FD_PATH_MAX, \"/proc/self/fd/%i\", fd)", (&"../systemd-stable-254.8/src/basic/fd-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 122, __func__); } while ( # 122 "../systemd-stable-254.8/src/basic/fd-util.h" 3 4 0 # 122 "../systemd-stable-254.8/src/basic/fd-util.h" ); return buf; } const char *accmode_to_string(int flags); # 22 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/format-util.h" 1 # 1 "/usr/include/net/if.h" 1 3 4 # 33 "/usr/include/net/if.h" 3 4 # 33 "/usr/include/net/if.h" 3 4 struct if_nameindex { unsigned int if_index; char *if_name; }; enum { IFF_UP = 0x1, IFF_BROADCAST = 0x2, IFF_DEBUG = 0x4, IFF_LOOPBACK = 0x8, IFF_POINTOPOINT = 0x10, IFF_NOTRAILERS = 0x20, IFF_RUNNING = 0x40, IFF_NOARP = 0x80, IFF_PROMISC = 0x100, IFF_ALLMULTI = 0x200, IFF_MASTER = 0x400, IFF_SLAVE = 0x800, IFF_MULTICAST = 0x1000, IFF_PORTSEL = 0x2000, IFF_AUTOMEDIA = 0x4000, IFF_DYNAMIC = 0x8000 }; struct ifaddr { struct sockaddr ifa_addr; union { struct sockaddr ifu_broadaddr; struct sockaddr ifu_dstaddr; } ifa_ifu; struct iface *ifa_ifp; struct ifaddr *ifa_next; }; # 111 "/usr/include/net/if.h" 3 4 struct ifmap { unsigned long int mem_start; unsigned long int mem_end; unsigned short int base_addr; unsigned char irq; unsigned char dma; unsigned char port; }; struct ifreq { union { char ifrn_name[16]; } ifr_ifrn; union { struct sockaddr ifru_addr; struct sockaddr ifru_dstaddr; struct sockaddr ifru_broadaddr; struct sockaddr ifru_netmask; struct sockaddr ifru_hwaddr; short int ifru_flags; int ifru_ivalue; int ifru_mtu; struct ifmap ifru_map; char ifru_slave[16]; char ifru_newname[16]; __caddr_t ifru_data; } ifr_ifru; }; # 176 "/usr/include/net/if.h" 3 4 struct ifconf { int ifc_len; union { __caddr_t ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; extern unsigned int if_nametoindex (const char *__ifname) __attribute__ ((__nothrow__ , __leaf__)); extern char *if_indextoname (unsigned int __ifindex, char __ifname[16]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 2))); extern struct if_nameindex *if_nameindex (void) __attribute__ ((__nothrow__ , __leaf__)); extern void if_freenameindex (struct if_nameindex *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 6 "../systemd-stable-254.8/src/basic/format-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/cgroup-util.h" 1 # 1 "/usr/include/sys/statfs.h" 1 3 4 # 25 "/usr/include/sys/statfs.h" 3 4 # 1 "/usr/include/bits/statfs.h" 1 3 4 # 24 "/usr/include/bits/statfs.h" 3 4 struct statfs { __fsword_t f_type; __fsword_t f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; __fsfilcnt64_t f_files; __fsfilcnt64_t f_ffree; __fsid_t f_fsid; __fsword_t f_namelen; __fsword_t f_frsize; __fsword_t f_flags; __fsword_t f_spare[4]; }; struct statfs64 { __fsword_t f_type; __fsword_t f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; __fsfilcnt64_t f_files; __fsfilcnt64_t f_ffree; __fsid_t f_fsid; __fsword_t f_namelen; __fsword_t f_frsize; __fsword_t f_flags; __fsword_t f_spare[4]; }; # 26 "/usr/include/sys/statfs.h" 2 3 4 extern int statfs (const char *__file, struct statfs *__buf) __asm__ ("" "statfs64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int statfs64 (const char *__file, struct statfs64 *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 54 "/usr/include/sys/statfs.h" 3 4 extern int fstatfs (int __fildes, struct statfs *__buf) __asm__ ("" "fstatfs64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int fstatfs64 (int __fildes, struct statfs64 *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 10 "../systemd-stable-254.8/src/basic/cgroup-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/set.h" 1 # 1 "../systemd-stable-254.8/src/basic/extract-word.h" 1 # 6 "../systemd-stable-254.8/src/basic/extract-word.h" typedef enum ExtractFlags { EXTRACT_RELAX = 1 << 0, EXTRACT_CUNESCAPE = 1 << 1, EXTRACT_UNESCAPE_RELAX = 1 << 2, EXTRACT_UNESCAPE_SEPARATORS = 1 << 3, EXTRACT_KEEP_QUOTE = 1 << 4, EXTRACT_UNQUOTE = 1 << 5, EXTRACT_DONT_COALESCE_SEPARATORS = 1 << 6, EXTRACT_RETAIN_ESCAPE = 1 << 7, EXTRACT_RETAIN_SEPARATORS = 1 << 8, } ExtractFlags; int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags); int extract_first_word_and_warn(const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue); int extract_many_words(const char **p, const char *separators, unsigned flags, ...) __attribute__((__sentinel__)); # 5 "../systemd-stable-254.8/src/basic/set.h" 2 Set* _set_new(const struct hash_ops *hash_ops ); static inline Set* set_free(Set *s) { return (Set*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), # 15 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 15 "../systemd-stable-254.8/src/basic/set.h" , # 15 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 15 "../systemd-stable-254.8/src/basic/set.h" ); } static inline Set* set_free_free(Set *s) { return (Set*) _hashmap_free(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), free, # 19 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 19 "../systemd-stable-254.8/src/basic/set.h" ); } int _set_ensure_allocated(Set **s, const struct hash_ops *hash_ops ); int set_put(Set *s, const void *key); static inline void *set_get(const Set *s, const void *key) { return _hashmap_get(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set *) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set *) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set *) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set *) s), Set*)), (HashmapBase*)((Set *) s), (void)0), key); } static inline # 37 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 37 "../systemd-stable-254.8/src/basic/set.h" set_contains(const Set *s, const void *key) { return _hashmap_contains(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set *) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set *) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set *) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set *) s), Set*)), (HashmapBase*)((Set *) s), (void)0), key); } static inline void *set_remove(Set *s, const void *key) { return _hashmap_remove(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), key); } int set_remove_and_put(Set *s, const void *old_key, const void *new_key); int set_merge(Set *s, Set *other); static inline int set_reserve(Set *h, unsigned entries_add) { return _hashmap_reserve(__builtin_choose_expr((__builtin_types_compatible_p(typeof(h), HashmapBase*) || __builtin_types_compatible_p(typeof(h), Hashmap*) || __builtin_types_compatible_p(typeof(h), OrderedHashmap*) || __builtin_types_compatible_p(typeof(h), Set*)), (HashmapBase*)(h), (void)0), entries_add); } static inline int set_move(Set *s, Set *other) { return _hashmap_move(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0)); } static inline int set_move_one(Set *s, Set *other, const void *key) { return _hashmap_move_one(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), __builtin_choose_expr((__builtin_types_compatible_p(typeof(other), HashmapBase*) || __builtin_types_compatible_p(typeof(other), Hashmap*) || __builtin_types_compatible_p(typeof(other), OrderedHashmap*) || __builtin_types_compatible_p(typeof(other), Set*)), (HashmapBase*)(other), (void)0), key); } static inline unsigned set_size(const Set *s) { return _hashmap_size(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set *) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set *) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set *) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set *) s), Set*)), (HashmapBase*)((Set *) s), (void)0)); } static inline # 67 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 67 "../systemd-stable-254.8/src/basic/set.h" set_isempty(const Set *s) { return set_size(s) == 0; } static inline unsigned set_buckets(const Set *s) { return _hashmap_buckets(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set *) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set *) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set *) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set *) s), Set*)), (HashmapBase*)((Set *) s), (void)0)); } static inline # 75 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 75 "../systemd-stable-254.8/src/basic/set.h" set_iterate(const Set *s, Iterator *i, void **value) { return _hashmap_iterate(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set*) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set*) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set*) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set*) s), Set*)), (HashmapBase*)((Set*) s), (void)0), i, value, # 76 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 76 "../systemd-stable-254.8/src/basic/set.h" ); } static inline void set_clear(Set *s) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), # 80 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 80 "../systemd-stable-254.8/src/basic/set.h" , # 80 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 80 "../systemd-stable-254.8/src/basic/set.h" ); } static inline void set_clear_free(Set *s) { _hashmap_clear(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), free, # 84 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 84 "../systemd-stable-254.8/src/basic/set.h" ); } static inline void *set_steal_first(Set *s) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0), # 90 "../systemd-stable-254.8/src/basic/set.h" 3 4 1 # 90 "../systemd-stable-254.8/src/basic/set.h" , # 90 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 90 "../systemd-stable-254.8/src/basic/set.h" ); } # 107 "../systemd-stable-254.8/src/basic/set.h" static inline void *set_first(const Set *s) { return _hashmap_first_key_and_value(__builtin_choose_expr((__builtin_types_compatible_p(typeof((Set *) s), HashmapBase*) || __builtin_types_compatible_p(typeof((Set *) s), Hashmap*) || __builtin_types_compatible_p(typeof((Set *) s), OrderedHashmap*) || __builtin_types_compatible_p(typeof((Set *) s), Set*)), (HashmapBase*)((Set *) s), (void)0), # 108 "../systemd-stable-254.8/src/basic/set.h" 3 4 0 # 108 "../systemd-stable-254.8/src/basic/set.h" , # 108 "../systemd-stable-254.8/src/basic/set.h" 3 4 ((void *)0) # 108 "../systemd-stable-254.8/src/basic/set.h" ); } static inline char **set_get_strv(Set *s) { return _hashmap_get_strv(__builtin_choose_expr((__builtin_types_compatible_p(typeof(s), HashmapBase*) || __builtin_types_compatible_p(typeof(s), Hashmap*) || __builtin_types_compatible_p(typeof(s), OrderedHashmap*) || __builtin_types_compatible_p(typeof(s), Set*)), (HashmapBase*)(s), (void)0)); } int _set_ensure_put(Set **s, const struct hash_ops *hash_ops, const void *key ); int _set_ensure_consume(Set **s, const struct hash_ops *hash_ops, void *key ); int set_consume(Set *s, void *value); int _set_put_strndup_full(Set **s, const struct hash_ops *hash_ops, const char *p, size_t n ); int _set_put_strdupv_full(Set **s, const struct hash_ops *hash_ops, char **l ); int set_put_strsplit(Set *s, const char *v, const char *separators, ExtractFlags flags); # 145 "../systemd-stable-254.8/src/basic/set.h" static inline void set_freep(Set* *p) { if (*p) *p = set_free(*p); }; static inline void set_free_freep(Set* *p) { if (*p) *p = set_free_free(*p); }; int set_strjoin(Set *s, const char *separator, # 151 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 151 "../systemd-stable-254.8/src/basic/set.h" wrap_with_separator, char **ret); # 153 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 153 "../systemd-stable-254.8/src/basic/set.h" set_equal(Set *a, Set *b); # 155 "../systemd-stable-254.8/src/basic/set.h" 3 4 _Bool # 155 "../systemd-stable-254.8/src/basic/set.h" set_fnmatch(Set *include_patterns, Set *exclude_patterns, const char *needle); # 14 "../systemd-stable-254.8/src/basic/cgroup-util.h" 2 typedef enum CGroupController { CGROUP_CONTROLLER_CPU, CGROUP_CONTROLLER_CPUACCT, CGROUP_CONTROLLER_CPUSET, CGROUP_CONTROLLER_IO, CGROUP_CONTROLLER_BLKIO, CGROUP_CONTROLLER_MEMORY, CGROUP_CONTROLLER_DEVICES, CGROUP_CONTROLLER_PIDS, CGROUP_CONTROLLER_BPF_FIREWALL, CGROUP_CONTROLLER_BPF_DEVICES, CGROUP_CONTROLLER_BPF_FOREIGN, CGROUP_CONTROLLER_BPF_SOCKET_BIND, CGROUP_CONTROLLER_BPF_RESTRICT_NETWORK_INTERFACES, _CGROUP_CONTROLLER_MAX, _CGROUP_CONTROLLER_INVALID = - # 42 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 22 # 42 "../systemd-stable-254.8/src/basic/cgroup-util.h" , } CGroupController; typedef enum CGroupMask { CGROUP_MASK_CPU = (1U << (CGROUP_CONTROLLER_CPU)), CGROUP_MASK_CPUACCT = (1U << (CGROUP_CONTROLLER_CPUACCT)), CGROUP_MASK_CPUSET = (1U << (CGROUP_CONTROLLER_CPUSET)), CGROUP_MASK_IO = (1U << (CGROUP_CONTROLLER_IO)), CGROUP_MASK_BLKIO = (1U << (CGROUP_CONTROLLER_BLKIO)), CGROUP_MASK_MEMORY = (1U << (CGROUP_CONTROLLER_MEMORY)), CGROUP_MASK_DEVICES = (1U << (CGROUP_CONTROLLER_DEVICES)), CGROUP_MASK_PIDS = (1U << (CGROUP_CONTROLLER_PIDS)), CGROUP_MASK_BPF_FIREWALL = (1U << (CGROUP_CONTROLLER_BPF_FIREWALL)), CGROUP_MASK_BPF_DEVICES = (1U << (CGROUP_CONTROLLER_BPF_DEVICES)), CGROUP_MASK_BPF_FOREIGN = (1U << (CGROUP_CONTROLLER_BPF_FOREIGN)), CGROUP_MASK_BPF_SOCKET_BIND = (1U << (CGROUP_CONTROLLER_BPF_SOCKET_BIND)), CGROUP_MASK_BPF_RESTRICT_NETWORK_INTERFACES = (1U << (CGROUP_CONTROLLER_BPF_RESTRICT_NETWORK_INTERFACES)), CGROUP_MASK_V1 = CGROUP_MASK_CPU|CGROUP_MASK_CPUACCT|CGROUP_MASK_BLKIO|CGROUP_MASK_MEMORY|CGROUP_MASK_DEVICES|CGROUP_MASK_PIDS, CGROUP_MASK_V2 = CGROUP_MASK_CPU|CGROUP_MASK_CPUSET|CGROUP_MASK_IO|CGROUP_MASK_MEMORY|CGROUP_MASK_PIDS, CGROUP_MASK_BPF = CGROUP_MASK_BPF_FIREWALL|CGROUP_MASK_BPF_DEVICES|CGROUP_MASK_BPF_FOREIGN|CGROUP_MASK_BPF_SOCKET_BIND|CGROUP_MASK_BPF_RESTRICT_NETWORK_INTERFACES, _CGROUP_MASK_ALL = (1U << (_CGROUP_CONTROLLER_MAX)) - 1 } CGroupMask; static inline CGroupMask CGROUP_MASK_EXTEND_JOINED(CGroupMask mask) { if (mask & (CGROUP_MASK_CPU|CGROUP_MASK_CPUACCT)) mask |= (CGROUP_MASK_CPU|CGROUP_MASK_CPUACCT); return mask; } CGroupMask get_cpu_accounting_mask(void); # 85 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 85 "../systemd-stable-254.8/src/basic/cgroup-util.h" cpu_accounting_is_cheap(void); # 97 "../systemd-stable-254.8/src/basic/cgroup-util.h" static inline # 97 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 97 "../systemd-stable-254.8/src/basic/cgroup-util.h" CGROUP_WEIGHT_IS_OK(uint64_t x) { return x == # 99 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 (18446744073709551615ULL) # 99 "../systemd-stable-254.8/src/basic/cgroup-util.h" || (x >= 1ULL && x <= 10000ULL); } typedef enum CGroupIOLimitType { CGROUP_IO_RBPS_MAX, CGROUP_IO_WBPS_MAX, CGROUP_IO_RIOPS_MAX, CGROUP_IO_WIOPS_MAX, _CGROUP_IO_LIMIT_TYPE_MAX, _CGROUP_IO_LIMIT_TYPE_INVALID = - # 111 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 22 # 111 "../systemd-stable-254.8/src/basic/cgroup-util.h" , } CGroupIOLimitType; extern const uint64_t cgroup_io_limit_defaults[_CGROUP_IO_LIMIT_TYPE_MAX]; const char* cgroup_io_limit_type_to_string(CGroupIOLimitType t) __attribute__((__const__)); CGroupIOLimitType cgroup_io_limit_type_from_string(const char *s) __attribute__((__pure__)); static inline # 125 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 125 "../systemd-stable-254.8/src/basic/cgroup-util.h" CGROUP_CPU_SHARES_IS_OK(uint64_t x) { return x == # 127 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 (18446744073709551615ULL) # 127 "../systemd-stable-254.8/src/basic/cgroup-util.h" || (x >= 2ULL && x <= 262144ULL); } # 138 "../systemd-stable-254.8/src/basic/cgroup-util.h" static inline uint64_t BFQ_WEIGHT(uint64_t io_weight) { return io_weight <= 100ULL ? 100ULL - (100ULL - io_weight) * (100ULL - 1ULL) / (100ULL - 1ULL) : 100ULL + (io_weight - 100ULL) * (1000ULL - 100ULL) / (10000ULL - 100ULL); } static inline # 151 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 151 "../systemd-stable-254.8/src/basic/cgroup-util.h" CGROUP_BLKIO_WEIGHT_IS_OK(uint64_t x) { return x == # 153 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 (18446744073709551615ULL) # 153 "../systemd-stable-254.8/src/basic/cgroup-util.h" || (x >= 10ULL && x <= 1000ULL); } typedef enum CGroupUnified { CGROUP_UNIFIED_UNKNOWN = -1, CGROUP_UNIFIED_NONE = 0, CGROUP_UNIFIED_SYSTEMD = 1, CGROUP_UNIFIED_ALL = 2, } CGroupUnified; # 179 "../systemd-stable-254.8/src/basic/cgroup-util.h" int cg_enumerate_processes(const char *controller, const char *path, FILE **_f); int cg_read_pid(FILE *f, pid_t *_pid); int cg_read_event(const char *controller, const char *path, const char *event, char **val); int cg_enumerate_subgroups(const char *controller, const char *path, DIR **_d); int cg_read_subgroup(DIR *d, char **fn); typedef enum CGroupFlags { CGROUP_SIGCONT = 1 << 0, CGROUP_IGNORE_SELF = 1 << 1, CGROUP_REMOVE = 1 << 2, } CGroupFlags; typedef int (*cg_kill_log_func_t)(pid_t pid, int sig, void *userdata); int cg_kill(const char *controller, const char *path, int sig, CGroupFlags flags, Set *s, cg_kill_log_func_t kill_log, void *userdata); int cg_kill_kernel_sigkill(const char *controller, const char *path); int cg_kill_recursive(const char *controller, const char *path, int sig, CGroupFlags flags, Set *s, cg_kill_log_func_t kill_log, void *userdata); int cg_split_spec(const char *spec, char **ret_controller, char **ret_path); int cg_mangle_path(const char *path, char **result); int cg_get_path(const char *controller, const char *path, const char *suffix, char **fs); int cg_get_path_and_check(const char *controller, const char *path, const char *suffix, char **fs); int cg_pid_get_path(const char *controller, pid_t pid, char **path); int cg_rmdir(const char *controller, const char *path); int cg_is_threaded(const char *controller, const char *path); typedef enum { CG_KEY_MODE_GRACEFUL = 1 << 0, } CGroupKeyMode; int cg_set_attribute(const char *controller, const char *path, const char *attribute, const char *value); int cg_get_attribute(const char *controller, const char *path, const char *attribute, char **ret); int cg_get_keyed_attribute_full(const char *controller, const char *path, const char *attribute, char **keys, char **values, CGroupKeyMode mode); static inline int cg_get_keyed_attribute( const char *controller, const char *path, const char *attribute, char **keys, char **ret_values) { return cg_get_keyed_attribute_full(controller, path, attribute, keys, ret_values, 0); } static inline int cg_get_keyed_attribute_graceful( const char *controller, const char *path, const char *attribute, char **keys, char **ret_values) { return cg_get_keyed_attribute_full(controller, path, attribute, keys, ret_values, CG_KEY_MODE_GRACEFUL); } int cg_get_attribute_as_uint64(const char *controller, const char *path, const char *attribute, uint64_t *ret); int cg_get_attribute_as_bool(const char *controller, const char *path, const char *attribute, # 240 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 240 "../systemd-stable-254.8/src/basic/cgroup-util.h" *ret); int cg_get_owner(const char *controller, const char *path, uid_t *ret_uid); int cg_set_xattr(const char *controller, const char *path, const char *name, const void *value, size_t size, int flags); int cg_get_xattr(const char *controller, const char *path, const char *name, void *value, size_t size); int cg_get_xattr_malloc(const char *controller, const char *path, const char *name, char **ret); int cg_get_xattr_bool(const char *controller, const char *path, const char *name); int cg_remove_xattr(const char *controller, const char *path, const char *name); int cg_install_release_agent(const char *controller, const char *agent); int cg_uninstall_release_agent(const char *controller); int cg_is_empty(const char *controller, const char *path); int cg_is_empty_recursive(const char *controller, const char *path); int cg_get_root_path(char **path); int cg_path_get_cgroupid(const char *path, uint64_t *ret); int cg_path_get_session(const char *path, char **session); int cg_path_get_owner_uid(const char *path, uid_t *uid); int cg_path_get_unit(const char *path, char **unit); int cg_path_get_unit_path(const char *path, char **unit); int cg_path_get_user_unit(const char *path, char **unit); int cg_path_get_machine_name(const char *path, char **machine); int cg_path_get_slice(const char *path, char **slice); int cg_path_get_user_slice(const char *path, char **slice); int cg_shift_path(const char *cgroup, const char *cached_root, const char **shifted); int cg_pid_get_path_shifted(pid_t pid, const char *cached_root, char **cgroup); int cg_pid_get_session(pid_t pid, char **session); int cg_pid_get_owner_uid(pid_t pid, uid_t *uid); int cg_pid_get_unit(pid_t pid, char **unit); int cg_pid_get_user_unit(pid_t pid, char **unit); int cg_pid_get_machine_name(pid_t pid, char **machine); int cg_pid_get_slice(pid_t pid, char **slice); int cg_pid_get_user_slice(pid_t pid, char **slice); int cg_path_decode_unit(const char *cgroup, char **unit); # 282 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 282 "../systemd-stable-254.8/src/basic/cgroup-util.h" cg_needs_escape(const char *p); int cg_escape(const char *p, char **ret); char *cg_unescape(const char *p) __attribute__((__pure__)); # 286 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 286 "../systemd-stable-254.8/src/basic/cgroup-util.h" cg_controller_is_valid(const char *p); int cg_slice_to_path(const char *unit, char **ret); typedef const char* (*cg_migrate_callback_t)(CGroupMask mask, void *userdata); int cg_mask_supported(CGroupMask *ret); int cg_mask_supported_subtree(const char *root, CGroupMask *ret); int cg_mask_from_string(const char *s, CGroupMask *ret); int cg_mask_to_string(CGroupMask mask, char **ret); int cg_kernel_controllers(Set **controllers); # 299 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 299 "../systemd-stable-254.8/src/basic/cgroup-util.h" cg_ns_supported(void); # 300 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 300 "../systemd-stable-254.8/src/basic/cgroup-util.h" cg_freezer_supported(void); # 301 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 301 "../systemd-stable-254.8/src/basic/cgroup-util.h" cg_kill_supported(void); int cg_all_unified(void); int cg_hybrid_unified(void); int cg_unified_controller(const char *controller); int cg_unified_cached( # 306 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 306 "../systemd-stable-254.8/src/basic/cgroup-util.h" flush); static inline int cg_unified(void) { return cg_unified_cached( # 308 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 1 # 308 "../systemd-stable-254.8/src/basic/cgroup-util.h" ); } const char* cgroup_controller_to_string(CGroupController c) __attribute__((__const__)); CGroupController cgroup_controller_from_string(const char *s) __attribute__((__pure__)); # 314 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 314 "../systemd-stable-254.8/src/basic/cgroup-util.h" is_cgroup_fs(const struct statfs *s); # 315 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 _Bool # 315 "../systemd-stable-254.8/src/basic/cgroup-util.h" fd_is_cgroup_fs(int fd); typedef enum ManagedOOMMode { MANAGED_OOM_AUTO, MANAGED_OOM_KILL, _MANAGED_OOM_MODE_MAX, _MANAGED_OOM_MODE_INVALID = - # 321 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 22 # 321 "../systemd-stable-254.8/src/basic/cgroup-util.h" , } ManagedOOMMode; const char* managed_oom_mode_to_string(ManagedOOMMode m) __attribute__((__const__)); ManagedOOMMode managed_oom_mode_from_string(const char *s) __attribute__((__pure__)); typedef enum ManagedOOMPreference { MANAGED_OOM_PREFERENCE_NONE = 0, MANAGED_OOM_PREFERENCE_AVOID = 1, MANAGED_OOM_PREFERENCE_OMIT = 2, _MANAGED_OOM_PREFERENCE_MAX, _MANAGED_OOM_PREFERENCE_INVALID = - # 332 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 22 # 332 "../systemd-stable-254.8/src/basic/cgroup-util.h" , } ManagedOOMPreference; const char* managed_oom_preference_to_string(ManagedOOMPreference a) __attribute__((__const__)); ManagedOOMPreference managed_oom_preference_from_string(const char *s) __attribute__((__pure__)); typedef union { struct file_handle file_handle; uint8_t space[ # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 __builtin_offsetof ( # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" struct file_handle # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 , # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" f_handle # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" 3 4 ) # 341 "../systemd-stable-254.8/src/basic/cgroup-util.h" + sizeof(uint64_t)]; } cg_file_handle; # 9 "../systemd-stable-254.8/src/basic/format-util.h" 2 # 11 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 _Static_assert # 11 "../systemd-stable-254.8/src/basic/format-util.h" (sizeof(pid_t) == sizeof(int32_t), "sizeof(pid_t) == sizeof(int32_t)"); # 15 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 _Static_assert # 15 "../systemd-stable-254.8/src/basic/format-util.h" (sizeof(uid_t) == sizeof(uint32_t), "sizeof(uid_t) == sizeof(uint32_t)"); # 18 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 _Static_assert # 18 "../systemd-stable-254.8/src/basic/format-util.h" (sizeof(gid_t) == sizeof(uint32_t), "sizeof(gid_t) == sizeof(uint32_t)"); # 61 "../systemd-stable-254.8/src/basic/format-util.h" typedef enum { FORMAT_IFNAME_IFINDEX = 1 << 0, FORMAT_IFNAME_IFINDEX_WITH_PERCENT = (1 << 1) | FORMAT_IFNAME_IFINDEX, } FormatIfnameFlag; int format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static # 66 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 16 # 66 "../systemd-stable-254.8/src/basic/format-util.h" ]); int format_ifname_full_alloc(int ifindex, FormatIfnameFlag flag, char **ret); static inline int format_ifname(int ifindex, char buf[static # 69 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 16 # 69 "../systemd-stable-254.8/src/basic/format-util.h" ]) { return format_ifname_full(ifindex, 0, buf); } static inline int format_ifname_alloc(int ifindex, char **ret) { return format_ifname_full_alloc(ifindex, 0, ret); } static inline char *_format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static # 76 "../systemd-stable-254.8/src/basic/format-util.h" 3 4 16 # 76 "../systemd-stable-254.8/src/basic/format-util.h" ]) { (void) format_ifname_full(ifindex, flag, buf); return buf; } typedef enum { FORMAT_BYTES_USE_IEC = 1 << 0, FORMAT_BYTES_BELOW_POINT = 1 << 1, FORMAT_BYTES_TRAILING_B = 1 << 2, } FormatBytesFlag; char *format_bytes_full(char *buf, size_t l, uint64_t t, FormatBytesFlag flag) __attribute__((__warn_unused_result__)); __attribute__((__warn_unused_result__)) static inline char *format_bytes(char *buf, size_t l, uint64_t t) { return format_bytes_full(buf, l, t, FORMAT_BYTES_USE_IEC | FORMAT_BYTES_BELOW_POINT | FORMAT_BYTES_TRAILING_B); } # 23 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/fs-util.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/limits.h" 1 3 4 # 7 "../systemd-stable-254.8/src/basic/fs-util.h" 2 # 1 "/usr/include/sys/stat.h" 1 3 4 # 99 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/bits/stat.h" 1 3 4 # 102 "/usr/include/sys/stat.h" 2 3 4 # 227 "/usr/include/sys/stat.h" 3 4 # 227 "/usr/include/sys/stat.h" 3 4 extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 240 "/usr/include/sys/stat.h" 3 4 extern int stat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 279 "/usr/include/sys/stat.h" 3 4 extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "fstatat64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 291 "/usr/include/sys/stat.h" 3 4 extern int fstatat64 (int __fd, const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 327 "/usr/include/sys/stat.h" 3 4 extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lstat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 352 "/usr/include/sys/stat.h" 3 4 extern int chmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); extern int fchmodat (int __fd, const char *__file, __mode_t __mode, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); extern __mode_t getumask (void) __attribute__ ((__nothrow__ , __leaf__)); extern int mkdir (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkdirat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mkfifo (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int utimensat (int __fd, const char *__path, const struct timespec __times[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 452 "/usr/include/sys/stat.h" 3 4 extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); # 465 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/bits/statx.h" 1 3 4 # 31 "/usr/include/bits/statx.h" 3 4 # 1 "/usr/include/linux/stat.h" 1 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 1 "/usr/include/asm/types.h" 1 3 4 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 # 12 "/usr/include/asm-generic/int-ll64.h" 3 4 # 1 "/usr/include/asm/bitsperlong.h" 1 3 4 # 13 "/usr/include/asm-generic/int-ll64.h" 2 3 4 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 6 "/usr/include/asm/types.h" 2 3 4 # 6 "/usr/include/linux/types.h" 2 3 4 # 31 "/usr/include/linux/types.h" 3 4 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 54 "/usr/include/linux/types.h" 3 4 typedef unsigned __poll_t; # 6 "/usr/include/linux/stat.h" 2 3 4 # 56 "/usr/include/linux/stat.h" 3 4 struct statx_timestamp { __s64 tv_sec; __u32 tv_nsec; __s32 __reserved; }; # 99 "/usr/include/linux/stat.h" 3 4 struct statx { __u32 stx_mask; __u32 stx_blksize; __u64 stx_attributes; __u32 stx_nlink; __u32 stx_uid; __u32 stx_gid; __u16 stx_mode; __u16 __spare0[1]; __u64 stx_ino; __u64 stx_size; __u64 stx_blocks; __u64 stx_attributes_mask; struct statx_timestamp stx_atime; struct statx_timestamp stx_btime; struct statx_timestamp stx_ctime; struct statx_timestamp stx_mtime; __u32 stx_rdev_major; __u32 stx_rdev_minor; __u32 stx_dev_major; __u32 stx_dev_minor; __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; __u64 __spare3[12]; }; # 32 "/usr/include/bits/statx.h" 2 3 4 # 1 "/usr/include/bits/statx-generic.h" 1 3 4 # 25 "/usr/include/bits/statx-generic.h" 3 4 # 1 "/usr/include/bits/types/struct_statx_timestamp.h" 1 3 4 # 26 "/usr/include/bits/statx-generic.h" 2 3 4 # 1 "/usr/include/bits/types/struct_statx.h" 1 3 4 # 27 "/usr/include/bits/statx-generic.h" 2 3 4 # 58 "/usr/include/bits/statx-generic.h" 3 4 int statx (int __dirfd, const char *__restrict __path, int __flags, unsigned int __mask, struct statx *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 5))); # 40 "/usr/include/bits/statx.h" 2 3 4 # 466 "/usr/include/sys/stat.h" 2 3 4 # 10 "../systemd-stable-254.8/src/basic/fs-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/errno-util.h" 1 # 24 "../systemd-stable-254.8/src/basic/errno-util.h" # 24 "../systemd-stable-254.8/src/basic/errno-util.h" static inline void _reset_errno_(int *saved_errno) { if (*saved_errno < 0) return; # 28 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 (*__errno_location ()) # 28 "../systemd-stable-254.8/src/basic/errno-util.h" = *saved_errno; } # 44 "../systemd-stable-254.8/src/basic/errno-util.h" static inline int negative_errno(void) { do { if (!(((__builtin_expect(!!( # 49 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 (*__errno_location ()) # 49 "../systemd-stable-254.8/src/basic/errno-util.h" > 0), 1))) ? ( # 49 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 49 "../systemd-stable-254.8/src/basic/errno-util.h" ) : (log_assert_failed_return("errno > 0", (&"../systemd-stable-254.8/src/basic/errno-util.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 49, __func__), # 49 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 49 "../systemd-stable-254.8/src/basic/errno-util.h" ))) return (- # 49 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 22 # 49 "../systemd-stable-254.8/src/basic/errno-util.h" ); } while ( # 49 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 49 "../systemd-stable-254.8/src/basic/errno-util.h" ); return - # 50 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 (*__errno_location ()) # 50 "../systemd-stable-254.8/src/basic/errno-util.h" ; } static inline int RET_NERRNO(int ret) { # 70 "../systemd-stable-254.8/src/basic/errno-util.h" if (ret < 0) return negative_errno(); return ret; } static inline int errno_or_else(int fallback) { if ( # 81 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 (*__errno_location ()) # 81 "../systemd-stable-254.8/src/basic/errno-util.h" > 0) return - # 82 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 (*__errno_location ()) # 82 "../systemd-stable-254.8/src/basic/errno-util.h" ; return -abs(fallback); } static inline # 88 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 88 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_TRANSIENT(int r) { return ({ # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 89 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 11 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" , # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 4 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 89 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 11 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 4 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 89 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 89 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } # 101 "../systemd-stable-254.8/src/basic/errno-util.h" static inline # 101 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 101 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_DISCONNECT(int r) { return ({ # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 102 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 103 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 111 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 104 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 112 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 113 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 100 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 102 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 101 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 64 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 92 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 107 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 32 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 71 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 108 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" , # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 110 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 102 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 103 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 111 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 104 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 112 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 113 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 100 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 102 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 101 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 64 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 92 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 107 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 32 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 71 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 108 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 110 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 102 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 102 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) # 117 "../systemd-stable-254.8/src/basic/errno-util.h" ; } static inline # 122 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 122 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_ACCEPT_AGAIN(int r) { return ERRNO_IS_DISCONNECT(r) || ERRNO_IS_TRANSIENT(r) || abs(r) == # 125 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 95 # 125 "../systemd-stable-254.8/src/basic/errno-util.h" ; } static inline # 129 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 129 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_RESOURCE(int r) { return ({ # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 130 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 24 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" , # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 23 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" , # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 12 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 130 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 24 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 23 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 12 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 130 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 130 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } static inline # 137 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 137 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_NOT_SUPPORTED(int r) { return ({ # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 138 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 95 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 25 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 38 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 97 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 96 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 93 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" , # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 94 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 138 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 95 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 25 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 38 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 97 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 96 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 93 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 94 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 138 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 138 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } static inline # 149 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 149 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_PRIVILEGE(int r) { return ({ # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 150 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 13 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" , # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 150 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 13 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 150 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 150 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } static inline # 156 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 156 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_DISK_SPACE(int r) { return ({ # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 157 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 28 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" , # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 122 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" , # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 27 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 157 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 28 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 122 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 27 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 157 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 157 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } static inline # 164 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 164 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_DEVICE_ABSENT(int r) { return ({ # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 165 "../systemd-stable-254.8/src/basic/errno-util.h" _found = # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 0 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" ; static const typeof(+abs(r)) __assert_in_set[] __attribute__((__unused__)) = { # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 19 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" , # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 6 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" , # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 2 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" }; # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Static_assert # 165 "../systemd-stable-254.8/src/basic/errno-util.h" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (abs(r)) { case # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 19 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 6 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" : case # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 2 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" : _found = # 165 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 1 # 165 "../systemd-stable-254.8/src/basic/errno-util.h" ; break; default: break; } _found; }) ; } static inline # 173 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 _Bool # 173 "../systemd-stable-254.8/src/basic/errno-util.h" ERRNO_IS_XATTR_ABSENT(int r) { return abs(r) == # 174 "../systemd-stable-254.8/src/basic/errno-util.h" 3 4 61 # 174 "../systemd-stable-254.8/src/basic/errno-util.h" || ERRNO_IS_NOT_SUPPORTED(r); } # 15 "../systemd-stable-254.8/src/basic/fs-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/lock-util.h" 1 typedef struct LockFile { int dir_fd; char *path; int fd; int operation; } LockFile; int make_lock_file_at(int dir_fd, const char *p, int operation, LockFile *ret); static inline int make_lock_file(const char *p, int operation, LockFile *ret) { return make_lock_file_at( # 15 "../systemd-stable-254.8/src/basic/lock-util.h" 3 4 -100 # 15 "../systemd-stable-254.8/src/basic/lock-util.h" , p, operation, ret); } int make_lock_file_for(const char *p, int operation, LockFile *ret); void release_lock_file(LockFile *f); int posix_lock(int fd, int operation); void posix_unlockpp(int **fd); int unposix_lock(int fd, int operation); void unposix_unlockpp(int **fd); typedef enum LockType { LOCK_NONE, LOCK_BSD, LOCK_POSIX, LOCK_UNPOSIX, } LockType; int lock_generic(int fd, LockType type, int operation); # 16 "../systemd-stable-254.8/src/basic/fs-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/user-util.h" 1 # 1 "/usr/include/grp.h" 1 3 4 # 27 "/usr/include/grp.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 33 "/usr/include/grp.h" 2 3 4 # 42 "/usr/include/grp.h" 3 4 # 42 "/usr/include/grp.h" 3 4 struct group { char *gr_name; char *gr_passwd; __gid_t gr_gid; char **gr_mem; }; # 61 "/usr/include/grp.h" 3 4 extern void setgrent (void); extern void endgrent (void); extern struct group *getgrent (void); # 83 "/usr/include/grp.h" 3 4 extern struct group *fgetgrent (FILE *__stream); # 93 "/usr/include/grp.h" 3 4 extern int putgrent (const struct group *__restrict __p, FILE *__restrict __f); extern struct group *getgrgid (__gid_t __gid); extern struct group *getgrnam (const char *__name); # 131 "/usr/include/grp.h" 3 4 extern int getgrent_r (struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int getgrnam_r (const char *__restrict __name, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result) __attribute__ ((__access__ (__write_only__, 3, 4))); # 164 "/usr/include/grp.h" 3 4 extern int fgetgrent_r (FILE *__restrict __stream, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result) __attribute__ ((__access__ (__write_only__, 3, 4))); # 177 "/usr/include/grp.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 178 "/usr/include/grp.h" 2 3 4 extern int setgroups (size_t __n, const __gid_t *__groups) __attribute__ ((__nothrow__ , __leaf__)); # 190 "/usr/include/grp.h" 3 4 extern int getgrouplist (const char *__user, __gid_t __group, __gid_t *__groups, int *__ngroups); # 201 "/usr/include/grp.h" 3 4 extern int initgroups (const char *__user, __gid_t __group); # 5 "../systemd-stable-254.8/src/basic/user-util.h" 2 # 1 "/usr/include/gshadow.h" 1 3 4 # 24 "/usr/include/gshadow.h" 3 4 # 1 "/usr/include/paths.h" 1 3 4 # 25 "/usr/include/gshadow.h" 2 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 29 "/usr/include/gshadow.h" 2 3 4 struct sgrp { char *sg_namp; char *sg_passwd; char **sg_adm; char **sg_mem; }; # 52 "/usr/include/gshadow.h" 3 4 extern void setsgent (void); extern void endsgent (void); extern struct sgrp *getsgent (void); extern struct sgrp *getsgnam (const char *__name); extern struct sgrp *sgetsgent (const char *__string); extern struct sgrp *fgetsgent (FILE *__stream); extern int putsgent (const struct sgrp *__g, FILE *__stream); # 110 "/usr/include/gshadow.h" 3 4 extern int getsgent_r (struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int getsgnam_r (const char *__name, struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int sgetsgent_r (const char *__string, struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int fgetsgent_r (FILE *__stream, struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); # 7 "../systemd-stable-254.8/src/basic/user-util.h" 2 # 1 "/usr/include/pwd.h" 1 3 4 # 27 "/usr/include/pwd.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 33 "/usr/include/pwd.h" 2 3 4 # 49 "/usr/include/pwd.h" 3 4 struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; }; # 72 "/usr/include/pwd.h" 3 4 extern void setpwent (void); extern void endpwent (void); extern struct passwd *getpwent (void); # 94 "/usr/include/pwd.h" 3 4 extern struct passwd *fgetpwent (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int putpwent (const struct passwd *__restrict __p, FILE *__restrict __f); extern struct passwd *getpwuid (__uid_t __uid); extern struct passwd *getpwnam (const char *__name) __attribute__ ((__nonnull__ (1))); # 139 "/usr/include/pwd.h" 3 4 extern int getpwent_r (struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 4))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int getpwuid_r (__uid_t __uid, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (2, 3, 5))) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int getpwnam_r (const char *__restrict __name, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3, 5))) __attribute__ ((__access__ (__write_only__, 3, 4))); # 169 "/usr/include/pwd.h" 3 4 extern int fgetpwent_r (FILE *__restrict __stream, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3, 5))) __attribute__ ((__access__ (__write_only__, 3, 4))); # 188 "/usr/include/pwd.h" 3 4 extern int getpw (__uid_t __uid, char *__buffer); # 9 "../systemd-stable-254.8/src/basic/user-util.h" 2 # 1 "/usr/include/shadow.h" 1 3 4 # 32 "/usr/include/shadow.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 33 "/usr/include/shadow.h" 2 3 4 struct spwd { char *sp_namp; char *sp_pwdp; long int sp_lstchg; long int sp_min; long int sp_max; long int sp_warn; long int sp_inact; long int sp_expire; unsigned long int sp_flag; }; # 66 "/usr/include/shadow.h" 3 4 extern void setspent (void); extern void endspent (void); extern struct spwd *getspent (void); extern struct spwd *getspnam (const char *__name); extern struct spwd *sgetspent (const char *__string); extern struct spwd *fgetspent (FILE *__stream); extern int putspent (const struct spwd *__p, FILE *__stream); # 124 "/usr/include/shadow.h" 3 4 extern int getspent_r (struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int getspnam_r (const char *__name, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int sgetspent_r (const char *__string, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int fgetspent_r (FILE *__stream, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result) __attribute__ ((__access__ (__write_only__, 3, 4))); extern int lckpwdf (void) __attribute__ ((__nothrow__ , __leaf__)); extern int ulckpwdf (void) __attribute__ ((__nothrow__ , __leaf__)); # 10 "../systemd-stable-254.8/src/basic/user-util.h" 2 # 23 "../systemd-stable-254.8/src/basic/user-util.h" _Bool # 23 "../systemd-stable-254.8/src/basic/user-util.h" uid_is_valid(uid_t uid); static inline # 25 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 25 "../systemd-stable-254.8/src/basic/user-util.h" gid_is_valid(gid_t gid) { return uid_is_valid((uid_t) gid); } int parse_uid(const char *s, uid_t* ret_uid); int parse_uid_range(const char *s, uid_t *ret_lower, uid_t *ret_upper); static inline int parse_gid(const char *s, gid_t *ret_gid) { return parse_uid(s, (uid_t*) ret_gid); } char* getlogname_malloc(void); char* getusername_malloc(void); typedef enum UserCredsFlags { USER_CREDS_PREFER_NSS = 1 << 0, USER_CREDS_ALLOW_MISSING = 1 << 1, USER_CREDS_CLEAN = 1 << 2, } UserCredsFlags; int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell, UserCredsFlags flags); int get_group_creds(const char **groupname, gid_t *gid, UserCredsFlags flags); char* uid_to_name(uid_t uid); char* gid_to_name(gid_t gid); int in_gid(gid_t gid); int in_group(const char *name); int merge_gid_lists(const gid_t *list1, size_t size1, const gid_t *list2, size_t size2, gid_t **result); int getgroups_alloc(gid_t** gids); int get_home_dir(char **ret); int get_shell(char **ret); int reset_uid_gid(void); int take_etc_passwd_lock(const char *root); # 94 "../systemd-stable-254.8/src/basic/user-util.h" static inline # 94 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 94 "../systemd-stable-254.8/src/basic/user-util.h" userns_supported(void) { return access("/proc/self/uid_map", # 95 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 0 # 95 "../systemd-stable-254.8/src/basic/user-util.h" ) >= 0; } typedef enum ValidUserFlags { VALID_USER_RELAX = 1 << 0, VALID_USER_WARN = 1 << 1, VALID_USER_ALLOW_NUMERIC = 1 << 2, } ValidUserFlags; # 104 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 104 "../systemd-stable-254.8/src/basic/user-util.h" valid_user_group_name(const char *u, ValidUserFlags flags); # 105 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 105 "../systemd-stable-254.8/src/basic/user-util.h" valid_gecos(const char *d); char* mangle_gecos(const char *d); # 107 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 107 "../systemd-stable-254.8/src/basic/user-util.h" valid_home(const char *p); static inline # 109 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 109 "../systemd-stable-254.8/src/basic/user-util.h" valid_shell(const char *p) { return valid_home(p); } int maybe_setgroups(size_t size, const gid_t *list); # 120 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 120 "../systemd-stable-254.8/src/basic/user-util.h" synthesize_nobody(void); int fgetpwent_sane(FILE *stream, struct passwd **pw); int fgetspent_sane(FILE *stream, struct spwd **sp); int fgetgrent_sane(FILE *stream, struct group **gr); int putpwent_sane(const struct passwd *pw, FILE *stream); int putspent_sane(const struct spwd *sp, FILE *stream); int putgrent_sane(const struct group *gr, FILE *stream); int fgetsgent_sane(FILE *stream, struct sgrp **sg); int putsgent_sane(const struct sgrp *sg, FILE *stream); # 133 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 133 "../systemd-stable-254.8/src/basic/user-util.h" is_nologin_shell(const char *shell); const char* default_root_shell_at(int rfd); const char* default_root_shell(const char *root); int is_this_me(const char *username); const char* get_home_root(void); static inline # 141 "../systemd-stable-254.8/src/basic/user-util.h" 3 4 _Bool # 141 "../systemd-stable-254.8/src/basic/user-util.h" hashed_password_is_locked_or_invalid(const char *password) { return password && password[0] != '$'; } # 18 "../systemd-stable-254.8/src/basic/fs-util.h" 2 # 26 "../systemd-stable-254.8/src/basic/fs-util.h" int rmdir_parents(const char *path, const char *stop); int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath); int readlinkat_malloc(int fd, const char *p, char **ret); int readlink_malloc(const char *p, char **r); int readlink_value(const char *p, char **ret); int readlink_and_make_absolute(const char *p, char **r); int chmod_and_chown_at(int dir_fd, const char *path, mode_t mode, uid_t uid, gid_t gid); static inline int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid) { return chmod_and_chown_at( # 37 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 37 "../systemd-stable-254.8/src/basic/fs-util.h" , path, mode, uid, gid); } int fchmod_and_chown_with_fallback(int fd, const char *path, mode_t mode, uid_t uid, gid_t gid); static inline int fchmod_and_chown(int fd, mode_t mode, uid_t uid, gid_t gid) { return fchmod_and_chown_with_fallback(fd, # 41 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 ((void *)0) # 41 "../systemd-stable-254.8/src/basic/fs-util.h" , mode, uid, gid); } int fchmod_umask(int fd, mode_t mode); int fchmod_opath(int fd, mode_t m); int futimens_opath(int fd, const struct timespec ts[2]); int fd_warn_permissions(const char *path, int fd); int stat_warn_permissions(const char *path, const struct stat *st); int touch_file(const char *path, # 55 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 _Bool # 55 "../systemd-stable-254.8/src/basic/fs-util.h" parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); static inline int touch(const char *path) { return touch_file(path, # 58 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 0 # 58 "../systemd-stable-254.8/src/basic/fs-util.h" , ((usec_t) # 58 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 (18446744073709551615ULL) # 58 "../systemd-stable-254.8/src/basic/fs-util.h" ), ((uid_t) -1), ((gid_t) -1), ((mode_t) -1)); } int symlink_idempotent(const char *from, const char *to, # 61 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 _Bool # 61 "../systemd-stable-254.8/src/basic/fs-util.h" make_relative); int symlinkat_atomic_full(const char *from, int atfd, const char *to, # 63 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 _Bool # 63 "../systemd-stable-254.8/src/basic/fs-util.h" make_relative); static inline int symlink_atomic(const char *from, const char *to) { return symlinkat_atomic_full(from, # 65 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 65 "../systemd-stable-254.8/src/basic/fs-util.h" , to, # 65 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 0 # 65 "../systemd-stable-254.8/src/basic/fs-util.h" ); } int mknodat_atomic(int atfd, const char *path, mode_t mode, dev_t dev); static inline int mknod_atomic(const char *path, mode_t mode, dev_t dev) { return mknodat_atomic( # 70 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 70 "../systemd-stable-254.8/src/basic/fs-util.h" , path, mode, dev); } int mkfifoat_atomic(int dir_fd, const char *path, mode_t mode); static inline int mkfifo_atomic(const char *path, mode_t mode) { return mkfifoat_atomic( # 75 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 75 "../systemd-stable-254.8/src/basic/fs-util.h" , path, mode); } int get_files_in_directory(const char *path, char ***list); int tmp_dir(const char **ret); int var_tmp_dir(const char **ret); int unlink_or_warn(const char *filename); static inline char *rmdir_and_free(char *p) { __attribute__((__cleanup__(_reset_errno_))) __attribute__((__unused__)) int _saved_errno_ = # 87 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 (*__errno_location ()) # 87 "../systemd-stable-254.8/src/basic/fs-util.h" ; if (!p) return # 90 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 ((void *)0) # 90 "../systemd-stable-254.8/src/basic/fs-util.h" ; (void) rmdir(p); return ({ free(p); (typeof(p)) # 93 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 ((void *)0) # 93 "../systemd-stable-254.8/src/basic/fs-util.h" ; }); } static inline void rmdir_and_freep(char* *p) { if (*p) *p = rmdir_and_free(*p); }; static inline char* unlink_and_free(char *p) { if (!p) return # 99 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 ((void *)0) # 99 "../systemd-stable-254.8/src/basic/fs-util.h" ; (void) unlink(p); return ({ free(p); (typeof(p)) # 102 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 ((void *)0) # 102 "../systemd-stable-254.8/src/basic/fs-util.h" ; }); } static inline void unlink_and_freep(char* *p) { if (*p) *p = unlink_and_free(*p); }; int access_fd(int fd, int mode); void unlink_tempfilep(char (*p)[]); typedef enum UnlinkDeallocateFlags { UNLINK_REMOVEDIR = 1 << 0, UNLINK_ERASE = 1 << 1, } UnlinkDeallocateFlags; int unlinkat_deallocate(int fd, const char *name, UnlinkDeallocateFlags flags); int open_parent_at(int dir_fd, const char *path, int flags, mode_t mode); static inline int open_parent(const char *path, int flags, mode_t mode) { return open_parent_at( # 119 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 119 "../systemd-stable-254.8/src/basic/fs-util.h" , path, flags, mode); } int conservative_renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath); static inline int conservative_rename(const char *oldpath, const char *newpath) { return conservative_renameat( # 124 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 124 "../systemd-stable-254.8/src/basic/fs-util.h" , oldpath, # 124 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 -100 # 124 "../systemd-stable-254.8/src/basic/fs-util.h" , newpath); } int posix_fallocate_loop(int fd, uint64_t offset, uint64_t size); int parse_cifs_service(const char *s, char **ret_host, char **ret_service, char **ret_path); int open_mkdir_at(int dirfd, const char *path, int flags, mode_t mode); int openat_report_new(int dirfd, const char *pathname, int flags, mode_t mode, # 133 "../systemd-stable-254.8/src/basic/fs-util.h" 3 4 _Bool # 133 "../systemd-stable-254.8/src/basic/fs-util.h" *ret_newly_created); typedef enum XOpenFlags { XO_LABEL = 1 << 0, } XOpenFlags; int xopenat(int dir_fd, const char *path, int open_flags, XOpenFlags xopen_flags, mode_t mode); int xopenat_lock(int dir_fd, const char *path, int open_flags, XOpenFlags xopen_flags, mode_t mode, LockType locktype, int operation); # 24 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/fundamental/logarithm.h" 1 # 15 "../systemd-stable-254.8/src/fundamental/logarithm.h" static inline unsigned log2u64(uint64_t x) { return __builtin_choose_expr(__builtin_constant_p(x), ((x) > 1 ? (unsigned) __builtin_clzll(x) ^ 63U : 0), ({ unsigned long long _x = (x); _x > 1 ? (unsigned) __builtin_clzll(_x) ^ 63U : 0; })); } static inline unsigned u32ctz(uint32_t n) { return n != 0 ? __builtin_ctz(n) : 32; } # 46 "../systemd-stable-254.8/src/fundamental/logarithm.h" static inline unsigned log2i(int x) { return __builtin_choose_expr(__builtin_constant_p(x), ((x) > 1 ? 4 * 8 - __builtin_clz(x) - 1 : 0), ({ unsigned _x = (x); _x > 1 ? 4 * 8 - __builtin_clz(_x) - 1 : 0; })); } static inline unsigned log2u(unsigned x) { return __builtin_choose_expr(__builtin_constant_p(x), ((x) > 1 ? 4 * 8 - __builtin_clz(x) - 1 : 0), ({ unsigned _x = (x); _x > 1 ? 4 * 8 - __builtin_clz(_x) - 1 : 0; })); } static inline unsigned log2u_round_up(unsigned x) { if (x <= 1) return 0; return log2u(x - 1) + 1; } # 27 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 1 # 9 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 _Bool # 9 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" network_is_online(void); typedef enum AddressFamily { ADDRESS_FAMILY_NO = 0, ADDRESS_FAMILY_IPV4 = 1 << 0, ADDRESS_FAMILY_IPV6 = 1 << 1, ADDRESS_FAMILY_YES = ADDRESS_FAMILY_IPV4 | ADDRESS_FAMILY_IPV6, _ADDRESS_FAMILY_MAX, _ADDRESS_FAMILY_INVALID = - # 18 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 22 # 18 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" , } AddressFamily; typedef enum LinkOperationalState { LINK_OPERSTATE_MISSING, LINK_OPERSTATE_OFF, LINK_OPERSTATE_NO_CARRIER, LINK_OPERSTATE_DORMANT, LINK_OPERSTATE_DEGRADED_CARRIER, LINK_OPERSTATE_CARRIER, LINK_OPERSTATE_DEGRADED, LINK_OPERSTATE_ENSLAVED, LINK_OPERSTATE_ROUTABLE, _LINK_OPERSTATE_MAX, _LINK_OPERSTATE_INVALID = - # 32 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 22 # 32 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" , } LinkOperationalState; typedef enum LinkCarrierState { LINK_CARRIER_STATE_OFF = LINK_OPERSTATE_OFF, LINK_CARRIER_STATE_NO_CARRIER = LINK_OPERSTATE_NO_CARRIER, LINK_CARRIER_STATE_DORMANT = LINK_OPERSTATE_DORMANT, LINK_CARRIER_STATE_DEGRADED_CARRIER = LINK_OPERSTATE_DEGRADED_CARRIER, LINK_CARRIER_STATE_CARRIER = LINK_OPERSTATE_CARRIER, LINK_CARRIER_STATE_ENSLAVED = LINK_OPERSTATE_ENSLAVED, _LINK_CARRIER_STATE_MAX, _LINK_CARRIER_STATE_INVALID = - # 43 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 22 # 43 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" , } LinkCarrierState; typedef enum LinkAddressState { LINK_ADDRESS_STATE_OFF, LINK_ADDRESS_STATE_DEGRADED, LINK_ADDRESS_STATE_ROUTABLE, _LINK_ADDRESS_STATE_MAX, _LINK_ADDRESS_STATE_INVALID = - # 51 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 22 # 51 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" , } LinkAddressState; typedef enum LinkOnlineState { LINK_ONLINE_STATE_OFFLINE, LINK_ONLINE_STATE_PARTIAL, LINK_ONLINE_STATE_ONLINE, _LINK_ONLINE_STATE_MAX, _LINK_ONLINE_STATE_INVALID = - # 59 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" 3 4 22 # 59 "../systemd-stable-254.8/src/libsystemd/sd-network/network-util.h" , } LinkOnlineState; const char* link_operstate_to_string(LinkOperationalState s) __attribute__((__const__)); LinkOperationalState link_operstate_from_string(const char *s) __attribute__((__pure__)); const char* link_carrier_state_to_string(LinkCarrierState s) __attribute__((__const__)); LinkCarrierState link_carrier_state_from_string(const char *s) __attribute__((__pure__)); const char* link_required_address_family_to_string(AddressFamily s) __attribute__((__const__)); AddressFamily link_required_address_family_from_string(const char *s) __attribute__((__pure__)); const char* link_address_state_to_string(LinkAddressState s) __attribute__((__const__)); LinkAddressState link_address_state_from_string(const char *s) __attribute__((__pure__)); const char* link_online_state_to_string(LinkOnlineState s) __attribute__((__const__)); LinkOnlineState link_online_state_from_string(const char *s) __attribute__((__pure__)); typedef struct LinkOperationalStateRange { LinkOperationalState min; LinkOperationalState max; } LinkOperationalStateRange; int parse_operational_state_range(const char *str, LinkOperationalStateRange *out); int network_link_get_operational_state(int ifindex, LinkOperationalState *ret); # 28 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/libsystemd/sd-resolve/resolve-private.h" 1 # 1 "../systemd-stable-254.8/src/systemd/sd-resolve.h" 1 # 26 "../systemd-stable-254.8/src/systemd/sd-resolve.h" # 1 "/usr/include/netdb.h" 1 3 4 # 32 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/rpc/netdb.h" 1 3 4 # 42 "/usr/include/rpc/netdb.h" 3 4 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 43 "/usr/include/rpc/netdb.h" 2 3 4 # 46 "/usr/include/rpc/netdb.h" 3 4 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__)); extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); # 33 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/bits/netdb.h" 1 3 4 # 26 "/usr/include/bits/netdb.h" 3 4 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 41 "/usr/include/netdb.h" 2 3 4 # 51 "/usr/include/netdb.h" 3 4 extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 90 "/usr/include/netdb.h" 3 4 extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__)); extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (const char *__name); # 153 "/usr/include/netdb.h" 3 4 extern struct hostent *gethostbyname2 (const char *__name, int __af); # 165 "/usr/include/netdb.h" 3 4 extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); # 196 "/usr/include/netdb.h" 3 4 extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (const char *__name); # 235 "/usr/include/netdb.h" 3 4 extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (const char *__name, const char *__proto); extern struct servent *getservbyport (int __port, const char *__proto); # 306 "/usr/include/netdb.h" 3 4 extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (const char *__restrict __name, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (const char *__name); extern struct protoent *getprotobynumber (int __proto); # 372 "/usr/include/netdb.h" 3 4 extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); # 393 "/usr/include/netdb.h" 3 4 extern int setnetgrent (const char *__netgroup); extern void endnetgrent (void); # 410 "/usr/include/netdb.h" 3 4 extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); # 421 "/usr/include/netdb.h" 3 4 extern int innetgr (const char *__netgroup, const char *__host, const char *__user, const char *__domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); # 449 "/usr/include/netdb.h" 3 4 extern int rcmd (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p); # 461 "/usr/include/netdb.h" 3 4 extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 477 "/usr/include/netdb.h" 3 4 extern int rexec (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p); # 489 "/usr/include/netdb.h" 3 4 extern int rexec_af (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 503 "/usr/include/netdb.h" 3 4 extern int ruserok (const char *__rhost, int __suser, const char *__remuser, const char *__locuser); # 513 "/usr/include/netdb.h" 3 4 extern int ruserok_af (const char *__rhost, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); # 526 "/usr/include/netdb.h" 3 4 extern int iruserok (uint32_t __raddr, int __suser, const char *__remuser, const char *__locuser); # 537 "/usr/include/netdb.h" 3 4 extern int iruserok_af (const void *__raddr, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); # 549 "/usr/include/netdb.h" 3 4 extern int rresvport (int *__alport); # 558 "/usr/include/netdb.h" 3 4 extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; struct gaicb { const char *ar_name; const char *ar_service; const struct addrinfo *ar_request; struct addrinfo *ar_result; int __return; int __glibc_reserved[5]; }; # 660 "/usr/include/netdb.h" 3 4 extern int getaddrinfo (const char *__restrict __name, const char *__restrict __service, const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__)); extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__)); extern int getnameinfo (const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, int __flags); # 690 "/usr/include/netdb.h" 3 4 extern int getaddrinfo_a (int __mode, struct gaicb *__list[__restrict], int __ent, struct sigevent *__restrict __sig); # 701 "/usr/include/netdb.h" 3 4 extern int gai_suspend (const struct gaicb *const __list[], int __ent, const struct timespec *__timeout); # 716 "/usr/include/netdb.h" 3 4 extern int gai_error (struct gaicb *__req) __attribute__ ((__nothrow__ , __leaf__)); extern int gai_cancel (struct gaicb *__gaicbp) __attribute__ ((__nothrow__ , __leaf__)); # 27 "../systemd-stable-254.8/src/systemd/sd-resolve.h" 2 # 34 "../systemd-stable-254.8/src/systemd/sd-resolve.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; typedef struct sd_resolve sd_resolve; typedef struct sd_resolve_query sd_resolve_query; typedef int (*sd_resolve_getaddrinfo_handler_t)(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata); typedef int (*sd_resolve_getnameinfo_handler_t)(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata); typedef _sd_destroy_t sd_resolve_destroy_t; enum { SD_RESOLVE_GET_HOST = 1 << 0, SD_RESOLVE_GET_SERVICE = 1 << 1, SD_RESOLVE_GET_BOTH = SD_RESOLVE_GET_HOST | SD_RESOLVE_GET_SERVICE }; int sd_resolve_default(sd_resolve **ret); int sd_resolve_new(sd_resolve **ret); sd_resolve* sd_resolve_unref(sd_resolve *resolve); sd_resolve* sd_resolve_ref(sd_resolve *resolve); int sd_resolve_get_fd(sd_resolve *resolve); int sd_resolve_get_events(sd_resolve *resolve); int sd_resolve_get_timeout(sd_resolve *resolve, uint64_t *timeout_usec); int sd_resolve_process(sd_resolve *resolve); int sd_resolve_wait(sd_resolve *resolve, uint64_t timeout_usec); int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid); int sd_resolve_attach_event(sd_resolve *resolve, sd_event *e, int64_t priority); int sd_resolve_detach_event(sd_resolve *resolve); sd_event *sd_resolve_get_event(sd_resolve *resolve); int sd_resolve_getaddrinfo(sd_resolve *resolve, sd_resolve_query **q, const char *node, const char *service, const struct addrinfo *hints, sd_resolve_getaddrinfo_handler_t callback, void *userdata); int sd_resolve_getnameinfo(sd_resolve *resolve, sd_resolve_query **q, const struct sockaddr *sa, socklen_t salen, int flags, uint64_t get, sd_resolve_getnameinfo_handler_t callback, void *userdata); sd_resolve_query *sd_resolve_query_ref(sd_resolve_query *q); sd_resolve_query *sd_resolve_query_unref(sd_resolve_query *q); int sd_resolve_query_is_done(sd_resolve_query *q); void *sd_resolve_query_get_userdata(sd_resolve_query *q); void *sd_resolve_query_set_userdata(sd_resolve_query *q, void *userdata); int sd_resolve_query_get_destroy_callback(sd_resolve_query *q, sd_resolve_destroy_t *destroy_callback); int sd_resolve_query_set_destroy_callback(sd_resolve_query *q, sd_resolve_destroy_t destroy_callback); int sd_resolve_query_get_floating(sd_resolve_query *q); int sd_resolve_query_set_floating(sd_resolve_query *q, int b); sd_resolve *sd_resolve_query_get_resolve(sd_resolve_query *q); static __inline__ void sd_resolve_unrefp(sd_resolve **p) { if (*p) sd_resolve_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; static __inline__ void sd_resolve_query_unrefp(sd_resolve_query **p) { if (*p) sd_resolve_query_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; struct _sd_useless_struct_to_allow_trailing_semicolon_; # 5 "../systemd-stable-254.8/src/libsystemd/sd-resolve/resolve-private.h" 2 int resolve_getaddrinfo_with_destroy_callback( sd_resolve *resolve, sd_resolve_query **q, const char *node, const char *service, const struct addrinfo *hints, sd_resolve_getaddrinfo_handler_t callback, sd_resolve_destroy_t destroy_callback, void *userdata); int resolve_getnameinfo_with_destroy_callback( sd_resolve *resolve, sd_resolve_query **q, const struct sockaddr *sa, socklen_t salen, int flags, uint64_t get, sd_resolve_getnameinfo_handler_t callback, sd_resolve_destroy_t destroy_callback, void *userdata); # 30 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/socket-util.h" 1 # 1 "../systemd-stable-254.8/src/basic/linux/netlink.h" 1 # 1 "/usr/include/linux/const.h" 1 3 4 # 6 "../systemd-stable-254.8/src/basic/linux/netlink.h" 2 # 1 "/usr/include/linux/socket.h" 1 3 4 # 10 "/usr/include/linux/socket.h" 3 4 # 10 "/usr/include/linux/socket.h" 3 4 typedef unsigned short __kernel_sa_family_t; struct __kernel_sockaddr_storage { union { struct { __kernel_sa_family_t ss_family; char __data[128 - sizeof(unsigned short)]; }; void *__align; }; }; # 7 "../systemd-stable-254.8/src/basic/linux/netlink.h" 2 # 37 "../systemd-stable-254.8/src/basic/linux/netlink.h" # 37 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct sockaddr_nl { __kernel_sa_family_t nl_family; unsigned short nl_pad; __u32 nl_pid; __u32 nl_groups; }; # 52 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct nlmsghdr { __u32 nlmsg_len; __u16 nlmsg_type; __u16 nlmsg_flags; __u32 nlmsg_seq; __u32 nlmsg_pid; }; # 119 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct nlmsgerr { int error; struct nlmsghdr msg; # 131 "../systemd-stable-254.8/src/basic/linux/netlink.h" }; # 150 "../systemd-stable-254.8/src/basic/linux/netlink.h" enum nlmsgerr_attrs { NLMSGERR_ATTR_UNUSED, NLMSGERR_ATTR_MSG, NLMSGERR_ATTR_OFFS, NLMSGERR_ATTR_COOKIE, NLMSGERR_ATTR_POLICY, NLMSGERR_ATTR_MISS_TYPE, NLMSGERR_ATTR_MISS_NEST, __NLMSGERR_ATTR_MAX, NLMSGERR_ATTR_MAX = __NLMSGERR_ATTR_MAX - 1 }; # 178 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct nl_pktinfo { __u32 group; }; struct nl_mmap_req { unsigned int nm_block_size; unsigned int nm_block_nr; unsigned int nm_frame_size; unsigned int nm_frame_nr; }; struct nl_mmap_hdr { unsigned int nm_status; unsigned int nm_len; __u32 nm_group; __u32 nm_pid; __u32 nm_uid; __u32 nm_gid; }; enum nl_mmap_status { NL_MMAP_STATUS_UNUSED, NL_MMAP_STATUS_RESERVED, NL_MMAP_STATUS_VALID, NL_MMAP_STATUS_COPY, NL_MMAP_STATUS_SKIP, }; # 215 "../systemd-stable-254.8/src/basic/linux/netlink.h" enum { NETLINK_UNCONNECTED = 0, NETLINK_CONNECTED, }; # 229 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct nlattr { __u16 nla_len; __u16 nla_type; }; # 265 "../systemd-stable-254.8/src/basic/linux/netlink.h" struct nla_bitfield32 { __u32 value; __u32 selector; }; # 302 "../systemd-stable-254.8/src/basic/linux/netlink.h" enum netlink_attribute_type { NL_ATTR_TYPE_INVALID, NL_ATTR_TYPE_FLAG, NL_ATTR_TYPE_U8, NL_ATTR_TYPE_U16, NL_ATTR_TYPE_U32, NL_ATTR_TYPE_U64, NL_ATTR_TYPE_S8, NL_ATTR_TYPE_S16, NL_ATTR_TYPE_S32, NL_ATTR_TYPE_S64, NL_ATTR_TYPE_BINARY, NL_ATTR_TYPE_STRING, NL_ATTR_TYPE_NUL_STRING, NL_ATTR_TYPE_NESTED, NL_ATTR_TYPE_NESTED_ARRAY, NL_ATTR_TYPE_BITFIELD32, }; # 358 "../systemd-stable-254.8/src/basic/linux/netlink.h" enum netlink_policy_type_attr { NL_POLICY_TYPE_ATTR_UNSPEC, NL_POLICY_TYPE_ATTR_TYPE, NL_POLICY_TYPE_ATTR_MIN_VALUE_S, NL_POLICY_TYPE_ATTR_MAX_VALUE_S, NL_POLICY_TYPE_ATTR_MIN_VALUE_U, NL_POLICY_TYPE_ATTR_MAX_VALUE_U, NL_POLICY_TYPE_ATTR_MIN_LENGTH, NL_POLICY_TYPE_ATTR_MAX_LENGTH, NL_POLICY_TYPE_ATTR_POLICY_IDX, NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE, NL_POLICY_TYPE_ATTR_BITFIELD32_MASK, NL_POLICY_TYPE_ATTR_PAD, NL_POLICY_TYPE_ATTR_MASK, __NL_POLICY_TYPE_ATTR_MAX, NL_POLICY_TYPE_ATTR_MAX = __NL_POLICY_TYPE_ATTR_MAX - 1 }; # 6 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/linux/if_ether.h" 1 # 173 "../systemd-stable-254.8/src/basic/linux/if_ether.h" struct ethhdr { unsigned char h_dest[6]; unsigned char h_source[6]; __be16 h_proto; } __attribute__((packed)); # 7 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "/usr/include/linux/if_infiniband.h" 1 3 4 # 8 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "/usr/include/linux/if_packet.h" 1 3 4 # 1 "/usr/include/asm/byteorder.h" 1 3 4 # 22 "/usr/include/asm/byteorder.h" 3 4 # 1 "/usr/include/linux/byteorder/little_endian.h" 1 3 4 # 14 "/usr/include/linux/byteorder/little_endian.h" 3 4 # 1 "/usr/include/linux/swab.h" 1 3 4 # 1 "/usr/include/asm/bitsperlong.h" 1 3 4 # 8 "/usr/include/linux/swab.h" 2 3 4 # 1 "/usr/include/asm/swab.h" 1 3 4 # 27 "/usr/include/asm/swab.h" 3 4 # 27 "/usr/include/asm/swab.h" 3 4 static __inline__ __u32 __arch_swab32(__u32 x) { __u32 t; if (!__builtin_constant_p(x)) { __asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); } else t = x ^ ((x << 16) | (x >> 16)); x = (x << 24) | (x >> 8); t &= ~0x00FF0000; x ^= (t >> 8); return x; } # 9 "/usr/include/linux/swab.h" 2 3 4 # 48 "/usr/include/linux/swab.h" 3 4 static __inline__ __u16 __fswab16(__u16 val) { return ((__u16)( (((__u16)(val) & (__u16)0x00ffU) << 8) | (((__u16)(val) & (__u16)0xff00U) >> 8))); } static __inline__ __u32 __fswab32(__u32 val) { return __arch_swab32(val); } static __inline__ __u64 __fswab64(__u64 val) { __u32 h = val >> 32; __u32 l = val & ((1ULL << 32) - 1); return (((__u64)__fswab32(l)) << 32) | ((__u64)(__fswab32(h))); } static __inline__ __u32 __fswahw32(__u32 val) { return ((__u32)( (((__u32)(val) & (__u32)0x0000ffffUL) << 16) | (((__u32)(val) & (__u32)0xffff0000UL) >> 16))); } static __inline__ __u32 __fswahb32(__u32 val) { return ((__u32)( (((__u32)(val) & (__u32)0x00ff00ffUL) << 8) | (((__u32)(val) & (__u32)0xff00ff00UL) >> 8))); } # 136 "/usr/include/linux/swab.h" 3 4 static __inline __attribute__ ((__always_inline__)) unsigned long __swab(const unsigned long y) { return (__u32)(__builtin_constant_p(y) ? ((__u32)( (((__u32)(y) & (__u32)0x000000ffUL) << 24) | (((__u32)(y) & (__u32)0x0000ff00UL) << 8) | (((__u32)(y) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(y) & (__u32)0xff000000UL) >> 24))) : __fswab32(y)); } # 171 "/usr/include/linux/swab.h" 3 4 static __inline __attribute__ ((__always_inline__)) __u16 __swab16p(const __u16 *p) { return (__u16)(__builtin_constant_p(*p) ? ((__u16)( (((__u16)(*p) & (__u16)0x00ffU) << 8) | (((__u16)(*p) & (__u16)0xff00U) >> 8))) : __fswab16(*p)); } static __inline __attribute__ ((__always_inline__)) __u32 __swab32p(const __u32 *p) { return (__u32)(__builtin_constant_p(*p) ? ((__u32)( (((__u32)(*p) & (__u32)0x000000ffUL) << 24) | (((__u32)(*p) & (__u32)0x0000ff00UL) << 8) | (((__u32)(*p) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(*p) & (__u32)0xff000000UL) >> 24))) : __fswab32(*p)); } static __inline __attribute__ ((__always_inline__)) __u64 __swab64p(const __u64 *p) { return (__u64)(__builtin_constant_p(*p) ? ((__u64)( (((__u64)(*p) & (__u64)0x00000000000000ffULL) << 56) | (((__u64)(*p) & (__u64)0x000000000000ff00ULL) << 40) | (((__u64)(*p) & (__u64)0x0000000000ff0000ULL) << 24) | (((__u64)(*p) & (__u64)0x00000000ff000000ULL) << 8) | (((__u64)(*p) & (__u64)0x000000ff00000000ULL) >> 8) | (((__u64)(*p) & (__u64)0x0000ff0000000000ULL) >> 24) | (((__u64)(*p) & (__u64)0x00ff000000000000ULL) >> 40) | (((__u64)(*p) & (__u64)0xff00000000000000ULL) >> 56))) : __fswab64(*p)); } static __inline__ __u32 __swahw32p(const __u32 *p) { return (__builtin_constant_p((__u32)(*p)) ? ((__u32)( (((__u32)(*p) & (__u32)0x0000ffffUL) << 16) | (((__u32)(*p) & (__u32)0xffff0000UL) >> 16))) : __fswahw32(*p)); } static __inline__ __u32 __swahb32p(const __u32 *p) { return (__builtin_constant_p((__u32)(*p)) ? ((__u32)( (((__u32)(*p) & (__u32)0x00ff00ffUL) << 8) | (((__u32)(*p) & (__u32)0xff00ff00UL) >> 8))) : __fswahb32(*p)); } static __inline__ void __swab16s(__u16 *p) { *p = __swab16p(p); } static __inline __attribute__ ((__always_inline__)) void __swab32s(__u32 *p) { *p = __swab32p(p); } static __inline __attribute__ ((__always_inline__)) void __swab64s(__u64 *p) { *p = __swab64p(p); } static __inline__ void __swahw32s(__u32 *p) { *p = __swahw32p(p); } static __inline__ void __swahb32s(__u32 *p) { *p = __swahb32p(p); } # 15 "/usr/include/linux/byteorder/little_endian.h" 2 3 4 # 45 "/usr/include/linux/byteorder/little_endian.h" 3 4 static __inline __attribute__ ((__always_inline__)) __le64 __cpu_to_le64p(const __u64 *p) { return (__le64)*p; } static __inline __attribute__ ((__always_inline__)) __u64 __le64_to_cpup(const __le64 *p) { return (__u64)*p; } static __inline __attribute__ ((__always_inline__)) __le32 __cpu_to_le32p(const __u32 *p) { return (__le32)*p; } static __inline __attribute__ ((__always_inline__)) __u32 __le32_to_cpup(const __le32 *p) { return (__u32)*p; } static __inline __attribute__ ((__always_inline__)) __le16 __cpu_to_le16p(const __u16 *p) { return (__le16)*p; } static __inline __attribute__ ((__always_inline__)) __u16 __le16_to_cpup(const __le16 *p) { return (__u16)*p; } static __inline __attribute__ ((__always_inline__)) __be64 __cpu_to_be64p(const __u64 *p) { return (__be64)__swab64p(p); } static __inline __attribute__ ((__always_inline__)) __u64 __be64_to_cpup(const __be64 *p) { return __swab64p((__u64 *)p); } static __inline __attribute__ ((__always_inline__)) __be32 __cpu_to_be32p(const __u32 *p) { return (__be32)__swab32p(p); } static __inline __attribute__ ((__always_inline__)) __u32 __be32_to_cpup(const __be32 *p) { return __swab32p((__u32 *)p); } static __inline __attribute__ ((__always_inline__)) __be16 __cpu_to_be16p(const __u16 *p) { return (__be16)__swab16p(p); } static __inline __attribute__ ((__always_inline__)) __u16 __be16_to_cpup(const __be16 *p) { return __swab16p((__u16 *)p); } # 23 "/usr/include/asm/byteorder.h" 2 3 4 # 6 "/usr/include/linux/if_packet.h" 2 3 4 struct sockaddr_pkt { unsigned short spkt_family; unsigned char spkt_device[14]; __be16 spkt_protocol; }; struct sockaddr_ll { unsigned short sll_family; __be16 sll_protocol; int sll_ifindex; unsigned short sll_hatype; unsigned char sll_pkttype; unsigned char sll_halen; unsigned char sll_addr[8]; }; # 77 "/usr/include/linux/if_packet.h" 3 4 struct tpacket_stats { unsigned int tp_packets; unsigned int tp_drops; }; struct tpacket_stats_v3 { unsigned int tp_packets; unsigned int tp_drops; unsigned int tp_freeze_q_cnt; }; struct tpacket_rollover_stats { __u64 __attribute__((aligned(8))) tp_all; __u64 __attribute__((aligned(8))) tp_huge; __u64 __attribute__((aligned(8))) tp_failed; }; union tpacket_stats_u { struct tpacket_stats stats1; struct tpacket_stats_v3 stats3; }; struct tpacket_auxdata { __u32 tp_status; __u32 tp_len; __u32 tp_snaplen; __u16 tp_mac; __u16 tp_net; __u16 tp_vlan_tci; __u16 tp_vlan_tpid; }; # 135 "/usr/include/linux/if_packet.h" 3 4 struct tpacket_hdr { unsigned long tp_status; unsigned int tp_len; unsigned int tp_snaplen; unsigned short tp_mac; unsigned short tp_net; unsigned int tp_sec; unsigned int tp_usec; }; struct tpacket2_hdr { __u32 tp_status; __u32 tp_len; __u32 tp_snaplen; __u16 tp_mac; __u16 tp_net; __u32 tp_sec; __u32 tp_nsec; __u16 tp_vlan_tci; __u16 tp_vlan_tpid; __u8 tp_padding[4]; }; struct tpacket_hdr_variant1 { __u32 tp_rxhash; __u32 tp_vlan_tci; __u16 tp_vlan_tpid; __u16 tp_padding; }; struct tpacket3_hdr { __u32 tp_next_offset; __u32 tp_sec; __u32 tp_nsec; __u32 tp_snaplen; __u32 tp_len; __u32 tp_status; __u16 tp_mac; __u16 tp_net; union { struct tpacket_hdr_variant1 hv1; }; __u8 tp_padding[8]; }; struct tpacket_bd_ts { unsigned int ts_sec; union { unsigned int ts_usec; unsigned int ts_nsec; }; }; struct tpacket_hdr_v1 { __u32 block_status; __u32 num_pkts; __u32 offset_to_first_pkt; __u32 blk_len; # 212 "/usr/include/linux/if_packet.h" 3 4 __u64 __attribute__((aligned(8))) seq_num; # 239 "/usr/include/linux/if_packet.h" 3 4 struct tpacket_bd_ts ts_first_pkt, ts_last_pkt; }; union tpacket_bd_header_u { struct tpacket_hdr_v1 bh1; }; struct tpacket_block_desc { __u32 version; __u32 offset_to_priv; union tpacket_bd_header_u hdr; }; enum tpacket_versions { TPACKET_V1, TPACKET_V2, TPACKET_V3 }; # 274 "/usr/include/linux/if_packet.h" 3 4 struct tpacket_req { unsigned int tp_block_size; unsigned int tp_block_nr; unsigned int tp_frame_size; unsigned int tp_frame_nr; }; struct tpacket_req3 { unsigned int tp_block_size; unsigned int tp_block_nr; unsigned int tp_frame_size; unsigned int tp_frame_nr; unsigned int tp_retire_blk_tov; unsigned int tp_sizeof_priv; unsigned int tp_feature_req_word; }; union tpacket_req_u { struct tpacket_req req; struct tpacket_req3 req3; }; struct packet_mreq { int mr_ifindex; unsigned short mr_type; unsigned short mr_alen; unsigned char mr_address[8]; }; struct fanout_args { __u16 id; __u16 type_flags; __u32 max_num_members; }; # 9 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 12 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "/usr/include/sys/un.h" 1 3 4 # 26 "/usr/include/sys/un.h" 3 4 struct sockaddr_un { sa_family_t sun_family; char sun_path[108]; }; # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 38 "/usr/include/sys/un.h" 2 3 4 # 16 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/missing_network.h" 1 # 59 "../systemd-stable-254.8/src/basic/missing_network.h" # 59 "../systemd-stable-254.8/src/basic/missing_network.h" enum { NLBL_UNLABEL_C_UNSPEC, NLBL_UNLABEL_C_ACCEPT, NLBL_UNLABEL_C_LIST, NLBL_UNLABEL_C_STATICADD, NLBL_UNLABEL_C_STATICREMOVE, NLBL_UNLABEL_C_STATICLIST, NLBL_UNLABEL_C_STATICADDDEF, NLBL_UNLABEL_C_STATICREMOVEDEF, NLBL_UNLABEL_C_STATICLISTDEF, __NLBL_UNLABEL_C_MAX, }; enum { NLBL_UNLABEL_A_UNSPEC, NLBL_UNLABEL_A_ACPTFLG, NLBL_UNLABEL_A_IPV6ADDR, NLBL_UNLABEL_A_IPV6MASK, NLBL_UNLABEL_A_IPV4ADDR, NLBL_UNLABEL_A_IPV4MASK, NLBL_UNLABEL_A_IFACE, NLBL_UNLABEL_A_SECCTX, __NLBL_UNLABEL_A_MAX, }; # 21 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/missing_socket.h" 1 # 1 "/usr/include/linux/vm_sockets.h" 1 3 4 # 176 "/usr/include/linux/vm_sockets.h" 3 4 # 176 "/usr/include/linux/vm_sockets.h" 3 4 struct sockaddr_vm { __kernel_sa_family_t svm_family; unsigned short svm_reserved1; unsigned int svm_port; unsigned int svm_cid; __u8 svm_flags; unsigned char svm_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - sizeof(unsigned short) - sizeof(unsigned int) - sizeof(unsigned int) - sizeof(__u8)]; }; # 8 "../systemd-stable-254.8/src/basic/missing_socket.h" 2 # 22 "../systemd-stable-254.8/src/basic/socket-util.h" 2 # 1 "../systemd-stable-254.8/src/basic/sparse-endian.h" 1 # 23 "../systemd-stable-254.8/src/basic/sparse-endian.h" # 1 "/usr/include/byteswap.h" 1 3 4 # 25 "/usr/include/byteswap.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 26 "/usr/include/byteswap.h" 2 3 4 # 26 "../systemd-stable-254.8/src/basic/sparse-endian.h" 2 # 37 "../systemd-stable-254.8/src/basic/sparse-endian.h" # 37 "../systemd-stable-254.8/src/basic/sparse-endian.h" typedef uint16_t le16_t; typedef uint16_t be16_t; typedef uint32_t le32_t; typedef uint32_t be32_t; typedef uint64_t le64_t; typedef uint64_t be64_t; # 73 "../systemd-stable-254.8/src/basic/sparse-endian.h" static inline le16_t htole16(uint16_t value) { return (le16_t ) (value); } static inline le32_t htole32(uint32_t value) { return (le32_t ) (value); } static inline le64_t htole64(uint64_t value) { return (le64_t ) (value); } static inline be16_t htobe16(uint16_t value) { return (be16_t ) # 77 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_16 ( # 77 "../systemd-stable-254.8/src/basic/sparse-endian.h" value # 77 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 77 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } static inline be32_t htobe32(uint32_t value) { return (be32_t ) # 78 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_32 ( # 78 "../systemd-stable-254.8/src/basic/sparse-endian.h" value # 78 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 78 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } static inline be64_t htobe64(uint64_t value) { return (be64_t ) # 79 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_64 ( # 79 "../systemd-stable-254.8/src/basic/sparse-endian.h" value # 79 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 79 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } static inline uint16_t le16toh(le16_t value) { return ((uint16_t )value); } static inline uint32_t le32toh(le32_t value) { return ((uint32_t )value); } static inline uint64_t le64toh(le64_t value) { return ((uint64_t )value); } static inline uint16_t be16toh(be16_t value) { return # 85 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_16 ( # 85 "../systemd-stable-254.8/src/basic/sparse-endian.h" (uint16_t )value # 85 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 85 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } static inline uint32_t be32toh(be32_t value) { return # 86 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_32 ( # 86 "../systemd-stable-254.8/src/basic/sparse-endian.h" (uint32_t )value # 86 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 86 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } static inline uint64_t be64toh(be64_t value) { return # 87 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 __bswap_64 ( # 87 "../systemd-stable-254.8/src/basic/sparse-endian.h" (uint64_t )value # 87 "../systemd-stable-254.8/src/basic/sparse-endian.h" 3 4 ) # 87 "../systemd-stable-254.8/src/basic/sparse-endian.h" ; } # 23 "../systemd-stable-254.8/src/basic/socket-util.h" 2 union sockaddr_union { struct sockaddr sa; struct sockaddr_storage storage; struct sockaddr_in in; struct sockaddr_in6 in6; struct sockaddr_un un; struct sockaddr_nl nl; struct sockaddr_ll ll; struct sockaddr_vm vm; uint8_t ll_buffer[ # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 __builtin_offsetof ( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" struct sockaddr_ll # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 , # 40 "../systemd-stable-254.8/src/basic/socket-util.h" sll_addr # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 ) # 40 "../systemd-stable-254.8/src/basic/socket-util.h" + (__builtin_choose_expr( __builtin_constant_p(6) && __builtin_constant_p( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ) && (__builtin_types_compatible_p(typeof(6), typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" )) || ((__builtin_types_compatible_p(typeof(6), unsigned char) || __builtin_types_compatible_p(typeof(6), unsigned short) || __builtin_types_compatible_p(typeof(6), unsigned) || __builtin_types_compatible_p(typeof(6), unsigned long) || __builtin_types_compatible_p(typeof(6), unsigned long long)) && (__builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), unsigned char) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), unsigned short) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), unsigned) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), unsigned long) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), unsigned long long))) || ((__builtin_types_compatible_p(typeof(6), signed char) || __builtin_types_compatible_p(typeof(6), signed short) || __builtin_types_compatible_p(typeof(6), signed) || __builtin_types_compatible_p(typeof(6), signed long) || __builtin_types_compatible_p(typeof(6), signed long long)) && (__builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), signed char) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), signed short) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), signed) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), signed long) || __builtin_types_compatible_p(typeof( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), signed long long)))), ((6) > ( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" )) ? (6) : ( # 40 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 20 # 40 "../systemd-stable-254.8/src/basic/socket-util.h" ), ((void)0)))]; uint8_t un_buffer[sizeof(struct sockaddr_un) + 1]; }; typedef struct SocketAddress { union sockaddr_union sockaddr; socklen_t size; int type; int protocol; } SocketAddress; typedef enum SocketAddressBindIPv6Only { SOCKET_ADDRESS_DEFAULT, SOCKET_ADDRESS_BOTH, SOCKET_ADDRESS_IPV6_ONLY, _SOCKET_ADDRESS_BIND_IPV6_ONLY_MAX, _SOCKET_ADDRESS_BIND_IPV6_ONLY_INVALID = - # 68 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 22 # 68 "../systemd-stable-254.8/src/basic/socket-util.h" , } SocketAddressBindIPv6Only; const char* socket_address_type_to_string(int t) __attribute__((__const__)); int socket_address_type_from_string(const char *s) __attribute__((__pure__)); int sockaddr_un_unlink(const struct sockaddr_un *sa); static inline int socket_address_unlink(const SocketAddress *a) { return ((a)->sockaddr.sa.sa_family) == # 79 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 1 # 79 "../systemd-stable-254.8/src/basic/socket-util.h" ? sockaddr_un_unlink(&a->sockaddr.un) : 0; } # 82 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 82 "../systemd-stable-254.8/src/basic/socket-util.h" socket_address_can_accept(const SocketAddress *a) __attribute__((__pure__)); int socket_address_listen( const SocketAddress *a, int flags, int backlog, SocketAddressBindIPv6Only only, const char *bind_to_device, # 90 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 90 "../systemd-stable-254.8/src/basic/socket-util.h" reuse_port, # 91 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 91 "../systemd-stable-254.8/src/basic/socket-util.h" free_bind, # 92 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 92 "../systemd-stable-254.8/src/basic/socket-util.h" transparent, mode_t directory_mode, mode_t socket_mode, const char *label); int socket_address_verify(const SocketAddress *a, # 97 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 97 "../systemd-stable-254.8/src/basic/socket-util.h" strict) __attribute__((__pure__)); int socket_address_print(const SocketAddress *a, char **p); # 99 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 99 "../systemd-stable-254.8/src/basic/socket-util.h" socket_address_matches_fd(const SocketAddress *a, int fd); # 101 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 101 "../systemd-stable-254.8/src/basic/socket-util.h" socket_address_equal(const SocketAddress *a, const SocketAddress *b) __attribute__((__pure__)); const char* socket_address_get_path(const SocketAddress *a); # 105 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 105 "../systemd-stable-254.8/src/basic/socket-util.h" socket_ipv6_is_supported(void); # 106 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 106 "../systemd-stable-254.8/src/basic/socket-util.h" socket_ipv6_is_enabled(void); int sockaddr_port(const struct sockaddr *_sa, unsigned *port); const union in_addr_union *sockaddr_in_addr(const struct sockaddr *sa); int sockaddr_set_in_addr(union sockaddr_union *u, int family, const union in_addr_union *a, uint16_t port); int sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, # 112 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 112 "../systemd-stable-254.8/src/basic/socket-util.h" translate_ipv6, # 112 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 112 "../systemd-stable-254.8/src/basic/socket-util.h" include_port, char **ret); int getpeername_pretty(int fd, # 113 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 113 "../systemd-stable-254.8/src/basic/socket-util.h" include_port, char **ret); int getsockname_pretty(int fd, char **ret); int socknameinfo_pretty(union sockaddr_union *sa, socklen_t salen, char **_ret); const char* socket_address_bind_ipv6_only_to_string(SocketAddressBindIPv6Only b) __attribute__((__const__)); SocketAddressBindIPv6Only socket_address_bind_ipv6_only_from_string(const char *s) __attribute__((__pure__)); SocketAddressBindIPv6Only socket_address_bind_ipv6_only_or_bool_from_string(const char *s); int netlink_family_to_string_alloc(int b, char **s); int netlink_family_from_string(const char *s) __attribute__((__pure__)); # 125 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 125 "../systemd-stable-254.8/src/basic/socket-util.h" sockaddr_equal(const union sockaddr_union *a, const union sockaddr_union *b); int fd_set_sndbuf(int fd, size_t n, # 127 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 127 "../systemd-stable-254.8/src/basic/socket-util.h" increase); static inline int fd_inc_sndbuf(int fd, size_t n) { return fd_set_sndbuf(fd, n, # 129 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 1 # 129 "../systemd-stable-254.8/src/basic/socket-util.h" ); } int fd_set_rcvbuf(int fd, size_t n, # 131 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 131 "../systemd-stable-254.8/src/basic/socket-util.h" increase); static inline int fd_increase_rxbuf(int fd, size_t n) { return fd_set_rcvbuf(fd, n, # 133 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 1 # 133 "../systemd-stable-254.8/src/basic/socket-util.h" ); } int ip_tos_to_string_alloc(int i, char **s); int ip_tos_from_string(const char *s); typedef enum { IFNAME_VALID_ALTERNATIVE = 1 << 0, IFNAME_VALID_NUMERIC = 1 << 1, IFNAME_VALID_SPECIAL = 1 << 2, _IFNAME_VALID_ALL = IFNAME_VALID_ALTERNATIVE | IFNAME_VALID_NUMERIC | IFNAME_VALID_SPECIAL, } IfnameValidFlags; # 145 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 145 "../systemd-stable-254.8/src/basic/socket-util.h" ifname_valid_char(char a); # 146 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 146 "../systemd-stable-254.8/src/basic/socket-util.h" ifname_valid_full(const char *p, IfnameValidFlags flags); static inline # 147 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 147 "../systemd-stable-254.8/src/basic/socket-util.h" ifname_valid(const char *p) { return ifname_valid_full(p, 0); } # 150 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 150 "../systemd-stable-254.8/src/basic/socket-util.h" address_label_valid(const char *p); int getpeercred(int fd, struct ucred *ucred); int getpeersec(int fd, char **ret); int getpeergroups(int fd, gid_t **ret); ssize_t send_one_fd_iov_sa( int transport_fd, int fd, const struct iovec *iov, size_t iovlen, const struct sockaddr *sa, socklen_t len, int flags); int send_one_fd_sa(int transport_fd, int fd, const struct sockaddr *sa, socklen_t len, int flags); ssize_t receive_one_fd_iov(int transport_fd, struct iovec *iov, size_t iovlen, int flags, int *ret_fd); int receive_one_fd(int transport_fd, int flags); ssize_t next_datagram_size_fd(int fd); int flush_accept(int fd); # 191 "../systemd-stable-254.8/src/basic/socket-util.h" struct cmsghdr* cmsg_find(struct msghdr *mh, int level, int type, socklen_t length); void* cmsg_find_and_copy_data(struct msghdr *mh, int level, int type, void *buf, size_t buf_len); # 270 "../systemd-stable-254.8/src/basic/socket-util.h" int socket_ioctl_fd(void); int sockaddr_un_set_path(struct sockaddr_un *ret, const char *path); static inline int setsockopt_int(int fd, int level, int optname, int value) { if (setsockopt(fd, level, optname, &value, sizeof(value)) < 0) return - # 276 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 (*__errno_location ()) # 276 "../systemd-stable-254.8/src/basic/socket-util.h" ; return 0; } static inline int getsockopt_int(int fd, int level, int optname, int *ret) { int v; socklen_t sl = sizeof(v); if (getsockopt(fd, level, optname, &v, &sl) < 0) return negative_errno(); if (sl != sizeof(v)) return - # 288 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 5 # 288 "../systemd-stable-254.8/src/basic/socket-util.h" ; *ret = v; return 0; } int socket_bind_to_ifname(int fd, const char *ifname); int socket_bind_to_ifindex(int fd, int ifindex); struct timeval_large { uint64_t tvl_sec, tvl_usec; }; struct timespec_large { uint64_t tvl_sec, tvl_nsec; }; # 319 "../systemd-stable-254.8/src/basic/socket-util.h" ssize_t recvmsg_safe(int sockfd, struct msghdr *msg, int flags); int socket_get_family(int fd); int socket_set_recvpktinfo(int fd, int af, # 322 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 322 "../systemd-stable-254.8/src/basic/socket-util.h" b); int socket_set_unicast_if(int fd, int af, int ifi); int socket_set_option(int fd, int af, int opt_ipv4, int opt_ipv6, int val); static inline int socket_set_recverr(int fd, int af, # 326 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 326 "../systemd-stable-254.8/src/basic/socket-util.h" b) { return socket_set_option(fd, af, # 327 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 11 # 327 "../systemd-stable-254.8/src/basic/socket-util.h" , # 327 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 25 # 327 "../systemd-stable-254.8/src/basic/socket-util.h" , b); } static inline int socket_set_recvttl(int fd, int af, # 329 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 329 "../systemd-stable-254.8/src/basic/socket-util.h" b) { return socket_set_option(fd, af, # 330 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 12 # 330 "../systemd-stable-254.8/src/basic/socket-util.h" , # 330 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 51 # 330 "../systemd-stable-254.8/src/basic/socket-util.h" , b); } static inline int socket_set_ttl(int fd, int af, int ttl) { return socket_set_option(fd, af, # 333 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 2 # 333 "../systemd-stable-254.8/src/basic/socket-util.h" , # 333 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 16 # 333 "../systemd-stable-254.8/src/basic/socket-util.h" , ttl); } static inline int socket_set_freebind(int fd, int af, # 335 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 335 "../systemd-stable-254.8/src/basic/socket-util.h" b) { return socket_set_option(fd, af, # 336 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 15 # 336 "../systemd-stable-254.8/src/basic/socket-util.h" , # 336 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 78 # 336 "../systemd-stable-254.8/src/basic/socket-util.h" , b); } static inline int socket_set_transparent(int fd, int af, # 338 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 338 "../systemd-stable-254.8/src/basic/socket-util.h" b) { return socket_set_option(fd, af, # 339 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 19 # 339 "../systemd-stable-254.8/src/basic/socket-util.h" , # 339 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 75 # 339 "../systemd-stable-254.8/src/basic/socket-util.h" , b); } static inline int socket_set_recvfragsize(int fd, int af, # 341 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 _Bool # 341 "../systemd-stable-254.8/src/basic/socket-util.h" b) { return socket_set_option(fd, af, # 342 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 25 # 342 "../systemd-stable-254.8/src/basic/socket-util.h" , # 342 "../systemd-stable-254.8/src/basic/socket-util.h" 3 4 77 # 342 "../systemd-stable-254.8/src/basic/socket-util.h" , b); } int socket_get_mtu(int fd, int af, size_t *ret); int connect_unix_path(int fd, int dir_fd, const char *path); int socket_address_parse_unix(SocketAddress *ret_address, const char *s); int socket_address_parse_vsock(SocketAddress *ret_address, const char *s); # 31 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/basic/strv.h" 1 # 1 "/usr/include/fnmatch.h" 1 3 4 # 56 "/usr/include/fnmatch.h" 3 4 # 56 "/usr/include/fnmatch.h" 3 4 extern int fnmatch (const char *__pattern, const char *__name, int __flags); # 5 "../systemd-stable-254.8/src/basic/strv.h" 2 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 8 "../systemd-stable-254.8/src/basic/strv.h" 2 # 16 "../systemd-stable-254.8/src/basic/strv.h" # 16 "../systemd-stable-254.8/src/basic/strv.h" char* strv_find(char * const *l, const char *name) __attribute__((__pure__)); char* strv_find_case(char * const *l, const char *name) __attribute__((__pure__)); char* strv_find_prefix(char * const *l, const char *name) __attribute__((__pure__)); char* strv_find_startswith(char * const *l, const char *name) __attribute__((__pure__)); char* strv_find_first_field(char * const *needles, char * const *haystack) __attribute__((__pure__)); char** strv_free(char **l); static inline void strv_freep(char** *p) { if (*p) *p = strv_free(*p); }; char** strv_free_erase(char **l); static inline void strv_free_erasep(char** *p) { if (*p) *p = strv_free_erase(*p); }; char** strv_copy_n(char * const *l, size_t n); static inline char** strv_copy(char * const *l) { return strv_copy_n(l, # 37 "../systemd-stable-254.8/src/basic/strv.h" 3 4 (4294967295U) # 37 "../systemd-stable-254.8/src/basic/strv.h" ); } size_t strv_length(char * const *l) __attribute__((__pure__)); int strv_extend_strv(char ***a, char * const *b, # 41 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 41 "../systemd-stable-254.8/src/basic/strv.h" filter_duplicates); int strv_extend_strv_concat(char ***a, char * const *b, const char *suffix); int strv_prepend(char ***l, const char *value); int strv_extend_with_size(char ***l, size_t *n, const char *value); static inline int strv_extend(char ***l, const char *value) { return strv_extend_with_size(l, # 51 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 51 "../systemd-stable-254.8/src/basic/strv.h" , value); } int strv_extendf(char ***l, const char *format, ...) __attribute__((__format__(printf, 2, 3))); int strv_extend_front(char ***l, const char *value); int strv_push_with_size(char ***l, size_t *n, char *value); static inline int strv_push(char ***l, char *value) { return strv_push_with_size(l, # 59 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 59 "../systemd-stable-254.8/src/basic/strv.h" , value); } int strv_push_pair(char ***l, char *a, char *b); int strv_insert(char ***l, size_t position, char *value); static inline int strv_push_prepend(char ***l, char *value) { return strv_insert(l, 0, value); } int strv_consume_with_size(char ***l, size_t *n, char *value); static inline int strv_consume(char ***l, char *value) { return strv_consume_with_size(l, # 71 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 71 "../systemd-stable-254.8/src/basic/strv.h" , value); } int strv_consume_pair(char ***l, char *a, char *b); int strv_consume_prepend(char ***l, char *value); char** strv_remove(char **l, const char *s); char** strv_uniq(char **l); # 79 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 79 "../systemd-stable-254.8/src/basic/strv.h" strv_is_uniq(char * const *l); int strv_compare(char * const *a, char * const *b); static inline # 82 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 82 "../systemd-stable-254.8/src/basic/strv.h" strv_equal(char * const *a, char * const *b) { return strv_compare(a, b) == 0; } char** strv_new_internal(const char *x, ...) __attribute__((__sentinel__)); char** strv_new_ap(const char *x, va_list ap); static inline const char* STRV_IFNOTNULL(const char *x) { return x ?: ((const char *) ((void*) # 93 "../systemd-stable-254.8/src/basic/strv.h" 3 4 (4294967295U) # 93 "../systemd-stable-254.8/src/basic/strv.h" )); } static inline # 96 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 96 "../systemd-stable-254.8/src/basic/strv.h" strv_isempty(char * const *l) { return !l || !*l; } int strv_split_full(char ***t, const char *s, const char *separators, ExtractFlags flags); static inline char** strv_split(const char *s, const char *separators) { char **ret; if (strv_split_full(&ret, s, separators, EXTRACT_RETAIN_ESCAPE) < 0) return # 105 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 105 "../systemd-stable-254.8/src/basic/strv.h" ; return ret; } int strv_split_and_extend_full(char ***t, const char *s, const char *separators, # 110 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 110 "../systemd-stable-254.8/src/basic/strv.h" filter_duplicates, ExtractFlags flags); int strv_split_newlines_full(char ***ret, const char *s, ExtractFlags flags); static inline char** strv_split_newlines(const char *s) { char **ret; if (strv_split_newlines_full(&ret, s, 0) < 0) return # 118 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 118 "../systemd-stable-254.8/src/basic/strv.h" ; return ret; } int strv_split_colon_pairs(char ***t, const char *s); char* strv_join_full(char * const *l, const char *separator, const char *prefix, # 128 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 128 "../systemd-stable-254.8/src/basic/strv.h" escape_separator); static inline char *strv_join(char * const *l, const char *separator) { return strv_join_full(l, separator, # 130 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 130 "../systemd-stable-254.8/src/basic/strv.h" , # 130 "../systemd-stable-254.8/src/basic/strv.h" 3 4 0 # 130 "../systemd-stable-254.8/src/basic/strv.h" ); } # 133 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 133 "../systemd-stable-254.8/src/basic/strv.h" strv_overlap(char * const *a, char * const *b) __attribute__((__pure__)); # 154 "../systemd-stable-254.8/src/basic/strv.h" char** strv_sort(char **l); void strv_print_full(char * const *l, const char *prefix); static inline void strv_print(char * const *l) { strv_print_full(l, # 157 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 157 "../systemd-stable-254.8/src/basic/strv.h" ); } # 223 "../systemd-stable-254.8/src/basic/strv.h" char** strv_reverse(char **l); char** strv_shell_escape(char **l, const char *bad); # 226 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 226 "../systemd-stable-254.8/src/basic/strv.h" strv_fnmatch_full(char* const* patterns, const char *s, int flags, size_t *ret_matched_pos); static inline # 227 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 227 "../systemd-stable-254.8/src/basic/strv.h" strv_fnmatch(char* const* patterns, const char *s) { return strv_fnmatch_full(patterns, s, 0, # 228 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 228 "../systemd-stable-254.8/src/basic/strv.h" ); } static inline # 231 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 231 "../systemd-stable-254.8/src/basic/strv.h" strv_fnmatch_or_empty(char* const* patterns, const char *s, int flags) { do { if ((__builtin_expect(!!(!(s)), 0))) log_assert_failed("s", (&"../systemd-stable-254.8/src/basic/strv.h"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 232, __func__); } while ( # 232 "../systemd-stable-254.8/src/basic/strv.h" 3 4 0 # 232 "../systemd-stable-254.8/src/basic/strv.h" ); return strv_isempty(patterns) || strv_fnmatch_full(patterns, s, flags, # 234 "../systemd-stable-254.8/src/basic/strv.h" 3 4 ((void *)0) # 234 "../systemd-stable-254.8/src/basic/strv.h" ); } char** strv_skip(char **l, size_t n); int strv_extend_n(char ***l, const char *value, size_t n); int strv_extend_assignment(char ***l, const char *lhs, const char *rhs); int fputstrv(FILE *f, char * const *l, const char *separator, # 243 "../systemd-stable-254.8/src/basic/strv.h" 3 4 _Bool # 243 "../systemd-stable-254.8/src/basic/strv.h" *space); extern const struct hash_ops string_strv_hash_ops; int _string_strv_hashmap_put(Hashmap **h, const char *key, const char *value ); int _string_strv_ordered_hashmap_put(OrderedHashmap **h, const char *key, const char *value ); # 33 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 1 "../systemd-stable-254.8/src/timesync/timesyncd-conf.h" 1 # 1 "../systemd-stable-254.8/src/shared/conf-parser.h" 1 # 1 "/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/13/include/stddef.h" 1 3 4 # 7 "../systemd-stable-254.8/src/shared/conf-parser.h" 2 # 1 "/usr/include/syslog.h" 1 3 4 # 9 "../systemd-stable-254.8/src/shared/conf-parser.h" 2 # 19 "../systemd-stable-254.8/src/shared/conf-parser.h" typedef enum ConfigParseFlags { CONFIG_PARSE_RELAXED = 1 << 0, CONFIG_PARSE_WARN = 1 << 1, } ConfigParseFlags; # 38 "../systemd-stable-254.8/src/shared/conf-parser.h" typedef int (*ConfigParserCallback)(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); # 47 "../systemd-stable-254.8/src/shared/conf-parser.h" typedef struct ConfigTableItem { const char *section; const char *lvalue; ConfigParserCallback parse; int ltype; void *data; } ConfigTableItem; typedef struct ConfigPerfItem { const char *section_and_lvalue; ConfigParserCallback parse; int ltype; size_t offset; } ConfigPerfItem; typedef const ConfigPerfItem* (*ConfigPerfItemLookup)(const char *section_and_lvalue, size_t length); typedef int (*ConfigItemLookup)( const void *table, const char *section, const char *lvalue, ConfigParserCallback *ret_func, int *ret_ltype, void **ret_data, void *userdata); int config_item_table_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *ret_func, int *ret_ltype, void **ret_data, void *userdata); int config_item_perf_lookup(const void *table, const char *section, const char *lvalue, ConfigParserCallback *ret_func, int *ret_ltype, void **ret_data, void *userdata); int config_parse( const char *unit, const char *filename, FILE *f, const char *sections, ConfigItemLookup lookup, const void *table, ConfigParseFlags flags, void *userdata, struct stat *ret_stat); int config_parse_config_file( const char *conf_file, const char *sections, ConfigItemLookup lookup, const void *table, ConfigParseFlags flags, void *userdata); int config_parse_many( const char* const* conf_files, const char* const* conf_file_dirs, const char *dropin_dirname, const char *root, const char *sections, ConfigItemLookup lookup, const void *table, ConfigParseFlags flags, void *userdata, Hashmap **ret_stats_by_path, char ***ret_drop_in_files); int config_get_stats_by_path( const char *suffix, const char *root, unsigned flags, const char* const* dirs, # 122 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 _Bool # 122 "../systemd-stable-254.8/src/shared/conf-parser.h" check_dropins, Hashmap **ret); int hashmap_put_stats_by_path(Hashmap **stats_by_path, const char *path, const struct stat *st); # 126 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 _Bool # 126 "../systemd-stable-254.8/src/shared/conf-parser.h" stats_by_path_equal(Hashmap *a, Hashmap *b); typedef struct ConfigSection { unsigned line; # 130 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 _Bool # 130 "../systemd-stable-254.8/src/shared/conf-parser.h" invalid; char filename[]; } ConfigSection; static inline ConfigSection* config_section_free(ConfigSection *cs) { return ({ free(cs); (typeof(cs)) # 135 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 ((void *)0) # 135 "../systemd-stable-254.8/src/shared/conf-parser.h" ; }); } static inline void config_section_freep(ConfigSection* *p) { if (*p) *p = config_section_free(*p); }; int config_section_new(const char *filename, unsigned line, ConfigSection **s); extern const struct hash_ops config_section_hash_ops; unsigned hashmap_find_free_section_line(Hashmap *hashmap); static inline # 143 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 _Bool # 143 "../systemd-stable-254.8/src/shared/conf-parser.h" section_is_invalid(ConfigSection *section) { if (!section) return # 147 "../systemd-stable-254.8/src/shared/conf-parser.h" 3 4 0 # 147 "../systemd-stable-254.8/src/shared/conf-parser.h" ; return section->invalid; } # 165 "../systemd-stable-254.8/src/shared/conf-parser.h" int config_parse_int(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_unsigned(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_long(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_uint8(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_uint16(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_uint32(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_int32(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_uint64(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_double(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_iec_size(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_si_uint64(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_iec_uint64(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_iec_uint64_infinity(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_bool(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_id128(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_tristate(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_string(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_dns_name(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_hostname(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_path(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_strv(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_sec(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_sec_def_infinity(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_sec_def_unset(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_nsec(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_mode(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_warn_compat(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_log_facility(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_log_level(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_signal(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_personality(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_permille(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_ifname(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_ifnames(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_ip_port(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_mtu(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_rlimit(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_vlanprotocol(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_hw_addr(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_hw_addrs(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_ether_addr(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_ether_addrs(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_in_addr_non_null(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_percent(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_permyriad(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_pid(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_sec_fix_0(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); typedef enum Disabled { DISABLED_CONFIGURATION, DISABLED_LEGACY, DISABLED_EXPERIMENTAL, } Disabled; typedef enum ConfigParseStringFlags { CONFIG_PARSE_STRING_SAFE = 1 << 0, CONFIG_PARSE_STRING_ASCII = 1 << 1, CONFIG_PARSE_STRING_SAFE_AND_ASCII = CONFIG_PARSE_STRING_SAFE | CONFIG_PARSE_STRING_ASCII, } ConfigParseStringFlags; # 5 "../systemd-stable-254.8/src/timesync/timesyncd-conf.h" 2 # 1 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 1 # 1 "../systemd-stable-254.8/src/systemd/sd-network.h" 1 # 45 "../systemd-stable-254.8/src/systemd/sd-network.h" struct _sd_useless_struct_to_allow_trailing_semicolon_; int sd_network_get_operational_state(char **ret); int sd_network_get_carrier_state(char **ret); int sd_network_get_address_state(char **ret); int sd_network_get_ipv4_address_state(char **ret); int sd_network_get_ipv6_address_state(char **ret); int sd_network_get_online_state(char **ret); int sd_network_get_dns(char ***ret); int sd_network_get_ntp(char ***ret); int sd_network_get_search_domains(char ***ret); int sd_network_get_route_domains(char ***ret); # 84 "../systemd-stable-254.8/src/systemd/sd-network.h" int sd_network_link_get_setup_state(int ifindex, char **ret); # 97 "../systemd-stable-254.8/src/systemd/sd-network.h" int sd_network_link_get_operational_state(int ifindex, char **ret); int sd_network_link_get_required_operstate_for_online(int ifindex, char **ret); int sd_network_link_get_required_family_for_online(int ifindex, char **ret); int sd_network_link_get_carrier_state(int ifindex, char **ret); int sd_network_link_get_address_state(int ifindex, char **ret); int sd_network_link_get_ipv4_address_state(int ifindex, char **ret); int sd_network_link_get_ipv6_address_state(int ifindex, char **ret); int sd_network_link_get_online_state(int ifindex, char **ret); int sd_network_link_get_required_for_online(int ifindex); int sd_network_link_get_activation_policy(int ifindex, char **ret); int sd_network_link_get_network_file(int ifindex, char **ret); int sd_network_link_get_network_file_dropins(int ifindex, char ***ret); int sd_network_link_get_dns(int ifindex, char ***ret); int sd_network_link_get_ntp(int ifindex, char ***ret); int sd_network_link_get_sip(int ifindex, char ***ret); int sd_network_link_get_captive_portal(int ifindex, char **ret); int sd_network_link_get_llmnr(int ifindex, char **ret); int sd_network_link_get_mdns(int ifindex, char **ret); int sd_network_link_get_dns_over_tls(int ifindex, char **ret); int sd_network_link_get_dnssec(int ifindex, char **ret); int sd_network_link_get_dnssec_negative_trust_anchors(int ifindex, char ***ret); int sd_network_link_get_search_domains(int ifindex, char ***ret); int sd_network_link_get_route_domains(int ifindex, char ***ret); int sd_network_link_get_dns_default_route(int ifindex); int sd_network_link_get_carrier_bound_to(int ifindex, int **ret); int sd_network_link_get_carrier_bound_by(int ifindex, int **ret); int sd_network_link_get_dhcp6_client_iaid_string(int ifindex, char **ret); int sd_network_link_get_dhcp6_client_duid_string(int ifindex, char **ret); int sd_network_link_get_stat(int ifindex, struct stat *ret); typedef struct sd_network_monitor sd_network_monitor; int sd_network_monitor_new(sd_network_monitor **ret, const char *category); sd_network_monitor* sd_network_monitor_unref(sd_network_monitor *m); int sd_network_monitor_flush(sd_network_monitor *m); int sd_network_monitor_get_fd(sd_network_monitor *m); int sd_network_monitor_get_events(sd_network_monitor *m); int sd_network_monitor_get_timeout(sd_network_monitor *m, uint64_t *ret_usec); static __inline__ void sd_network_monitor_unrefp(sd_network_monitor **p) { if (*p) sd_network_monitor_unref(*p); } struct _sd_useless_struct_to_allow_trailing_semicolon_; struct _sd_useless_struct_to_allow_trailing_semicolon_; # 9 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 2 # 1 "../systemd-stable-254.8/src/timesync/timesyncd-ntp-message.h" 1 # 23 "../systemd-stable-254.8/src/timesync/timesyncd-ntp-message.h" struct ntp_ts { be32_t sec; be32_t frac; } __attribute__((__packed__)); struct ntp_ts_short { be16_t sec; be16_t frac; } __attribute__((__packed__)); struct ntp_msg { uint8_t field; uint8_t stratum; int8_t poll; int8_t precision; struct ntp_ts_short root_delay; struct ntp_ts_short root_dispersion; char refid[4]; struct ntp_ts reference_time; struct ntp_ts origin_time; struct ntp_ts recv_time; struct ntp_ts trans_time; } __attribute__((__packed__)); # 16 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 2 typedef struct Manager Manager; # 1 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" 1 typedef struct ServerAddress ServerAddress; typedef struct ServerName ServerName; typedef enum ServerType { SERVER_SYSTEM, SERVER_FALLBACK, SERVER_LINK, SERVER_RUNTIME, _SERVER_TYPE_MAX, _SERVER_TYPE_INVALID = - # 16 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" 3 4 22 # 16 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" , } ServerType; struct ServerAddress { ServerName *name; union sockaddr_union sockaddr; socklen_t socklen; ServerAddress *addresses_next, *addresses_prev; }; struct ServerName { Manager *manager; ServerType type; char *string; # 36 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" 3 4 _Bool # 36 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" marked:1; ServerAddress *addresses; ServerName *names_next, *names_prev; }; int server_address_new(ServerName *n, ServerAddress **ret, const union sockaddr_union *sockaddr, socklen_t socklen); ServerAddress* server_address_free(ServerAddress *a); static inline int server_address_pretty(ServerAddress *a, char **pretty) { return sockaddr_pretty(&a->sockaddr.sa, a->socklen, # 45 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" 3 4 1 # 45 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" , # 45 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" 3 4 1 # 45 "../systemd-stable-254.8/src/timesync/timesyncd-server.h" , pretty); } int server_name_new(Manager *m, ServerName **ret, ServerType type,const char *string); ServerName *server_name_free(ServerName *n); void server_name_flush_addresses(ServerName *n); # 20 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 2 # 38 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" struct Manager { sd_bus *bus; sd_event *event; sd_resolve *resolve; ServerName *system_servers; ServerName *link_servers; ServerName *runtime_servers; ServerName *fallback_servers; # 48 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 48 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" have_fallbacks:1; RateLimit ratelimit; # 51 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 51 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" exhausted_servers; sd_event_source *network_event_source; sd_network_monitor *network_monitor; sd_resolve_query *resolve_query; sd_event_source *event_receive; ServerName *current_server_name; ServerAddress *current_server_address; int server_socket; int missed_replies; uint64_t packet_count; sd_event_source *event_timeout; # 66 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 66 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" talking; Hashmap *polkit_registry; struct timespec trans_time_mon; struct timespec trans_time; usec_t retry_interval; usec_t connection_retry_usec; # 76 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 76 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" pending; sd_event_source *event_timer; usec_t poll_interval_usec; usec_t poll_interval_min_usec; usec_t poll_interval_max_usec; # 83 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 83 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" poll_resync; struct { double offset; double delay; } samples[8]; unsigned samples_idx; double samples_jitter; usec_t root_distance_max_usec; # 95 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 95 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" jumped; int64_t drift_freq; sd_event_source *event_clock_watch; sd_event_source *event_retry; # 105 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 105 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" rtc_local_time; struct ntp_msg ntpmsg; struct timespec origin_time, dest_time; # 110 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 110 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" spike; # 113 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 113 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" synchronized; sd_event_source *event_save_time; usec_t save_time_interval_usec; # 118 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 118 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" save_on_exit; }; int manager_new(Manager **ret); Manager* manager_free(Manager *m); static inline void manager_freep(Manager* *p) { if (*p) *p = manager_free(*p); }; void manager_set_server_name(Manager *m, ServerName *n); void manager_set_server_address(Manager *m, ServerAddress *a); void manager_flush_server_names(Manager *m, ServerType t); void manager_flush_runtime_servers(Manager *m); int manager_connect(Manager *m); void manager_disconnect(Manager *m); # 133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" 3 4 _Bool # 133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.h" manager_is_connected(Manager *m); int manager_setup_save_time_event(Manager *m); # 6 "../systemd-stable-254.8/src/timesync/timesyncd-conf.h" 2 const struct ConfigPerfItem* timesyncd_gperf_lookup(const char *key, size_t length); int manager_parse_server_string(Manager *m, ServerType type, const char *string); int config_parse_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int manager_parse_config_file(Manager *m); int manager_parse_fallback_string(Manager *m, const char *string); # 35 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 2 # 63 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" static int manager_arm_timer(Manager *m, usec_t next); static int manager_clock_watch_setup(Manager *m); static int manager_listen_setup(Manager *m); static void manager_listen_stop(Manager *m); static int manager_save_time_and_rearm(Manager *m, usec_t t); static double ntp_ts_short_to_d(const struct ntp_ts_short *ts) { return be16toh(ts->sec) + (be16toh(ts->frac) / 65536.0); } static double ntp_ts_to_d(const struct ntp_ts *ts) { return be32toh(ts->sec) + ((double)be32toh(ts->frac) / # 74 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (0x7fffffff * 2U + 1U) # 74 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); } static double ts_to_d(const struct timespec *ts) { return ts->tv_sec + (1.0e-9 * ts->tv_nsec); } static uint32_t graceful_add_offset_1900_1970(time_t t) { uint64_t a = (uint64_t) t + 2208988800ULL; return (uint32_t) (a & 0xFFFFFFFFULL); } static int manager_timeout(sd_event_source *source, usec_t usec, void *userdata) { __attribute__((__cleanup__(freep))) char *pretty = # 89 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 89 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; Manager *m = ({ typeof(userdata) __unique_prefix__expr_8 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_8)), 0))) log_assert_failed("__unique_prefix__expr_8", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 90, __func__); } while ( # 90 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 90 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_8; }); do { if ((__builtin_expect(!!(!(m->current_server_name)), 0))) log_assert_failed("m->current_server_name", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 92, __func__); } while ( # 92 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 92 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m->current_server_address)), 0))) log_assert_failed("m->current_server_address", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 93, __func__); } while ( # 93 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 93 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); server_address_pretty(m->current_server_address, &pretty); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Timed out waiting for reply from %s (%s).", "%m"))), 0))) log_assert_failed("!strstr(\"Timed out waiting for reply from %s (%s).\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 96, __func__); } while ( # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 96, __func__, "Timed out waiting for reply from %s (%s).", strna(pretty), m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 96 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } static int manager_send_request(Manager *m) { __attribute__((__cleanup__(freep))) char *pretty = # 102 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 102 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; struct ntp_msg ntpmsg = { .field = (((0) << 6) | ((4) << 3) | (3)), }; ssize_t len; int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 116, __func__); } while ( # 116 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 116 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m->current_server_name)), 0))) log_assert_failed("m->current_server_name", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 117, __func__); } while ( # 117 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 117 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m->current_server_address)), 0))) log_assert_failed("m->current_server_address", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 118, __func__); } while ( # 118 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 118 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->event_timeout = sd_event_source_unref(m->event_timeout); r = manager_listen_setup(m); if (r < 0) { ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 124, __func__); } while ( # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 4 # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 124, __func__, "Failed to set up connection socket: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 124 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } # 136 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" do { if ((__builtin_expect(!!(!(clock_gettime( # 136 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 136 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , &m->trans_time_mon) >= 0)), 0))) log_assert_failed("clock_gettime(CLOCK_BOOTTIME, &m->trans_time_mon) >= 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 136, __func__); } while ( # 136 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 136 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(clock_gettime( # 137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , &m->trans_time) >= 0)), 0))) log_assert_failed("clock_gettime(CLOCK_REALTIME, &m->trans_time) >= 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 137, __func__); } while ( # 137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ntpmsg.trans_time.sec = htobe32(graceful_add_offset_1900_1970(m->trans_time.tv_sec)); ntpmsg.trans_time.frac = htobe32(m->trans_time.tv_nsec); server_address_pretty(m->current_server_address, &pretty); len = sendto(m->server_socket, &ntpmsg, sizeof(ntpmsg), # 143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 MSG_DONTWAIT # 143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , &m->current_server_address->sockaddr.sa, m->current_server_address->socklen); if (len == sizeof(ntpmsg)) { m->pending = # 145 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 145 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Sent NTP request to %s (%s).", "%m"))), 0))) log_assert_failed("!strstr(\"Sent NTP request to %s (%s).\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 146, __func__); } while ( # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 146, __func__, "Sent NTP request to %s (%s).", strna(pretty), m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 146 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } else { ({ int _error = ( # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 148, __func__); } while ( # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 148, __func__, "Sending NTP request to %s (%s) failed: %m", strna(pretty), m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 148 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if (m->retry_interval == 0) m->retry_interval = (15 * ((usec_t) 1000000ULL)); else m->retry_interval = ({ const typeof((m->retry_interval * 4/3)) __unique_prefix_A9 = ((m->retry_interval * 4/3)); const typeof(((6 * 60 * ((usec_t) 1000000ULL)))) __unique_prefix_B10 = (((6 * 60 * ((usec_t) 1000000ULL)))); __unique_prefix_A9 < __unique_prefix_B10 ? __unique_prefix_A9 : __unique_prefix_B10; }); r = manager_arm_timer(m, m->retry_interval); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 160, __func__); } while ( # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 160, __func__, "Failed to rearm timer: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 160 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); m->missed_replies++; if (m->missed_replies > 2) { r = sd_event_add_time( m->event, &m->event_timeout, # 167 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 167 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , now( # 168 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 168 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) + (10*((usec_t) 1000000ULL)), 0, manager_timeout, m); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 171, __func__); } while ( # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 171, __func__, "Failed to arm timeout timer: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 171 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } return 0; } static int manager_timer(sd_event_source *source, usec_t usec, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_11 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_11)), 0))) log_assert_failed("__unique_prefix__expr_11", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 178, __func__); } while ( # 178 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 178 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_11; }); return manager_send_request(m); } static int manager_arm_timer(Manager *m, usec_t next) { int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 186, __func__); } while ( # 186 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 186 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (next == 0) { m->event_timer = sd_event_source_unref(m->event_timer); return 0; } if (m->event_timer) { r = sd_event_source_set_time_relative(m->event_timer, next); if (r < 0) return r; return sd_event_source_set_enabled(m->event_timer, SD_EVENT_ONESHOT); } return sd_event_add_time_relative( m->event, &m->event_timer, # 204 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 204 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , next, 0, manager_timer, m); } static int manager_clock_watch(sd_event_source *source, int fd, uint32_t revents, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_12 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_12)), 0))) log_assert_failed("__unique_prefix__expr_12", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 210, __func__); } while ( # 210 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 210 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_12; }); manager_clock_watch_setup(m); if (m->jumped) { m->jumped = # 217 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 217 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; return 0; } ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("System time changed. Resyncing.", "%m"))), 0))) log_assert_failed("!strstr(\"System time changed. Resyncing.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 222, __func__); } while ( # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 222, __func__, "System time changed. Resyncing.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 222 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); m->poll_resync = # 223 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 223 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; return manager_send_request(m); } static int manager_clock_watch_setup(Manager *m) { int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 232, __func__); } while ( # 232 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 232 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->event_clock_watch = sd_event_source_disable_unref(m->event_clock_watch); r = event_add_time_change(m->event, &m->event_clock_watch, manager_clock_watch, m); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 238, __func__); } while ( # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 238, __func__, "Failed to create clock watch event source: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 238 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } static int manager_adjust_clock(Manager *m, double offset, int leap_sec) { struct timex tmx; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 246, __func__); } while ( # 246 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 246 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (fabs(offset) < 0.4) { tmx = (struct timex) { .modes = # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0010 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x2000 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0001 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0020 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0004 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0008 # 252 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .status = # 253 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0001 # 253 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .offset = offset * ((nsec_t) 1000000000ULL), .constant = log2i(m->poll_interval_usec / ((usec_t) 1000000ULL)) - 4, }; ({ if (1) do { if ((__builtin_expect(!!(!(!strstr(" adjust (slew): %+.3f sec", "%m"))), 0))) log_assert_failed("!strstr(\" adjust (slew): %+.3f sec\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 258, __func__); } while ( # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 258, __func__, " adjust (slew): %+.3f sec", offset) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 258 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } else { tmx = (struct timex) { .modes = # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0010 # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x2000 # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0100 # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0004 # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0008 # 261 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .time.tv_sec = (long)offset, .time.tv_usec = (offset - (double) (long) offset) * ((nsec_t) 1000000000ULL), }; if (tmx.time.tv_usec < 0) { tmx.time.tv_sec -= 1; tmx.time.tv_usec += ((nsec_t) 1000000000ULL); } m->jumped = # 274 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 274 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; ({ if (1) do { if ((__builtin_expect(!!(!(!strstr(" adjust (jump): %+.3f sec", "%m"))), 0))) log_assert_failed("!strstr(\" adjust (jump): %+.3f sec\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 275, __func__); } while ( # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 275, __func__, " adjust (jump): %+.3f sec", offset) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 275 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } if (m->rtc_local_time) tmx.status |= # 284 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0040 # 284 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; switch (leap_sec) { case 1: tmx.status |= # 288 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0010 # 288 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; break; case -1: tmx.status |= # 291 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0020 # 291 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; break; } if (clock_adjtime( # 295 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 295 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , &tmx) < 0) return - # 296 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 296 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; m->drift_freq = tmx.freq; ({ if (1) do { if ((__builtin_expect(!!(!(!strstr(" status : %04i %s\n" " time now : %""li"".%03" # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n" " constant : %""li""\n" " offset : %+.3f sec\n" " freq offset : %+""li"" (%+""li"" ppm)\n", "%m"))), 0))) log_assert_failed("!strstr(\" status : %04i %s\\n\" \" time now : %\"\"li\"\".%03\"\"ll\" \"u\"\"\\n\" \" constant : %\"\"li\"\"\\n\" \" offset : %+.3f sec\\n\" \" freq offset : %+\"\"li\"\" (%+\"\"li\"\" ppm)\\n\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 300, __func__); } while ( # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 300, __func__, " status : %04i %s\n" " time now : %""li"".%03" # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n" " constant : %""li""\n" " offset : %+.3f sec\n" " freq offset : %+""li"" (%+""li"" ppm)\n", tmx.status, tmx.status & # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0040 # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ? "unsync" : "sync", tmx.time.tv_sec, tmx.time.tv_usec / ((nsec_t) 1000000ULL), tmx.constant, (double)tmx.offset / ((nsec_t) 1000000000ULL), tmx.freq, tmx.freq / 65536) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 300 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }) # 309 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; return 0; } static # 314 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 314 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" manager_sample_spike_detection(Manager *m, double offset, double delay) { unsigned i, idx_cur, idx_new, idx_min; double jitter; double j; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 319, __func__); } while ( # 319 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 319 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->packet_count++; if (m->packet_count == 1) return # 325 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 325 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; idx_cur = m->samples_idx; idx_new = (idx_cur + 1) % (__builtin_choose_expr( !__builtin_types_compatible_p(typeof(m->samples), typeof(&*(m->samples))), sizeof(m->samples)/sizeof((m->samples)[0]), ((void)0))); m->samples_idx = idx_new; m->samples[idx_new].offset = offset; m->samples[idx_new].delay = delay; jitter = m->samples_jitter; for (idx_min = idx_cur, i = 0; i < (__builtin_choose_expr( !__builtin_types_compatible_p(typeof(m->samples), typeof(&*(m->samples))), sizeof(m->samples)/sizeof((m->samples)[0]), ((void)0))); i++) if (m->samples[i].delay > 0 && m->samples[i].delay < m->samples[idx_min].delay) idx_min = i; j = 0; for (i = 0; i < (__builtin_choose_expr( !__builtin_types_compatible_p(typeof(m->samples), typeof(&*(m->samples))), sizeof(m->samples)/sizeof((m->samples)[0]), ((void)0))); i++) j += pow(m->samples[i].offset - m->samples[idx_min].offset, 2); m->samples_jitter = sqrt(j / ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(m->samples), typeof(&*(m->samples))), sizeof(m->samples)/sizeof((m->samples)[0]), ((void)0))) - 1)); if (m->poll_resync) return # 347 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 347 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (fabs(offset) > delay) return # 351 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 351 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (m->packet_count < 4) return # 355 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 355 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (fabs(offset) > m->samples[idx_min].delay) return # 359 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 359 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; return fabs(offset - m->samples[idx_cur].offset) > 3 * jitter; } static void manager_adjust_poll(Manager *m, double offset, # 365 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 365 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" spike) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 366, __func__); } while ( # 366 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 366 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (m->poll_resync) { m->poll_interval_usec = m->poll_interval_min_usec; m->poll_resync = # 370 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 370 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; return; } if (!spike && fabs(offset) > 0.2) { m->poll_interval_usec = m->poll_interval_min_usec; return; } if (fabs(offset) < 0.2 * 0.25) { if (m->poll_interval_usec < m->poll_interval_max_usec) m->poll_interval_usec *= 2; return; } if (spike || fabs(offset) > 0.2 * 0.75) { if (m->poll_interval_usec > m->poll_interval_min_usec) m->poll_interval_usec /= 2; return; } } static int manager_receive_response(sd_event_source *source, int fd, uint32_t revents, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_13 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_13)), 0))) log_assert_failed("__unique_prefix__expr_13", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 396, __func__); } while ( # 396 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 396 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_13; }); struct ntp_msg ntpmsg; struct iovec iov = { .iov_base = &ntpmsg, .iov_len = sizeof(ntpmsg), }; union { struct cmsghdr cmsghdr; uint8_t buf[((sizeof(struct timespec) == sizeof(struct timespec_large)) ? # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" + # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec_large) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )]; uint8_t align_check[(((sizeof(struct timespec) == sizeof(struct timespec_large)) ? # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" + # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec_large) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) >= # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 0 # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" && (((sizeof(struct timespec) == sizeof(struct timespec_large)) ? # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" + # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec_large) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) == # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ((sizeof(struct timespec) == sizeof(struct timespec_large)) ? # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" + # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (((( # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sizeof(struct timespec_large) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) + (((sizeof (struct cmsghdr)) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) # 404 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ? 1 : -1]; } control = {}; union sockaddr_union server_addr; struct msghdr msghdr = { .msg_iov = &iov, .msg_iovlen = 1, .msg_control = &control, .msg_controllen = sizeof(control), .msg_name = &server_addr, .msg_namelen = sizeof(server_addr), }; struct timespec *recv_time; triple_timestamp dts; ssize_t len; double origin, receive, trans, dest, delay, offset, root_distance; # 418 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 418 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" spike; int leap_sec, r; do { if ((__builtin_expect(!!(!(source)), 0))) log_assert_failed("source", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 421, __func__); } while ( # 421 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 421 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (revents & ( # 423 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 EPOLLHUP # 423 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 423 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 EPOLLERR # 423 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Server connection returned error.", "%m"))), 0))) log_assert_failed("!strstr(\"Server connection returned error.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 424, __func__); } while ( # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 4 # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 424, __func__, "Server connection returned error.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 424 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } len = recvmsg_safe(fd, &msghdr, # 428 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 MSG_DONTWAIT # 428 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (len == - # 429 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 11 # 429 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) return 0; if (len < 0) { ({ int _error = (len); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 432, __func__); } while ( # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 4 # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 432, __func__, "Error receiving message, disconnecting: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 432 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if (iov.iov_len < sizeof(struct ntp_msg) || (msghdr.msg_flags & # 437 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 MSG_TRUNC # 437 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Invalid response from server. Disconnecting.", "%m"))), 0))) log_assert_failed("!strstr(\"Invalid response from server. Disconnecting.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 438, __func__); } while ( # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 4 # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 438, __func__, "Invalid response from server. Disconnecting.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 438 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if (!m->current_server_name || !m->current_server_address || !sockaddr_equal(&server_addr, &m->current_server_address->sockaddr)) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Response from unknown server.", "%m"))), 0))) log_assert_failed("!strstr(\"Response from unknown server.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 445, __func__); } while ( # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 445, __func__, "Response from unknown server.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 445 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } recv_time = (struct timespec*) cmsg_find_and_copy_data(&msghdr, # 449 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 449 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 449 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (sizeof(time_t) == sizeof(__kernel_long_t) ? 35 : 64) # 449 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , &(struct timespec){}, sizeof(struct timespec)); if (!recv_time) return ({ int _error = ((1 << 30 | ( # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 22 # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ))); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 451, __func__); } while ( # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 451, __func__, "Packet timestamp missing.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 451 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); if (!m->pending) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Unexpected reply. Ignoring.", "%m"))), 0))) log_assert_failed("!strstr(\"Unexpected reply. Ignoring.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 454, __func__); } while ( # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 454, __func__, "Unexpected reply. Ignoring.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 454 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } m->missed_replies = 0; if (be32toh(ntpmsg.origin_time.sec) != graceful_add_offset_1900_1970(m->trans_time.tv_sec) || be32toh(ntpmsg.origin_time.frac) != (unsigned long) m->trans_time.tv_nsec) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Invalid reply; not our transmit time. Ignoring.", "%m"))), 0))) log_assert_failed("!strstr(\"Invalid reply; not our transmit time. Ignoring.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 463, __func__); } while ( # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 463, __func__, "Invalid reply; not our transmit time. Ignoring.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 463 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } m->event_timeout = sd_event_source_unref(m->event_timeout); if (be32toh(ntpmsg.recv_time.sec) < 1703416693 + 2208988800ULL || be32toh(ntpmsg.trans_time.sec) < 1703416693 + 2208988800ULL) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Invalid reply, returned times before epoch. Ignoring.", "%m"))), 0))) log_assert_failed("!strstr(\"Invalid reply, returned times before epoch. Ignoring.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 471, __func__); } while ( # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 471, __func__, "Invalid reply, returned times before epoch. Ignoring.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 471 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if ((((ntpmsg.field) >> 6) & 3) == 3 || ntpmsg.stratum == 0 || ntpmsg.stratum >= 16) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Server is not synchronized. Disconnecting.", "%m"))), 0))) log_assert_failed("!strstr(\"Server is not synchronized. Disconnecting.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 477, __func__); } while ( # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 477, __func__, "Server is not synchronized. Disconnecting.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 477 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if (!({ # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _found = # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; static const typeof(+(((ntpmsg.field) >> 3) & 7)) __assert_in_set[] __attribute__((__unused__)) = { 3, 4 }; # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Static_assert # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch ((((ntpmsg.field) >> 3) & 7)) { case 3: case 4: _found = # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 481 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; break; default: break; } _found; })) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Response NTPv%d. Disconnecting.", "%m"))), 0))) log_assert_failed("!strstr(\"Response NTPv%d. Disconnecting.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 482, __func__); } while ( # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 482, __func__, "Response NTPv%d. Disconnecting.",(((ntpmsg.field) >> 3) & 7)) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 482 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } if (((ntpmsg.field) & 7) != 4) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Unsupported mode %d. Disconnecting.", "%m"))), 0))) log_assert_failed("!strstr(\"Unsupported mode %d. Disconnecting.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 487, __func__); } while ( # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 487, __func__, "Unsupported mode %d. Disconnecting.",((ntpmsg.field) & 7)) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 487 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } root_distance = ntp_ts_short_to_d(&ntpmsg.root_delay) / 2 + ntp_ts_short_to_d(&ntpmsg.root_dispersion); if (root_distance > (double) m->root_distance_max_usec / (double) ((usec_t) 1000000ULL)) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Server has too large root distance. Disconnecting.", "%m"))), 0))) log_assert_failed("!strstr(\"Server has too large root distance. Disconnecting.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 493, __func__); } while ( # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 493, __func__, "Server has too large root distance. Disconnecting.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 493 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } m->pending = # 498 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 498 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; m->retry_interval = 0; manager_listen_stop(m); if ((((ntpmsg.field) >> 6) & 3) & 1) leap_sec = 1; else if ((((ntpmsg.field) >> 6) & 3) & 2) leap_sec = -1; else leap_sec = 0; # 523 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" origin = ts_to_d(&m->trans_time) + 2208988800ULL; receive = ntp_ts_to_d(&ntpmsg.recv_time); trans = ntp_ts_to_d(&ntpmsg.trans_time); dest = ts_to_d(recv_time) + 2208988800ULL; offset = ((receive - origin) + (trans - dest)) / 2; delay = (dest - origin) - (trans - receive); spike = manager_sample_spike_detection(m, offset, delay); manager_adjust_poll(m, offset, spike); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("NTP response:\n" " leap : %i\n" " version : %i\n" " mode : %i\n" " stratum : %u\n" " precision : %.6f sec (%i)\n" " root distance: %.6f sec\n" " reference : %.4s\n" " origin : %.3f\n" " receive : %.3f\n" " transmit : %.3f\n" " dest : %.3f\n" " offset : %+.3f sec\n" " delay : %+.3f sec\n" " packet count : %" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n" " jitter : %.3f%s\n" " poll interval: " "%" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n", "%m"))), 0))) log_assert_failed("!strstr(\"NTP response:\\n\" \" leap : %i\\n\" \" version : %i\\n\" \" mode : %i\\n\" \" stratum : %u\\n\" \" precision : %.6f sec (%i)\\n\" \" root distance: %.6f sec\\n\" \" reference : %.4s\\n\" \" origin : %.3f\\n\" \" receive : %.3f\\n\" \" transmit : %.3f\\n\" \" dest : %.3f\\n\" \" offset : %+.3f sec\\n\" \" delay : %+.3f sec\\n\" \" packet count : %\"\"ll\" \"u\"\"\\n\" \" jitter : %.3f%s\\n\" \" poll interval: \" \"%\" \"ll\" \"u\" \"\\n\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 535, __func__); } while ( # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 535, __func__, "NTP response:\n" " leap : %i\n" " version : %i\n" " mode : %i\n" " stratum : %u\n" " precision : %.6f sec (%i)\n" " root distance: %.6f sec\n" " reference : %.4s\n" " origin : %.3f\n" " receive : %.3f\n" " transmit : %.3f\n" " dest : %.3f\n" " offset : %+.3f sec\n" " delay : %+.3f sec\n" " packet count : %" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n" " jitter : %.3f%s\n" " poll interval: " "%" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "\n",(((ntpmsg.field) >> 6) & 3), (((ntpmsg.field) >> 3) & 7), ((ntpmsg.field) & 7), ntpmsg.stratum, exp2(ntpmsg.precision), ntpmsg.precision, root_distance, ntpmsg.stratum == 1 ? ntpmsg.refid : "n/a", origin - 2208988800ULL, receive - 2208988800ULL, trans - 2208988800ULL, dest - 2208988800ULL, offset, delay, m->packet_count, m->samples_jitter, spike ? " spike" : "", m->poll_interval_usec / ((usec_t) 1000000ULL)) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 535 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }) # 566 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; triple_timestamp_get(&dts); if (!spike) { dts.realtime = (usec_t) (dts.realtime + offset * ((usec_t) 1000000ULL)); r = manager_adjust_clock(m, offset, leap_sec); if (r < 0) ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 577, __func__); } while ( # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 577, __func__, "Failed to call clock_adjtime(): %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 577 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); (void) manager_save_time_and_rearm(m, dts.realtime); r = touch("/run/systemd/timesync/synchronized"); if (r < 0) ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 584, __func__); } while ( # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 584, __func__, "Failed to touch /run/systemd/timesync/synchronized, ignoring: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 584 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } m->ntpmsg = ntpmsg; m->origin_time = m->trans_time; m->dest_time = *recv_time; m->spike = spike; ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("interval/delta/delay/jitter/drift " "%" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "s/%+.3fs/%.3fs/%.3fs/%+" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "i" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "ppm%s", "%m"))), 0))) log_assert_failed("!strstr(\"interval/delta/delay/jitter/drift \" \"%\" \"ll\" \"u\" \"s/%+.3fs/%.3fs/%.3fs/%+\"\"ll\" \"i\"\"ppm%s\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 593, __func__); } while ( # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 593, __func__, "interval/delta/delay/jitter/drift " "%" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "s/%+.3fs/%.3fs/%.3fs/%+" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "i" # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" "ppm%s", m->poll_interval_usec / ((usec_t) 1000000ULL), offset, delay, m->samples_jitter, m->drift_freq / 65536, spike ? " (ignored)" : "") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 593 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }) ; if (sd_bus_is_ready(m->bus) > 0) (void) sd_bus_emit_properties_changed( m->bus, "/org/freedesktop/timesync1", "org.freedesktop.timesync1.Manager", "NTPMessage", # 603 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 603 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (!m->talking) { __attribute__((__cleanup__(freep))) char *pretty = # 606 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 606 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; m->talking = # 608 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 608 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; (void) server_address_pretty(m->current_server_address, &pretty); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Contacted time server %s (%s).", "%m"))), 0))) log_assert_failed("!strstr(\"Contacted time server %s (%s).\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 612, __func__); } while ( # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 612, __func__, "Contacted time server %s (%s).", strna(pretty), m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 612 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); (void) sd_notifyf( # 613 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 613 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , "STATUS=Contacted time server %s (%s).", strna(pretty), m->current_server_name->string); } if (!spike && !m->synchronized) { m->synchronized = # 617 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 617 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; log_struct_internal( # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , 0, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 619, __func__, "MESSAGE=%.0d" "Initial clock synchronization to %s.", (_log_message_dummy && printf("Initial clock synchronization to %s.", format_timestamp_style((char[(3U+1U+10U+1U+8U+1U+6U+1U+6U+1U)]){}, (3U+1U+10U+1U+8U+1U+6U+1U+6U+1U), dts.realtime, TIMESTAMP_US))), format_timestamp_style((char[(3U+1U+10U+1U+8U+1U+6U+1U+6U+1U)]){}, (3U+1U+10U+1U+8U+1U+6U+1U+6U+1U), dts.realtime, TIMESTAMP_US), "MESSAGE_ID=" "7c" "8a" "41" "f3" "7b" "76" "49" "41" "a0" "e1" "78" "0b" "1b" "e2" "f0" "37", "MONOTONIC_USEC=" "%" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , dts.monotonic, "REALTIME_USEC=" "%" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , dts.realtime, "BOOTTIME_USEC=" "%" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 "ll" "u" # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , dts.boottime, # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 619 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ; } r = manager_arm_timer(m, m->poll_interval_usec); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 630, __func__); } while ( # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 630, __func__, "Failed to rearm timer: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 630 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } static int manager_listen_setup(Manager *m) { union sockaddr_union addr = {}; int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 639, __func__); } while ( # 639 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 639 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (m->server_socket >= 0) return 0; do { if ((__builtin_expect(!!(!(!m->event_receive)), 0))) log_assert_failed("!m->event_receive", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 644, __func__); } while ( # 644 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 644 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m->current_server_address)), 0))) log_assert_failed("m->current_server_address", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 645, __func__); } while ( # 645 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 645 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); addr.sa.sa_family = m->current_server_address->sockaddr.sa.sa_family; m->server_socket = socket(addr.sa.sa_family, # 649 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 SOCK_DGRAM # 649 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 649 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 SOCK_CLOEXEC # 649 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , 0); if (m->server_socket < 0) return - # 651 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 651 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; r = bind(m->server_socket, &addr.sa, m->current_server_address->socklen); if (r < 0) return - # 655 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 655 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; r = setsockopt_int(m->server_socket, # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (sizeof(time_t) == sizeof(__kernel_long_t) ? 35 : 64) # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 657 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (r < 0) return r; if (addr.sa.sa_family == # 661 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 661 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) (void) setsockopt_int(m->server_socket, # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 IPPROTO_IP # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x10 # 662 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); return sd_event_add_io(m->event, &m->event_receive, m->server_socket, # 664 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 EPOLLIN # 664 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , manager_receive_response, m); } static void manager_listen_stop(Manager *m) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 668, __func__); } while ( # 668 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 668 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->event_receive = sd_event_source_unref(m->event_receive); m->server_socket = safe_close(m->server_socket); } static int manager_begin(Manager *m) { __attribute__((__cleanup__(freep))) char *pretty = # 675 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 675 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 678, __func__); } while ( # 678 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 678 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if (!(((__builtin_expect(!!(m->current_server_name), 1))) ? ( # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) : (log_assert_failed_return("m->current_server_name", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 679, __func__), # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ))) return (- # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 113 # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); } while ( # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 679 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if (!(((__builtin_expect(!!(m->current_server_address), 1))) ? ( # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) : (log_assert_failed_return("m->current_server_address", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 680, __func__), # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ))) return (- # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 113 # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); } while ( # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 680 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->talking = # 682 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 682 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; m->missed_replies = 2; if (m->poll_interval_usec == 0) m->poll_interval_usec = m->poll_interval_min_usec; server_address_pretty(m->current_server_address, &pretty); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Connecting to time server %s (%s).", "%m"))), 0))) log_assert_failed("!strstr(\"Connecting to time server %s (%s).\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 688, __func__); } while ( # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 688, __func__, "Connecting to time server %s (%s).", strna(pretty), m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 688 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); (void) sd_notifyf( # 689 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 689 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , "STATUS=Connecting to time server %s (%s).", strna(pretty), m->current_server_name->string); r = manager_clock_watch_setup(m); if (r < 0) return r; return manager_send_request(m); } void manager_set_server_name(Manager *m, ServerName *n) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 699, __func__); } while ( # 699 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 699 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (m->current_server_name == n) return; m->current_server_name = n; m->current_server_address = # 705 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 705 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; manager_disconnect(m); if (n) ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Selected server %s.", "%m"))), 0))) log_assert_failed("!strstr(\"Selected server %s.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 710, __func__); } while ( # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 710, __func__, "Selected server %s.", n->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 710 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } void manager_set_server_address(Manager *m, ServerAddress *a) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 714, __func__); } while ( # 714 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 714 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (m->current_server_address == a) return; m->current_server_address = a; if (a) m->current_server_name = a->name; manager_disconnect(m); if (a) { __attribute__((__cleanup__(freep))) char *pretty = # 728 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 728 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; server_address_pretty(a, &pretty); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Selected address %s of server %s.", "%m"))), 0))) log_assert_failed("!strstr(\"Selected address %s of server %s.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 730, __func__); } while ( # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 730, __func__, "Selected address %s of server %s.", strna(pretty), a->name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 730 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } } static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, Manager *m) { int r; do { if ((__builtin_expect(!!(!(q)), 0))) log_assert_failed("q", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 737, __func__); } while ( # 737 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 737 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 738, __func__); } while ( # 738 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 738 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(m->current_server_name)), 0))) log_assert_failed("m->current_server_name", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 739, __func__); } while ( # 739 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 739 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->resolve_query = sd_resolve_query_unref(m->resolve_query); if (ret != 0) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Failed to resolve %s: %s", "%m"))), 0))) log_assert_failed("!strstr(\"Failed to resolve %s: %s\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 744, __func__); } while ( # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 744, __func__, "Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret)) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 744 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } for (; ai; ai = ai->ai_next) { __attribute__((__cleanup__(freep))) char *pretty = # 751 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 751 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; ServerAddress *a; do { if ((__builtin_expect(!!(!(ai->ai_addr)), 0))) log_assert_failed("ai->ai_addr", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 754, __func__); } while ( # 754 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 754 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(ai->ai_addrlen >= # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 __builtin_offsetof ( # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" struct sockaddr # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 , # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" sa_data # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )), 0))) log_assert_failed("ai->ai_addrlen >= offsetof(struct sockaddr, sa_data)", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 755, __func__); } while ( # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 755 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (!({ # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _found = # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; static const typeof(+ai->ai_addr->sa_family) __assert_in_set[] __attribute__((__unused__)) = { # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 10 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" }; # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Static_assert # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ((__builtin_choose_expr( !__builtin_types_compatible_p(typeof(__assert_in_set), typeof(&*(__assert_in_set))), sizeof(__assert_in_set)/sizeof((__assert_in_set)[0]), ((void)0))) <= 20, "ELEMENTSOF(__assert_in_set) <= 20"); switch (ai->ai_addr->sa_family) { case # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : case # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 10 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : _found = # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 757 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; break; default: break; } _found; })) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Ignoring unsuitable address protocol for %s.", "%m"))), 0))) log_assert_failed("!strstr(\"Ignoring unsuitable address protocol for %s.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 758, __func__); } while ( # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 758, __func__, "Ignoring unsuitable address protocol for %s.", m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 758 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); continue; } r = server_address_new(m->current_server_name, &a, (const union sockaddr_union*) ai->ai_addr, ai->ai_addrlen); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 764, __func__); } while ( # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 764, __func__, "Failed to add server address: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 764 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); server_address_pretty(a, &pretty); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Resolved address %s for %s.", "%m"))), 0))) log_assert_failed("!strstr(\"Resolved address %s for %s.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 767, __func__); } while ( # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 767, __func__, "Resolved address %s for %s.", pretty, m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 767 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } if (!m->current_server_name->addresses) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Failed to find suitable address for host %s.", "%m"))), 0))) log_assert_failed("!strstr(\"Failed to find suitable address for host %s.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 771, __func__); } while ( # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 771, __func__, "Failed to find suitable address for host %s.", m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 771 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return manager_connect(m); } manager_set_server_address(m, m->current_server_name->addresses); return manager_begin(m); } static int manager_retry_connect(sd_event_source *source, usec_t usec, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_14 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_14)), 0))) log_assert_failed("__unique_prefix__expr_14", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 783, __func__); } while ( # 783 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 783 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_14; }); return manager_connect(m); } int manager_connect(Manager *m) { int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 791, __func__); } while ( # 791 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 791 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); manager_disconnect(m); m->event_retry = sd_event_source_unref(m->event_retry); if (!ratelimit_below(&m->ratelimit)) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Delaying attempts to contact servers.", "%m"))), 0))) log_assert_failed("!strstr(\"Delaying attempts to contact servers.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 797, __func__); } while ( # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 797, __func__, "Delaying attempts to contact servers.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 797 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); r = sd_event_add_time_relative(m->event, &m->event_retry, # 799 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 799 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , m->connection_retry_usec, 0, manager_retry_connect, m); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 802, __func__); } while ( # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 802, __func__, "Failed to create retry timer: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 802 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } if (m->current_server_address && m->current_server_address->addresses_next) manager_set_server_address(m, m->current_server_address->addresses_next); else { if (m->current_server_name && m->current_server_name->names_next) manager_set_server_name(m, m->current_server_name->names_next); else { ServerName *f; # 817 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 817 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" restart = # 817 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 817 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (!m->current_server_name || m->current_server_name->type == SERVER_LINK) { f = m->runtime_servers; if (!f) f = m->system_servers; if (!f) f = m->link_servers; } else { f = m->link_servers; if (f) restart = # 833 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 833 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; else { f = m->runtime_servers; if (!f) f = m->system_servers; } } if (!f) f = m->fallback_servers; if (!f) { manager_set_server_name(m, # 845 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 845 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("No server found.", "%m"))), 0))) log_assert_failed("!strstr(\"No server found.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 846, __func__); } while ( # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 846, __func__, "No server found.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 846 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } if (restart && !m->exhausted_servers && m->poll_interval_usec > 0) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Waiting after exhausting servers.", "%m"))), 0))) log_assert_failed("!strstr(\"Waiting after exhausting servers.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 851, __func__); } while ( # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 851, __func__, "Waiting after exhausting servers.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 851 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); r = sd_event_add_time_relative(m->event, &m->event_retry, # 852 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 852 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , m->poll_interval_usec, 0, manager_retry_connect, m); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 854, __func__); } while ( # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 854, __func__, "Failed to create retry timer: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 854 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); m->exhausted_servers = # 856 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 856 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (m->poll_interval_usec < m->poll_interval_max_usec) m->poll_interval_usec *= 2; return 0; } m->exhausted_servers = # 865 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 865 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; manager_set_server_name(m, f); } # 872 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 __res_init # 872 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" (); server_name_flush_addresses(m->current_server_name); ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Resolving %s...", "%m"))), 0))) log_assert_failed("!strstr(\"Resolving %s...\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 877, __func__); } while ( # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 877, __func__, "Resolving %s...", m->current_server_name->string) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 877 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); struct addrinfo hints = { .ai_flags = # 880 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0400 # 880 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" | # 880 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0x0020 # 880 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .ai_socktype = # 881 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 SOCK_DGRAM # 881 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .ai_family = socket_ipv6_is_supported() ? # 882 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 882 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" : # 882 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 882 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , }; r = ({ int (*_callback_)(sd_resolve_query*, int, const struct addrinfo*, typeof(m)) = manager_resolve_handler; void (*_destroy_)(typeof(m)) = # 885 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 885 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; resolve_getaddrinfo_with_destroy_callback( m->resolve, &m->resolve_query, m->current_server_name->string, "123", &hints, (sd_resolve_getaddrinfo_handler_t) _callback_, (sd_resolve_destroy_t) _destroy_, m); }); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 887, __func__); } while ( # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 887, __func__, "Failed to create resolver: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 887 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 1; } r = manager_begin(m); if (r < 0) return r; return 1; } void manager_disconnect(Manager *m) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 900, __func__); } while ( # 900 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 900 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m->resolve_query = sd_resolve_query_unref(m->resolve_query); m->event_timer = sd_event_source_unref(m->event_timer); manager_listen_stop(m); m->event_clock_watch = sd_event_source_disable_unref(m->event_clock_watch); m->event_timeout = sd_event_source_unref(m->event_timeout); (void) sd_notify( # 912 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 912 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , "STATUS=Idle."); } void manager_flush_server_names(Manager *m, ServerType t) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 916, __func__); } while ( # 916 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 916 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (t == SERVER_SYSTEM) while (m->system_servers) server_name_free(m->system_servers); if (t == SERVER_LINK) while (m->link_servers) server_name_free(m->link_servers); if (t == SERVER_FALLBACK) while (m->fallback_servers) server_name_free(m->fallback_servers); if (t == SERVER_RUNTIME) manager_flush_runtime_servers(m); } void manager_flush_runtime_servers(Manager *m) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 935, __func__); } while ( # 935 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 935 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); while (m->runtime_servers) server_name_free(m->runtime_servers); } Manager* manager_free(Manager *m) { if (!m) return # 943 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 943 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; manager_disconnect(m); manager_flush_server_names(m, SERVER_SYSTEM); manager_flush_server_names(m, SERVER_LINK); manager_flush_server_names(m, SERVER_RUNTIME); manager_flush_server_names(m, SERVER_FALLBACK); sd_event_source_unref(m->event_retry); sd_event_source_unref(m->network_event_source); sd_network_monitor_unref(m->network_monitor); sd_event_source_unref(m->event_save_time); sd_resolve_unref(m->resolve); sd_event_unref(m->event); sd_bus_flush_close_unref(m->bus); bus_verify_polkit_async_registry_free(m->polkit_registry); return ({ free(m); (typeof(m)) # 965 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 965 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); } static int manager_network_read_link_servers(Manager *m) { __attribute__((__cleanup__(strv_freep))) char **ntp = # 969 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 969 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; # 970 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 970 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" changed = # 970 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 970 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 973, __func__); } while ( # 973 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 973 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); r = sd_network_get_ntp(&ntp); if (r < 0 && r != - # 976 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 61 # 976 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) { if (r == - # 977 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 12 # 977 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) log_oom_internal( # 978 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 978 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 978, __func__); else ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 980, __func__); } while ( # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 980, __func__, "Failed to get link NTP servers: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 980 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); goto clear; } for (typeof(*(m->link_servers)) *__unique_prefix_n15, *n = (m->link_servers); n && (__unique_prefix_n15 = n->names_next, # 984 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 984 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); n = __unique_prefix_n15) n->marked = # 985 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 985 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; for (typeof(*(ntp)) *i, *__unique_prefix_i16 = (ntp); (i = __unique_prefix_i16) && *__unique_prefix_i16; __unique_prefix_i16++) { # 988 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 988 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" found = # 988 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 988 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; r = dns_name_is_valid_or_address(*i); if (r < 0) { ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 992, __func__); } while ( # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 992, __func__, "Failed to check validity of NTP server name or address '%s': %m", *i) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 992 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); goto clear; } else if (r == 0) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Invalid NTP server name or address, ignoring: %s", "%m"))), 0))) log_assert_failed("!strstr(\"Invalid NTP server name or address, ignoring: %s\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 995, __func__); } while ( # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 995, __func__, "Invalid NTP server name or address, ignoring: %s", *i) : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 995 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); continue; } for (typeof(*(m->link_servers)) *__unique_prefix_n17, *n = (m->link_servers); n && (__unique_prefix_n17 = n->names_next, # 999 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 999 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); n = __unique_prefix_n17) if ((strcmp((n->string),(*i)) == 0)) { n->marked = # 1001 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1001 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; found = # 1002 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1002 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; break; } if (!found) { r = server_name_new(m, # 1007 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1007 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , SERVER_LINK, *i); if (r < 0) { log_oom_internal( # 1009 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 1009 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1009, __func__); goto clear; } changed = # 1013 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1013 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; } } for (typeof(*(m->link_servers)) *__unique_prefix_n18, *n = (m->link_servers); n && (__unique_prefix_n18 = n->names_next, # 1017 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1017 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); n = __unique_prefix_n18) if (n->marked) { server_name_free(n); changed = # 1020 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1020 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; } return changed; clear: manager_flush_server_names(m, SERVER_LINK); return r; } # 1030 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 1030 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" manager_is_connected(Manager *m) { do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1031, __func__); } while ( # 1031 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1031 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); return m->server_socket >= 0 || m->resolve_query || m->event_timer; } static int manager_network_event_handler(sd_event_source *s, int fd, uint32_t revents, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_19 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_19)), 0))) log_assert_failed("__unique_prefix__expr_19", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1039, __func__); } while ( # 1039 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1039 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_19; }); # 1040 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 _Bool # 1040 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" changed, connected, online; int r; sd_network_monitor_flush(m->network_monitor); changed = manager_network_read_link_servers(m); online = network_is_online(); connected = manager_is_connected(m); if (connected && !online) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("No network connectivity, watching for changes.", "%m"))), 0))) log_assert_failed("!strstr(\"No network connectivity, watching for changes.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1055, __func__); } while ( # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1055, __func__, "No network connectivity, watching for changes.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1055 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); manager_disconnect(m); } else if ((!connected || changed) && online) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("Network configuration changed, trying to establish connection.", "%m"))), 0))) log_assert_failed("!strstr(\"Network configuration changed, trying to establish connection.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1059, __func__); } while ( # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1059, __func__, "Network configuration changed, trying to establish connection.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1059 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); if (m->current_server_address) r = manager_begin(m); else r = manager_connect(m); if (r < 0) return r; } return 0; } static int manager_network_monitor_listen(Manager *m) { int r, fd, events; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1075, __func__); } while ( # 1075 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1075 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); r = sd_network_monitor_new(&m->network_monitor, # 1077 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1077 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (r == - # 1078 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 1078 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) { ({ if (1) do { if ((__builtin_expect(!!(!(!strstr("systemd does not appear to be running, not listening for systemd-networkd events.", "%m"))), 0))) log_assert_failed("!strstr(\"systemd does not appear to be running, not listening for systemd-networkd events.\", \"%m\")", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1079, __func__); } while ( # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) ({ int _level = ( # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 6 # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (0); _e = (log_get_max_level() >= # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1079, __func__, "systemd does not appear to be running, not listening for systemd-networkd events.") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1079 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); return 0; } if (r < 0) return r; fd = sd_network_monitor_get_fd(m->network_monitor); if (fd < 0) return fd; events = sd_network_monitor_get_events(m->network_monitor); if (events < 0) return events; r = sd_event_add_io(m->event, &m->network_event_source, fd, events, manager_network_event_handler, m); if (r < 0) return r; return 0; } int manager_new(Manager **ret) { __attribute__((__cleanup__(manager_freep))) Manager *m = # 1101 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1101 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; int r; do { if ((__builtin_expect(!!(!(ret)), 0))) log_assert_failed("ret", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1104, __func__); } while ( # 1104 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1104 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); m = ((Manager*) malloc_multiply(sizeof(Manager), (1))); if (!m) return - # 1108 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 12 # 1108 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; *m = (Manager) { .root_distance_max_usec = (5 * ((usec_t) 1000000ULL)), .poll_interval_min_usec = (32 * ((usec_t) 1000000ULL)), .poll_interval_max_usec = (2048 * ((usec_t) 1000000ULL)), .connection_retry_usec = (30 * ((usec_t) 1000000ULL)), .server_socket = - # 1117 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 9 # 1117 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , .ratelimit = (const RateLimit) { (10*((usec_t) 1000000ULL)), 10 }, .save_time_interval_usec = (60 * ((usec_t) 1000000ULL)), }; r = sd_event_default(&m->event); if (r < 0) return r; (void) sd_event_add_signal(m->event, # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 15 # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1131 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) sd_event_add_signal(m->event, # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1132 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); (void) sd_event_add_signal(m->event, # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (__libc_current_sigrtmin ()) # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" +18, sigrtmin18_handler, # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1133 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); r = sd_event_add_memory_pressure(m->event, # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1135 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (r < 0) ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1137, __func__); } while ( # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1137, __func__, "Failed allocate memory pressure event source, ignoring: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1137 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); (void) sd_event_set_watchdog(m->event, # 1139 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1139 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); r = access("/run/systemd/timesync/synchronized", # 1142 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1142 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (r < 0 && # 1143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 1143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" != # 1143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 2 # 1143 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ({ int _error = ( # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (*__errno_location ()) # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1144, __func__); } while ( # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1144, __func__, "Failed to determine whether /run/systemd/timesync/synchronized exists, ignoring: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1144 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); m->synchronized = r >= 0; r = sd_resolve_default(&m->resolve); if (r < 0) return r; r = sd_resolve_attach_event(m->resolve, m->event, 0); if (r < 0) return r; r = manager_network_monitor_listen(m); if (r < 0) return r; (void) manager_network_read_link_servers(m); *ret = ({ typeof(m) *_pvar_ = &(m); typeof(m) _var_ = *_pvar_; typeof(m) _nullvalue_ = # 1161 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ((void *)0) # 1161 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; *_pvar_ = _nullvalue_; _var_; }); return 0; } static int manager_save_time_handler(sd_event_source *s, uint64_t usec, void *userdata) { Manager *m = ({ typeof(userdata) __unique_prefix__expr_20 = (userdata); do { if ((__builtin_expect(!!(!(__unique_prefix__expr_20)), 0))) log_assert_failed("__unique_prefix__expr_20", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1167, __func__); } while ( # 1167 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1167 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); __unique_prefix__expr_20; }); (void) manager_save_time_and_rearm(m, ((usec_t) # 1169 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (18446744073709551615ULL) # 1169 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )); return 0; } int manager_setup_save_time_event(Manager *m) { int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1176, __func__); } while ( # 1176 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1176 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); do { if ((__builtin_expect(!!(!(!m->event_save_time)), 0))) log_assert_failed("!m->event_save_time", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1177, __func__); } while ( # 1177 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1177 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); if (m->save_time_interval_usec == ((usec_t) # 1179 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (18446744073709551615ULL) # 1179 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) return 0; r = sd_event_add_time_relative( m->event, &m->event_save_time, # 1185 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 1185 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , m->save_time_interval_usec, 10 * ((usec_t) 1000000ULL), manager_save_time_handler, m); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1190, __func__); } while ( # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1190, __func__, "Failed to add save time event: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1190 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); (void) sd_event_source_set_description(m->event_save_time, "save-time"); return 0; } static int manager_save_time_and_rearm(Manager *m, usec_t t) { int r; do { if ((__builtin_expect(!!(!(m)), 0))) log_assert_failed("m", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1200, __func__); } while ( # 1200 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1200 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); r = touch_file("/var/lib/systemd/timesync" "/clock", # 1206 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1206 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" , t, ((uid_t) -1), ((gid_t) -1), ((mode_t) -1)); if (r < 0) ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1208, __func__); } while ( # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 7 # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1208, __func__, "Failed to update " "/var/lib/systemd/timesync" "/clock" ", ignoring: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1208 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); m->save_on_exit = # 1210 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 1 # 1210 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; if (m->save_time_interval_usec != ((usec_t) # 1212 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (18446744073709551615ULL) # 1212 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" )) { r = sd_event_source_set_time_relative(m->event_save_time, m->save_time_interval_usec); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1215, __func__); } while ( # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1215, __func__, "Failed to rearm save time event: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1215 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); r = sd_event_source_set_enabled(m->event_save_time, SD_EVENT_ONESHOT); if (r < 0) return ({ int _error = (r); do { if ((__builtin_expect(!!(!((_error) != 0)), 0))) log_assert_failed("(_error) != 0", (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1219, __func__); } while ( # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 0 # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ); ({ int _level = ( # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 3 # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ), _e = (_error); _e = (log_get_max_level() >= # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 (( # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" _level # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 ) & 0x07) # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ) ? log_internal(_level, _e, (&"../systemd-stable-254.8/src/timesync/timesyncd-manager.c"[(sizeof("""../systemd-stable-254.8""") - sizeof(typeof("../systemd-stable-254.8"[0]))) + 1]), 1219, __func__, "Failed to enable save time event: %m") : -(abs(_e) & ~(1 << 30)); _e < 0 ? _e : - # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" 3 4 86 # 1219 "../systemd-stable-254.8/src/timesync/timesyncd-manager.c" ; }); }); } return 0; }