Lines Matching refs:candidate
382 static void fscache_wait_on_collision(struct fscache_cookie *candidate, in fscache_wait_on_collision() argument
391 candidate->debug_id, wait_for->debug_id); in fscache_wait_on_collision()
401 static bool fscache_hash_cookie(struct fscache_cookie *candidate) in fscache_hash_cookie() argument
408 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie()
413 if (fscache_cookie_same(candidate, cursor)) { in fscache_hash_cookie()
422 fscache_get_volume(candidate->volume, fscache_volume_get_cookie); in fscache_hash_cookie()
423 atomic_inc(&candidate->volume->n_cookies); in fscache_hash_cookie()
424 hlist_bl_add_head(&candidate->hash_link, h); in fscache_hash_cookie()
425 set_bit(FSCACHE_COOKIE_IS_HASHED, &candidate->flags); in fscache_hash_cookie()
429 fscache_wait_on_collision(candidate, wait_for); in fscache_hash_cookie()
439 fscache_print_cookie(candidate, 'N'); in fscache_hash_cookie()