Home
last modified time | relevance | path

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

1234

/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/bpf/bpftool/
Dpids.c16 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() argument
20 void delete_obj_refs_table(struct obj_refs_table *table) {} in delete_obj_refs_table() argument
21 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) {} in emit_obj_refs_plain() argument
22 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() argument
28 static void add_ref(struct obj_refs_table *table, struct pid_iter_entry *e) in add_ref() argument
35 hash_for_each_possible(table->table, refs, node, e->id) { in add_ref()
79 hash_add(table->table, &refs->node, e->id); in add_ref()
90 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() argument
98 hash_init(table->table); in build_obj_refs_table()
154 add_ref(table, e); in build_obj_refs_table()
[all …]
Dmain.h111 DECLARE_HASHTABLE(table, 16);
121 DECLARE_HASHTABLE(table, 16);
139 int build_pinned_obj_table(struct pinned_obj_table *table,
142 __weak int build_obj_refs_table(struct obj_refs_table *table,
144 __weak void delete_obj_refs_table(struct obj_refs_table *table);
145 __weak void emit_obj_refs_json(struct obj_refs_table *table, __u32 id,
147 __weak void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id,
Dbtf.c42 DECLARE_HASHTABLE(table, 16);
607 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_btf_table()
705 hash_add(tab->table, &obj_node->hash, obj_node->btf_id); in build_btf_type_table()
752 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain()
759 hash_for_each_possible(btf_map_table->table, obj, hash, info->id) { in show_btf_plain()
782 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json()
791 hash_for_each_possible(btf_map_table->table, obj, hash, in show_btf_json()
844 hash_init(btf_prog_table.table); in do_show()
845 hash_init(btf_map_table.table); in do_show()
/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 {
/tools/perf/tests/
Dpfm.c55 } table[] = { in test__pfm_events() local
86 for (i = 0; i < ARRAY_SIZE(table); i++) { in test__pfm_events()
93 table[i].events, in test__pfm_events()
95 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events()
97 table[i].nr_events); in test__pfm_events()
98 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events()
116 } table[] = { in test__pfm_group() local
160 for (i = 0; i < ARRAY_SIZE(table); i++) { in test__pfm_group()
167 table[i].events, in test__pfm_group()
169 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group()
[all …]
Dpmu-events.c154 struct pmu_event *table; in test_pmu_event_table() local
164 for (table = map->table; table->name; table++) { in test_pmu_event_table()
169 if (table->pmu) in test_pmu_event_table()
177 if (strcmp(table->name, te->name)) in test_pmu_event_table()
182 if (!is_same(table->desc, te->desc)) { in test_pmu_event_table()
184 table->name, table->desc, te->desc); in test_pmu_event_table()
188 if (!is_same(table->topic, te->topic)) { in test_pmu_event_table()
190 table->name, table->topic, in test_pmu_event_table()
195 if (!is_same(table->long_desc, te->long_desc)) { in test_pmu_event_table()
197 table->name, table->long_desc, in test_pmu_event_table()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Dfib.sh103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
119 ip -n $ns route add table local 192.0.2.2/32 dev dummy1
200 ip -n $ns route add table local 2001:db8:1::1/128 dev dummy1
204 ip -n $ns route add table main 2001:db8:1::1/128 dev dummy1
212 ip -n $ns route add table main 2001:db8:1::2/128 dev dummy1
216 ip -n $ns route add table local 2001:db8:1::2/128 dev dummy1
Dvxlan.sh563 ip route show table local 198.51.100.1
568 ip route show table local 198.51.100.1
573 ip route show table local 198.51.100.1
582 ip route show table local 198.51.100.1
587 ip route show table local 198.51.100.1
596 ip route show table local 198.51.100.1
601 ip route show table local 198.51.100.1
610 ip route show table local 198.51.100.1
615 ip route show table local 198.51.100.1
621 ip route show table local 198.51.100.1
[all …]
/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 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.h43 struct pmu_event *table; member
/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run.log11 PID hash table entries: 256 (order: -1, 2048 bytes)
12 Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
13 Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
20 Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
21 Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
26 futex hash table entries: 256 (order: 0, 6144 bytes)
Dtest_output_isolated_correctly.log4 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
5 Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
45 Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
46 Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
51 futex hash table entries: 256 (order: 0, 6144 bytes)
/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()

1234