Lines Matching refs:nst
45 void o2net_debug_add_nst(struct o2net_send_tracking *nst) in o2net_debug_add_nst() argument
48 list_add(&nst->st_net_debug_item, &send_tracking); in o2net_debug_add_nst()
52 void o2net_debug_del_nst(struct o2net_send_tracking *nst) in o2net_debug_del_nst() argument
55 if (!list_empty(&nst->st_net_debug_item)) in o2net_debug_del_nst()
56 list_del_init(&nst->st_net_debug_item); in o2net_debug_del_nst()
63 struct o2net_send_tracking *nst, *ret = NULL; in next_nst() local
67 list_for_each_entry(nst, &nst_start->st_net_debug_item, in next_nst()
70 if (&nst->st_net_debug_item == &send_tracking) in next_nst()
74 if (nst->st_task != NULL) { in next_nst()
75 ret = nst; in next_nst()
85 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_start() local
88 nst = next_nst(dummy_nst); in nst_seq_start()
91 return nst; in nst_seq_start()
96 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_next() local
99 nst = next_nst(dummy_nst); in nst_seq_next()
101 if (nst) in nst_seq_next()
103 &nst->st_net_debug_item); in nst_seq_next()
106 return nst; /* unused, just needs to be null when done */ in nst_seq_next()
111 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_show() local
116 nst = next_nst(dummy_nst); in nst_seq_show()
117 if (!nst) in nst_seq_show()
121 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
122 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
123 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
138 nst, (unsigned long)task_pid_nr(nst->st_task), in nst_seq_show()
139 (unsigned long)nst->st_task->tgid, in nst_seq_show()
140 nst->st_task->comm, nst->st_node, in nst_seq_show()
141 nst->st_sc, nst->st_id, nst->st_msg_type, in nst_seq_show()
142 nst->st_msg_key, in nst_seq_show()