Searched refs:current_ns (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/security/apparmor/ |
D | procattr.c | 34 struct aa_ns *current_ns = aa_get_current_ns(); in aa_getprocattr() local 37 if (!aa_ns_visible(current_ns, ns, true)) { in aa_getprocattr() 38 aa_put_ns(current_ns); in aa_getprocattr() 42 len = aa_label_snxprint(NULL, 0, current_ns, label, in aa_getprocattr() 49 aa_put_ns(current_ns); in aa_getprocattr() 53 len = aa_label_snxprint(*string, len + 2, current_ns, label, in aa_getprocattr() 57 aa_put_ns(current_ns); in aa_getprocattr() 65 aa_put_ns(current_ns); in aa_getprocattr()
|
/linux-6.12.1/include/net/ |
D | scm.h | 185 struct user_namespace *current_ns = current_user_ns(); in __scm_recv_common() local 188 .uid = from_kuid_munged(current_ns, scm->creds.uid), in __scm_recv_common() 189 .gid = from_kgid_munged(current_ns, scm->creds.gid), in __scm_recv_common()
|
/linux-6.12.1/drivers/ptp/ |
D | ptp_fc3.c | 784 s64 current_ns = 0; in idtfc3_set_overhead() local 806 current_ns = ktime_to_ns(diff); in idtfc3_set_overhead() 809 lowest_ns = current_ns; in idtfc3_set_overhead() 811 if (current_ns < lowest_ns) in idtfc3_set_overhead() 812 lowest_ns = current_ns; in idtfc3_set_overhead()
|
D | ptp_clockmatrix.c | 991 s64 current_ns = 0; in set_tod_write_overhead() local 1017 current_ns = ktime_to_ns(diff); in set_tod_write_overhead() 1020 lowest_ns = current_ns; in set_tod_write_overhead() 1022 if (current_ns < lowest_ns) in set_tod_write_overhead() 1023 lowest_ns = current_ns; in set_tod_write_overhead()
|
/linux-6.12.1/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 1657 s64 base_time_ns, current_ns; in hellcreek_schedule_startable() local 1668 current_ns = hellcreek->seconds * NSEC_PER_SEC + hellcreek->last_ts; in hellcreek_schedule_startable() 1674 return base_time_ns - current_ns < (s64)4 * NSEC_PER_SEC; in hellcreek_schedule_startable() 1681 s64 current_ns; in hellcreek_start_schedule() local 1689 current_ns = hellcreek->seconds * NSEC_PER_SEC + hellcreek->last_ts; in hellcreek_start_schedule() 1692 current_time = ns_to_ktime(current_ns); in hellcreek_start_schedule()
|
/linux-6.12.1/Documentation/networking/ |
D | sysfs-tagging.rst | 44 - current_ns() which returns current's namespace
|
/linux-6.12.1/net/core/ |
D | sock.c | 1661 struct user_namespace *current_ns = current_user_ns(); in cred_to_ucred() local 1663 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred() 1664 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred()
|