Lines Matching refs:s_master_keys
29 /* The master encryption keys for a filesystem (->s_master_keys) */
99 if (WARN_ON_ONCE(!sb->s_master_keys))
101 spin_lock(&sb->s_master_keys->lock);
103 spin_unlock(&sb->s_master_keys->lock);
203 /* Create ->s_master_keys if needed. Synchronized by fscrypt_add_key_mutex. */
208 if (sb->s_master_keys)
217 * I.e., here we publish ->s_master_keys with a RELEASE barrier so that
220 smp_store_release(&sb->s_master_keys, keyring);
236 struct fscrypt_keyring *keyring = sb->s_master_keys;
263 sb->s_master_keys = NULL;
281 * Find the specified master key struct in ->s_master_keys and take a structural
283 * exist, but it does *not* guarantee that ->s_master_keys continues to contain
297 * I.e., another task can publish ->s_master_keys concurrently,
301 keyring = smp_load_acquire(&sb->s_master_keys);
426 * insert it into sb->s_master_keys.
432 struct fscrypt_keyring *keyring = sb->s_master_keys;
526 /* Didn't find the key in ->s_master_keys. Add it. */
532 * Found the key in ->s_master_keys. Add the user to ->mk_users