/linux/fs/crypto/ |
H A D | fname.c | 92 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 D | hooks.c | 287 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 D | identify.c | 95 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 D | crypto.c | 268 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 D | fscrypt.h | 394 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 D | fs.h | 2713 const char iname[]; member 2715 static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
|
/linux/fs/ext4/ |
H A D | crypto.c | 22 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 D | ext4.h | 2747 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 D | namei.c | 1394 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 D | attr.py |
|
/linux/arch/x86/boot/ |
H A D | genimage.sh | 171 names=("${names[@]}" -or -iname "$name")
|
/linux/Documentation/hwmon/ |
H A D | via686a.rst | 19 - Jonathan Teh Soon Yew <j.teh@iname.com>
|
/linux/arch/mips/include/asm/ |
H A D | sgiarcs.h | 91 _PULONG iname; /* string identifier */ member
|
/linux/tools/gpio/ |
H A D | gpio-sloppy-logic-analyzer.sh | 85 for f in $(find "$1" -iname "$2"); do echo "$newmask" > "$f" 2>/dev/null || true; done
|
/linux/fs/f2fs/ |
H A D | dir.c | 121 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 D | hdpvr-video.c | 755 static const char *iname[] = { variable 771 strscpy(i->name, iname[n], sizeof(i->name)); in vidioc_enum_input()
|
/linux/fs/ |
H A D | namei.c | 126 #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 D | n2_core.c | 1686 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 D | CREDITS | 28 E: dragos@iname.com
|