Home
last modified time | relevance | path

Searched refs:walker (Results 1 – 2 of 2) sorted by relevance

/fs/ecryptfs/
Dsuper.c153 struct ecryptfs_global_auth_tok *walker; in ecryptfs_show_options() local
156 list_for_each_entry(walker, in ecryptfs_show_options()
159 if (walker->flags & ECRYPTFS_AUTH_TOK_FNEK) in ecryptfs_show_options()
160 seq_printf(m, ",ecryptfs_fnek_sig=%s", walker->sig); in ecryptfs_show_options()
162 seq_printf(m, ",ecryptfs_sig=%s", walker->sig); in ecryptfs_show_options()
Dkeystore.c503 struct ecryptfs_global_auth_tok *walker; in ecryptfs_find_global_auth_tok_for_sig() local
509 list_for_each_entry(walker, in ecryptfs_find_global_auth_tok_for_sig()
512 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
515 if (walker->flags & ECRYPTFS_AUTH_TOK_INVALID) { in ecryptfs_find_global_auth_tok_for_sig()
520 rc = key_validate(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
527 down_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
529 walker->global_auth_tok_key, auth_tok); in ecryptfs_find_global_auth_tok_for_sig()
533 (*auth_tok_key) = walker->global_auth_tok_key; in ecryptfs_find_global_auth_tok_for_sig()
540 up_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
543 walker->flags |= ECRYPTFS_AUTH_TOK_INVALID; in ecryptfs_find_global_auth_tok_for_sig()
[all …]