Home
last modified time | relevance | path

Searched refs:flag_val (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/containers/userns/
Duserns06_capcheck.c45 cap_flag_value_t flag_val; in main() local
57 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in main()
58 if (flag_val != expected_flag) in main()
60 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in main()
61 if (flag_val != expected_flag) in main()
65 if (flag_val != expected_flag) { in main()
Duserns01.c57 cap_flag_value_t flag_val; in child_fn1() local
74 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in child_fn1()
75 if (flag_val == 0) in child_fn1()
77 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in child_fn1()
78 if (flag_val == 0) in child_fn1()
82 if (flag_val == 0) { in child_fn1()
/external/strace/tests-m32/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
51 long rc = syscall(__NR_openat, -1, sample, mode_val | flag_val, 0); in test_mode_flag()
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag()
/external/strace/tests-mx32/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
51 long rc = syscall(__NR_openat, -1, sample, mode_val | flag_val, 0); in test_mode_flag()
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag()
/external/strace/tests/
Dopenat.c49 unsigned int flag_val, const char *flag_str) in test_mode_flag() argument
51 long rc = syscall(__NR_openat, -1, sample, mode_val | flag_val, 0); in test_mode_flag()
54 flag_val ? "|" : "", flag_str, in test_mode_flag()
55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_pop/
D1-3.c34 void a_cleanup_func1(void *flag_val) in a_cleanup_func1() argument
41 void a_cleanup_func2(void *flag_val) in a_cleanup_func2() argument
48 void a_cleanup_func3(void *flag_val) in a_cleanup_func3() argument
D1-2.c37 void a_cleanup_func(void *flag_val) in a_cleanup_func() argument
39 cleanup_flag = (long)flag_val; in a_cleanup_func()
D1-1.c37 void a_cleanup_func(void *flag_val) in a_cleanup_func() argument
39 cleanup_flag = (long)flag_val; in a_cleanup_func()
/external/toybox/toys/pending/
Droute.c134 char iface[64] = {0,}, flag_val[10]; //there are 9 flags "UGHRDMDAC" for route. in display_routes() local
159 get_flag_value(flag_val, flags); in display_routes()
160 if (flags & RTF_REJECT) flag_val[0] = '!'; in display_routes()
161 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()
410 char ipv6_src_addr[41], flag_val[10], buf2[INET6_ADDRSTRLEN]; in display_routes6() local
429 get_flag_value(flag_val, flag); in display_routes6()
437 toybuf, buf2, flag_val, metric, refcount, use, iface); in display_routes6()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/
D1-1.c40 void a_cleanup_func(void *flag_val) in a_cleanup_func() argument
42 cleanup_flag = (long)flag_val; in a_cleanup_func()
D1-3.c39 void a_cleanup_func(void *flag_val) in a_cleanup_func() argument
41 cleanup_flag = (long)flag_val; in a_cleanup_func()
D1-2.c43 void a_cleanup_func(void *flag_val) in a_cleanup_func() argument
45 cleanup_flag = (long)flag_val; in a_cleanup_func()
/external/toybox/toys/net/
Dnetstat.c280 char *out = toybuf, *flag_val; in display_routes() local
319 flag_val = out; in display_routes()
324 if (flags & RTF_REJECT) *flag_val = '!'; in display_routes()
326 printf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes()