Lines Matching refs:i_crypt_info
595 * For existing inodes, multiple tasks may race to set ->i_crypt_info.
597 * fscrypt_get_inode_info(). I.e., here we publish ->i_crypt_info with
600 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) {
602 * We won the race and set ->i_crypt_info to our crypt_info.
634 * Set up ->i_crypt_info, if it hasn't already been done.
636 * Note: unless ->i_crypt_info is already set, this isn't %GFP_NOFS-safe. So
639 * Return: 0 if ->i_crypt_info was set or was already set, *or* if the
694 * If the directory is encrypted, set up its ->i_crypt_info in preparation for
696 * encrypted, set up its ->i_crypt_info and set *encrypt_ret=true.
753 put_crypt_info(inode->i_crypt_info);
754 inode->i_crypt_info = NULL;