Lines Matching defs:config_refs
119 refcount_t config_refs;
401 if (refcount_inc_not_zero(&nbd->config_refs)) {
403 * Add smp_mb__after_atomic to ensure that reading nbd->config_refs
405 * nbd_alloc_and_init_config(), avoid nbd->config_refs is set
1229 refcount_inc(&nbd->config_refs);
1326 if (refcount_dec_and_mutex_lock(&nbd->config_refs,
1405 * dropping the last config_refs and trying to destroy
1417 refcount_inc(&nbd->config_refs);
1578 * Order refcount_set(&nbd->config_refs, 1) and nbd->config assignment,
1584 refcount_set(&nbd->config_refs, 1);
1609 if (refcount_inc_not_zero(&nbd->config_refs)) {
1857 refcount_set(&nbd->config_refs, 0);
1905 if (refcount_read(&nbd->config_refs) ||
2019 if (refcount_read(&nbd->config_refs)) {
2130 refcount_inc(&nbd->config_refs);
2185 if (!refcount_inc_not_zero(&nbd->config_refs))
2389 if (refcount_read(&nbd->config_refs))
2612 if (refcount_read(&nbd->config_refs))
2614 refcount_read(&nbd->config_refs));