/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
D | timens.h | 12 #ifndef CLONE_NEWTIME 13 # define CLONE_NEWTIME 0x00000080 macro 56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
|
D | gettime_perf.c | 85 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
D | procfs.c | 33 if (setns(fd, CLONE_NEWTIME)) in switch_ns()
|
D | clock_nanosleep.c | 136 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
D | timens.c | 52 if (setns(fd, CLONE_NEWTIME)) { in switch_ns()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_time_container_002.cpp | 113 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 116 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 128 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in TimeContainerUnshare() 135 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
|
D | It_time_container_003.cpp | 55 ret = setns(fd, CLONE_NEWTIME); in childFunc() 83 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 89 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in TimeContainerUnshare()
|
D | It_time_container_006.cpp | 44 int ret = unshare(CLONE_NEWTIME); in childFunc() 49 ret = unshare(CLONE_NEWTIME); in childFunc() 86 auto pid1 = clone(childFunc, stackTop, CLONE_NEWTIME, NULL); in ItTimeContainer006()
|
D | It_time_container_005.cpp | 94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
|
D | It_time_container_004.cpp | 94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
|
D | It_time_container_001.cpp | 59 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer001()
|
D | It_time_container_010.cpp | 58 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer010()
|
D | It_time_container_008.cpp | 68 int ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd.h | 25 #ifndef CLONE_NEWTIME 26 #define CLONE_NEWTIME 0x00000080 macro
|
D | pidfd_setns_test.c | 49 [PIDFD_NS_TIME] = { "time", CLONE_NEWTIME, }, 90 if (unshare(CLONE_NEWTIME)) in switch_timens() 97 ret = setns(fd, CLONE_NEWTIME); in switch_timens()
|
/kernel/linux/linux-5.10/kernel/ |
D | nsproxy.c | 160 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces() 224 CLONE_NEWTIME))) in unshare_nsproxy_namespaces() 265 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags() 294 if (flags & CLONE_NEWTIME) in check_setns_flags() 472 if (flags & CLONE_NEWTIME) { in validate_nsset() 523 if (flags & CLONE_NEWTIME) in commit_nsset()
|
D | fork.c | 2895 CLONE_NEWTIME)) in check_unshare_flags()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | namespace.c | 136 if (!(flags & CLONE_NEWTIME)) in copy_time_ns() 449 .type = CLONE_NEWTIME, 459 .type = CLONE_NEWTIME,
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | sched.h | 49 #define CLONE_NEWTIME 0x00000080 macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/liteos_a/kernel/extended/container/ |
D | los_time_container.c | 109 if (!(flags & CLONE_NEWTIME)) { in OsUnshareTimeContainer() 150 if (flags & CLONE_NEWTIME) { in OsSetNsTimeContainer()
|
D | los_container.c | 319 mask |= CLONE_NEWTIME; in GetContainerFlagsMask() 339 flags &= ~CLONE_NEWTIME; in OsCopyContainers() 620 return CLONE_NEWTIME; in SetNsGetFlagByContainerType()
|
/kernel/linux/linux-5.10/include/linux/ |
D | time_namespace.h | 119 if (flags & CLONE_NEWTIME) in copy_time_ns()
|
/kernel/liteos_a/testsuites/unittest/container/ |
D | It_container_test.h | 91 #define CLONE_NEWTIME 0x00000080 macro
|