Lines Matching refs:config_refs
109 refcount_t config_refs; member
392 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout()
902 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd()
1126 refcount_inc(&nbd->config_refs); in nbd_reconnect_socket()
1224 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
1321 refcount_inc(&nbd->config_refs); in nbd_start_device()
1509 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1513 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1524 refcount_set(&nbd->config_refs, 1); in nbd_open()
1770 refcount_set(&nbd->config_refs, 0); in nbd_dev_add()
1799 if (!refcount_read(&nbd->config_refs)) { in find_free_cb()
1932 if (refcount_read(&nbd->config_refs)) { in nbd_genl_connect()
1953 refcount_set(&nbd->config_refs, 1); in nbd_genl_connect()
2031 refcount_inc(&nbd->config_refs); in nbd_genl_connect()
2091 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_disconnect()
2133 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_reconfigure()
2279 if (refcount_read(&nbd->config_refs)) in populate_nbd_status()
2488 if (refcount_read(&nbd->config_refs)) in nbd_cleanup()
2490 refcount_read(&nbd->config_refs)); in nbd_cleanup()