Searched refs:nsw (Results 1 – 1 of 1) sorted by relevance
292 static int o2net_prep_nsw(struct o2net_node *nn, struct o2net_status_wait *nsw) in o2net_prep_nsw() argument297 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() argument319 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 …]