Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c11 #define NS_PER_SEC 1000000000 macro
53 dt /= NS_PER_SEC; in bpf_nextcnt()
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()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
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()
/linux-6.12.1/tools/testing/selftests/mm/
Dmremap_test.c21 #define NS_PER_SEC 1000000000ULL macro
541 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region()
542 end_ns = t_end.tv_sec * NS_PER_SEC + t_end.tv_nsec; in remap_region()