Lines Matching refs:config_refs
116 refcount_t config_refs; member
408 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_xmit_timeout()
914 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_handle_cmd()
1138 refcount_inc(&nbd->config_refs); in nbd_reconnect_socket()
1236 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
1339 refcount_inc(&nbd->config_refs); in nbd_start_device()
1505 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1509 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1519 refcount_set(&nbd->config_refs, 1); in nbd_open()
1742 refcount_set(&nbd->config_refs, 0); in nbd_dev_add()
1794 if (refcount_read(&nbd->config_refs) || in nbd_find_get_unused()
1897 if (refcount_read(&nbd->config_refs)) { in nbd_genl_connect()
1917 refcount_set(&nbd->config_refs, 1); in nbd_genl_connect()
2012 refcount_inc(&nbd->config_refs); in nbd_genl_connect()
2071 if (!refcount_inc_not_zero(&nbd->config_refs)) in nbd_genl_disconnect()
2128 if (!refcount_inc_not_zero(&nbd->config_refs)) { in nbd_genl_reconfigure()
2274 if (refcount_read(&nbd->config_refs)) in populate_nbd_status()