Home
last modified time | relevance | path

Searched refs:iname (Results 1 – 19 of 19) sorted by relevance

/linux/fs/crypto/
H A Dfname.c92 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname, in fscrypt_fname_encrypt() argument
107 if (WARN_ON_ONCE(olen < iname->len)) in fscrypt_fname_encrypt()
109 memcpy(out, iname->name, iname->len); in fscrypt_fname_encrypt()
110 memset(out + iname->len, 0, olen - iname->len); in fscrypt_fname_encrypt()
148 const struct fscrypt_str *iname, in fname_decrypt() argument
171 sg_init_one(&src_sg, iname->name, iname->len); in fname_decrypt()
173 skcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, &iv); in fname_decrypt()
181 oname->len = strnlen(oname->name, iname->len); in fname_decrypt()
365 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr() argument
368 const struct qstr qname = FSTR_TO_QSTR(iname); in fscrypt_fname_disk_to_usr()
[all …]
H A Dhooks.c287 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() local
310 err = fscrypt_fname_encrypt(inode, &iname, sd->encrypted_path, in __fscrypt_encrypt_symlink()
/linux/arch/mips/fw/arc/
H A Didentify.c95 const char *iname; in prom_identify_arch() local
102 iname = "Unknown"; in prom_identify_arch()
104 iname = (char *) (long) p->iname; in prom_identify_arch()
106 printk("ARCH: %s\n", iname); in prom_identify_arch()
107 mach = string_to_mach(iname); in prom_identify_arch()
/linux/fs/ceph/
H A Dcrypto.c268 struct qstr iname; in ceph_encode_encrypted_dname() local
275 iname.name = d_name->name; in ceph_encode_encrypted_dname()
280 (iname.name[0] == '_')) { in ceph_encode_encrypted_dname()
281 dir = parse_longname(parent, iname.name, &name_len); in ceph_encode_encrypted_dname()
284 iname.name++; /* skip initial '_' */ in ceph_encode_encrypted_dname()
286 iname.len = name_len; in ceph_encode_encrypted_dname()
300 if (!fscrypt_fname_encrypted_size(dir, iname.len, NAME_MAX, &len)) { in ceph_encode_encrypted_dname()
313 ret = fscrypt_fname_encrypt(dir, &iname, cryptbuf, len); in ceph_encode_encrypted_dname()
386 struct fscrypt_str iname; in ceph_fname_to_usr() local
446 iname.name = tname->name; in ceph_fname_to_usr()
[all …]
/linux/include/linux/
H A Dfscrypt.h394 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname,
398 int fscrypt_setup_filename(struct inode *inode, const struct qstr *iname,
411 const struct fscrypt_str *iname,
661 const struct qstr *iname, in fscrypt_setup_filename() argument
668 fname->usr_fname = iname; in fscrypt_setup_filename()
669 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
670 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
692 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr() argument
H A Dfs.h2713 const char iname[]; member
2715 static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
/linux/fs/ext4/
H A Dcrypto.c22 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname, in ext4_fname_setup_filename() argument
28 err = fscrypt_setup_filename(dir, iname, lookup, &name); in ext4_fname_setup_filename()
34 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
H A Dext4.h2747 const struct qstr *iname,
2757 const struct qstr *iname, in ext4_fname_setup_ci_filename() argument
2772 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname,
2784 const struct qstr *iname, in ext4_fname_setup_filename() argument
2788 fname->usr_fname = iname; in ext4_fname_setup_filename()
2789 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2790 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
2792 return ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
H A Dnamei.c1394 int ext4_fname_setup_ci_filename(struct inode *dir, const struct qstr *iname, in ext4_fname_setup_ci_filename() argument
1412 len = utf8_casefold(dir->i_sb->s_encoding, iname, buf, EXT4_NAME_LEN); in ext4_fname_setup_ci_filename()
1428 return ext4fs_dirhash(dir, iname->name, iname->len, hinfo); in ext4_fname_setup_ci_filename()
/linux/tools/perf/tests/
H A Dattr.py
/linux/arch/x86/boot/
H A Dgenimage.sh171 names=("${names[@]}" -or -iname "$name")
/linux/Documentation/hwmon/
H A Dvia686a.rst19 - Jonathan Teh Soon Yew <j.teh@iname.com>
/linux/arch/mips/include/asm/
H A Dsgiarcs.h91 _PULONG iname; /* string identifier */ member
/linux/tools/gpio/
H A Dgpio-sloppy-logic-analyzer.sh85 for f in $(find "$1" -iname "$2"); do echo "$newmask" > "$f" 2>/dev/null || true; done
/linux/fs/f2fs/
H A Ddir.c121 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument
127 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-video.c755 static const char *iname[] = { variable
771 strscpy(i->name, iname[n], sizeof(i->name)); in vidioc_enum_input()
/linux/fs/
H A Dnamei.c126 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname))
147 kname = (char *)result->iname; in getname_flags()
174 const size_t size = offsetof(struct filename, iname[1]); in getname_flags()
255 result->name = (char *)result->iname; in getname_kernel()
257 const size_t size = offsetof(struct filename, iname[1]); in getname_kernel()
292 if (name->name != name->iname) { in putname()
/linux/drivers/crypto/
H A Dn2_core.c1686 u64 node, const char *iname, unsigned long q_type, in handle_exec_unit() argument
1713 return spu_map_ino(dev, ip, iname, p, handler); in handle_exec_unit()
/linux/
H A DCREDITS28 E: dragos@iname.com