Lines Matching refs:cstr
930 struct f2fs_str cstr; in f2fs_encrypted_follow_link() local
950 cstr.len = le16_to_cpu(sd->len); in f2fs_encrypted_follow_link()
951 cstr.name = kmalloc(cstr.len, GFP_NOFS); in f2fs_encrypted_follow_link()
952 if (!cstr.name) { in f2fs_encrypted_follow_link()
956 memcpy(cstr.name, sd->encrypted_path, cstr.len); in f2fs_encrypted_follow_link()
959 if (cstr.name[0] == 0 && cstr.len == 0) { in f2fs_encrypted_follow_link()
964 if ((cstr.len + sizeof(struct f2fs_encrypted_symlink_data) - 1) > in f2fs_encrypted_follow_link()
970 res = f2fs_fname_crypto_alloc_buffer(inode, cstr.len, &pstr); in f2fs_encrypted_follow_link()
974 res = f2fs_fname_disk_to_usr(inode, NULL, &cstr, &pstr); in f2fs_encrypted_follow_link()
978 kfree(cstr.name); in f2fs_encrypted_follow_link()
989 kfree(cstr.name); in f2fs_encrypted_follow_link()