Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 13 of 13) sorted by relevance

/external/kernel-headers/original/linux/
Dktime.h51 s32 sec, nsec; member
53 s32 nsec, sec;
140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } }; in ktime_set()
155 if (res.tv.nsec < 0) in ktime_sub()
156 res.tv.nsec += NSEC_PER_SEC; in ktime_sub()
181 if (res.tv.nsec >= NSEC_PER_SEC) in ktime_add()
194 extern ktime_t ktime_add_ns(const ktime_t kt, u64 nsec);
205 .nsec = (s32)ts.tv_nsec } }; in timespec_to_ktime()
217 .nsec = (s32)tv.tv_usec * 1000 } }; in timeval_to_ktime()
229 .tv_nsec = (long) kt.tv.nsec }; in ktime_to_timespec()
[all …]
Djiffies.h315 long nsec = value->tv_nsec + TICK_NSEC - 1; in timespec_to_jiffies() local
319 nsec = 0; in timespec_to_jiffies()
322 (((u64)nsec * NSEC_CONVERSION) >> in timespec_to_jiffies()
334 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_timespec() local
335 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &value->tv_nsec); in jiffies_to_timespec()
372 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_timeval() local
375 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &tv_usec); in jiffies_to_timeval()
Dtime.h71 extern void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec);
153 extern struct timespec ns_to_timespec(const s64 nsec);
161 extern struct timeval ns_to_timeval(const s64 nsec);
/external/grub/stage2/
Dbios.c29 int nsec, int segment);
50 int sector, int nsec, int segment) in biosdisk() argument
77 dap.blocks = nsec; in biosdisk()
96 return biosdisk (read, drive, geometry, sector, nsec, segment); in biosdisk()
118 nsec, segment); in biosdisk()
Dshared.h810 int sector, int nsec, int segment);
/external/grub/grub/
Dasmstub.c929 int sector, int nsec, int segment) in biosdisk() argument
968 if (sector == 0 && nsec > 1) in biosdisk()
977 nsec--; in biosdisk()
980 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE) in biosdisk()
989 nsec, sector, drive, device_map[drive]); in biosdisk()
990 hex_dump (buf, nsec * SECTOR_SIZE); in biosdisk()
993 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE) in biosdisk()
/external/blktrace/
Dblkparse_fmt.c89 unsigned long nsec; in print_time() local
92 nsec = abs_start_time.tv_nsec + NANO_SECONDS(timestamp); in print_time()
93 if (nsec >= 1000000000) { in print_time()
94 nsec -= 1000000000; in print_time()
104 nsec / 1000); in print_time()
/external/openssl/crypto/ocsp/
Docsp_cl.c312 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, lo… in OCSP_check_validity() argument
325 t_tmp = t_now + nsec; in OCSP_check_validity()
355 t_tmp = t_now - nsec; in OCSP_check_validity()
/external/blktrace/btt/
Dtrace_complete.c24 __u64 sec, __u32 nsec, int indent) in __out() argument
31 type2c(type), (unsigned long long)sec, nsec); in __out()
/external/openssl/apps/
Docsp.c104 STACK_OF(OCSP_CERTID) *ids, long nsec,
148 long nsec = MAX_VALIDITY_PERIOD, maxage = -1; in MAIN() local
361 nsec = atol(*args); in MAIN()
362 if (nsec < 0) in MAIN()
895 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage)) in MAIN()
989 STACK_OF(OCSP_CERTID) *ids, long nsec, in print_ocsp_summary() argument
1019 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage)) in print_ocsp_summary()
/external/valgrind/main/coregrind/
Dm_libcproc.c635 UWord nsec, sec1, sec2; in VG_() local
641 : "=b" (sec1), "=b" (nsec), "=b" (sec2) in VG_()
645 vg_assert(nsec < 1000*1000*1000); in VG_()
647 now += (ULong)(nsec / 1000); in VG_()
/external/elfutils/src/
Dldgeneric.c5560 Elf32_Word nsec; in ld_generic_create_outfile() local
5602 nsec = 0; in ld_generic_create_outfile()
5603 scn = elf_getscn (ld_state.outelf, ld_state.allsections[nsec]->scnidx); in ld_generic_create_outfile()
5633 if (ld_state.allsections[nsec]->name in ld_generic_create_outfile()
5646 isect = first = ld_state.allsections[nsec]->last; in ld_generic_create_outfile()
5659 ld_state.allsections[nsec]->addr = addr; in ld_generic_create_outfile()
5697 if (++nsec >= ld_state.nallsections) in ld_generic_create_outfile()
5701 ld_state.allsections[nsec]->scnidx); in ld_generic_create_outfile()
/external/blktrace/btreplay/doc/
Dbtreplay.tex252 [ -m <nsec> : --max-bunch-time=<nsec> ] Default: 10 msec