Lines Matching refs:i_crypt_info
558 * For existing inodes, multiple tasks may race to set ->i_crypt_info.
560 * fscrypt_get_info(). I.e., here we publish ->i_crypt_info with a
563 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) {
565 * We won the race and set ->i_crypt_info to our crypt_info.
592 * Set up ->i_crypt_info, if it hasn't already been done.
594 * Note: unless ->i_crypt_info is already set, this isn't %GFP_NOFS-safe. So
597 * Return: 0 if ->i_crypt_info was set or was already set, *or* if the
643 * If the directory is encrypted, set up its ->i_crypt_info in preparation for
645 * encrypted, set up its ->i_crypt_info and set *encrypt_ret=true.
699 put_crypt_info(inode->i_crypt_info);
700 inode->i_crypt_info = NULL;