Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/fs/
Dxattr.c601 error = strncpy_from_user(ctx->kname->name, name, in setxattr_copy()
602 sizeof(ctx->kname->name)); in setxattr_copy()
603 if (error == 0 || error == sizeof(ctx->kname->name)) in setxattr_copy()
626 if (is_posix_acl_xattr(ctx->kname->name)) in do_setxattr()
627 return do_set_acl(idmap, dentry, ctx->kname->name, in do_setxattr()
630 return vfs_setxattr(idmap, dentry, ctx->kname->name, in do_setxattr()
639 struct xattr_name kname; in setxattr() local
644 .kname = &kname, in setxattr()
726 char *kname = ctx->kname->name; in do_getxattr() local
736 if (is_posix_acl_xattr(ctx->kname->name)) in do_getxattr()
[all …]
Dinternal.h259 struct xattr_name *kname; member
Dnamei.c133 char *kname; in getname_flags() local
148 kname = (char *)result->iname; in getname_flags()
149 result->name = kname; in getname_flags()
151 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags()
165 kname = (char *)result; in getname_flags()
174 __putname(kname); in getname_flags()
177 result->name = kname; in getname_flags()
178 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags()
180 __putname(kname); in getname_flags()
185 __putname(kname); in getname_flags()
/linux-6.6.21/fs/jfs/
Djfs_dtree.c3289 wchar_t *kname; in dtCompare() local
3311 kname = key->name; in dtCompare()
3322 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare()
3329 kname += len; in dtCompare()
3336 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare()
3341 kname += len; in dtCompare()
3366 wchar_t *kname, x; in ciCompare() local
3390 kname = key->name; in ciCompare()
3419 for (i = 0; i < len; i++, kname++, name++) { in ciCompare()
3425 if ((rc = *kname - x)) in ciCompare()
[all …]
/linux-6.6.21/sound/pci/hda/
Dpatch_si3054.c108 #define SI3054_KCONTROL(kname,reg,mask) { \ argument
110 .name = kname, \
/linux-6.6.21/kernel/rcu/
Dtasks.h118 char *kname; member
143 .kname = #rt_name, \
650 t = kthread_run(rcu_tasks_kthread, rtp, "%s_kthread", rtp->kname); in rcu_spawn_tasks_kthread_generic()
709 rtp->kname, in show_rcu_tasks_generic_gp_kthread()
812 __func__, rtp->kname, rtp->tasks_gp_seq, j - rtp->gp_start); in rcu_tasks_wait_gp()
1045 __func__, rcu_tasks.kname, rcu_tasks.tasks_gp_seq, in tasks_rcu_exit_srcu_stall()
/linux-6.6.21/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.6.21/sound/soc/intel/catpt/
Dpcm.c1076 #define CATPT_VOLUME_CTL(kname, sname) \ argument
1078 .name = (kname), \
/linux-6.6.21/tools/perf/util/
Dauxtrace.c2337 static bool kern_sym_name_match(const char *kname, const char *name) in kern_sym_name_match() argument
2341 return !strcmp(kname, name) || in kern_sym_name_match()
2342 (!strncmp(kname, name, n) && kname[n] == '\t'); in kern_sym_name_match()
/linux-6.6.21/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)