Home
last modified time | relevance | path

Searched refs:NS_PER_SEC (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dnetcnt_prog.c11 #define NS_PER_SEC 1000000000 macro
53 dt /= NS_PER_SEC; in bpf_nextcnt()
H A Dtest_tc_edt.c15 #define NS_PER_SEC 1000000000 macro
31 uint64_t delay_ns = ((uint64_t)skb->len) * NS_PER_SEC / in throttle_flow()
/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_test.c21 #define NS_PER_SEC 1000000000ULL macro
350 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region()
351 end_ns = t_end.tv_sec * NS_PER_SEC + t_end.tv_nsec; in remap_region()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c80 #define NS_PER_SEC 1000000000ULL macro
204 div_u64_rem(ns, NS_PER_SEC, &rem); in ixgbe_ptp_setup_sdp_X540()
209 rem = (NS_PER_SEC - rem); in ixgbe_ptp_setup_sdp_X540()
287 div_u64_rem(ns, NS_PER_SEC, &rem); in ixgbe_ptp_setup_sdp_X550()
292 rem = (NS_PER_SEC - rem); in ixgbe_ptp_setup_sdp_X550()