Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 56) sorted by relevance

123

/tools/power/acpi/tools/acpidump/
Dapdump.c15 ap_dump_table_buffer(struct acpi_table_header *table,
30 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header() argument
33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
46 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header()
48 table->length); in ap_is_valid_header()
68 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum() argument
73 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_checksum()
78 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_is_valid_checksum()
[all …]
Dapfiles.c104 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file() argument
114 table_length = ap_get_table_length(table); in ap_write_to_binary_file()
118 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_write_to_binary_file()
121 ACPI_COPY_NAMESEG(filename, table->signature); in ap_write_to_binary_file()
142 table->signature, filename, table->length, in ap_write_to_binary_file()
143 table->length); in ap_write_to_binary_file()
154 actual = fwrite(table, 1, table_length, file); in ap_write_to_binary_file()
Dacpidump.h71 u8 ap_is_valid_header(struct acpi_table_header *table);
73 u8 ap_is_valid_checksum(struct acpi_table_header *table);
75 u32 ap_get_table_length(struct acpi_table_header *table);
82 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance);
/tools/arch/x86/lib/
Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute()
35 if (!table) in inat_get_escape_attribute()
37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute()
39 if (!table) in inat_get_escape_attribute()
42 return table[opcode]; in inat_get_escape_attribute()
48 const insn_attr_t *table; in inat_get_group_attribute() local
53 table = inat_group_tables[n][0]; in inat_get_group_attribute()
54 if (!table) in inat_get_group_attribute()
[all …]
/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh29 for table in $tables; do
30 echo add table inet "$table" >> "$tmp"
31 echo flush table inet "$table" >> "$tmp"
33 echo "add chain inet $table INPUT { type filter hook input priority 0; }" >> "$tmp"
34 echo "add chain inet $table OUTPUT { type filter hook output priority 0; }" >> "$tmp"
37 echo "add chain inet $table $chain" >> "$tmp"
43 echo "add rule inet $table $BASE counter jump $chain" >> "$tmp"
45 echo "add rule inet $table $chain counter return" >> "$tmp"
64 for table in $tables;do
67 ip netns exec "$testns" nft delete table inet $table 2>/dev/null
Dconntrack_vrf.sh81 ip -net $ns0 li add tvrf type vrf table 9876
109 table testct {
163 table ip nat {
190 ip netns exec $ns0 nft list table ip nat |grep -q 'counter packets 2' &&
191 ip netns exec $ns0 nft list table ip nat |grep -q 'untracked counter packets [1-9]'
212 table ip nat {
227 ip netns exec $ns0 nft list table ip nat |grep -q 'counter packets 2'
Dconntrack_icmp_related.sh133 table inet filter {
148 table inet filter {
168 table inet filter {
197 table ip nat {
203 table ip6 nat {
Dnft_nat.sh185 table $family nat {
260 table $family nat {
386 table $family nat {
453 table $family nat {
554 table $family nat {
653 table $family nat {
691 ip netns exec "$ns0" nft delete table $family nat
735 table $family nat {
774 ip netns exec "$ns0" nft delete table $family nat
789 table inet filter {
Dnft_flowtable.sh126 table inet filter {
284 table ip nat {
304 handle=$(ip netns exec nsr1 nft -a list table inet filter | grep something-to-grep-for | cut -d \# …
355 ip netns exec nsr1 nft delete table ip nat
/tools/testing/selftests/net/
Dfib-onlink-tests.sh183 ip li add ${VRF} type vrf table ${VRF_TABLE}
185 ip ro add table ${VRF_TABLE} unreachable default metric 8192
186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
214 ip -6 ro add table ${VRF_TABLE} default via ${V6ADDRS[p7]/::[0-9]/::64}
227 ip ro flush table ${VRF_TABLE}
228 ip -6 ro flush table ${VRF_TABLE}
237 local table="$1"
247 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
253 local table="$1"
263 run_cmd ip ro add table "${table}" "${prefix}"/32 \
[all …]
Dfib_rule_tests.sh105 $IP -6 rule add $match table $RTABLE
116 $IP -6 route add table $RTABLE default via $GW_IP6 dev $DEV onlink
174 $IP rule add $match table $RTABLE
185 $IP route add table $RTABLE default via $GW_IP4 dev $DEV onlink
Droute_localnet.sh18 ip route del 127.0.0.0/8 dev lo table local
19 ip netns exec "${PEER_NS}" ip route del 127.0.0.0/8 dev lo table local
/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c38 char *signature, struct acpi_table_header **table);
42 char *signature, struct acpi_table_header **table);
44 static void osl_unmap_table(struct acpi_table_header *table);
59 struct acpi_table_header **table,
67 struct acpi_table_header **table,
156 struct acpi_table_header **table) in acpi_os_get_table_by_address() argument
195 *table = local_table; in acpi_os_get_table_by_address()
221 struct acpi_table_header **table, in acpi_os_get_table_by_name() argument
240 osl_get_bios_table(signature, instance, table, address); in acpi_os_get_table_by_name()
245 instance, table, address); in acpi_os_get_table_by_name()
[all …]
/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk17 delete table
174 if (array_size(table) != 0) {
175 print_table(table, tname "[INAT_GROUP_TABLE_SIZE]",
196 if (array_size(table) != 0) {
197 print_table(table, tname "[INAT_OPCODE_TABLE_SIZE]",
265 if (idx in table)
279 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")"
355 table[idx] = add_flags(table[idx],flags)
359 table[idx] = add_flags(table[idx],variant)
/tools/perf/Documentation/
Dperf-kallsyms.txt17 addresses and the addresses in the ELF kallsyms symbol table (for symbols in
24 Increase verbosity level, showing details about symbol table loading, etc.
/tools/perf/pmu-events/
DREADME45 (one table like the following, per JSON file; table name 'pme_power8'
61 - A 'mapping table' that maps each CPU of the architecture, to its
62 'PMU events table'
69 .table = pme_power8
81 to a single 'PMU events table'.
83 2. The 'pmu-events.h' has an extern declaration for the mapping table
84 and the generated 'pmu-events.c' defines this table.
90 matching events table and builds aliases for those events. This allows
Dpmu-events.h35 struct pmu_event *table; member
/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh561 ip route show table local | grep 198.51.100.1 | grep -q offload
565 ip route show table local | grep 198.51.100.1 | grep -q offload
569 ip route show table local | grep 198.51.100.1 | grep -q offload
577 ip route show table local | grep 198.51.100.1 | grep -q offload
581 ip route show table local | grep 198.51.100.1 | grep -q offload
589 ip route show table local | grep 198.51.100.1 | grep -q offload
593 ip route show table local | grep 198.51.100.1 | grep -q offload
601 ip route show table local | grep 198.51.100.1 | grep -q offload
605 ip route show table local | grep 198.51.100.1 | grep -q offload
610 ip route show table local | grep 198.51.100.1 | grep -q offload
[all …]
/tools/testing/selftests/net/forwarding/
Dlib.sh303 ip -4 rule add pref 32765 table local
305 ip -6 rule add pref 32765 table local
311 ip -6 rule add pref 0 table local
313 ip -4 rule add pref 0 table local
344 ip link add dev $vrf_name type vrf table $tb_id
345 ip -4 route add table $tb_id unreachable default metric 4278198272
346 ip -6 route add table $tb_id unreachable default metric 4278198272
357 ip -6 route del table $tb_id unreachable default metric 4278198272
358 ip -4 route del table $tb_id unreachable default metric 4278198272
/tools/bpf/bpftool/
Dbtf.c40 DECLARE_HASHTABLE(table, 16);
570 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_btf_table()
667 hash_add(tab->table, &obj_node->hash, obj_node->btf_id); in build_btf_type_table()
714 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain()
721 hash_for_each_possible(btf_map_table->table, obj, hash, info->id) { in show_btf_plain()
743 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json()
752 hash_for_each_possible(btf_map_table->table, obj, hash, in show_btf_json()
802 hash_init(btf_prog_table.table); in do_show()
803 hash_init(btf_map_table.table); in do_show()
Dmain.h114 DECLARE_HASHTABLE(table, 16);
126 int build_pinned_obj_table(struct pinned_obj_table *table,
/tools/testing/selftests/x86/
Dsigreturn.c722 const char *table; in test_bad_iret() local
724 table = "GDT"; in test_bad_iret()
726 table = "LDT"; in test_bad_iret()
728 table = "IDT"; in test_bad_iret()
730 table = "???"; in test_bad_iret()
733 table, src, sig_err >> 3); in test_bad_iret()
/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl26 create_table_exe=`mktemp ${TMPDIR:-/tmp}/create-table-XXXXXX`
/tools/testing/selftests/bpf/progs/
Dtest_lwt_seg6local.c402 int table = 117; in __inspect_t() local
418 (void *)&table, sizeof(table)); in __inspect_t()
/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh149 ip -netns ${NS1} link add red type vrf table 1001
151 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
152 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
156 ip -netns ${NS2} link add red type vrf table 1001
158 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
159 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192

123