Home
last modified time | relevance | path

Searched refs:clock_t (Results 1 – 22 of 22) sorted by relevance

/kernel/liteos_a/syscall/
Dmisc_syscall.c188 static void ConvertClocks(struct timeval *time, clock_t clk) in ConvertClocks()
198 clock_t usec, sec; in SysGetrusage()
Dtime_syscall.c384 clock_t SysTimes(struct tms *buf) in SysTimes()
386 clock_t ret; in SysTimes()
Dsyscall_lookup.h151 SYSCALL_HAND_DEF(__NR_times, SysTimes, clock_t, ARG_NUM_1)
Dlos_syscall.h190 extern clock_t SysTimes(struct tms *buf);
/kernel/liteos_m/kal/posix/src/
Dtime.c467 clock_t clock(void) in clock()
473 clock_t clk; in clock()
827 clock_t times(struct tms *tms) in times()
829 clock_t clockTick = (clock_t)LOS_TickCountGet(); in times()
/kernel/linux/linux-5.10/include/linux/
Djiffies.h424 extern clock_t jiffies_to_clock_t(unsigned long x);
425 static inline clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t()
Dtypes.h70 typedef __kernel_clock_t clock_t; typedef
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c25 static clock_t jiffies_to_clock_t(unsigned long x) in jiffies_to_clock_t()
42 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t()
Dbpf_iter_tcp6.c25 static clock_t jiffies_to_clock_t(unsigned long x) in jiffies_to_clock_t()
42 static clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t()
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
Dgettime_perf.c39 static void test(clock_t clockid, char *clockstr, bool in_ns) in test()
Dtimerfd.c18 static int tclock_gettime(clock_t clockid, struct timespec *now) in tclock_gettime()
/kernel/liteos_a/compat/posix/src/
Dtime.c1075 clock_t clock(VOID) in clock()
1077 clock_t clockMsec; in clock()
1081 clockMsec = (clock_t)(nowNsec / (OS_SYS_NS_PER_SECOND / CLOCKS_PER_SEC)); in clock()
1086 clock_t times(struct tms *buf) in times()
1088 clock_t clockTick = -1; in times()
/kernel/linux/linux-5.10/net/dsa/
Ddsa_priv.h143 int dsa_port_ageing_time(struct dsa_port *dp, clock_t ageing_clock,
Dport.c317 int dsa_port_ageing_time(struct dsa_port *dp, clock_t ageing_clock, in dsa_port_ageing_time()
/kernel/liteos_m/testsuites/unittest/posix/src/time/
Dtime_func_test_01.c595 clock_t stTime = times(&start);
602 clock_t endTime = times(&end);
/kernel/linux/linux-5.10/include/net/
Dswitchdev.h59 clock_t ageing_time; /* BRIDGE_AGEING_TIME */
/kernel/linux/linux-5.10/net/bridge/
Dbr_stp.c609 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time) in br_set_ageing_time()
Dbr_private.h1392 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time);
/kernel/linux/linux-5.10/kernel/time/
Dtime.c621 clock_t jiffies_to_clock_t(unsigned long x) in jiffies_to_clock_t()
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c2768 clock_t expires = 0; in addrconf_prefix_rcv()
2916 clock_t expires; in inet6_addr_add()
4715 clock_t expires; in inet6_addr_modify()
/kernel/linux/linux-5.10/kernel/
Dsys.c996 static compat_clock_t clock_t_to_compat_clock_t(clock_t x) in clock_t_to_compat_clock_t()
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c696 clock_t clock = times(&timebuf); in TEST_SIGNAL()