Lines Matching refs:nst
64 void o2net_debug_add_nst(struct o2net_send_tracking *nst) in o2net_debug_add_nst() argument
67 list_add(&nst->st_net_debug_item, &send_tracking); in o2net_debug_add_nst()
71 void o2net_debug_del_nst(struct o2net_send_tracking *nst) in o2net_debug_del_nst() argument
74 if (!list_empty(&nst->st_net_debug_item)) in o2net_debug_del_nst()
75 list_del_init(&nst->st_net_debug_item); in o2net_debug_del_nst()
82 struct o2net_send_tracking *nst, *ret = NULL; in next_nst() local
86 list_for_each_entry(nst, &nst_start->st_net_debug_item, in next_nst()
89 if (&nst->st_net_debug_item == &send_tracking) in next_nst()
93 if (nst->st_task != NULL) { in next_nst()
94 ret = nst; in next_nst()
104 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_start() local
107 nst = next_nst(dummy_nst); in nst_seq_start()
110 return nst; in nst_seq_start()
115 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_next() local
118 nst = next_nst(dummy_nst); in nst_seq_next()
120 if (nst) in nst_seq_next()
122 &nst->st_net_debug_item); in nst_seq_next()
125 return nst; /* unused, just needs to be null when done */ in nst_seq_next()
130 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_show() local
135 nst = next_nst(dummy_nst); in nst_seq_show()
136 if (!nst) in nst_seq_show()
140 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
141 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
142 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
157 nst, (unsigned long)task_pid_nr(nst->st_task), in nst_seq_show()
158 (unsigned long)nst->st_task->tgid, in nst_seq_show()
159 nst->st_task->comm, nst->st_node, in nst_seq_show()
160 nst->st_sc, nst->st_id, nst->st_msg_type, in nst_seq_show()
161 nst->st_msg_key, in nst_seq_show()