Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/syscall_user_dispatch/
A Dsud_test.c67 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST_SIGNAL() local
79 SYSCALL_DISPATCH_ON(sel); in TEST_SIGNAL()
90 unsigned long size, void *sel) in prctl_valid() argument
97 unsigned long size, void *sel, int err) in prctl_invalid() argument
105 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST() local
110 prctl_invalid(_metadata, op, 0, 0, &sel, EINVAL); in TEST()
122 prctl_invalid(_metadata, op, 0x0, 0x0, &sel, EINVAL); in TEST()
131 prctl_invalid(_metadata, op, 0x1, 0x0, &sel, EINVAL); in TEST()
302 char sel = 0; in TEST() local
330 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST() local
[all …]
/tools/testing/selftests/x86/
A Dldt_gdt.c723 unsigned short sel; in test_gdt_invalidation() local
747 : [prev_sel] "=&r" (prev_sel), [sel] "+r" (sel), in test_gdt_invalidation()
753 if (sel != 0) { in test_gdt_invalidation()
760 result, sel); in test_gdt_invalidation()
778 : [prev_sel] "=&r" (prev_sel), [sel] "+r" (sel), in test_gdt_invalidation()
784 if (sel != 0) { in test_gdt_invalidation()
791 result, sel); in test_gdt_invalidation()
811 : [prev_sel] "=&r" (prev_sel), [sel] "+r" (sel), in test_gdt_invalidation()
828 if (sel != 0) { in test_gdt_invalidation()
864 : [prev_sel] "=&r" (prev_sel), [sel] "+r" (sel), in test_gdt_invalidation()
[all …]
A Dfsgsbase.c137 unsigned short sel; in check_gs_value() local
143 asm volatile ("mov %%gs, %0" : "=rm" (sel)); in check_gs_value()
147 sel); in check_gs_value()
151 base, sel); in check_gs_value()
158 sel); in check_gs_value()
162 base, sel); in check_gs_value()
213 unsigned short sel; in do_remote_base() local
214 asm volatile ("mov %%gs, %0" : "=rm" (sel)); in do_remote_base()
623 unsigned short sel = s; in main() local
625 asm ("mov %%ss, %0" : "=rm" (sel)); in main()
[all …]
A Dfsgsbase_restore.c104 unsigned short sel = (unsigned short)((desc.entry_number << 3) | 0x3); in init_seg() local
105 asm volatile ("mov %0, %" SEG :: "rm" (sel)); in init_seg()
125 unsigned short sel; in tracee_zap_segment() local
128 : "=rm" (sel)); in tracee_zap_segment()
/tools/testing/selftests/kvm/arm64/
A Dvpmu_counter_access.c63 static inline unsigned long read_sel_evcntr(int sel) in read_sel_evcntr() argument
65 write_sysreg(sel, pmselr_el0); in read_sel_evcntr()
71 static inline void write_sel_evcntr(int sel, unsigned long val) in write_sel_evcntr() argument
73 write_sysreg(sel, pmselr_el0); in write_sel_evcntr()
80 static inline unsigned long read_sel_evtyper(int sel) in read_sel_evtyper() argument
82 write_sysreg(sel, pmselr_el0); in read_sel_evtyper()
88 static inline void write_sel_evtyper(int sel, unsigned long val) in write_sel_evtyper() argument
90 write_sysreg(sel, pmselr_el0); in write_sel_evtyper()
/tools/testing/selftests/kvm/
A Dget-reg-list.c357 struct vcpu_reg_list *c, *sel = NULL; in main() local
363 sel = parse_config(av[i]); in main()
378 if (!sel) in main()
384 if (sel && c != sel) in main()
/tools/testing/selftests/net/
A Dvrf-xfrm-tests.sh264 sel src ${h1_4} dst ${h2_4} ${devarg}
271 sel src ${h1_4} dst ${h2_4}
279 sel src ${h2_4} dst ${h1_4} ${devarg}
286 sel src ${h2_4} dst ${h1_4}
294 sel src ${h1_6} dst ${h2_6} ${devarg}
301 sel src ${h1_6} dst ${h2_6}
309 sel src ${h2_6} dst ${h1_6} ${devarg}
316 sel src ${h2_6} dst ${h1_6}
A Dipsec.c934 req.info.sel.family = AF_INET; in xfrm_state_add()
935 req.info.sel.prefixlen_d = PREFIX_LEN; in xfrm_state_add()
936 req.info.sel.prefixlen_s = PREFIX_LEN; in xfrm_state_add()
976 if (info->sel.family != AF_INET || in xfrm_usersa_found()
978 info->sel.prefixlen_s != PREFIX_LEN) in xfrm_usersa_found()
1118 req.info.sel.family = AF_INET; in xfrm_policy_add()
1191 req.id.sel.family = AF_INET; in xfrm_policy_del()
1192 req.id.sel.prefixlen_d = PREFIX_LEN; in xfrm_policy_del()
1193 req.id.sel.prefixlen_s = PREFIX_LEN; in xfrm_policy_del()
1388 req.acq.policy.sel.family = AF_INET; in xfrm_monitor_acquire()
[all …]
A Dxfrm_policy.sh52 …me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet
53 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet
A Drtnetlink.sh650 $algo sel src $srcip/24 dst $dstip/24
772 mode transport reqid 42 $algo sel src $srcip/24 dst $dstip/24 \
776 mode transport reqid 42 $algo sel src $dstip/24 dst $srcip/24 \
A Dnettest.c1465 policy.sel.family = args->version; in config_xfrm_policy()
/tools/testing/selftests/bpf/
A Dtest_progs.c270 for (i = 0; i < sel->blacklist.cnt; i++) { in should_run()
271 if (glob_match(name, sel->blacklist.tests[i].name) && in should_run()
272 !sel->blacklist.tests[i].subtest_cnt) in should_run()
276 for (i = 0; i < sel->whitelist.cnt; i++) { in should_run()
277 if (glob_match(name, sel->whitelist.tests[i].name)) in should_run()
281 if (!sel->whitelist.cnt && !sel->num_set) in should_run()
284 return num < sel->num_set_len && sel->num_set[num]; in should_run()
321 if (!sel->whitelist.cnt && !subtest_sel->num_set) in should_run_subtest()
331 for (i = 0; i < sel->whitelist.cnt; i++) { in should_tmon()
332 if (glob_match(name, sel->whitelist.tests[i].name) && in should_tmon()
[all …]
/tools/net/ynl/lib/
A Dynl.c63 const char *sel; in ynl_err_walk_sel_policy() local
69 sel = ynl_attr_get_str(selector); in ynl_err_walk_sel_policy()
71 if (!strcmp(sel, policy->table[i].name)) in ynl_err_walk_sel_policy()
/tools/testing/selftests/net/netfilter/
A Dnft_flowtable.sh627 …to esp spi "$spi_in" enc aes "$KEY_AES" auth sha1 "$KEY_SHA" mode tunnel sel src "$rnet" dst "$l…
628 …oto esp spi "$spi_out" enc aes "$KEY_AES" auth sha1 "$KEY_SHA" mode tunnel sel src "$lnet" dst "$r…
/tools/net/ynl/pyynl/
A Dynl_gen_c.py689 for sel in pns.external_selectors():
906 sel = c_lower(self['selector'])
2280 for sel in struct.external_selectors():
2281 func_args.append('const char *_sel_' + sel.name)

Completed in 59 milliseconds