Home
last modified time | relevance | path

Searched full:table (Results 1 – 25 of 5776) sorted by relevance

12345678910>>...232

/openbmc/pldm/libpldmresponder/
H A Dbios_table.hpp21 using Table = std::vector<uint8_t>; typedef
30 * BIOSTable table(BIOS_STRING_TABLE_FILE_PATH);
31 * if (table.isEmpty()) { // no persisted table
35 * table.store(t); // persisted
37 * else { // persisted table exists
39 * // the table itself) to a GetBIOSTable command
40 * table.load(r); // actual table will be pushed back to the vector
46 /** @brief Ctor - set file path to persist BIOS table
48 * @param[in] filePath - file where BIOS table should be persisted
52 /** @brief Checks if there's a persisted BIOS table
[all …]
H A Dbios_table.cpp35 void BIOSTable::store(const Table& table) in store() argument
38 stream.write(reinterpret_cast<const char*>(table.data()), table.size()); in store()
50 BIOSStringTable::BIOSStringTable(const Table& stringTable) : in BIOSStringTable()
67 return table::string::decodeString(stringEntry); in findString()
79 return table::string::decodeHandle(stringEntry); in findHandle()
82 namespace table namespace
84 void appendPadAndChecksum(Table& table) in appendPadAndChecksum() argument
86 size_t payloadSize = table.size(); in appendPadAndChecksum()
87 table.resize(payloadSize + pldm_bios_table_pad_checksum_size(payloadSize)); in appendPadAndChecksum()
89 pldm_bios_table_append_pad_checksum(table.data(), table.size(), in appendPadAndChecksum()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery.dataTables-1.13.8.min.css1table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:befor…
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h48 /*! Read the raw table data from the specified row of the Egress CTL
49 * Filter table, and unpack it into the fields of rec.
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
51 * table_index - The table row to read (max 23).
58 * specified row of the Egress CTL Filter table.
59 * rec - [IN] The bitfield values to write to the table row.
60 * table_index - The table row to write(max 23).
66 /*! Read the raw table data from the specified row of the Egress
67 * Packet Classifier table, and unpack it into the fields of rec.
68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c34 mlx5_sf_lookup_by_index(struct mlx5_sf_table *table, unsigned int port_index) in mlx5_sf_lookup_by_index() argument
36 return xa_load(&table->port_indices, port_index); in mlx5_sf_lookup_by_index()
40 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() argument
45 xa_for_each(&table->port_indices, index, sf) { in mlx5_sf_lookup_by_function_id()
52 static int mlx5_sf_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_insert() argument
54 return xa_insert(&table->port_indices, sf->port_index, sf, GFP_KERNEL); in mlx5_sf_id_insert()
57 static void mlx5_sf_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_erase() argument
59 xa_erase(&table->port_indices, sf->port_index); in mlx5_sf_id_erase()
63 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc() argument
77 id_err = mlx5_sf_hw_table_sf_alloc(table->dev, controller, sfnum); in mlx5_sf_alloc()
[all …]
H A Dhw_table.c61 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc() argument
65 for (i = 0; i < ARRAY_SIZE(table->hwc); i++) { in mlx5_sf_table_fn_to_hwc()
66 if (table->hwc[i].max_fn && in mlx5_sf_table_fn_to_hwc()
67 fn_id >= table->hwc[i].start_fn_id && in mlx5_sf_table_fn_to_hwc()
68 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()
69 return &table->hwc[i]; in mlx5_sf_table_fn_to_hwc()
74 static int mlx5_sf_hw_table_id_alloc(struct mlx5_sf_hw_table *table, u32 controller, in mlx5_sf_hw_table_id_alloc() argument
81 hwc = mlx5_sf_controller_to_hwc(table->dev, controller); in mlx5_sf_hw_table_id_alloc()
103 static void mlx5_sf_hw_table_id_free(struct mlx5_sf_hw_table *table, u32 controller, int id) in mlx5_sf_hw_table_id_free() argument
107 hwc = mlx5_sf_controller_to_hwc(table->dev, controller); in mlx5_sf_hw_table_id_free()
[all …]
/openbmc/webui-vue/docs/guide/components/table/
H A Dindex.md1 # Table chapter
4 [BoostrapVue table component](https://bootstrap-vue.org/docs/components/table).
6 To use the component, include the `<b-table>` tag in the template. The component
9 ## Basic table
13 [Bootstrap-vue table component's documentation page](https://bootstrap-vue.org/docs/components/tabl…
17 - `items` - renders table items
18 - `fields` - renders table header
19 - `hover` - enables table row hover state
20 - `responsive` or `stacked` - makes the table responsive (enables horizontal
22 - `show-empty` _(required if table data is generated dynamically)_ - shows an
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnft_audit.sh63 for table in t1 t2; do
64 do_test "nft add table $table" \
65 "table=$table family=2 entries=1 op=nft_register_table"
67 do_test "nft add chain $table c1" \
68 "table=$table family=2 entries=1 op=nft_register_chain"
70 do_test "nft add chain $table c2; add chain $table c3" \
71 "table=$table family=2 entries=2 op=nft_register_chain"
73 cmd="add rule $table c1 counter"
76 "table=$table family=2 entries=1 op=nft_register_rule"
79 "table=$table family=2 entries=2 op=nft_register_rule"
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c35 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local
37 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated()
85 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local
113 if (!table->max_sfs) { in mlx5_sf_dev_add()
119 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add()
136 err = xa_insert(&table->devices, sf_index, sf_dev, GFP_KERNEL); in mlx5_sf_dev_add()
150 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local
152 xa_erase(&table->devices, sf_index); in mlx5_sf_dev_del()
159 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); in mlx5_sf_dev_state_change_handler() local
166 max_functions = mlx5_sf_max_functions(table->dev); in mlx5_sf_dev_state_change_handler()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drl.c110 * If the table is full, return NULL
112 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() argument
119 lockdep_assert_held(&table->rl_lock); in find_rl_entry()
120 WARN_ON(!table->rl_entry); in find_rl_entry()
122 for (i = 0; i < table->max_size; i++) { in find_rl_entry()
124 if (!table->rl_entry[i].refcount) in find_rl_entry()
125 return &table->rl_entry[i]; in find_rl_entry()
129 if (table->rl_entry[i].refcount) { in find_rl_entry()
130 if (table->rl_entry[i].dedicated) in find_rl_entry()
132 if (mlx5_rl_are_equal_raw(&table->rl_entry[i], rl_in, in find_rl_entry()
[all …]
/openbmc/linux/tools/power/acpi/tools/acpidump/
H A Dapdump.c15 ap_dump_table_buffer(struct acpi_table_header *table,
22 * PARAMETERS: table - Pointer to table to be validated
26 * DESCRIPTION: Check for a valid ACPI table header
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()
39 "Table signature (0x%8.8X) is invalid\n", in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
44 /* Check for minimum table length */ in ap_is_valid_header()
46 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header()
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dmpspec.h22 u32 mpf_physptr; /* Configuration table address */
37 u16 mpc_length; /* Size of table */
42 u32 mpc_oemptr; /* OEM table address */
43 u16 mpc_oemsize; /* OEM table size */
44 u16 mpc_entry_count; /* Number of entries in the table */
46 u16 mpe_length; /* Extended table size */
47 u8 mpe_checksum; /* Extended table checksum */
51 /* Base MP configuration table entry types */
147 /* Extended MP configuration table entry types */
217 * mp_next_mpc_entry() - Compute MP configuration table end to be used as
[all …]
/openbmc/libpldm/include/libpldm/
H A Dbios_table.h17 * structure representing bios table iterator
21 /** @brief Create a bios table iterator
22 * @param[in] table - Pointer to table data
23 * @param[in] length - Length of table data
24 * @param[in] type - Type of pldm bios table
28 pldm_bios_table_iter_create(const void *table, size_t length,
31 /** @brief Release a bios table iterator
32 * @param[in] iter - Pointer to bios table iterator
36 /** @brief Check if the iterator reaches the end of the bios table
37 * @param[in] iter - Pointer to the bios table iterator
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c194 dev_err(dev, "table %u not support multi-hop addressing!\n", in get_hem_table_config()
203 struct hns_roce_hem_table *table, unsigned long *obj, in hns_roce_calc_hem_mhop() argument
212 if (get_hem_table_config(hr_dev, mhop, table->type)) in hns_roce_calc_hem_mhop()
222 bt_num = hns_roce_get_bt_num(table->type, mhop->hop_num); in hns_roce_calc_hem_mhop()
224 chunk_size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : in hns_roce_calc_hem_mhop()
226 table_idx = *obj / (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop()
241 dev_err(dev, "table %u not support hop_num = %u!\n", in hns_roce_calc_hem_mhop()
242 table->type, mhop->hop_num); in hns_roce_calc_hem_mhop()
336 struct hns_roce_hem_table *table, unsigned long obj, in calc_hem_config() argument
347 ret = hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, mhop); in calc_hem_config()
[all …]
/openbmc/linux/drivers/net/wireguard/
H A Dpeerlookup.c10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket() argument
17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket()
24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_pubkey_hashtable_alloc() local
26 if (!table) in wg_pubkey_hashtable_alloc()
29 get_random_bytes(&table->key, sizeof(table->key)); in wg_pubkey_hashtable_alloc()
30 hash_init(table->hashtable); in wg_pubkey_hashtable_alloc()
31 mutex_init(&table->lock); in wg_pubkey_hashtable_alloc()
32 return table; in wg_pubkey_hashtable_alloc()
35 void wg_pubkey_hashtable_add(struct pubkey_hashtable *table, in wg_pubkey_hashtable_add() argument
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib.sh103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1
104 fib4_trap_check $ns "table local 192.0.2.1/32 dev dummy1" false
105 check_err $? "Local table route not in hardware when should"
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
108 fib4_trap_check $ns "table main 192.0.2.1/32 dev dummy1" true
109 check_err $? "Main table route in hardware when should not"
111 fib4_trap_check $ns "table local 192.0.2.1/32 dev dummy1" false
112 check_err $? "Local table route was replaced when should not"
114 # Test that local routes can replace routes in main table.
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddump.c120 struct iwl_umac_error_event_table table = {}; in iwl_fwrt_dump_umac_error_log() local
129 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_umac_error_log()
131 if (table.valid) in iwl_fwrt_dump_umac_error_log()
132 fwrt->dump.umac_err_id = table.error_id; in iwl_fwrt_dump_umac_error_log()
141 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_umac_error_log()
144 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log()
147 if ((table.error_id & ~FW_SYSASSERT_CPU_MASK) == in iwl_fwrt_dump_umac_error_log()
154 IWL_ERR(fwrt, "0x%08X | %s\n", table.error_id, in iwl_fwrt_dump_umac_error_log()
155 iwl_fw_lookup_assert_desc(table.error_id)); in iwl_fwrt_dump_umac_error_log()
156 IWL_ERR(fwrt, "0x%08X | umac branchlink1\n", table.blink1); in iwl_fwrt_dump_umac_error_log()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_config_table.c36 * Check CRC32 of a table.
38 static int check_table(const void *table) in check_table() argument
43 struct efi_table_hdr *hdr = (struct efi_table_hdr *)table; in check_table()
47 * Setting the CRC32 of the 'const' table to zero is easier than in check_table()
51 ret = boottime->calculate_crc32(table, hdr->headersize, &res); in check_table()
52 /* Reset table CRC32 so it stays constant */ in check_table()
69 * @systable: system table
84 * A table is installed, updated, removed. The table entry and the
94 void *table; in execute() local
108 /* Try to delete non-existent table */ in execute()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c25 const struct drm_i915_mocs_entry *table; member
120 * entries will remain constant and the table will only be updated by
491 struct drm_i915_mocs_table *table) in get_mocs_settings() argument
495 memset(table, 0, sizeof(struct drm_i915_mocs_table)); in get_mocs_settings()
497 table->unused_entries_index = I915_MOCS_PTE; in get_mocs_settings()
499 table->size = ARRAY_SIZE(mtl_mocs_table); in get_mocs_settings()
500 table->table = mtl_mocs_table; in get_mocs_settings()
501 table->n_entries = MTL_NUM_MOCS_ENTRIES; in get_mocs_settings()
502 table->uc_index = 9; in get_mocs_settings()
503 table->unused_entries_index = 1; in get_mocs_settings()
[all …]
/openbmc/linux/Documentation/mm/
H A Dsplit_page_table_lock.rst2 Split page table lock
8 scalability, split page table lock was introduced.
10 With split page table lock we have separate per-table lock to serialize
11 access to the table. At the moment we use split lock for PTE and PMD
14 There are helpers to lock/unlock a table and other accessor functions:
17 maps PTE and takes PTE table lock, returns pointer to PTE with
18 pointer to its PTE table lock, or returns NULL if no PTE table;
20 maps PTE, returns pointer to PTE with pointer to its PTE table
21 lock (not taken), or returns NULL if no PTE table;
23 maps PTE, returns pointer to PTE, or returns NULL if no PTE table;
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c258 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() argument
260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
264 mutex_lock(&table->mutex); in mlx4_table_get()
266 if (table->icm[i]) { in mlx4_table_get()
267 ++table->icm[i]->refcount; in mlx4_table_get()
271 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
272 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mlx4_table_get()
273 __GFP_NOWARN, table->coherent); in mlx4_table_get()
274 if (!table->icm[i]) { in mlx4_table_get()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c417 * rvu_exact_calculate_hash - calculate hash index to mem table.
423 * @table_depth: Depth of table.
429 struct npc_exact_table *table = rvu->hw->table; in rvu_exact_calculate_hash() local
448 hash &= table->mem_table.hash_mask; in rvu_exact_calculate_hash()
449 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash()
456 * rvu_npc_exact_alloc_mem_table_entry - find free entry in 4 way table.
458 * @way: Indicate way to table.
459 * @index: Hash index to 4 way table.
462 * Searches 4 way table using hash index. Returns 0 on success.
468 struct npc_exact_table *table; in rvu_npc_exact_alloc_mem_table_entry() local
[all …]
/openbmc/linux/arch/s390/mm/
H A Dpgalloc.c3 * Page table allocation functions
54 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument
56 if (!table) in crst_table_free()
58 pagetable_free(virt_to_ptdesc(table)); in crst_table_free()
146 u64 *table; in page_table_alloc_pgste() local
150 table = (u64 *)ptdesc_to_virt(ptdesc); in page_table_alloc_pgste()
151 arch_set_page_dat(virt_to_page(table), 0); in page_table_alloc_pgste()
152 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste()
153 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste()
247 unsigned long *table; in page_table_alloc() local
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dtbdata.c4 * Module Name: tbdata - Table manager data structure functions
30 * PARAMETERS: table_desc - Table 1 descriptor to be compared
31 * table_index - Index of table 2 to be compared
35 * DESCRIPTION: This function compares a table with another table that has
36 * already been installed in the root table list.
45 struct acpi_table_header *table; in acpi_tb_compare_tables() local
51 &table, &table_length, &table_flags); in acpi_tb_compare_tables()
57 * Check for a table match on the entire table length, in acpi_tb_compare_tables()
61 memcmp(table_desc->pointer, table, table_length)) ? in acpi_tb_compare_tables()
64 /* Release the acquired table */ in acpi_tb_compare_tables()
[all …]
/openbmc/linux/arch/x86/lib/
H A 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 …]

12345678910>>...232