Searched refs:iname (Results 1 – 7 of 7) sorted by relevance
/fs/crypto/ |
D | fname.c | 98 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname, in fscrypt_fname_encrypt() argument 113 if (WARN_ON_ONCE(olen < iname->len)) in fscrypt_fname_encrypt() 115 memcpy(out, iname->name, iname->len); in fscrypt_fname_encrypt() 116 memset(out + iname->len, 0, olen - iname->len); in fscrypt_fname_encrypt() 154 const struct fscrypt_str *iname, in fname_decrypt() argument 177 sg_init_one(&src_sg, iname->name, iname->len); in fname_decrypt() 179 skcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, &iv); in fname_decrypt() 187 oname->len = strnlen(oname->name, iname->len); in fname_decrypt() 371 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr() argument 374 const struct qstr qname = FSTR_TO_QSTR(iname); in fscrypt_fname_disk_to_usr() [all …]
|
D | hooks.c | 272 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() local 295 err = fscrypt_fname_encrypt(inode, &iname, sd->encrypted_path, in __fscrypt_encrypt_symlink()
|
/fs/ext4/ |
D | ext4.h | 2723 const struct qstr *iname, 2741 const struct qstr *iname, in ext4_fname_setup_filename() argument 2748 err = fscrypt_setup_filename(dir, iname, lookup, &name); in ext4_fname_setup_filename() 2755 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename() 2797 const struct qstr *iname, in ext4_fname_setup_filename() argument 2802 fname->usr_fname = iname; in ext4_fname_setup_filename() 2803 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename() 2804 fname->disk_name.len = iname->len; in ext4_fname_setup_filename() 2807 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
|
D | namei.c | 1445 int ext4_fname_setup_ci_filename(struct inode *dir, const struct qstr *iname, in ext4_fname_setup_ci_filename() argument 1463 iname, cf_name->name, in ext4_fname_setup_ci_filename() 1478 return ext4fs_dirhash(dir, iname->name, iname->len, hinfo); in ext4_fname_setup_ci_filename()
|
/fs/f2fs/ |
D | dir.c | 107 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument 113 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
|
D | f2fs.h | 3474 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname,
|
/fs/ |
D | namei.c | 125 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname)) 146 kname = (char *)result->iname; in getname_flags() 162 const size_t size = offsetof(struct filename, iname[1]); in getname_flags() 231 result->name = (char *)result->iname; in getname_kernel() 233 const size_t size = offsetof(struct filename, iname[1]); in getname_kernel() 267 if (name->name != name->iname) { in putname()
|