Home
last modified time | relevance | path

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

12345678910>>...49

/openbmc/linux/arch/x86/include/asm/
H A Datomic64_64.h77 static __always_inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
83 static __always_inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v) in arch_atomic64_sub_return()
89 static __always_inline s64 arch_atomic64_fetch_add(s64 i, atomic64_t *v) in arch_atomic64_fetch_add()
95 static __always_inline s64 arch_atomic64_fetch_sub(s64 i, atomic64_t *v) in arch_atomic64_fetch_sub()
101 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg()
107 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg()
113 static __always_inline s64 arch_atomic64_xchg(atomic64_t *v, s64 new) in arch_atomic64_xchg()
127 static __always_inline s64 arch_atomic64_fetch_and(s64 i, atomic64_t *v) in arch_atomic64_fetch_and()
129 s64 val = arch_atomic64_read(v); in arch_atomic64_fetch_and()
145 static __always_inline s64 arch_atomic64_fetch_or(s64 i, atomic64_t *v) in arch_atomic64_fetch_or()
[all …]
H A Datomic64_32.h64 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in arch_atomic64_cmpxchg()
72 s64 o; in arch_atomic64_xchg()
93 s64 r; in arch_atomic64_read()
118 s64 a; in arch_atomic64_inc_return()
127 s64 a; in arch_atomic64_dec_return()
186 s64 r; in arch_atomic64_dec_if_positive()
198 s64 old, c = 0; in arch_atomic64_and()
206 s64 old, c = 0; in arch_atomic64_fetch_and()
217 s64 old, c = 0; in arch_atomic64_or()
225 s64 old, c = 0; in arch_atomic64_fetch_or()
[all …]
/openbmc/linux/include/linux/
H A Dpercpu_counter.h24 s64 count;
55 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
58 s64 __percpu_counter_sum(struct percpu_counter *fbc);
83 percpu_counter_add_local(struct percpu_counter *fbc, s64 amount) in percpu_counter_add_local()
90 s64 ret = __percpu_counter_sum(fbc); in percpu_counter_sum_positive()
94 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
99 static inline s64 percpu_counter_read(struct percpu_counter *fbc) in percpu_counter_read()
112 s64 ret = READ_ONCE(fbc->count); in percpu_counter_read_positive()
127 s64 count;
131 s64 amount, gfp_t gfp, in percpu_counter_init_many()
[all …]
H A 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 …]
/openbmc/linux/arch/mips/fw/cfe/
H A Dcfe_api_int.h43 typedef s64 cfe_xptr_t;
60 s64 name_length; /* size of name buffer */
75 s64 ticks; /* current time in ticks */
79 s64 status;
84 s64 mi_type; /* type of memory block */
92 s64 fwi_flags; /* various flags */
93 s64 fwi_boardid; /* board ID */
97 s64 fwi_reserved1;
98 s64 fwi_reserved2;
99 s64 fwi_reserved3;
[all …]
/openbmc/linux/arch/arc/include/asm/
H A Datomic64-arcv2.h19 s64 val; in arch_atomic64_read()
52 s64 val; \
69 s64 val; \
140 static inline s64 in ATOMIC64_OPS()
141 arch_atomic64_cmpxchg(atomic64_t *ptr, s64 expected, s64 new) in ATOMIC64_OPS()
143 s64 prev; in ATOMIC64_OPS()
164 static inline s64 arch_atomic64_xchg(atomic64_t *ptr, s64 new) in arch_atomic64_xchg()
166 s64 prev; in arch_atomic64_xchg()
187 s64 val; in arch_atomic64_dec_if_positive()
209 static inline s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub_trace.h21 s64 current_timestamp, s64 current_time),
29 __field(s64, current_time)
30 __field(s64, delta)
52 s64 current_timestamp, s64 current_time),
60 __field(s64, delta)
81 TP_PROTO(struct cros_ec_sensors_ts_filter_state *state, s64 dx, s64 dy),
84 __field(s64, dx)
85 __field(s64, dy)
86 __field(s64, median_m)
89 __field(s64, x)
[all …]
/openbmc/linux/include/asm-generic/
H A 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);
/openbmc/linux/include/drm/
H A Ddrm_fixed.h80 static inline s64 drm_int2fixp(int a) in drm_int2fixp()
82 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp()
87 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int()
114 static inline s64 drm_fixp_mul(s64 a, s64 b) in drm_fixp_mul()
117 s64 result; in drm_fixp_mul()
137 static inline s64 drm_fixp_div(s64 a, s64 b) in drm_fixp_div()
140 s64 result; in drm_fixp_div()
155 static inline s64 drm_fixp_from_fraction(s64 a, s64 b) in drm_fixp_from_fraction()
157 s64 res; in drm_fixp_from_fraction()
188 res = (s64) res_abs; in drm_fixp_from_fraction()
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h37 s64 timestamp);
54 s64 timestamp;
59 s64 offset;
60 s64 last;
82 s64 x_offset, y_offset;
90 s64 median_m;
91 s64 median_error;
107 s64 penul_ts;
109 s64 last_ts;
111 s64 newest_sensor_event;
[all …]
/openbmc/linux/lib/
H A Datomic64.c49 s64 val; in generic_atomic64_read()
82 s64 generic_atomic64_##op##_return(s64 a, atomic64_t *v) \
86 s64 val; \
96 s64 generic_atomic64_fetch_##op(s64 a, atomic64_t *v) \
135 s64 val; in generic_atomic64_dec_if_positive()
146 s64 generic_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in generic_atomic64_cmpxchg()
150 s64 val; in generic_atomic64_cmpxchg()
161 s64 generic_atomic64_xchg(atomic64_t *v, s64 new) in generic_atomic64_xchg()
165 s64 val; in generic_atomic64_xchg()
175 s64 generic_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in generic_atomic64_fetch_add_unless()
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_dmap.h41 #define MAXL0SIZE ((s64)1 << L2MAXL0SIZE)
42 #define MAXL1SIZE ((s64)1 << L2MAXL1SIZE)
43 #define MAXL2SIZE ((s64)1 << L2MAXL2SIZE)
223 s64 dn_agfree[MAXAG]; /* per AG free count */
284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks);
287 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
291 extern int dbAlloc(struct inode *ipbmap, s64 hint, s64 nblocks, s64 * results);
294 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results);
297 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks);
298 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
[all …]
H A Djfs_xtree.h42 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2))
100 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
101 int *pflag, s64 * paddr, int *plen, int flag);
104 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
105 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
108 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
109 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
111 struct inode *ip, int xflag, s64 xoff, int maxblocks,
112 int *xlenp, s64 * xaddrp, int flag);
H A Djfs_extent.c18 static int extBalloc(struct inode *, s64, s64 *, s64 *);
19 static s64 extRoundDown(s64 nb);
70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc()
73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc()
130 dbFree(ip, nxaddr, (s64) nxlen); in extAlloc()
196 s64 prev; in extHint()
198 s64 xaddr; in extHint()
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc()
303 s64 nb, nblks, daddr, max; in extBalloc()
319 max = (s64) 1 << bmp->db_maxfreebud; in extBalloc()
[all …]
/openbmc/linux/include/linux/atomic/
H A Datomic-arch-fallback.h2575 s64 ret; in raw_atomic64_read_acquire()
2665 s64 ret; in raw_atomic64_add_return()
2768 s64 ret; in raw_atomic64_fetch_add()
2888 s64 ret; in raw_atomic64_sub_return()
2991 s64 ret; in raw_atomic64_fetch_sub()
3113 s64 ret; in raw_atomic64_inc_return()
3212 s64 ret; in raw_atomic64_fetch_inc()
3331 s64 ret; in raw_atomic64_dec_return()
3430 s64 ret; in raw_atomic64_fetch_dec()
3547 s64 ret; in raw_atomic64_fetch_and()
[all …]
H A Datomic-instrumented.h1593 static __always_inline s64
2755 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg()
2775 atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_acquire()
2794 atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_release()
2814 atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new) in atomic64_cmpxchg_relaxed()
2834 atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg()
2856 atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_acquire()
2877 atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_release()
2899 atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new) in atomic64_try_cmpxchg_relaxed()
3048 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_fetch_add_unless()
[all …]
/openbmc/linux/fs/ntfs/
H A 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()
H A 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,
/openbmc/linux/arch/arm/include/asm/
H A Datomic.h254 s64 counter;
262 s64 result; in arch_atomic64_read()
284 s64 result; in arch_atomic64_read()
297 s64 tmp; in arch_atomic64_set()
314 s64 result; \
334 s64 result; \
411 static inline s64 arch_atomic64_cmpxchg_relaxed(atomic64_t *ptr, s64 old, s64 new) in ATOMIC64_OPS()
413 s64 oldval; in ATOMIC64_OPS()
436 s64 result; in arch_atomic64_xchg_relaxed()
456 s64 result; in arch_atomic64_dec_if_positive()
[all …]
/openbmc/linux/arch/x86/platform/uv/
H A Dbios_uv.c27 s64 ret; in __uv_bios_call()
43 s64 ret; in uv_bios_call()
58 s64 ret; in uv_bios_call_irqsave()
84 s64 ret; in uv_bios_get_sn_info()
112 s64 ret; in uv_bios_mq_watchlist_alloc()
135 s64
143 s64
151 s64 uv_bios_freq_base(u64 clock_type, u64 *ticks_per_second) in uv_bios_freq_base()
196 extern s64 uv_bios_obj_count(u64 nasid, u64 size, u64 *objcnt) in uv_bios_obj_count()
217 extern s64 uv_bios_get_geoinfo(u64 nasid, u64 size, u64 *buf) in uv_bios_get_geoinfo()
[all …]
/openbmc/qemu/target/hexagon/
H A Dhelper.h32 DEF_HELPER_5(vacsh_val, s64, env, s64, s64, s64, i32)
33 DEF_HELPER_FLAGS_4(vacsh_pred, TCG_CALL_NO_RWG_SE, s32, env, s64, s64, s64)
34 DEF_HELPER_FLAGS_2(cabacdecbin_val, TCG_CALL_NO_RWG_SE, s64, s64, s64)
35 DEF_HELPER_FLAGS_2(cabacdecbin_pred, TCG_CALL_NO_RWG_SE, s32, s64, s64)
44 DEF_HELPER_2(conv_ud2sf, f32, env, s64)
45 DEF_HELPER_2(conv_ud2df, f64, env, s64)
46 DEF_HELPER_2(conv_d2sf, f32, env, s64)
47 DEF_HELPER_2(conv_d2df, f64, env, s64)
51 DEF_HELPER_2(conv_sf2d, s64, env, f32)
55 DEF_HELPER_2(conv_df2d, s64, env, f64)
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Datomic.h195 s64 t; in arch_atomic64_read()
218 s64 t; \
234 s64 t; \
300 s64 t; in ATOMIC64_OPS()
315 s64 t; in arch_atomic64_inc_return_relaxed()
331 s64 t; in arch_atomic64_dec()
346 s64 t; in arch_atomic64_dec_return_relaxed()
369 s64 t; in arch_atomic64_dec_if_positive()
397 static __inline__ s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless()
399 s64 t; in arch_atomic64_fetch_add_unless()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Datomic.h85 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
91 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
97 static inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
103 static inline s64 arch_atomic64_fetch_add(s64 i, atomic64_t *v) in arch_atomic64_fetch_add()
109 static inline void arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
117 static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg()
124 static inline void arch_atomic64_##op(s64 i, atomic64_t *v) \
128 static inline long arch_atomic64_fetch_##op(s64 i, atomic64_t *v) \
146 #define arch_atomic64_sub_return(_i, _v) arch_atomic64_add_return(-(s64)(_i), _v)
147 #define arch_atomic64_fetch_sub(_i, _v) arch_atomic64_fetch_add(-(s64)(_i), _v)
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A 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()
125 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
173 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) in __sja1105_ptp_adjtime()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-call.c16 static void __trace_opal_entry(s64 a0, s64 a1, s64 a2, s64 a3, in __trace_opal_entry()
17 s64 a4, s64 a5, s64 a6, s64 a7, in __trace_opal_entry()
69 static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3, in __opal_call_trace()
70 s64 a4, s64 a5, s64 a6, s64 a7, in __opal_call_trace()
73 s64 ret; in __opal_call_trace()
86 static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3, in __opal_call_trace()
87 s64 a4, s64 a5, s64 a6, s64 a7, in __opal_call_trace()

12345678910>>...49