Lines Matching refs:cr_lru
332 cred = list_entry(head->next, struct rpc_cred, cr_lru); in rpcauth_destroy_credlist()
333 list_del_init(&cred->cr_lru); in rpcauth_destroy_credlist()
341 if (!list_empty(&cred->cr_lru)) in rpcauth_lru_add_locked()
344 list_add_tail(&cred->cr_lru, &cred_unused); in rpcauth_lru_add_locked()
350 if (!list_empty(&cred->cr_lru)) in rpcauth_lru_add()
360 if (list_empty(&cred->cr_lru)) in rpcauth_lru_remove_locked()
363 list_del_init(&cred->cr_lru); in rpcauth_lru_remove_locked()
369 if (list_empty(&cred->cr_lru)) in rpcauth_lru_remove()
398 list_add_tail(&cred->cr_lru, &free); in rpcauth_clear_credcache()
436 list_for_each_entry_safe(cred, next, &cred_unused, cr_lru) { in rpcauth_prune_expired()
455 list_add_tail(&cred->cr_lru, free); in rpcauth_prune_expired()
561 list_add_tail(&new->cr_lru, &free); in rpcauth_lookup_credcache()
599 INIT_LIST_HEAD(&cred->cr_lru); in rpcauth_init_cred()