Home
last modified time | relevance | path

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

12345678910>>...39

/kernel/linux/linux-5.10/arch/x86/include/asm/
Datomic64_32.h12 s64 __aligned(8) counter;
74 static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in arch_atomic64_cmpxchg()
88 static inline s64 arch_atomic64_xchg(atomic64_t *v, s64 n) in arch_atomic64_xchg()
90 s64 o; in arch_atomic64_xchg()
107 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
122 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
124 s64 r; in arch_atomic64_read()
136 static inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
148 static inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v) in arch_atomic64_sub_return()
157 static inline s64 arch_atomic64_inc_return(atomic64_t *v) in arch_atomic64_inc_return()
[all …]
Datomic64_64.h20 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
32 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
44 static __always_inline void arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
58 static inline void arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub()
74 static inline bool arch_atomic64_sub_and_test(s64 i, atomic64_t *v) in arch_atomic64_sub_and_test()
145 static inline bool arch_atomic64_add_negative(s64 i, atomic64_t *v) in arch_atomic64_add_negative()
158 static __always_inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
164 static inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v) in arch_atomic64_sub_return()
170 static inline s64 arch_atomic64_fetch_add(s64 i, atomic64_t *v) in arch_atomic64_fetch_add()
176 static inline s64 arch_atomic64_fetch_sub(s64 i, atomic64_t *v) in arch_atomic64_fetch_sub()
[all …]
/kernel/linux/linux-5.10/arch/mips/fw/cfe/
Dcfe_api_int.h43 typedef s64 cfe_xptr_t;
58 s64 enum_idx; /* 0-based enumeration index */
60 s64 name_length; /* size of name buffer */
62 s64 val_length; /* size of value string buffer */
75 s64 ticks; /* current time in ticks */
79 s64 status;
83 s64 mi_idx; /* 0-based enumeration index */
84 s64 mi_type; /* type of memory block */
90 s64 fwi_version; /* major, minor, eco version */
91 s64 fwi_totalmem; /* total installed mem */
[all …]
/kernel/linux/linux-5.10/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 …]
Datomic-arch-fallback.h1188 static __always_inline s64
1198 arch_atomic64_set_release(atomic64_t *v, s64 i) in arch_atomic64_set_release()
1212 static __always_inline s64
1213 arch_atomic64_add_return_acquire(s64 i, atomic64_t *v) in arch_atomic64_add_return_acquire()
1215 s64 ret = arch_atomic64_add_return_relaxed(i, v); in arch_atomic64_add_return_acquire()
1223 static __always_inline s64
1224 arch_atomic64_add_return_release(s64 i, atomic64_t *v) in arch_atomic64_add_return_release()
1233 static __always_inline s64
1234 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
1236 s64 ret; in arch_atomic64_add_return()
[all …]
Datomic-fallback.h1308 static __always_inline s64
1321 atomic64_set_release(atomic64_t *v, s64 i) in atomic64_set_release()
1342 static __always_inline s64
1343 atomic64_add_return_acquire(s64 i, atomic64_t *v) in atomic64_add_return_acquire()
1345 s64 ret = atomic64_add_return_relaxed(i, v); in atomic64_add_return_acquire()
1353 static __always_inline s64
1354 atomic64_add_return_release(s64 i, atomic64_t *v) in atomic64_add_return_release()
1363 static __always_inline s64
1364 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
1366 s64 ret; in atomic64_add_return()
[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 …]
/kernel/linux/linux-5.10/include/asm-generic/
Datomic64.h13 s64 counter;
18 extern s64 atomic64_read(const atomic64_t *v);
19 extern void atomic64_set(atomic64_t *v, s64 i);
24 extern void atomic64_##op(s64 a, atomic64_t *v);
27 extern s64 atomic64_##op##_return(s64 a, atomic64_t *v);
30 extern s64 atomic64_fetch_##op(s64 a, atomic64_t *v);
49 extern s64 atomic64_dec_if_positive(atomic64_t *v);
51 extern s64 atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n);
52 extern s64 atomic64_xchg(atomic64_t *v, s64 new);
53 extern s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u);
Datomic-instrumented.h834 static __always_inline s64
843 static __always_inline s64
853 atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
862 atomic64_set_release(atomic64_t *v, s64 i) in atomic64_set_release()
871 atomic64_add(s64 i, atomic64_t *v) in atomic64_add()
879 static __always_inline s64
880 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
889 static __always_inline s64
890 atomic64_add_return_acquire(s64 i, atomic64_t *v) in atomic64_add_return_acquire()
899 static __always_inline s64
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_sensorhub_trace.h20 TP_PROTO(u32 ec_sample_timestamp, u32 ec_fifo_timestamp, s64 fifo_timestamp,
21 s64 current_timestamp, s64 current_time),
27 __field(s64, fifo_timestamp)
28 __field(s64, current_timestamp)
29 __field(s64, current_time)
30 __field(s64, delta)
51 TP_PROTO(u32 ec_sensor_num, u32 ec_fifo_timestamp, s64 fifo_timestamp,
52 s64 current_timestamp, s64 current_time),
57 __field(s64, fifo_timestamp)
58 __field(s64, current_timestamp)
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/lib/
Datomic64.c45 s64 atomic64_read(const atomic64_t *v) in atomic64_read()
49 s64 val; in atomic64_read()
58 void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
70 void atomic64_##op(s64 a, atomic64_t *v) \
82 s64 atomic64_##op##_return(s64 a, atomic64_t *v) \
86 s64 val; \
96 s64 atomic64_fetch_##op(s64 a, atomic64_t *v) \
100 s64 val; \
133 s64 atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
137 s64 val; in atomic64_dec_if_positive()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_dmap.h41 #define MAXL0SIZE ((s64)1 << L2MAXL0SIZE)
42 #define MAXL1SIZE ((s64)1 << L2MAXL1SIZE)
43 #define MAXL2SIZE ((s64)1 << L2MAXL2SIZE)
127 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
211 s64 dn_mapsize; /* number of blocks in aggregate */
212 s64 dn_nfree; /* num free blks in aggregate map */
223 s64 dn_agfree[MAXAG]; /* per AG free count */
224 s64 dn_agsize; /* num of blks per alloc group */
272 (((b) & (((s64)1 << ((m) + L2LPERCTL)) - 1)) >> (m))
284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks);
[all …]
Djfs_xtree.h42 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2))
91 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
92 int *pflag, s64 * paddr, int *plen, int flag);
95 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
96 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
100 s64 xoff, int xlen, s64 xaddr, int flag);
103 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
105 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
106 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
108 xad_t * oxad, s64 nxaddr, int xtype);
[all …]
Djfs_extent.c18 static int extBalloc(struct inode *, s64, s64 *, s64 *);
20 static int extBrealloc(struct inode *, s64, s64, s64 *, s64 *);
22 static s64 extRoundDown(s64 nb);
73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc()
76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc()
133 dbFree(ip, nxaddr, (s64) nxlen); in extAlloc()
202 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc()
205 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc()
206 s64 ntail, nextend, ninsert; in extRealloc()
249 dbFree(ip, nxaddr, (s64) nxlen); in extRealloc()
[all …]
/kernel/linux/linux-5.10/arch/arc/include/asm/
Datomic.h218 s64 __aligned(8) counter;
223 static inline s64 atomic64_read(const atomic64_t *v)
225 s64 val;
235 static inline void atomic64_set(atomic64_t *v, s64 a)
256 static inline void atomic64_##op(s64 a, atomic64_t *v) \
258 s64 val; \
273 static inline s64 atomic64_##op##_return(s64 a, atomic64_t *v) \
275 s64 val; \
296 static inline s64 atomic64_fetch_##op(s64 a, atomic64_t *v) \
298 s64 val, orig; \
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dbitmap.h18 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
19 const s64 count, const u8 value, const bool is_rollback);
34 const s64 start_bit, const s64 count, const u8 value) in ntfs_bitmap_set_bits_in_run()
51 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_set_run()
52 const s64 count) in ntfs_bitmap_set_run()
68 static inline int ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_clear_run()
69 const s64 count) in ntfs_bitmap_clear_run()
83 static inline int ntfs_bitmap_set_bit(struct inode *vi, const s64 bit) in ntfs_bitmap_set_bit()
97 static inline int ntfs_bitmap_clear_bit(struct inode *vi, const s64 bit) in ntfs_bitmap_clear_bit()
Dattrib.h65 const s64 size, const s64 initialized_size);
67 static inline s64 ntfs_attr_size(const ATTR_RECORD *a) in ntfs_attr_size()
70 return (s64)le32_to_cpu(a->data.resident.value_length); in ntfs_attr_size()
82 const ATTR_TYPE type, const s64 size);
94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
95 const s64 new_data_size, const s64 data_start);
97 extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_ptp.h16 static inline s64 ns_to_sja1105_ticks(s64 ns) in ns_to_sja1105_ticks()
21 static inline s64 sja1105_ticks_to_ns(s64 ticks) in sja1105_ticks_to_ns()
39 static inline s64 future_base_time(s64 base_time, s64 cycle_time, s64 now) in future_base_time()
41 s64 a, b, n; in future_base_time()
56 static inline s64 ns_to_sja1105_delta(s64 ns) in ns_to_sja1105_delta()
61 static inline s64 sja1105_delta_to_ns(s64 delta) in sja1105_delta_to_ns()
120 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
161 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) in __sja1105_ptp_adjtime()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Datomic.h89 static inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
91 s64 c; in atomic64_read()
99 static inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
106 static inline s64 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
111 static inline s64 atomic64_fetch_add(s64 i, atomic64_t *v) in atomic64_fetch_add()
116 static inline void atomic64_add(s64 i, atomic64_t *v) in atomic64_add()
133 static inline s64 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg()
139 static inline void atomic64_##op(s64 i, atomic64_t *v) \
143 static inline long atomic64_fetch_##op(s64 i, atomic64_t *v) \
154 #define atomic64_sub_return(_i, _v) atomic64_add_return(-(s64)(_i), _v)
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Datomic.h247 s64 counter;
253 static inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
255 s64 result; in atomic64_read()
266 static inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
275 static inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
277 s64 result; in atomic64_read()
288 static inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
290 s64 tmp; in atomic64_set()
305 static inline void atomic64_##op(s64 i, atomic64_t *v) \
307 s64 result; \
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Datomic.h315 static __inline__ s64 atomic64_read(const atomic64_t *v) in atomic64_read()
317 s64 t; in atomic64_read()
324 static __inline__ void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
330 static __inline__ void atomic64_##op(s64 a, atomic64_t *v) \
332 s64 t; \
345 static inline s64 \
346 atomic64_##op##_return_relaxed(s64 a, atomic64_t *v) \
348 s64 t; \
363 static inline s64 \
364 atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-call.c15 static void __trace_opal_entry(s64 a0, s64 a1, s64 a2, s64 a3, in __trace_opal_entry()
16 s64 a4, s64 a5, s64 a6, s64 a7, in __trace_opal_entry()
68 static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3, in __opal_call_trace()
69 s64 a4, s64 a5, s64 a6, s64 a7, in __opal_call_trace()
72 s64 ret; in __opal_call_trace()
85 static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3, in __opal_call_trace()
86 s64 a4, s64 a5, s64 a6, s64 a7, in __opal_call_trace()
/kernel/linux/linux-5.10/include/media/
Dv4l2-ctrls.h65 s64 *p_s64;
266 s64 minimum, maximum, default_value;
277 const s64 *qmenu_int;
417 s64 min;
418 s64 max;
420 s64 def;
427 const s64 *qmenu_int;
458 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags);
628 u32 id, s64 min, s64 max, u64 step,
629 s64 def);
[all …]

12345678910>>...39