Lines Matching refs:flags
29 !(key->flags & ((1 << KEY_FLAG_INVALIDATED) | in check_cached_key()
42 if (!(t->flags & PF_KTHREAD)) { in cache_requested_key()
201 if (test_bit(KEY_FLAG_USER_CONSTRUCT, &key->flags) || in call_sbin_request_key()
252 !test_bit(KEY_FLAG_INVALIDATED, &authkey->flags)); in construct_key()
291 &authkey->flags)) in construct_get_dest_keyring()
371 unsigned long flags, in construct_alloc_key() argument
397 perm, flags, NULL); in construct_alloc_key()
401 set_bit(KEY_FLAG_USER_CONSTRUCT, &key->flags); in construct_alloc_key()
494 unsigned long flags) in construct_key_and_link() argument
515 ret = construct_alloc_key(ctx, dest_keyring, flags, user, &key); in construct_key_and_link()
581 unsigned long flags) in request_key_and_link() argument
592 .flags = (KEYRING_SEARCH_DO_STATE_CHECK | in request_key_and_link()
602 callout_info, callout_len, aux, dest_keyring, flags); in request_key_and_link()
654 aux, dest_keyring, flags); in request_key_and_link()
680 ret = wait_on_bit(&key->flags, KEY_FLAG_USER_CONSTRUCT, in wait_for_key_construction()
795 .flags = (KEYRING_SEARCH_DO_STATE_CHECK | in request_key_rcu()