Home
last modified time | relevance | path

Searched refs:nsw (Results 1 – 1 of 1) sorted by relevance

/fs/ocfs2/cluster/
Dtcp.c292 static int o2net_prep_nsw(struct o2net_node *nn, struct o2net_status_wait *nsw) in o2net_prep_nsw() argument
297 ret = idr_alloc(&nn->nn_status_idr, nsw, 0, 0, GFP_ATOMIC); in o2net_prep_nsw()
299 nsw->ns_id = ret; in o2net_prep_nsw()
300 list_add_tail(&nsw->ns_node_item, &nn->nn_status_list); in o2net_prep_nsw()
306 init_waitqueue_head(&nsw->ns_wq); in o2net_prep_nsw()
307 nsw->ns_sys_status = O2NET_ERR_NONE; in o2net_prep_nsw()
308 nsw->ns_status = 0; in o2net_prep_nsw()
313 struct o2net_status_wait *nsw, in o2net_complete_nsw_locked() argument
319 if (!list_empty(&nsw->ns_node_item)) { in o2net_complete_nsw_locked()
320 list_del_init(&nsw->ns_node_item); in o2net_complete_nsw_locked()
[all …]