Home
last modified time | relevance | path

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

12345678910>>...14

/linux-2.6.39/arch/powerpc/platforms/cell/
Dbeat_wrapper.h26 extern s64 beat_hcall_norets(u64 opcode, ...);
27 extern s64 beat_hcall_norets8(u64 opcode, u64 arg1, u64 arg2, u64 arg3,
29 extern s64 beat_hcall1(u64 opcode, u64 retbuf[1], ...);
30 extern s64 beat_hcall2(u64 opcode, u64 retbuf[2], ...);
31 extern s64 beat_hcall3(u64 opcode, u64 retbuf[3], ...);
32 extern s64 beat_hcall4(u64 opcode, u64 retbuf[4], ...);
33 extern s64 beat_hcall5(u64 opcode, u64 retbuf[5], ...);
34 extern s64 beat_hcall6(u64 opcode, u64 retbuf[6], ...);
36 static inline s64 beat_downcount_of_interrupt(u64 plug_id) in beat_downcount_of_interrupt()
41 static inline s64 beat_set_interrupt_mask(u64 index, in beat_set_interrupt_mask()
[all …]
/linux-2.6.39/arch/mips/fw/cfe/
Dcfe_api_int.h56 typedef s64 cfe_xptr_t;
71 s64 enum_idx; /* 0-based enumeration index */
73 s64 name_length; /* size of name buffer */
75 s64 val_length; /* size of value string buffer */
88 s64 ticks; /* current time in ticks */
92 s64 status;
96 s64 mi_idx; /* 0-based enumeration index */
97 s64 mi_type; /* type of memory block */
103 s64 fwi_version; /* major, minor, eco version */
104 s64 fwi_totalmem; /* total installed mem */
[all …]
/linux-2.6.39/include/linux/
Dpercpu_counter.h20 s64 count;
29 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount,
40 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
41 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch);
42 s64 __percpu_counter_sum(struct percpu_counter *fbc);
43 int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs);
45 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add()
50 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive()
52 s64 ret = __percpu_counter_sum(fbc); in percpu_counter_sum_positive()
56 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum()
[all …]
Dmath64.h24 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
41 static inline s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
57 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder);
65 extern s64 div64_s64(s64 dividend, s64 divisor);
89 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64()
Dktime.h47 s64 tv64;
61 #define KTIME_MAX ((s64)~((u64)1 << 63))
87 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
273 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns()
275 return (s64) kt.tv.sec * NSEC_PER_SEC + kt.tv.nsec; in ktime_to_ns()
292 static inline s64 ktime_to_us(const ktime_t kt) in ktime_to_us()
295 return (s64) tv.tv_sec * USEC_PER_SEC + tv.tv_usec; in ktime_to_us()
298 static inline s64 ktime_to_ms(const ktime_t kt) in ktime_to_ms()
301 return (s64) tv.tv_sec * MSEC_PER_SEC + tv.tv_usec / USEC_PER_MSEC; in ktime_to_ms()
304 static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) in ktime_us_delta()
Dtimecompare.h78 s64 offset;
79 s64 skew;
103 s64 *offset,
121 (s64)(source_tstamp - sync->last_update) >= NSEC_PER_SEC) in timecompare_update()
/linux-2.6.39/fs/jfs/
Djfs_xtree.h61 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2))
63 ( ((s64)((xad)->addr1)) << 32 | __le32_to_cpu((xad)->addr2))
111 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
112 int *pflag, s64 * paddr, int *plen, int flag);
115 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
116 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
120 s64 xoff, int xlen, s64 xaddr, int flag);
123 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
125 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
126 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
[all …]
Djfs_dmap.h54 #define MAXL0SIZE ((s64)1 << L2MAXL0SIZE)
55 #define MAXL1SIZE ((s64)1 << L2MAXL1SIZE)
56 #define MAXL2SIZE ((s64)1 << L2MAXL2SIZE)
140 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
224 s64 dn_mapsize; /* number of blocks in aggregate */
225 s64 dn_nfree; /* num free blks in aggregate map */
236 s64 dn_agfree[MAXAG]; /* per AG free count */
237 s64 dn_agsize; /* num of blks per alloc group */
285 (((b) & (((s64)1 << ((m) + L2LPERCTL)) - 1)) >> (m))
297 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks);
[all …]
Djfs_extent.c31 static int extBalloc(struct inode *, s64, s64 *, s64 *);
33 static int extBrealloc(struct inode *, s64, s64, s64 *, s64 *);
35 static s64 extRoundDown(s64 nb);
86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc()
89 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc()
146 dbFree(ip, nxaddr, (s64) nxlen); in extAlloc()
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc()
218 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc()
219 s64 ntail, nextend, ninsert; in extRealloc()
262 dbFree(ip, nxaddr, (s64) nxlen); in extRealloc()
[all …]
Djfs_dmap.c75 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
81 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
83 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
84 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
86 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
88 int l2nb, s64 * results);
89 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
93 s64 * results);
94 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb,
95 s64 * results);
[all …]
Djfs_extent.h25 extern int extAlloc(struct inode *, s64, s64, xad_t *, bool);
27 extern int extHint(struct inode *, s64, xad_t *);
28 extern int extRealloc(struct inode *, s64, xad_t *, bool);
/linux-2.6.39/fs/ntfs/
Dbitmap.h32 extern int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit,
33 const s64 count, const u8 value, const bool is_rollback);
48 const s64 start_bit, const s64 count, const u8 value) in ntfs_bitmap_set_bits_in_run()
65 static inline int ntfs_bitmap_set_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_set_run()
66 const s64 count) in ntfs_bitmap_set_run()
82 static inline int ntfs_bitmap_clear_run(struct inode *vi, const s64 start_bit, in ntfs_bitmap_clear_run()
83 const s64 count) in ntfs_bitmap_clear_run()
97 static inline int ntfs_bitmap_set_bit(struct inode *vi, const s64 bit) in ntfs_bitmap_set_bit()
111 static inline int ntfs_bitmap_clear_bit(struct inode *vi, const s64 bit) in ntfs_bitmap_clear_bit()
Dattrib.h79 const s64 size, const s64 initialized_size);
81 static inline s64 ntfs_attr_size(const ATTR_RECORD *a) in ntfs_attr_size()
84 return (s64)le32_to_cpu(a->data.resident.value_length); in ntfs_attr_size()
96 const ATTR_TYPE type, const s64 size);
108 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
109 const s64 new_data_size, const s64 data_start);
111 extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
Dlcnalloc.h44 const VCN start_vcn, const s64 count, const LCN start_lcn,
48 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
49 s64 count, ntfs_attr_search_ctx *ctx, const bool is_rollback);
107 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, in ntfs_cluster_free()
108 s64 count, ntfs_attr_search_ctx *ctx) in ntfs_cluster_free()
Dtypes.h43 typedef s64 VCN;
45 typedef s64 LCN;
53 typedef s64 LSN;
61 typedef s64 USN;
/linux-2.6.39/ipc/
Dcompat.c191 static inline int get_compat_semid64_ds(struct semid64_ds *s64, in get_compat_semid64_ds() argument
196 return __get_compat_ipc64_perm(&s64->sem_perm, &up64->sem_perm); in get_compat_semid64_ds()
207 static inline int put_compat_semid64_ds(struct semid64_ds *s64, in put_compat_semid64_ds() argument
214 err = __put_compat_ipc64_perm(&s64->sem_perm, &up64->sem_perm); in put_compat_semid64_ds()
215 err |= __put_user(s64->sem_otime, &up64->sem_otime); in put_compat_semid64_ds()
216 err |= __put_user(s64->sem_ctime, &up64->sem_ctime); in put_compat_semid64_ds()
217 err |= __put_user(s64->sem_nsems, &up64->sem_nsems); in put_compat_semid64_ds()
240 struct semid64_ds s64; in compat_sys_semctl() local
244 memset(&s64, 0, sizeof(s64)); in compat_sys_semctl()
270 up64 = compat_alloc_user_space(sizeof(s64)); in compat_sys_semctl()
[all …]
/linux-2.6.39/arch/x86/platform/uv/
Dbios_uv.c30 s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5) in uv_bios_call()
33 s64 ret; in uv_bios_call()
47 s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, in uv_bios_call_irqsave()
51 s64 ret; in uv_bios_call_irqsave()
60 s64 uv_bios_call_reentrant(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, in uv_bios_call_reentrant()
63 s64 ret; in uv_bios_call_reentrant()
85 s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, in uv_bios_get_sn_info()
88 s64 ret; in uv_bios_get_sn_info()
117 s64 ret; in uv_bios_mq_watchlist_alloc()
140 s64
[all …]
/linux-2.6.39/kernel/time/
Dtimecompare.c32 #define TIMECOMPARE_SKEW_RESOLUTION (((s64)1)<<30)
40 nsec += (s64)(source_tstamp - sync->last_update) * sync->skew / in timecompare_transform()
48 s64 *offset, in timecompare_offset()
53 s64 offset; in timecompare_offset()
54 s64 duration_target; in timecompare_offset()
125 s64 off = 0; in timecompare_offset()
141 s64 offset; in __timecompare_update()
152 s64 delta_nsec = average_time - sync->last_update; in __timecompare_update()
156 s64 delta_offset_nsec = offset - sync->offset; in __timecompare_update()
157 s64 skew; /* delta_offset_nsec * in __timecompare_update()
[all …]
Dntp.c58 static s64 time_offset;
70 static s64 time_freq;
78 static s64 ntp_tick_adj;
102 static s64 pps_freq; /* frequency offset (scaled ns/s) */
117 static inline s64 ntp_offset_chunk(s64 offset) in ntp_offset_chunk()
165 static inline void pps_set_freq(s64 freq) in pps_set_freq()
206 static inline s64 ntp_offset_chunk(s64 offset) in ntp_offset_chunk()
214 static inline void pps_set_freq(s64 freq) {} in pps_set_freq()
266 static inline s64 ntp_update_offset_fll(s64 offset64, long secs) in ntp_update_offset_fll()
283 s64 freq_adj; in ntp_update_offset()
[all …]
Dtimekeeping.c36 s64 xtime_remainder;
44 s64 ntp_error;
105 static inline s64 timekeeping_get_ns(void) in timekeeping_get_ns()
122 static inline s64 timekeeping_get_ns_raw(void) in timekeeping_get_ns_raw()
192 s64 nsec; in timekeeping_forward_now()
220 s64 nsecs; in getnstimeofday()
243 s64 secs, nsecs; in ktime_get()
274 s64 nsecs; in ktime_get_ts()
305 s64 nsecs_raw, nsecs_real; in getnstime_raw_and_real()
486 s64 nsecs; in getrawmonotonic()
[all …]
/linux-2.6.39/arch/ia64/include/asm/
Dpal.h108 typedef s64 pal_status_t;
779 s64 status;
880 static inline s64
897 static inline s64
906 static inline s64
924 static inline s64
947 static inline s64
960 static inline s64
972 static inline s64
982 static inline s64
[all …]
/linux-2.6.39/arch/x86/include/asm/uv/
Dbios.h89 extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64);
90 extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64);
91 extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64);
93 extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *, long *);
94 extern s64 uv_bios_freq_base(u64, u64 *);
98 extern s64 uv_bios_change_memprotect(u64, u64, enum uv_memprotect);
99 extern s64 uv_bios_reserved_page_pa(u64, u64 *, u64 *, u64 *);
/linux-2.6.39/drivers/staging/iio/adc/
Dmax1363_ring.c96 d_size = numvals*2 + sizeof(s64); in max1363_ring_preenable()
98 d_size = numvals + sizeof(s64); in max1363_ring_preenable()
115 static void max1363_poll_func_th(struct iio_dev *indio_dev, s64 time) in max1363_poll_func_th()
138 s64 time_ns; in max1363_poll_bh_to_ring()
146 d_size = numvals*2 + sizeof(s64); in max1363_poll_bh_to_ring()
148 d_size = numvals + sizeof(s64); in max1363_poll_bh_to_ring()
149 if (d_size % sizeof(s64)) in max1363_poll_bh_to_ring()
150 d_size += sizeof(s64) - (d_size % sizeof(s64)); in max1363_poll_bh_to_ring()
175 memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns)); in max1363_poll_bh_to_ring()
/linux-2.6.39/kernel/
Ddelayacct.c65 s64 ns; in delayacct_end()
102 s64 tmp; in __delayacct_add_tsk()
114 tmp = (s64)d->cpu_run_real_total; in __delayacct_add_tsk()
117 d->cpu_run_real_total = (tmp < (s64)d->cpu_run_real_total) ? 0 : tmp; in __delayacct_add_tsk()
119 tmp = (s64)d->cpu_scaled_run_real_total; in __delayacct_add_tsk()
123 (tmp < (s64)d->cpu_scaled_run_real_total) ? 0 : tmp; in __delayacct_add_tsk()
135 tmp = (s64)d->cpu_delay_total + t2; in __delayacct_add_tsk()
136 d->cpu_delay_total = (tmp < (s64)d->cpu_delay_total) ? 0 : tmp; in __delayacct_add_tsk()
138 tmp = (s64)d->cpu_run_virtual_total + t3; in __delayacct_add_tsk()
140 (tmp < (s64)d->cpu_run_virtual_total) ? 0 : tmp; in __delayacct_add_tsk()
/linux-2.6.39/lib/
Dpercpu_counter.c58 void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set()
72 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) in __percpu_counter_add()
74 s64 count; in __percpu_counter_add()
94 s64 __percpu_counter_sum(struct percpu_counter *fbc) in __percpu_counter_sum()
96 s64 ret; in __percpu_counter_sum()
110 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, in __percpu_counter_init()
191 int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) in percpu_counter_compare()
193 s64 count; in percpu_counter_compare()

12345678910>>...14