| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_swx_ctl.c | 107 struct table *table = &ctl->tables[i]; in table_find() local 202 table_entry_alloc(struct table *table) in table_entry_alloc() argument 416 table_entry_keycmp(struct table *table, in table_entry_keycmp() argument 448 table_entries_free(struct table *table) in table_entries_free() argument 617 struct table *table = &ctl->tables[i]; in table_free() local 645 struct table *table = &ctl->tables[i]; in table_state_free() local 885 struct table *table; in rte_swx_ctl_pipeline_table_entry_add() local 996 struct table *table; in rte_swx_ctl_pipeline_table_entry_delete() local 1086 struct table *table; in rte_swx_ctl_pipeline_table_default_entry_add() local 1340 struct table *table; in rte_swx_ctl_pipeline_table_entry_read() local [all …]
|
| H A D | rte_pipeline.c | 393 table->ops.f_free(table->h_table); in rte_pipeline_table_free() 442 memcpy(table->default_entry, default_entry, table->entry_size); in rte_pipeline_table_default_entry_add() 472 memcpy(entry, table->default_entry, table->entry_size); in rte_pipeline_table_default_entry_delete() 475 memset(table->default_entry, 0, table->entry_size); in rte_pipeline_table_default_entry_delete() 538 return (table->ops.f_add)(table->h_table, key, (void *) entry, in rte_pipeline_table_entry_add() 578 return (table->ops.f_delete)(table->h_table, key, key_found, entry); in rte_pipeline_table_entry_delete() 643 return (table->ops.f_add_bulk)(table->h_table, keys, (void **) entries, in rte_pipeline_table_entry_add_bulk() 1350 table->ops.f_lookup(table->h_table, p->pkts, p->pkts_mask, in rte_pipeline_run() 1367 table->arg_ah); in rte_pipeline_run() 1401 table->arg_ah); in rte_pipeline_run() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_table_tables.c | 140 void *table; in test_table_stub() local 145 if (table == NULL) in test_table_stub() 174 void *table; in test_table_array() local 187 if (table != NULL) in test_table_array() 193 if (table != NULL) in test_table_array() 199 if (table != NULL) in test_table_array() 290 void *table; in test_table_lpm() local 456 void *table; in test_table_lpm_ipv6() local 634 void *table; in test_table_hash_lru_generic() local 737 void *table; in test_table_hash_ext_generic() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-tsd.c | 234 table->ht_key = 1; in tsd_hash_add_key() 242 tmp_entry = tsd_hash_search(table, table->ht_key, DTOR_PID); in tsd_hash_add_key() 336 if (table == NULL) in tsd_hash_table_init() 351 table->ht_bits = bits; in tsd_hash_table_init() 352 table->ht_key = 1; in tsd_hash_table_init() 354 return (table); in tsd_hash_table_init() 389 kmem_free(table->ht_bins, sizeof (tsd_hash_bin_t)*(1<<table->ht_bits)); in tsd_hash_table_fini() 409 table = tsd_hash_table; in tsd_remove_entry() 468 table = tsd_hash_table; in tsd_set() 596 table = tsd_hash_table; in tsd_destroy() [all …]
|
| /f-stack/dpdk/lib/librte_efd/ |
| H A D | rte_efd.c | 33 #define EFD_KEY(key_idx, table) (table->keys + ((key_idx) * table->key_len)) argument 550 table = NULL; in rte_efd_create() 568 if (table == NULL) { in rte_efd_create() 587 table->max_num_rules * table->key_len, in rte_efd_create() 597 strlcpy(table->name, name, sizeof(table->name)); in rte_efd_create() 710 return table; in rte_efd_create() 715 rte_efd_free(table); in rte_efd_create() 743 return table; in rte_efd_find_existing() 753 if (table == NULL) in rte_efd_free() 774 rte_free(table); in rte_efd_free() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 100 a = table.pack() 103 a = table.pack(table) 135 table.sort(a) 142 table.sort(t) 171 table.sort(a) 174 table.sort(a) 195 table.sort(A) 201 table.sort(a) 208 table.insert(a, 10); table.insert(a, 2, 20); 209 table.insert(a, 1, -1); table.insert(a, 40); [all …]
|
| H A D | tst.lib_strings.lua | 159 assert(table.concat{} == "") 160 assert(table.concat({}, 'x') == "") 164 assert(table.concat(a, "b", 20, 20) == "xuxu") 166 assert(table.concat(a, "x", 22, 21) == "") 174 assert(table.concat(a, ",", 1, 0) == "") 175 assert(table.concat(a, ",", 1, 1) == "a") 176 assert(table.concat(a, ",", 1, 2) == "a,b") 177 assert(table.concat(a, ",", 2) == "b,c") 178 assert(table.concat(a, ",", 3) == "c") 179 assert(table.concat(a, ",", 4) == "") [all …]
|
| /f-stack/freebsd/arm64/acpica/ |
| H A D | acpi_machdep.c | 70 void *table; in map_table() local 80 table = pmap_mapbios(pa, length); in map_table() 85 pmap_unmapbios(table, length); in map_table() 89 return (table); in map_table() 99 ACPI_TABLE_HEADER *table; in probe_table() local 102 if (table == NULL) { in probe_table() 119 acpi_unmap_table(void *table) in acpi_unmap_table() argument 148 ACPI_TABLE_HEADER *table; in acpi_find_table() local 207 table = map_table(addr, sig); in acpi_find_table() 208 if (table == NULL) in acpi_find_table() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/examples/ |
| H A D | route_ecmp.cli | 23 table action profile APNH ipv4 offset 270 fwd encap ether 39 pipeline PIPELINE0 table match array offset 256 size 64K action APNH 41 pipeline PIPELINE0 port in 0 table 0 42 pipeline PIPELINE0 port in 1 table 0 43 pipeline PIPELINE0 port in 2 table 0 44 pipeline PIPELINE0 port in 3 table 0 48 pipeline PIPELINE0 table 0 rule add match default action fwd port 4 49 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.0.0.0 10 action fwd table 1 balance 0 0 0 0 … 50 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.64.0.0 10 action fwd table 1 balance 1 1 1 1… 51 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.128.0.0 10 action fwd table 1 balance 2 2 2 … [all …]
|
| H A D | rss.cli | 63 pipeline PIPELINE0 table match stub 64 pipeline PIPELINE0 port in 0 table 0 65 pipeline PIPELINE0 port in 1 table 0 66 pipeline PIPELINE0 port in 2 table 0 67 pipeline PIPELINE0 port in 3 table 0 76 pipeline PIPELINE1 table match stub 77 pipeline PIPELINE1 port in 0 table 0 78 pipeline PIPELINE1 port in 1 table 0 79 pipeline PIPELINE1 port in 2 table 0 89 pipeline PIPELINE2 table match stub [all …]
|
| H A D | l2fwd.cli | 36 pipeline PIPELINE0 table match stub 37 pipeline PIPELINE0 table match stub 38 pipeline PIPELINE0 table match stub 39 pipeline PIPELINE0 table match stub 41 pipeline PIPELINE0 port in 0 table 0 42 pipeline PIPELINE0 port in 1 table 1 43 pipeline PIPELINE0 port in 2 table 2 44 pipeline PIPELINE0 port in 3 table 3 48 pipeline PIPELINE0 table 0 rule add match default action fwd port 1 49 pipeline PIPELINE0 table 1 rule add match default action fwd port 0 [all …]
|
| H A D | kni.cli | 40 table action profile AP0 ipv4 offset 270 fwd 54 pipeline PIPELINE0 table match stub action AP0 55 pipeline PIPELINE0 table match stub action AP0 56 pipeline PIPELINE0 table match stub action AP0 57 pipeline PIPELINE0 table match stub action AP0 59 pipeline PIPELINE0 port in 0 table 0 60 pipeline PIPELINE0 port in 1 table 1 61 pipeline PIPELINE0 port in 2 table 2 62 pipeline PIPELINE0 port in 3 table 3 66 pipeline PIPELINE0 table 0 rule add match default action fwd port 0 [all …]
|
| H A D | tap.cli | 37 table action profile AP0 ipv4 offset 270 fwd 51 pipeline PIPELINE0 table match stub action AP0 52 pipeline PIPELINE0 table match stub action AP0 53 pipeline PIPELINE0 table match stub action AP0 54 pipeline PIPELINE0 table match stub action AP0 56 pipeline PIPELINE0 port in 0 table 0 57 pipeline PIPELINE0 port in 1 table 1 58 pipeline PIPELINE0 port in 2 table 2 59 pipeline PIPELINE0 port in 3 table 3 63 pipeline PIPELINE0 table 0 rule add match default action fwd port 0 [all …]
|
| /f-stack/freebsd/contrib/ck/src/ |
| H A D | ck_ht.c | 115 table->h(h, key, key_length, table->seed); in ck_ht_hash() 265 table->m = m; in ck_ht_init() 266 table->mode = mode; in ck_ht_init() 267 table->seed = seed; in ck_ht_init() 272 table->h = h; in ck_ht_init() 275 table->map = ck_ht_map_create(table, entries); in ck_ht_init() 640 map = table->map; in ck_ht_reset_size_spmc() 668 map = table->map; in ck_ht_grow_spmc() 695 table->h(&h, key, key_length, table->seed); in ck_ht_grow_spmc() 754 map = table->map; in ck_ht_remove_spmc() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | dict.c | 104 ht->table = NULL; in _dictReset() 367 int table; in dictGenericDelete() local 374 for (table = 0; table <= 1; table++) { in dictGenericDelete() 376 he = d->ht[table].table[idx]; in dictGenericDelete() 384 d->ht[table].table[idx] = he->next; in dictGenericDelete() 484 for (table = 0; table <= 1; table++) { in dictFind() 486 he = d->ht[table].table[idx]; in dictFind() 972 for (table = 0; table <= 1; table++) { in _dictKeyIndex() 975 he = d->ht[table].table[idx]; in _dictKeyIndex() 1017 for (table = 0; table <= 1; table++) { in dictFindEntryRefByPtrAndHash() [all …]
|
| /f-stack/freebsd/i386/acpica/ |
| H A D | acpi_machdep.c | 120 void *table; in map_table() local 129 table = pmap_mapbios(pa, length); in map_table() 134 pmap_unmapbios((vm_offset_t)table, length); in map_table() 138 return (table); in map_table() 148 ACPI_TABLE_HEADER *table; in probe_table() local 170 acpi_unmap_table(void *table) in acpi_unmap_table() argument 174 header = (ACPI_TABLE_HEADER *)table; in acpi_unmap_table() 189 ACPI_TABLE_HEADER *table; in acpi_find_table() local 264 table = map_table(addr, sig); in acpi_find_table() 265 if (table == NULL) in acpi_find_table() [all …]
|
| /f-stack/freebsd/amd64/acpica/ |
| H A D | acpi_machdep.c | 102 void *table; in map_table() local 111 table = pmap_mapbios(pa, length); in map_table() 116 pmap_unmapbios((vm_offset_t)table, length); in map_table() 120 return (table); in map_table() 130 ACPI_TABLE_HEADER *table; in probe_table() local 152 acpi_unmap_table(void *table) in acpi_unmap_table() argument 156 header = (ACPI_TABLE_HEADER *)table; in acpi_unmap_table() 171 ACPI_TABLE_HEADER *table; in acpi_find_table() local 246 table = map_table(addr, sig); in acpi_find_table() 247 if (table == NULL) in acpi_find_table() [all …]
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_stub.c | 14 #define RTE_TABLE_LPM_STATS_PKTS_IN_ADD(table, val) \ argument 15 table->stats.n_pkts_in += val 16 #define RTE_TABLE_LPM_STATS_PKTS_LOOKUP_MISS(table, val) \ argument 17 table->stats.n_pkts_lookup_miss += val 21 #define RTE_TABLE_LPM_STATS_PKTS_IN_ADD(table, val) argument 22 #define RTE_TABLE_LPM_STATS_PKTS_LOOKUP_MISS(table, val) argument 53 __rte_unused void *table, in rte_table_stub_lookup() argument 59 __rte_unused struct rte_table_stub *stub = (struct rte_table_stub *) table; in rte_table_stub_lookup() 70 rte_table_stub_stats_read(void *table, struct rte_table_stats *stats, int clear) in rte_table_stub_stats_read() argument 72 struct rte_table_stub *t = table; in rte_table_stub_stats_read()
|
| H A D | rte_table_array.c | 18 #define RTE_TABLE_ARRAY_STATS_PKTS_IN_ADD(table, val) \ argument 19 table->stats.n_pkts_in += val 21 table->stats.n_pkts_lookup_miss += val 25 #define RTE_TABLE_ARRAY_STATS_PKTS_IN_ADD(table, val) argument 82 rte_table_array_free(void *table) in rte_table_array_free() argument 84 struct rte_table_array *t = table; in rte_table_array_free() 100 void *table, in rte_table_array_entry_add() argument 106 struct rte_table_array *t = table; in rte_table_array_entry_add() 111 if (table == NULL) { in rte_table_array_entry_add() 144 void *table, in rte_table_array_lookup() argument [all …]
|
| H A D | rte_table_hash_cuckoo.c | 18 (table->stats.n_pkts_in += val) 20 (table->stats.n_pkts_lookup_miss += val) 143 rte_table_hash_cuckoo_free(void *table) { in rte_table_hash_cuckoo_free() argument 144 struct rte_table_hash *t = table; in rte_table_hash_cuckoo_free() 146 if (table == NULL) in rte_table_hash_cuckoo_free() 159 struct rte_table_hash *t = table; in rte_table_hash_cuckoo_entry_add() 163 if ((table == NULL) || in rte_table_hash_cuckoo_entry_add() 206 struct rte_table_hash *t = table; in rte_table_hash_cuckoo_entry_delete() 210 if ((table == NULL) || in rte_table_hash_cuckoo_entry_delete() 238 struct rte_table_hash *t = table; in rte_table_hash_cuckoo_lookup() [all …]
|
| H A D | rte_table.h | 63 typedef int (*rte_table_op_free)(void *table); 93 void *table, 122 void *table, 157 void *table, 192 void *table, 232 void *table, 252 void *table,
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_pinctrl.c | 94 mtk_pinctrl_process_entry(device_t dev, struct mtk_pin_group *table, in mtk_pinctrl_process_entry() argument 100 for (i = 0; table[i].name != NULL; i++) { in mtk_pinctrl_process_entry() 101 if (strcmp(table[i].name, group) == 0) { in mtk_pinctrl_process_entry() 110 for (j = 0; j < table[i].funcnum; j++) { in mtk_pinctrl_process_entry() 111 if (strcmp(table[i].functions[j].name, func) == 0) { in mtk_pinctrl_process_entry() 112 val = mtk_sysctl_get(table[i].sysc_reg); in mtk_pinctrl_process_entry() 113 val &= ~(table[i].mask << table[i].offset); in mtk_pinctrl_process_entry() 114 val |= (table[i].functions[j].value << table[i].offset); in mtk_pinctrl_process_entry() 115 mtk_sysctl_set(table[i].sysc_reg, val); in mtk_pinctrl_process_entry() 124 mtk_pinctrl_process_node(device_t dev, struct mtk_pin_group *table, in mtk_pinctrl_process_node() argument [all …]
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | test_pipeline.rst | 8 Its purpose is to demonstrate the performance of single-table DPDK pipelines. 17 * Core B ("Pipeline core") implements a single-table DPDK pipeline 20 processes it according to the actions configured in the table entries that 58 :numref:`table_test_pipeline_1` describes the table types used and how they are populated. 75 .. table:: Table Types 86 …| 2 | stub | Stub table. Core B is implementing the same pass-through | N/A … 111 …[spec]-8-ext | Extendable bucket hash table with 8-byte key size | Same as hash-[spec]… 134 …spec]-16-ext | Extendable bucket hash table with 16-byte key size | Same as hash-[spec]-… 157 …spec]-32-ext | Extendable bucket hash table with 32-byte key size | Same as hash-[spec]-… 228 Regardless of the table type used for the core B pipeline, [all …]
|
| H A D | ip_pipeline.rst | 329 Create action profile for the pipeline table :: 331 table action profile <profile_name> 385 Create pipeline table :: 387 pipeline <pipeline_name> table 410 Connect pipeline input port to table :: 415 or table :: 439 | table <table_id> 441 Add rule to table for specific pipeline instance :: 466 | table <table_id> 513 Delete table rule for specific pipeline instance :: [all …]
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | dict.c | 66 ht->table = NULL; in _dictReset() 112 he = ht->table[i]; in dictExpand() 119 he->next = n.table[h]; in dictExpand() 120 n.table[h] = he; in dictExpand() 127 free(ht->table); in dictExpand() 146 entry->next = ht->table[index]; in dictAdd() 147 ht->table[index] = entry; in dictAdd() 189 de = ht->table[h]; in dictDelete() 231 free(ht->table); in _dictClear() 249 he = ht->table[h]; in dictFind() [all …]
|