Home
last modified time | relevance | path

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

123

/tools/testing/selftests/net/forwarding/
Dtc_flower.sh41 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
43 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
55 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
56 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
67 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
82 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
91 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
93 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
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_actions.sh56 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
65 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
75 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
94 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
106 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
107 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
120 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
122 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 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
Dtc_common.sh9 local handle=$2
13 ".[] | select(.options.handle == $handle) | \
Dtc_flower_router.sh88 tc filter add dev $rp3 egress protocol ip pref 1 handle 101 flower \
90 tc filter add dev $rp3 egress protocol ip pref 2 handle 102 flower \
111 tc filter del dev $rp3 egress protocol ip pref 2 handle 102 flower
112 tc filter del dev $rp3 egress protocol ip pref 1 handle 101 flower
Dloopback.sh38 tc filter add dev $h1 ingress protocol arp pref 1 handle 101 flower \
64 tc filter del dev $h1 ingress protocol arp pref 1 handle 101 flower
/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/android/ion/
Dionmap_test.c61 int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle) in import_vgem_fd() argument
68 import_handle.handle = 0; in import_vgem_fd()
72 *handle = import_handle.handle; in import_vgem_fd()
76 void close_handle(int vgem_fd, uint32_t handle) in close_handle() argument
80 close.handle = handle; in close_handle()
88 uint32_t handle = 0; in main() local
108 ret = import_vgem_fd(vgem_fd, info.buffd, &handle); in main()
127 close_handle(vgem_fd, handle); in main()
/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/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/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/testing/selftests/drivers/net/mlxsw/
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 …]
Dvxlan_flooding.sh178 tc filter add dev br0 egress protocol all pref 1 handle 1 \
181 tc filter add dev $h1 egress protocol all pref 1 handle 1 \
183 tc filter add dev $h1 egress protocol all pref 2 handle 2 \
191 tc filter add dev $rp2 ingress protocol ip pref $i handle $i \
204 handle $i flower
209 tc filter del dev $h1 egress protocol all pref 2 handle 2 matchall
210 tc filter del dev $h1 egress protocol all pref 1 handle 1 flower
212 tc filter del dev br0 egress protocol all pref 1 handle 1 matchall
Dblackhole_routes.sh122 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
137 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
146 tc filter add dev $rp1 ingress protocol ipv6 pref 1 handle 101 flower \
161 tc filter del dev $rp1 ingress protocol ipv6 pref 1 handle 101 flower
Ddevlink_trap_l2_drops.sh132 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
142 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
169 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
230 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
274 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
345 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
391 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
438 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
/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/lib/traceevent/
Devent-plugin.c38 void *handle; member
280 void *handle; in load_plugin() local
289 handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); in load_plugin()
290 if (!handle) { in load_plugin()
296 alias = dlsym(handle, TEP_PLUGIN_ALIAS_NAME); in load_plugin()
300 func = dlsym(handle, TEP_PLUGIN_LOADER_NAME); in load_plugin()
314 list->handle = handle; in load_plugin()
439 func = dlsym(list->handle, TEP_PLUGIN_UNLOADER_NAME); in tep_unload_plugins()
442 dlclose(list->handle); in tep_unload_plugins()
/tools/include/uapi/drm/
Ddrm.h214 void *handle; /**< Handle of map */ member
228 void *handle; /**< User-space: "Handle" to pass to mmap() */ member
426 drm_context_t handle; member
442 drm_drawable_t handle; member
453 drm_drawable_t handle; member
547 unsigned long handle; /**< Used for binding / unbinding */ member
558 unsigned long handle; /**< From drm_agp_buffer */ member
588 unsigned long handle; /**< Used for mapping / unmapping */ member
604 __u32 handle; member
611 __u32 handle; member
[all …]
Di915_drm.h713 __u32 handle; member
719 __u32 handle; member
735 __u32 handle; member
751 __u32 handle; member
779 __u32 handle; member
791 __u32 handle; member
802 __u32 handle; member
880 __u32 handle; member
930 __u32 handle; member
1002 __u32 handle; member
[all …]
/tools/bpf/bpftool/
Dnet.c37 int handle; member
137 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
162 int i, handle, ret = 0; in show_dev_tc_bpf() local
185 tcinfo.handle_array[i].handle, in show_dev_tc_bpf()
192 handle = TC_H_ROOT; in show_dev_tc_bpf()
194 ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf()
199 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf()
201 ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf()
206 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf()
208 ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf()

123