Home
last modified time | relevance | path

Searched refs:iname (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c79 * @iname: the filename to encrypt
81 * @olen: size of the encrypted filename. It must be at least @iname->len.
86 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname, in fscrypt_fname_encrypt() argument
101 if (WARN_ON(olen < iname->len)) in fscrypt_fname_encrypt()
103 memcpy(out, iname->name, iname->len); in fscrypt_fname_encrypt()
104 memset(out + iname->len, 0, olen - iname->len); in fscrypt_fname_encrypt()
134 * @iname: the encrypted filename to decrypt
141 const struct fscrypt_str *iname, in fname_decrypt()
140 fname_decrypt(const struct inode *inode, const struct fscrypt_str *iname, struct fscrypt_str *oname) fname_decrypt() argument
315 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
389 fscrypt_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct fscrypt_name *fname) fscrypt_setup_filename() argument
[all...]
H A Dhooks.c239 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() local
262 err = fscrypt_fname_encrypt(inode, &iname, sd->encrypted_path, in __fscrypt_encrypt_symlink()
H A Dfscrypt_private.h295 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname,
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c91 * @iname: the filename to encrypt
93 * @olen: size of the encrypted filename. It must be at least @iname->len.
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()
147 * @iname: the encrypted filename to decrypt
154 const struct fscrypt_str *iname, in fname_decrypt()
153 fname_decrypt(const struct inode *inode, const struct fscrypt_str *iname, struct fscrypt_str *oname) fname_decrypt() argument
369 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
444 fscrypt_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct fscrypt_name *fname) fscrypt_setup_filename() argument
[all...]
H A Dhooks.c272 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/ceph/
H A Dcrypto.c265 struct qstr iname; in ceph_encode_encrypted_dname() local
272 iname.name = d_name->name; in ceph_encode_encrypted_dname()
277 (iname.name[0] == '_')) { in ceph_encode_encrypted_dname()
278 dir = parse_longname(parent, iname.name, &name_len); in ceph_encode_encrypted_dname()
281 iname.name++; /* skip initial '_' */ in ceph_encode_encrypted_dname()
283 iname.len = name_len; in ceph_encode_encrypted_dname()
297 if (!fscrypt_fname_encrypted_size(dir, iname.len, NAME_MAX, &len)) { in ceph_encode_encrypted_dname()
310 ret = fscrypt_fname_encrypt(dir, &iname, cryptbuf, len); in ceph_encode_encrypted_dname()
383 struct fscrypt_str iname; in ceph_fname_to_usr() local
443 iname in ceph_fname_to_usr()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfscrypt.h211 int fscrypt_setup_filename(struct inode *inode, const struct qstr *iname,
224 const struct fscrypt_str *iname,
440 const struct qstr *iname, in fscrypt_setup_filename()
447 fname->usr_fname = iname; in fscrypt_setup_filename()
448 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
449 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
471 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr()
439 fscrypt_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct fscrypt_name *fname) fscrypt_setup_filename() argument
469 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfscrypt.h334 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname,
338 int fscrypt_setup_filename(struct inode *inode, const struct qstr *iname,
351 const struct fscrypt_str *iname,
596 const struct qstr *iname, in fscrypt_setup_filename()
603 fname->usr_fname = iname; in fscrypt_setup_filename()
604 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
605 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
627 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr()
595 fscrypt_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct fscrypt_name *fname) fscrypt_setup_filename() argument
625 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-6.6/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()
35 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
H A Dext4.h2732 const struct qstr *iname,
2740 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname,
2752 const struct qstr *iname, in ext4_fname_setup_filename()
2757 fname->usr_fname = iname; in ext4_fname_setup_filename()
2758 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2759 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
2762 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
2751 ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct ext4_filename *fname) ext4_fname_setup_filename() argument
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dattr.py295 for iname, ievent in events.items():
297 event.group = iname
298 log.debug('[%s] has group leader [%s]' % (name, iname))
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dattr.py356 for iname, ievent in events.items():
358 event.group = iname
359 log.debug('[%s] has group leader [%s]' % (name, iname))
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dgenimage.sh171 names=("${names[@]}" -or -iname "$name")
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
H A Dcx23885-video.c724 static const char *iname[] = { in cx23885_enum_input() local
748 strscpy(i->name, iname[INPUT(n)->type], sizeof(i->name)); in cx23885_enum_input()
831 static const char *iname[] = { in cx23885_query_audinput() local
845 strscpy(i->name, iname[n], sizeof(i->name)); in cx23885_query_audinput()
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/
H A Dcx23885-video.c725 static const char *iname[] = { in cx23885_enum_input() local
749 strscpy(i->name, iname[INPUT(n)->type], sizeof(i->name)); in cx23885_enum_input()
832 static const char *iname[] = { in cx23885_query_audinput() local
846 strscpy(i->name, iname[n], sizeof(i->name)); in cx23885_query_audinput()
/kernel/linux/linux-5.10/fs/ext4/
H A Dext4.h2596 const struct qstr *iname,
2614 const struct qstr *iname, in ext4_fname_setup_filename()
2621 err = fscrypt_setup_filename(dir, iname, lookup, &name); in ext4_fname_setup_filename()
2628 ext4_fname_setup_ci_filename(dir, iname, &fname->cf_name); in ext4_fname_setup_filename()
2670 const struct qstr *iname, in ext4_fname_setup_filename()
2674 fname->usr_fname = iname; in ext4_fname_setup_filename()
2675 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2676 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
2679 ext4_fname_setup_ci_filename(dir, iname, &fname->cf_name); in ext4_fname_setup_filename()
2613 ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct ext4_filename *fname) ext4_fname_setup_filename() argument
2669 ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname, int lookup, struct ext4_filename *fname) ext4_fname_setup_filename() argument
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dsgiarcs.h91 _PULONG iname; /* string identifier */ member
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dsgiarcs.h91 _PULONG iname; /* string identifier */ member
/kernel/linux/linux-5.10/fs/f2fs/
H A Ddir.c130 * Prepare to search for @iname in @dir. This is similar to
135 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument
141 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/f2fs/
H A Ddir.c102 * Prepare to search for @iname in @dir. This is similar to
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()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
H A Dcx231xx-video.c962 static const char *iname[] = { variable
982 ent->name = iname[INPUT(i)->type]; in cx231xx_v4l2_create_entities()
1033 strscpy(i->name, iname[INPUT(n)->type], sizeof(i->name)); in cx231xx_enum_input()

Completed in 38 milliseconds

12