Searched refs:target_ns (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/ |
H A D | user_namespace.h | 191 extern bool current_in_userns(const struct user_namespace *target_ns); 228 static inline bool current_in_userns(const struct user_namespace *target_ns) in current_in_userns() argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 590 static u64 find_target_cycles(struct mlx5_core_dev *mdev, s64 target_ns) in find_target_cycles() argument 603 nsec_delta = target_ns - nsec_now; in find_target_cycles() 614 s64 target_ns; in perout_conf_internal_timer() local 617 target_ns = timespec64_to_ns(&ts); in perout_conf_internal_timer() 619 return find_target_cycles(mdev, target_ns); in perout_conf_internal_timer() 962 s64 target_ns; in perout_conf_next_event_timer() local 966 target_ns = timespec64_to_ns(&ts); in perout_conf_next_event_timer() 968 return find_target_cycles(mdev, target_ns); in perout_conf_next_event_timer()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 398 static int bnxt_get_target_cycles(struct bnxt_ptp_cfg *ptp, u64 target_ns, in bnxt_get_target_cycles() argument 415 nsec_delta = target_ns - nsec_now; in bnxt_get_target_cycles() 426 u64 target_ns, delta; in bnxt_ptp_perout_cfg() local 432 target_ns = timespec64_to_ns(&ts); in bnxt_ptp_perout_cfg() 434 rc = bnxt_get_target_cycles(ptp, target_ns, &delta); in bnxt_ptp_perout_cfg()
|
/linux/kernel/ |
H A D | user_namespace.c | 1311 bool current_in_userns(const struct user_namespace *target_ns) in current_in_userns() argument 1313 return in_userns(target_ns, current_user_ns()); in current_in_userns()
|
/linux/net/sched/ |
H A D | sch_cake.c | 2245 u64 target_ns, u64 rtt_est_ns) in cake_set_rate() argument 2274 b->cparams.target = max((byte_target_ns * 3) / 2, target_ns); in cake_set_rate() 2276 b->cparams.target - target_ns, in cake_set_rate()
|