Home
last modified time | relevance | path

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

/linux-6.1.9/fs/crypto/
Dfname.c98 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname, in fscrypt_fname_encrypt() argument
113 if (WARN_ON(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 …]
Dhooks.c242 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() local
265 err = fscrypt_fname_encrypt(inode, &iname, sd->encrypted_path, in __fscrypt_encrypt_symlink()
/linux-6.1.9/arch/mips/fw/arc/
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-6.1.9/include/linux/
Dfscrypt.h326 int fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname,
330 int fscrypt_setup_filename(struct inode *inode, const struct qstr *iname,
343 const struct fscrypt_str *iname,
584 const struct qstr *iname, in fscrypt_setup_filename() argument
591 fname->usr_fname = iname; in fscrypt_setup_filename()
592 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
593 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
615 const struct fscrypt_str *iname, in fscrypt_fname_disk_to_usr() argument
Dfs.h2740 const char iname[]; member
2742 static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
/linux-6.1.9/fs/ext4/
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()
Dext4.h2735 const struct qstr *iname,
2743 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname,
2755 const struct qstr *iname, in ext4_fname_setup_filename() argument
2760 fname->usr_fname = iname; in ext4_fname_setup_filename()
2761 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2762 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
2765 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
Dnamei.c1424 int ext4_fname_setup_ci_filename(struct inode *dir, const struct qstr *iname, in ext4_fname_setup_ci_filename() argument
1442 iname, cf_name->name, in ext4_fname_setup_ci_filename()
1457 ext4fs_dirhash(dir, iname->name, iname->len, hinfo); in ext4_fname_setup_ci_filename()
/linux-6.1.9/tools/perf/tests/
Dattr.py295 for iname, ievent in events.items():
297 event.group = iname
298 log.debug('[%s] has group leader [%s]' % (name, iname))
/linux-6.1.9/arch/x86/boot/
Dgenimage.sh171 names=("${names[@]}" -or -iname "$name")
/linux-6.1.9/drivers/media/pci/cx23885/
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()
/linux-6.1.9/Documentation/hwmon/
Dvia686a.rst19 - Jonathan Teh Soon Yew <j.teh@iname.com>
/linux-6.1.9/arch/mips/include/asm/
Dsgiarcs.h91 _PULONG iname; /* string identifier */ member
/linux-6.1.9/fs/f2fs/
Ddir.c140 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() argument
146 err = fscrypt_setup_filename(dir, iname, lookup, &crypt_name); in f2fs_setup_filename()
Df2fs.h3502 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname,
/linux-6.1.9/drivers/media/usb/hdpvr/
Dhdpvr-video.c755 static const char *iname[] = { variable
771 strscpy(i->name, iname[n], sizeof(i->name)); in vidioc_enum_input()
/linux-6.1.9/drivers/media/usb/cx231xx/
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()
/linux-6.1.9/fs/
Dnamei.c126 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname))
147 kname = (char *)result->iname; in getname_flags()
163 const size_t size = offsetof(struct filename, iname[1]); in getname_flags()
232 result->name = (char *)result->iname; in getname_kernel()
234 const size_t size = offsetof(struct filename, iname[1]); in getname_kernel()
267 if (name->name != name->iname) { in putname()
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88-video.c846 static const char * const iname[] = { in cx88_enum_input() local
864 strscpy(i->name, iname[INPUT(n).type], sizeof(i->name)); in cx88_enum_input()
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000-video.c1054 static const char *iname[] = { variable
1082 strscpy(i->name, iname[dev->vinput[n].type], sizeof(i->name)); in vidioc_enum_input()
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-video.c954 static const char * const iname[] = { variable
994 ent->name = iname[INPUT(i)->type]; in em28xx_v4l2_create_entities()
1663 strscpy(i->name, iname[INPUT(n)->type], sizeof(i->name)); in vidioc_enum_input()
/linux-6.1.9/drivers/crypto/
Dn2_core.c1708 u64 node, const char *iname, unsigned long q_type, in handle_exec_unit() argument
1735 return spu_map_ino(dev, ip, iname, p, handler); in handle_exec_unit()
/linux-6.1.9/
DCREDITS28 E: dragos@iname.com