Home
last modified time | relevance | path

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

12345678910>>...133

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c124 if (!table) in mlx5_sf_table_try_get()
180 if (!table) in mlx5_devlink_sf_port_fn_state_get()
265 if (!table) { in mlx5_devlink_sf_port_fn_state_set()
352 if (!table) { in mlx5_devlink_sf_port_new()
392 if (!table) { in mlx5_devlink_sf_port_del()
436 table = mlx5_sf_table_try_get(table->dev); in mlx5_sf_vhca_event()
437 if (!table) in mlx5_sf_vhca_event()
528 table = kzalloc(sizeof(*table), GFP_KERNEL); in mlx5_sf_table_init()
529 if (!table) in mlx5_sf_table_init()
553 kfree(table); in mlx5_sf_table_init()
[all …]
H A Dhw_table.c68 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()
119 if (!table) in mlx5_sf_hw_table_sf_alloc()
297 table = kzalloc(sizeof(*table), GFP_KERNEL); in mlx5_sf_hw_table_init()
298 if (!table) { in mlx5_sf_hw_table_init()
304 table->dev = dev; in mlx5_sf_hw_table_init()
324 kfree(table); in mlx5_sf_hw_table_init()
334 if (!table) in mlx5_sf_hw_table_cleanup()
340 kfree(table); in mlx5_sf_hw_table_cleanup()
377 if (!table) in mlx5_sf_hw_table_create()
[all …]
/openbmc/linux/drivers/net/wireguard/
H A Dpeerlookup.c19 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()
31 mutex_init(&table->lock); in wg_pubkey_hashtable_alloc()
32 return table; in wg_pubkey_hashtable_alloc()
38 mutex_lock(&table->lock); in wg_pubkey_hashtable_add()
47 mutex_lock(&table->lock); in wg_pubkey_hashtable_remove()
85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_index_hashtable_alloc() local
87 if (!table) in wg_index_hashtable_alloc()
[all …]
/openbmc/linux/tools/power/acpi/tools/acpidump/
H A Dapdump.c40 *(u32 *)table->signature); in ap_is_valid_header()
48 table->length); in ap_is_valid_header()
83 status = acpi_ut_verify_checksum(table, table->length); in ap_is_valid_checksum()
88 table->signature); in ap_is_valid_checksum()
123 return (table->length); in ap_get_table_length()
224 ACPI_FREE(table); in ap_dump_all_tables()
275 ACPI_FREE(table); in ap_dump_table_by_address()
325 &table, &address); in ap_dump_table_by_name()
341 ACPI_FREE(table); in ap_dump_table_by_name()
374 if (!table) { in ap_dump_table_from_file()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddump.c129 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()
211 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_lmac_error_log()
213 if (table.valid) in iwl_fwrt_dump_lmac_error_log()
306 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_tcm_error_log()
308 if (table.valid) in iwl_fwrt_dump_tcm_error_log()
333 table.hw_status[i], i); in iwl_fwrt_dump_tcm_error_log()
336 table.sw_status[i], i); in iwl_fwrt_dump_tcm_error_log()
379 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_rcm_error_log()
381 if (table.valid) in iwl_fwrt_dump_rcm_error_log()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c37 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated()
113 if (!table->max_sfs) { in mlx5_sf_dev_add()
281 if (!table->active_wq) in mlx5_sf_dev_queue_active_work()
284 queue_work(table->active_wq, &table->work); in mlx5_sf_dev_queue_active_work()
305 table = kzalloc(sizeof(*table), GFP_KERNEL); in mlx5_sf_dev_table_create()
306 if (!table) { in mlx5_sf_dev_table_create()
312 table->dev = dev; in mlx5_sf_dev_table_create()
343 table->max_sfs = 0; in mlx5_sf_dev_table_create()
344 kfree(table); in mlx5_sf_dev_table_create()
365 if (!table) in mlx5_sf_dev_table_destroy()
[all …]
/openbmc/linux/arch/s390/mm/
H A Dpgalloc.c144 u64 *table; in page_table_alloc_pgste() local
251 table = NULL; in page_table_alloc()
278 if (table) in page_table_alloc()
306 return table; in page_table_alloc()
477 if (table) in base_pgt_alloc()
479 return table; in base_pgt_alloc()
498 return table; in base_crst_alloc()
729 if (!table) in base_asce_alloc()
735 if (!table) in base_asce_alloc()
741 if (!table) in base_asce_alloc()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.c500 table->table = mtl_mocs_table; in get_mocs_settings()
506 table->table = pvc_mocs_table; in get_mocs_settings()
513 table->table = dg2_mocs_table; in get_mocs_settings()
525 table->table = dg1_mocs_table; in get_mocs_settings()
533 table->table = tgl_mocs_table; in get_mocs_settings()
544 table->table = icl_mocs_table; in get_mocs_settings()
549 table->table = skl_mocs_table; in get_mocs_settings()
594 if (index < table->size && table->table[index].used) in get_entry_control()
596 return table->table[table->unused_entries_index].control_value; in get_entry_control()
646 if (index < table->size && table->table[index].used) in get_entry_l3cc()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drl.c164 return (rate <= table->max_rate && rate >= table->min_rate); in mlx5_rl_is_in_range()
183 if (table->rl_entry) { in mlx5_rl_table_get()
184 table->refcount++; in mlx5_rl_table_get()
188 table->rl_entry = kcalloc(table->max_size, sizeof(struct mlx5_rl_entry), in mlx5_rl_table_get()
190 if (!table->rl_entry) in mlx5_rl_table_get()
199 table->refcount++; in mlx5_rl_table_get()
206 if (--table->refcount) in mlx5_rl_table_put()
217 if (!table->rl_entry) in mlx5_rl_table_free()
248 if (!table->max_size) in mlx5_rl_add_rate_raw()
254 rate, table->min_rate, table->max_rate); in mlx5_rl_add_rate_raw()
[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/tools/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
35 if (!table) 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
54 if (!table) in inat_get_group_attribute()
58 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; in inat_get_avx_attribute() local
73 if (!table) in inat_get_avx_attribute()
78 if (!table) in inat_get_avx_attribute()
[all …]
/openbmc/linux/arch/x86/lib/
H A Dinat.c29 const insn_attr_t *table; in inat_get_escape_attribute() local
35 if (!table) 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
54 if (!table) in inat_get_group_attribute()
58 if (!table) in inat_get_group_attribute()
68 const insn_attr_t *table; in inat_get_avx_attribute() local
73 if (!table) in inat_get_avx_attribute()
78 if (!table) in inat_get_avx_attribute()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c266 if (table->icm[i]) { in mlx4_table_get()
279 if (mlx4_MAP_ICM(dev, table->icm[i], table->virt + in mlx4_table_get()
281 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_table_get()
307 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_table_put()
323 if (!table->lowmem) in mlx4_table_find()
328 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
430 table->icm = kvcalloc(num_icm, sizeof(*table->icm), GFP_KERNEL); in mlx4_init_icm_table()
431 if (!table->icm) in mlx4_init_icm_table()
476 kvfree(table->icm); in mlx4_init_icm_table()
489 mlx4_free_icm(dev, table->icm[i], table->coherent); in mlx4_cleanup_icm_table()
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dplanetcore.c26 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument
29 if (*table == '\n') in planetcore_prepare_table()
30 *table = 0; in planetcore_prepare_table()
32 table++; in planetcore_prepare_table()
33 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table()
35 *table = 0; in planetcore_prepare_table()
43 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key()
44 return table + keylen + 1; in planetcore_get_key()
46 table += strlen(table) + 1; in planetcore_get_key()
47 } while (strlen(table) != 0); in planetcore_get_key()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ebtables/ebtables-2.0.11/
H A Debtables.common30 for table in filter nat broute; do
42 for table in $EBTABLES_SUPPORTED_TABLES; do
43 echo -n "$table "
45 … /usr/sbin/ebtables-legacy -t $table --atomic-file ${EBTABLES_DUMPFILE_STEM}.$table --atomic-commit
72 echo -n "$table "
73 /usr/sbin/ebtables-legacy -t $table --init-table
98 echo -n "$table "
100 mv ${EBTABLES_DUMPFILE_STEM}.$table ${EBTABLES_DUMPFILE_STEM}.$table$EBTABLES_BACKUP_SUFFIX
101 /usr/sbin/ebtables-legacy -t $table --atomic-file ${EBTABLES_DUMPFILE_STEM}.$table --atomic-save
108 /usr/sbin/ebtables-legacy -t $table --atomic-file ${EBTABLES_DUMPFILE_STEM}.$table -Z
[all …]
/openbmc/pldm/libpldmresponder/
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()
82 namespace table namespace
89 pldm_bios_table_append_pad_checksum_check(table.data(), table.size(), in appendPadAndChecksum()
112 auto tableSize = table.size(); in constructEntry()
137 return pldm_bios_table_attr_find_by_handle(table.data(), table.size(), in findByHandle()
155 auto tableSize = table.size(); in constructStringEntry()
174 auto tableSize = table.size(); in constructIntegerEntry()
230 auto tableSize = table.size(); in constructEnumEntry()
308 auto tableSize = table.size(); in constructStringEntry()
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c378 table->type, index->buf, table->num_hem); in calc_hem_config()
579 i = obj / (table->table_chunk_size / table->obj_size); in hns_roce_table_get()
707 i = obj / (table->table_chunk_size / table->obj_size); in hns_roce_table_put()
743 obj_per_chunk = table->table_chunk_size / table->obj_size; in hns_roce_table_find()
805 table->hem = kcalloc(num_hem, sizeof(*table->hem), GFP_KERNEL); in hns_roce_init_hem_table()
806 if (!table->hem) in hns_roce_init_hem_table()
831 table->hem = kcalloc(num_hem, sizeof(*table->hem), in hns_roce_init_hem_table()
833 if (!table->hem) in hns_roce_init_hem_table()
856 table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), in hns_roce_init_hem_table()
889 kfree(table->hem); in hns_roce_init_hem_table()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dks0127.c208 u8 *table = reg_defaults; in init_reg_defaults() local
218 table[KS_CMDD] = 0x01; in init_reg_defaults()
239 table[KS_VERTIB] = 0x12; in init_reg_defaults()
246 table[KS_OFMTA] = 0x30; in init_reg_defaults()
249 table[KS_VBICTL] = 0x5d; in init_reg_defaults()
277 table[KS_SHS1B] = 0x80; in init_reg_defaults()
283 table[KS_CMDF] = 0x02; in init_reg_defaults()
359 u8 *table = reg_defaults; in ks0127_init() local
369 ks0127_write(sd, i, table[i]); in ks0127_init()
372 ks0127_write(sd, i, table[i]); in ks0127_init()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c471 table = rvu->hw->table; in rvu_npc_exact_alloc_mem_table_entry()
506 table = rvu->hw->table; in rvu_npc_exact_free_id()
524 table = rvu->hw->table; in rvu_npc_exact_alloc_id()
557 table = rvu->hw->table; in rvu_npc_exact_alloc_cam_table_entry()
725 table = rvu->hw->table; in rvu_npc_exact_get_max_entries()
910 table = rvu->hw->table; in rvu_npc_exact_dealloc_table_entry()
980 table = rvu->hw->table; in rvu_npc_exact_alloc_table_entry()
1024 table = rvu->hw->table; in rvu_npc_exact_save_drop_rule_chan_and_mask()
1096 table = rvu->hw->table; in rvu_npc_exact_drop_rule_to_pcifunc()
1134 table = rvu->hw->table; in rvu_npc_exact_get_drop_rule_info()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dcache.c49 u16 table[]; member
774 struct ib_gid_table *table = kzalloc(sizeof(*table), GFP_KERNEL); in alloc_gid_table() local
776 if (!table) in alloc_gid_table()
779 table->data_vec = kcalloc(sz, sizeof(*table->data_vec), GFP_KERNEL); in alloc_gid_table()
785 table->sz = sz; in alloc_gid_table()
787 return table; in alloc_gid_table()
790 kfree(table); in alloc_gid_table()
800 if (!table) in release_gid_table()
818 kfree(table); in release_gid_table()
826 if (!table) in cleanup_gid_table_port()
[all …]
/openbmc/linux/net/sched/
H A Dsch_gred.c106 if (table->tab[n] && table->tab[n]->prio == q->prio) in gred_wred_mode_check()
157 if (table->red_flags) in gred_per_vq_red_flags_used()
160 if (table->tab[i] && table->tab[i]->red_flags) in gred_per_vq_red_flags_used()
372 if (table->tab[i]) in gred_offload_dump_stats()
382 if (!table->tab[i]) in gred_offload_dump_stats()
596 if (table->red_flags && table->red_flags != red_flags) { in gred_vq_validate()
692 if (table->tab[table->def]) in gred_change()
693 def_prio = table->tab[table->def]->prio; in gred_change()
760 table->opt = kzalloc(sizeof(*table->opt), GFP_KERNEL); in gred_init()
761 if (!table->opt) in gred_init()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.h538 le32p_replace_bits((__le32 *)(table) + 0, val, BIT(7)); in SET_CTRL_INFO_OPERATION()
550 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(9)); in SET_CMC_TBL_FORCE_TXOP()
648 le32p_replace_bits((__le32 *)(table) + 2, val, BIT(9)); in SET_CMC_TBL_AMPDU_TIME_SEL()
704 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(6)); in SET_CMC_TBL_DATA_TXCNT_LMT_SEL()
711 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(7)); in SET_CMC_TBL_MAX_AGG_NUM_SEL()
718 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(8)); in SET_CMC_TBL_RTS_EN()
1109 static inline void SET_CMC_TBL_NC(void *table, u32 val) in SET_CMC_TBL_NC() argument
1116 static inline void SET_CMC_TBL_NR(void *table, u32 val) in SET_CMC_TBL_NR() argument
1123 static inline void SET_CMC_TBL_NG(void *table, u32 val) in SET_CMC_TBL_NG() argument
1130 static inline void SET_CMC_TBL_CB(void *table, u32 val) in SET_CMC_TBL_CB() argument
[all …]
/openbmc/linux/scripts/mod/
H A Dsymsearch.c27 struct syminfo table[]; member
69 struct syminfo *table, in symsearch_populate() argument
80 table->addr = sym->st_value; in symsearch_populate()
88 table->addr &= ~1; in symsearch_populate()
90 table++; in symsearch_populate()
117 if (table[i].addr == table[i - 1].addr && in symsearch_fixup()
118 table[i].section_index == table[i - 1].section_index) { in symsearch_fixup()
119 table[i].symbol_index = table[i - 1].symbol_index; in symsearch_fixup()
133 qsort(elf->symsearch->table, table_size, in symsearch_init()
159 struct syminfo *table = elf->symsearch->table; in symsearch_find_nearest() local
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-divider.c75 if (table) in _get_maxdiv()
100 if (table) in _get_div()
101 return _get_table_div(table, val); in _get_div()
125 if (table) in _get_val()
178 if (table) in _is_valid_div()
227 if (table) in _div_round_up()
246 } else if (table) { in _div_round_closest()
247 up = _round_up_table(table, up); in _div_round_closest()
283 if (table) in _next_div()
582 div->table = table; in __clk_hw_register_divider()
[all …]
/openbmc/qemu/hw/acpi/
H A Dghes.c89 build_append_int_noprefix(table, 28, 1); in build_ghes_hw_error_notification()
91 build_append_int_noprefix(table, 0, 2); in build_ghes_hw_error_notification()
93 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
95 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
97 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
99 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
101 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
103 build_append_int_noprefix(table, 0, 4); in build_ghes_hw_error_notification()
171 build_append_int_noprefix(table, in acpi_ghes_build_append_mem_cper()
368 acpi_table_begin(&table, table_data); in acpi_build_hest()
[all …]

12345678910>>...133