Lines Matching defs:diag
816 tcp_hpts_insert_diag(struct tcpcb *tp, uint32_t slot, int32_t line, struct hpts_diag *diag)
835 if (diag) {
836 memset(diag, 0, sizeof(struct hpts_diag));
837 diag->p_hpts_active = hpts->p_hpts_active;
838 diag->p_prev_slot = hpts->p_prev_slot;
839 diag->p_runningslot = hpts->p_runningslot;
840 diag->p_nxt_slot = hpts->p_nxt_slot;
841 diag->p_cur_slot = hpts->p_cur_slot;
842 diag->p_curtick = hpts->p_curtick;
843 diag->p_lasttick = hpts->p_lasttick;
844 diag->slot_req = slot;
845 diag->p_on_min_sleep = hpts->p_on_min_sleep;
846 diag->hpts_sleep_time = hpts->p_hpts_sleep_time;
883 if (diag) {
884 diag->wheel_slot = wheel_slot;
885 diag->maxslots = maxslots;
886 diag->wheel_cts = wheel_cts;
911 if (diag) {
912 diag->slot_remaining = tp->t_hpts_request;
913 diag->inp_hptsslot = tp->t_hpts_slot;
940 if (diag) {
941 diag->have_slept = have_slept;
942 diag->yet_to_sleep = yet_to_sleep;
961 if (diag) {
962 diag->need_new_to = 0;
963 diag->co_ret = 0xffff0000;
981 if (diag) {
982 diag->need_new_to = need_new_to;
983 diag->co_ret = co_ret;