Home
last modified time | relevance | path

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

/Linux-v6.6/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_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 …]
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()
/Linux-v6.6/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-v6.6/fs/ceph/
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.name = tname->name; in ceph_fname_to_usr()
[all …]
/Linux-v6.6/include/linux/
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() argument
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() argument
Dfs.h2408 const char iname[]; member
2410 static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
/Linux-v6.6/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.h2731 const struct qstr *iname,
2739 int ext4_fname_setup_filename(struct inode *dir, const struct qstr *iname,
2751 const struct qstr *iname, in ext4_fname_setup_filename() argument
2756 fname->usr_fname = iname; in ext4_fname_setup_filename()
2757 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename()
2758 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
2761 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
Dnamei.c1445 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()
/Linux-v6.6/tools/perf/tests/
Dattr.py356 for iname, ievent in events.items():
358 event.group = iname
359 log.debug('[%s] has group leader [%s]' % (name, iname))
/Linux-v6.6/arch/x86/boot/
Dgenimage.sh171 names=("${names[@]}" -or -iname "$name")
/Linux-v6.6/drivers/media/pci/cx23885/
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()
/Linux-v6.6/Documentation/hwmon/
Dvia686a.rst19 - Jonathan Teh Soon Yew <j.teh@iname.com>
/Linux-v6.6/arch/mips/include/asm/
Dsgiarcs.h91 _PULONG iname; /* string identifier */ member
/Linux-v6.6/fs/f2fs/
Ddir.c107 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()
Df2fs.h3523 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname,
/Linux-v6.6/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-v6.6/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-v6.6/fs/
Dnamei.c127 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname))
148 kname = (char *)result->iname; in getname_flags()
164 const size_t size = offsetof(struct filename, iname[1]); in getname_flags()
233 result->name = (char *)result->iname; in getname_kernel()
235 const size_t size = offsetof(struct filename, iname[1]); in getname_kernel()
270 if (name->name != name->iname) { in putname()
/Linux-v6.6/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-v6.6/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-v6.6/drivers/crypto/
Dn2_core.c1709 u64 node, const char *iname, unsigned long q_type, in handle_exec_unit() argument
1736 return spu_map_ino(dev, ip, iname, p, handler); in handle_exec_unit()
/Linux-v6.6/
DCREDITS28 E: dragos@iname.com