Home
last modified time | relevance | path

Searched refs:s64 (Results 1 – 25 of 98) sorted by relevance

1234

/include/linux/
Dpercpu_counter.h22 s64 count;
31 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp,
42 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
43 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
45 s64 __percpu_counter_sum(struct percpu_counter *fbc);
46 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
49 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
54 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
59 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
61 s64 ret = __percpu_counter_sum(fbc); in percpu_counter_sum_positive()
[all …]
Dktime.h29 typedef s64 ktime_t;
38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set()
43 return secs * NSEC_PER_SEC + (s64)nsecs; in ktime_set()
80 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns()
129 extern s64 __ktime_divns(const ktime_t kt, s64 div);
130 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns()
138 s64 ns = kt; in ktime_divns()
148 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns()
159 static inline s64 ktime_to_us(const ktime_t kt) in ktime_to_us()
164 static inline s64 ktime_to_ms(const ktime_t kt) in ktime_to_ms()
[all …]
Dmath64.h40 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
79 static inline s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
98 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder);
110 extern s64 div64_s64(s64 dividend, s64 divisor);
138 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64()
239 static inline u64 mul_s64_u64_shr(s64 a, u64 b, unsigned int shift) in mul_s64_u64_shr()
250 ret = -((s64) ret); in mul_s64_u64_shr()
315 s64 __x = (dividend); \
Dtime64.h24 #define TIME64_MAX ((s64)~((u64)1 << 63))
27 #define KTIME_MAX ((s64)~((u64)1 << 63))
63 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
127 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns()
136 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec64_to_ns()
145 extern struct timespec64 ns_to_timespec64(const s64 nsec);
Dlimits.h23 #define S64_MAX ((s64)(U64_MAX >> 1))
24 #define S64_MIN ((s64)(-S64_MAX - 1))
Dvmw_vmci_api.h60 s64 vmci_qpair_produce_free_space(const struct vmci_qp *qpair);
61 s64 vmci_qpair_produce_buf_ready(const struct vmci_qp *qpair);
62 s64 vmci_qpair_consume_free_space(const struct vmci_qp *qpair);
63 s64 vmci_qpair_consume_buf_ready(const struct vmci_qp *qpair);
Dlockdep_types.h141 s64 min;
142 s64 max;
143 s64 total;
Dtimex.h130 #define PPM_SCALE ((s64)NSEC_PER_USEC << (NTP_SCALE_SHIFT - SHIFT_USEC))
137 #define MAXFREQ_SCALED ((s64)MAXFREQ << NTP_SCALE_SHIFT)
Dtimekeeper_internal.h111 s64 xtime_remainder;
122 s64 ntp_error;
/include/asm-generic/
Datomic64.h13 s64 counter;
18 extern s64 generic_atomic64_read(const atomic64_t *v);
19 extern void generic_atomic64_set(atomic64_t *v, s64 i);
22 extern void generic_atomic64_##op(s64 a, atomic64_t *v);
25 extern s64 generic_atomic64_##op##_return(s64 a, atomic64_t *v);
28 extern s64 generic_atomic64_fetch_##op(s64 a, atomic64_t *v);
47 extern s64 generic_atomic64_dec_if_positive(atomic64_t *v);
48 extern s64 generic_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n);
49 extern s64 generic_atomic64_xchg(atomic64_t *v, s64 new);
50 extern s64 generic_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u);
Dcompat.h12 typedef s64 compat_loff_t;
37 typedef s64 __attribute__((aligned(4))) compat_s64;
40 typedef s64 compat_s64;
/include/linux/platform_data/
Dcros_ec_sensorhub.h37 s64 timestamp);
54 s64 timestamp;
59 s64 offset;
60 s64 last;
82 s64 x_offset, y_offset;
83 s64 x_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE];
84 s64 y_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE];
85 s64 m_history[CROS_EC_SENSORHUB_TS_HISTORY_SIZE];
88 s64 temp_buf[CROS_EC_SENSORHUB_TS_HISTORY_SIZE];
90 s64 median_m;
[all …]
/include/drm/
Ddrm_fixed.h79 static inline s64 drm_int2fixp(int a) in drm_int2fixp()
81 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp()
84 static inline int drm_fixp2int(s64 a) in drm_fixp2int()
86 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int()
89 static inline int drm_fixp2int_ceil(s64 a) in drm_fixp2int_ceil()
97 static inline unsigned drm_fixp_msbset(s64 a) in drm_fixp_msbset()
108 static inline s64 drm_fixp_mul(s64 a, s64 b) in drm_fixp_mul()
111 s64 result; in drm_fixp_mul()
131 static inline s64 drm_fixp_div(s64 a, s64 b) in drm_fixp_div()
134 s64 result; in drm_fixp_div()
[all …]
/include/linux/atomic/
Datomic-arch-fallback.h1272 static __always_inline s64
1275 s64 ret; in arch_atomic64_read_acquire()
1291 arch_atomic64_set_release(atomic64_t *v, s64 i) in arch_atomic64_set_release()
1310 static __always_inline s64
1311 arch_atomic64_add_return_acquire(s64 i, atomic64_t *v) in arch_atomic64_add_return_acquire()
1313 s64 ret = arch_atomic64_add_return_relaxed(i, v); in arch_atomic64_add_return_acquire()
1321 static __always_inline s64
1322 arch_atomic64_add_return_release(s64 i, atomic64_t *v) in arch_atomic64_add_return_release()
1331 static __always_inline s64
1332 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
[all …]
Datomic-instrumented.h602 static __always_inline s64
609 static __always_inline s64
617 atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
624 atomic64_set_release(atomic64_t *v, s64 i) in atomic64_set_release()
631 atomic64_add(s64 i, atomic64_t *v) in atomic64_add()
637 static __always_inline s64
638 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
644 static __always_inline s64
645 atomic64_add_return_acquire(s64 i, atomic64_t *v) in atomic64_add_return_acquire()
651 static __always_inline s64
[all …]
/include/linux/dsa/
Dsja1105.h81 static inline s64 ns_to_sja1105_ticks(s64 ns) in ns_to_sja1105_ticks()
86 static inline s64 sja1105_ticks_to_ns(s64 ticks) in sja1105_ticks_to_ns()
/include/media/
Dv4l2-ctrls.h65 s64 *p_s64;
276 s64 minimum, maximum, default_value;
287 const s64 *qmenu_int;
433 s64 min;
434 s64 max;
436 s64 def;
443 const s64 *qmenu_int;
476 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags);
646 u32 id, s64 min, s64 max, u64 step,
647 s64 def);
[all …]
/include/net/tc_act/
Dtc_police.h10 s64 tcfp_burst;
12 s64 tcfp_mtu_ptoks;
13 s64 tcfp_pkt_burst;
28 s64 tcfp_toks;
29 s64 tcfp_ptoks;
30 s64 tcfp_pkttoks;
31 s64 tcfp_t_c;
/include/media/i2c/
Dmt9v032.h8 const s64 *link_freqs;
9 s64 link_def_freq;
Dov2659.h31 s64 link_frequency;
/include/trace/events/
Dthermal_power_allocator.h60 s64 p, s64 i, s64 d, s32 output),
66 __field(s64, p )
67 __field(s64, i )
68 __field(s64, d )
Dufs.h153 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us,
161 __field(s64, time_us)
178 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us,
183 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us,
188 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us,
193 TP_PROTO(const char *dev_name, int err, s64 usecs,
199 __field(s64, usecs)
225 TP_PROTO(const char *dev_name, int err, s64 usecs,
230 TP_PROTO(const char *dev_name, int err, s64 usecs,
235 TP_PROTO(const char *dev_name, int err, s64 usecs,
[all …]
Dnmi.h13 TP_PROTO(void *handler, s64 delta_ns, int handled),
19 __field( s64, delta_ns)
Dwbt.h23 __field(s64, rmean)
26 __field(s64, rnr_samples)
27 __field(s64, rtime)
28 __field(s64, wmean)
31 __field(s64, wnr_samples)
32 __field(s64, wtime)
Dalarmtimer.h30 __field(s64, expires)
54 __field(s64, expires)
55 __field(s64, now)

1234