Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dsuper.c151 struct ecryptfs_global_auth_tok *walker; in ecryptfs_show_options() local
154 list_for_each_entry(walker, in ecryptfs_show_options()
157 if (walker->flags & ECRYPTFS_AUTH_TOK_FNEK) in ecryptfs_show_options()
158 seq_printf(m, ",ecryptfs_fnek_sig=%s", walker->sig); in ecryptfs_show_options()
160 seq_printf(m, ",ecryptfs_sig=%s", walker->sig); in ecryptfs_show_options()
Dkeystore.c496 struct ecryptfs_global_auth_tok *walker; in ecryptfs_find_global_auth_tok_for_sig() local
502 list_for_each_entry(walker, in ecryptfs_find_global_auth_tok_for_sig()
505 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
508 if (walker->flags & ECRYPTFS_AUTH_TOK_INVALID) { in ecryptfs_find_global_auth_tok_for_sig()
513 rc = key_validate(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
520 down_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
522 walker->global_auth_tok_key, auth_tok); in ecryptfs_find_global_auth_tok_for_sig()
526 (*auth_tok_key) = walker->global_auth_tok_key; in ecryptfs_find_global_auth_tok_for_sig()
533 up_write(&(walker->global_auth_tok_key->sem)); in ecryptfs_find_global_auth_tok_for_sig()
536 walker->flags |= ECRYPTFS_AUTH_TOK_INVALID; in ecryptfs_find_global_auth_tok_for_sig()
[all …]