Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 108) sorted by relevance

12345

/tools/testing/selftests/net/forwarding/
Dtc_flower.sh44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
Dtc_actions.sh62 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
71 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
83 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
92 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
113 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
127 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
129 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
[all …]
Dtc_common.sh12 local handle=$2
16 tc_rule_handle_stats_get "$id" "$handle" > /dev/null
22 local handle=$2
25 tc_rule_handle_stats_get "$id" "$handle" > /dev/null
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
133 tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \
137 tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \
[all …]
Dtc_police.sh132 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
152 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
158 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
164 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
207 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
212 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
219 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
[all …]
Drouter_multicast.sh240 tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \
242 tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \
266 tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower
267 tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower
280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \
282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \
306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower
307 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower
323 tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \
325 tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \
[all …]
Dtc_vlan_modify.sh113 tc filter add dev $swp1 ingress protocol all pref 1 handle 1 \
115 tc filter add dev $swp2 ingress protocol all pref 1 handle 1 \
126 tc filter del dev $swp2 ingress protocol all pref 1 handle 1 flower
127 tc filter del dev $swp1 ingress protocol all pref 1 handle 1 flower
140 tc filter add dev $swp1 egress protocol all pref 1 handle 1 \
142 tc filter add dev $swp2 egress protocol all pref 1 handle 1 \
153 tc filter del dev $swp2 egress protocol all pref 1 handle 1 flower
154 tc filter del dev $swp1 egress protocol all pref 1 handle 1 flower
Dtc_shblocks.sh53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
68 tc filter del block 22 protocol ip pref 1 handle 101 flower
77 tc filter add block 22 protocol ip pref 1 handle 101 flower \
79 tc filter add block 22 protocol ip pref 2 handle 102 flower \
94 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter del block 22 protocol ip pref 2 handle 102 flower
Dsch_tbf_etsprio.sh14 tc qdisc replace dev $swp2 parent 10:3 handle 103: tbf \
16 tc qdisc replace dev $swp2 parent 10:2 handle 102: tbf \
27 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0
/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c51 libusb_device_handle *handle; member
67 state->handle = NULL; in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
108 if (libusb_claim_interface(state->handle, 0)) { in test_init()
109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init()
116 ret = libusb_claim_interface(state->handle, 0); in test_init()
128 libusb_attach_kernel_driver(state->handle, 0); in test_init()
131 libusb_close(state->handle); in test_init()
147 libusb_release_interface(state->handle, 0); in test_exit()
149 libusb_attach_kernel_driver(state->handle, 0); in test_exit()
[all …]
/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c51 libusb_device_handle *handle; member
67 state->handle = NULL; in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
108 if (libusb_claim_interface(state->handle, 0)) { in test_init()
109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init()
116 ret = libusb_claim_interface(state->handle, 0); in test_init()
128 libusb_attach_kernel_driver(state->handle, 0); in test_init()
131 libusb_close(state->handle); in test_init()
147 libusb_release_interface(state->handle, 0); in test_exit()
149 libusb_attach_kernel_driver(state->handle, 0); in test_exit()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh46 tc filter add block 22 protocol ip pref 1 handle 101 flower \
58 tc filter del block 22 protocol ip pref 1 handle 101 flower
63 tc filter add block 22 protocol ip pref 1 handle 101 flower \
72 tc filter add block 22 protocol ip pref 1 handle 101 flower \
76 tc filter del block 22 protocol ip pref 1 handle 101 flower
94 tc filter add block 22 protocol ip pref 1 handle 101 flower \
107 tc filter del block 22 protocol ip pref 1 handle 101 flower
112 tc filter add block 22 protocol ip pref 1 handle 101 flower \
122 tc filter add block 22 protocol ip pref 1 handle 101 flower \
129 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
Dtc_sample.sh231 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
249 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
262 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
266 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
268 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
283 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
287 tc filter add dev $rp1 ingress protocol all pref 2 handle 102 matchall \
294 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
296 tc filter add dev $rp1 ingress protocol all pref 2 handle 102 matchall \
302 tc filter del dev $rp1 ingress protocol all pref 2 handle 102 matchall
[all …]
Dtc_police_occ.sh70 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
76 tc filter del dev $swp1 ingress pref 1 handle 101 flower
80 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
84 tc filter add dev $swp1 ingress pref 2 handle 102 proto ip \
90 tc filter del dev $swp1 ingress pref 2 handle 102 flower
94 tc filter del dev $swp1 ingress pref 1 handle 101 flower
Done_armed_router.sh134 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
138 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 flower \
142 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 flower \
170 tc filter del dev $swp2 egress protocol ip pref 2 handle 102 flower
171 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
172 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
177 tc filter add dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower \
181 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \
185 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \
213 tc filter del dev $swp2 egress protocol ipv6 pref 2 handle 102 flower
[all …]
Ddevlink_trap_acl_drops.sh98 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 \
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
123 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 \
126 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
139 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
110 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
125 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
133 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
147 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
149 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
158 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
166 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
175 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
183 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/tools/testing/selftests/tpm2/
Dtpm2_tests.py31 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
38 self.client.policy_pcr(handle, pcrs)
39 self.client.policy_password(handle)
41 policy_dig = self.client.get_policy_digest(handle)
43 self.client.flush_context(handle)
47 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
50 self.client.policy_pcr(handle, pcrs)
51 self.client.policy_password(handle)
53 result = self.client.unseal(self.root_key, blob, auth, handle)
55 self.client.flush_context(handle)
[all …]
/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c51 static int open_device_nodes(char *devname, int pri, struct nx_handle *handle) in open_device_nodes() argument
79 handle->fd = fd; in open_device_nodes()
80 handle->paste_addr = (void *)((char *)addr + 0x400); in open_device_nodes()
119 int nx_function_end(void *handle) in nx_function_end() argument
122 struct nx_handle *nxhandle = handle; in nx_function_end()
195 static int nxu_run_job(struct nx_gzip_crb_cpb_t *cmdp, void *handle) in nxu_run_job() argument
198 struct nx_handle *nxhandle = handle; in nxu_run_job()
200 assert(handle != NULL); in nxu_run_job()
262 int nxu_submit_job(struct nx_gzip_crb_cpb_t *cmdp, void *handle) in nxu_submit_job() argument
266 cc = nxu_run_job(cmdp, handle); in nxu_submit_job()
/tools/testing/selftests/tc-testing/
Dtdc_batch.py73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, argument
77 device, prio, handle, skip, src_mac, dst_mac, share_action))
80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, argument
84 device, prio, handle, skip, src_mac, dst_mac, share_action))
87 def format_del_filter(device, prio, handle, skip, src_mac, dst_mac, argument
90 "flower".format(device, prio, handle))
Dtdc_multibatch.py57 handle = args.handle_start variable
63 num_filters, handle, operation, i + mac_prefix, device, file))
65 handle += num_filters
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c597 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
602 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) in acpi_os_wait_semaphore() argument
607 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
680 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
682 sem_t *sem = (sem_t *) handle; in acpi_os_delete_semaphore()
715 acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout) in acpi_os_wait_semaphore() argument
718 sem_t *sem = (sem_t *) handle; in acpi_os_wait_semaphore()
833 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
835 sem_t *sem = (sem_t *) handle; in acpi_os_signal_semaphore()
864 void acpi_os_delete_lock(acpi_spinlock handle) in acpi_os_delete_lock() argument
[all …]
/tools/build/feature/
Dtest-file-handle.c12 } handle; in main() local
15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); in main()
/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c11 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \
14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1);
27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic()
40 if (!ASSERT_EQ(opts.handle, 1, "handle set") || in test_tc_bpf_basic()
[all …]
/tools/testing/selftests/powerpc/nx-gzip/include/
Dnx.h33 int nx_function(void *handle, struct nxbuf_t *in, struct nxbuf_t *out,
36 int nx_function_end(void *handle);

12345