Lines Matching refs:config_refs
118 refcount_t config_refs; member
413 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout()
981 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd()
1211 refcount_inc(&nbd->config_refs); in nbd_reconnect_socket()
1307 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
1398 refcount_inc(&nbd->config_refs); in nbd_start_device()
1570 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1574 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1585 refcount_set(&nbd->config_refs, 1); in nbd_open()
1816 refcount_set(&nbd->config_refs, 0); in nbd_dev_add()
1864 if (refcount_read(&nbd->config_refs) || in nbd_find_get_unused()
1978 if (refcount_read(&nbd->config_refs)) { in nbd_genl_connect()
1999 refcount_set(&nbd->config_refs, 1); in nbd_genl_connect()
2094 refcount_inc(&nbd->config_refs); in nbd_genl_connect()
2149 if (!refcount_inc_not_zero(&nbd->config_refs)) in nbd_genl_disconnect()
2204 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_reconfigure()
2353 if (refcount_read(&nbd->config_refs)) in populate_nbd_status()
2570 if (refcount_read(&nbd->config_refs)) in nbd_cleanup()
2572 refcount_read(&nbd->config_refs)); in nbd_cleanup()