Home
last modified time | relevance | path

Searched refs:kname (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/io_uring/
Dxattr.c32 kfree(ix->ctx.kname); in io_xattr_cleanup()
64 ix->ctx.kname = kmalloc(sizeof(*ix->ctx.kname), GFP_KERNEL); in __io_getxattr_prep()
65 if (!ix->ctx.kname) in __io_getxattr_prep()
68 ret = strncpy_from_user(ix->ctx.kname->name, name, in __io_getxattr_prep()
69 sizeof(ix->ctx.kname->name)); in __io_getxattr_prep()
70 if (!ret || ret == sizeof(ix->ctx.kname->name)) in __io_getxattr_prep()
73 kfree(ix->ctx.kname); in __io_getxattr_prep()
165 ix->ctx.kname = kmalloc(sizeof(*ix->ctx.kname), GFP_KERNEL); in __io_setxattr_prep()
166 if (!ix->ctx.kname) in __io_setxattr_prep()
171 kfree(ix->ctx.kname); in __io_setxattr_prep()
/linux-6.12.1/fs/
Dxattr.c600 error = strncpy_from_user(ctx->kname->name, name, in setxattr_copy()
601 sizeof(ctx->kname->name)); in setxattr_copy()
602 if (error == 0 || error == sizeof(ctx->kname->name)) in setxattr_copy()
625 if (is_posix_acl_xattr(ctx->kname->name)) in do_setxattr()
626 return do_set_acl(idmap, dentry, ctx->kname->name, in do_setxattr()
629 return vfs_setxattr(idmap, dentry, ctx->kname->name, in do_setxattr()
637 struct xattr_name kname; in path_setxattr() local
642 .kname = &kname, in path_setxattr()
689 struct xattr_name kname; in SYSCALL_DEFINE5() local
694 .kname = &kname, in SYSCALL_DEFINE5()
[all …]
Dnamei.c132 char *kname; in getname_flags() local
147 kname = (char *)result->iname; in getname_flags()
148 result->name = kname; in getname_flags()
150 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags()
175 kname = (char *)result; in getname_flags()
184 __putname(kname); in getname_flags()
187 result->name = kname; in getname_flags()
188 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags()
190 __putname(kname); in getname_flags()
196 __putname(kname); in getname_flags()
[all …]
Dinternal.h279 struct xattr_name *kname; member
/linux-6.12.1/fs/bcachefs/
Dfs-ioctl.c216 char *kname = NULL; in bch2_ioc_reinherit_attrs() local
221 kname = kmalloc(BCH_NAME_MAX + 1, GFP_KERNEL); in bch2_ioc_reinherit_attrs()
222 if (!kname) in bch2_ioc_reinherit_attrs()
225 ret = strncpy_from_user(kname, name, BCH_NAME_MAX); in bch2_ioc_reinherit_attrs()
230 qstr.name = kname; in bch2_ioc_reinherit_attrs()
270 kfree(kname); in bch2_ioc_reinherit_attrs()
/linux-6.12.1/fs/jfs/
Djfs_dtree.c3291 wchar_t *kname; in dtCompare() local
3313 kname = key->name; in dtCompare()
3324 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare()
3331 kname += len; in dtCompare()
3338 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare()
3343 kname += len; in dtCompare()
3368 wchar_t *kname, x; in ciCompare() local
3392 kname = key->name; in ciCompare()
3421 for (i = 0; i < len; i++, kname++, name++) { in ciCompare()
3427 if ((rc = *kname - x)) in ciCompare()
[all …]
/linux-6.12.1/sound/pci/hda/
Dpatch_si3054.c108 #define SI3054_KCONTROL(kname,reg,mask) { \ argument
110 .name = kname, \
/linux-6.12.1/kernel/rcu/
Dtasks.h128 char *kname; member
154 .kname = #rt_name, \
685 t = kthread_run(rcu_tasks_kthread, rtp, "%s_kthread", rtp->kname); in rcu_spawn_tasks_kthread_generic()
742 rtp->kname, in show_rcu_tasks_generic_gp_kthread()
892 __func__, rtp->kname, rtp->tasks_gp_seq, j - rtp->gp_start); in rcu_tasks_wait_gp()
1168 __func__, rcu_tasks.kname, rcu_tasks.tasks_gp_seq, in tasks_rcu_exit_srcu_stall()
/linux-6.12.1/arch/alpha/kernel/
Dosf_sys.c564 char *kname; in SYSCALL_DEFINE2() local
571 kname = utsname()->domainname; in SYSCALL_DEFINE2()
572 len = strnlen(kname, namelen); in SYSCALL_DEFINE2()
574 memcpy(tmp, kname, len); in SYSCALL_DEFINE2()
/linux-6.12.1/sound/soc/intel/catpt/
Dpcm.c1076 #define CATPT_VOLUME_CTL(kname, sname) \ argument
1078 .name = (kname), \
/linux-6.12.1/tools/perf/util/
Dauxtrace.c2347 static bool kern_sym_name_match(const char *kname, const char *name) in kern_sym_name_match() argument
2351 return !strcmp(kname, name) || in kern_sym_name_match()
2352 (!strncmp(kname, name, n) && kname[n] == '\t'); in kern_sym_name_match()
/linux-6.12.1/tools/power/pm-graph/
Dsleepgraph.py649 def kprobeText(self, kname, kprobe): argument
650 name = fmt = func = kname
714 def testKprobe(self, kname, kprobe): argument
716 kprobeevents = self.kprobeText(kname, kprobe)