Home
last modified time | relevance | path

Searched refs:str_op (Results 1 - 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/containers/mqns/
H A Dmqns_03.c42 static char *str_op; variable
101 if (str_op && !strcmp(str_op, "clone")) { in run()
108 } else if (str_op && !strcmp(str_op, "unshare")) { in run()
121 if (!str_op || (strcmp(str_op, "clone") && strcmp(str_op, "unshare"))) in setup()
147 { "m:", &str_op, "Child process isolation <clone|unshare>" },
H A Dmqns_04.c40 static char *str_op; variable
70 if (str_op && !strcmp(str_op, "clone")) { in run()
77 } else if (str_op && !strcmp(str_op, "unshare")) { in run()
114 if (!str_op || (strcmp(str_op, "clone") && strcmp(str_op, "unshare"))) in setup()
140 { "m:", &str_op, "Child process isolation <clone|unshare>" },
H A Dmqns_01.c23 static char *str_op; variable
34 if (str_op && !strcmp(str_op, "clone")) { in run()
41 } else if (str_op && !strcmp(str_op, "unshare")) { in run()
79 { "m:", &str_op, "Child process isolation <clone|unshare>" },
H A Dmqns_02.c22 static char *str_op; variable
62 if (str_op && !strcmp(str_op, "clone")) { in run()
69 } else if (str_op && !strcmp(str_op, "unshare")) { in run()
107 { "m:", &str_op, "Child process isolation <clone|unshare>" },
/third_party/ltp/testcases/kernel/containers/sysvipc/
H A Dsemtest_2ns.c40 static char *str_op; variable
54 tst_res(TINFO, "%s: created key in child1", str_op); in check_sem1()
78 tst_res(TINFO, "%s: reading key in child2", str_op); in check_sem2()
85 tst_res(TFAIL, "%s: In namespace2 found semaphore created in namespace1", str_op); in check_sem2()
90 tst_res(TPASS, "%s: In namespace2 unable to access semaphore created in namespace1", str_op); in check_sem2()
103 tst_res(TFAIL, "%s: In namespace2 able to unlock the semaphore created in an namespace1", str_op); in check_sem2()
108 tst_res(TPASS, "%s: In namespace2 unable to unlock the semaphore created in an namespace1", str_op); in check_sem2()
123 use_clone = get_clone_unshare_enum(str_op); in setup()
145 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
H A Dshmem_2nstest.c40 static char *str_op; variable
66 tst_res(TPASS, "%s: in namespace2 unable to access the shmem seg created in namespace1", str_op); in check_shmem2()
71 tst_res(TFAIL, "%s: in namespace2 found the shmem segment created in namespace1", str_op); in check_shmem2()
85 use_clone = get_clone_unshare_enum(str_op); in setup()
95 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
H A Dshmnstest.c26 static char *str_op; variable
37 tst_res(TPASS, "%s: child process didn't find shmid", str_op); in check_shmid()
42 tst_res(TFAIL, "%s: child process found shmid", str_op); in check_shmid()
53 use_clone = get_clone_unshare_enum(str_op); in setup()
73 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
H A Dcommon.h22 static inline int get_clone_unshare_enum(const char *str_op) in get_clone_unshare_enum() argument
28 if (!str_op || !strcmp(str_op, "none")) in get_clone_unshare_enum()
30 else if (!strcmp(str_op, "clone")) in get_clone_unshare_enum()
32 else if (!strcmp(str_op, "unshare")) in get_clone_unshare_enum()
H A Dsem_nstest.c34 static char *str_op; variable
48 tst_res(TPASS, "%s: container didn't find semaphore", str_op); in check_semaphore()
58 tst_res(TFAIL, "%s: Container init process found semaphore", str_op); in check_semaphore()
68 use_clone = get_clone_unshare_enum(str_op); in setup()
87 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
H A Dmesgq_nstest.c36 static char *str_op; variable
56 tst_res(TPASS, "%s: container didn't find mesgq", str_op); in check_mesgq()
74 tst_res(TFAIL, "%s: container init process found mesgq", str_op); in check_mesgq()
87 tst_res(TINFO, "mesgq namespaces test: %s", str_op); in run()
94 use_clone = get_clone_unshare_enum(str_op); in setup()
113 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
/third_party/ltp/testcases/kernel/containers/utsname/
H A Dutsname04.c19 static char *str_op; variable
34 if (!str_op || !strcmp(str_op, "clone")) { in run()
60 { "m:", &str_op, "Test execution mode <clone|unshare>" },
H A Dutsname03.c21 static char *str_op; variable
56 if (!str_op || !strcmp(str_op, "clone")) { in run()
118 { "m:", &str_op, "Test execution mode <clone|unshare>" },

Completed in 3 milliseconds