Lines Matching refs:config_refs
120 refcount_t config_refs; member
437 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_get_config_unlocked()
637 refcount_inc(&nbd->config_refs); in nbd_sched_pending_work()
1346 refcount_inc(&nbd->config_refs); in nbd_reconnect_socket()
1434 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
1533 refcount_inc(&nbd->config_refs); in nbd_start_device()
1700 refcount_set(&nbd->config_refs, 1); in nbd_alloc_and_init_config()
1725 if (refcount_inc_not_zero(&nbd->config_refs)) { in nbd_open()
1971 refcount_set(&nbd->config_refs, 0); in nbd_dev_add()
2019 if (refcount_read(&nbd->config_refs) || in nbd_find_get_unused()
2133 if (refcount_read(&nbd->config_refs)) { in nbd_genl_connect()
2243 refcount_inc(&nbd->config_refs); in nbd_genl_connect()
2301 if (!refcount_inc_not_zero(&nbd->config_refs)) in nbd_genl_disconnect()
2505 if (refcount_read(&nbd->config_refs)) in populate_nbd_status()
2728 if (refcount_read(&nbd->config_refs)) in nbd_cleanup()
2730 refcount_read(&nbd->config_refs)); in nbd_cleanup()