Lines Matching refs:nst
133 static void o2net_init_nst(struct o2net_send_tracking *nst, u32 msgtype, in o2net_init_nst() argument
136 INIT_LIST_HEAD(&nst->st_net_debug_item); in o2net_init_nst()
137 nst->st_task = task; in o2net_init_nst()
138 nst->st_msg_type = msgtype; in o2net_init_nst()
139 nst->st_msg_key = msgkey; in o2net_init_nst()
140 nst->st_node = node; in o2net_init_nst()
143 static inline void o2net_set_nst_sock_time(struct o2net_send_tracking *nst) in o2net_set_nst_sock_time() argument
145 nst->st_sock_time = ktime_get(); in o2net_set_nst_sock_time()
148 static inline void o2net_set_nst_send_time(struct o2net_send_tracking *nst) in o2net_set_nst_send_time() argument
150 nst->st_send_time = ktime_get(); in o2net_set_nst_send_time()
153 static inline void o2net_set_nst_status_time(struct o2net_send_tracking *nst) in o2net_set_nst_status_time() argument
155 nst->st_status_time = ktime_get(); in o2net_set_nst_status_time()
158 static inline void o2net_set_nst_sock_container(struct o2net_send_tracking *nst, in o2net_set_nst_sock_container() argument
161 nst->st_sc = sc; in o2net_set_nst_sock_container()
164 static inline void o2net_set_nst_msg_id(struct o2net_send_tracking *nst, in o2net_set_nst_msg_id() argument
167 nst->st_id = msg_id; in o2net_set_nst_msg_id()
221 static void o2net_update_send_stats(struct o2net_send_tracking *nst, in o2net_update_send_stats() argument
226 nst->st_status_time)); in o2net_update_send_stats()
228 ktime_sub(nst->st_status_time, in o2net_update_send_stats()
229 nst->st_send_time)); in o2net_update_send_stats()
231 ktime_sub(nst->st_send_time, in o2net_update_send_stats()
232 nst->st_sock_time)); in o2net_update_send_stats()
1028 struct o2net_send_tracking nst; in o2net_send_message_vec() local
1030 o2net_init_nst(&nst, msg_type, key, current, target_node); in o2net_send_message_vec()
1056 o2net_debug_add_nst(&nst); in o2net_send_message_vec()
1058 o2net_set_nst_sock_time(&nst); in o2net_send_message_vec()
1064 o2net_set_nst_sock_container(&nst, sc); in o2net_send_message_vec()
1092 o2net_set_nst_msg_id(&nst, nsw.ns_id); in o2net_send_message_vec()
1094 o2net_set_nst_send_time(&nst); in o2net_send_message_vec()
1109 o2net_set_nst_status_time(&nst); in o2net_send_message_vec()
1112 o2net_update_send_stats(&nst, sc); in o2net_send_message_vec()
1124 o2net_debug_del_nst(&nst); /* must be before dropping sc and node */ in o2net_send_message_vec()