Home
last modified time | relevance | path

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

12345678910>>...78

/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_obj(*table); 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 …]
/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()
40 *(u32 *)table->signature); in ap_is_valid_header()
44 /* Check for minimum table length */ in ap_is_valid_header()
46 if (table in ap_is_valid_header()
68 ap_is_valid_checksum(struct acpi_table_header * table) ap_is_valid_checksum() argument
107 ap_get_table_length(struct acpi_table_header * table) ap_get_table_length() argument
143 ap_dump_table_buffer(struct acpi_table_header * table,u32 instance,acpi_physical_address address) ap_dump_table_buffer() argument
193 struct acpi_table_header *table; ap_dump_all_tables() local
252 struct acpi_table_header *table; ap_dump_table_by_address() local
297 struct acpi_table_header *table; ap_dump_table_by_name() local
368 struct acpi_table_header *table; ap_dump_table_from_file() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Drl.c174 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() argument
181 lockdep_assert_held(&table->rl_lock); in find_rl_entry()
182 WARN_ON(!table->rl_entry); in find_rl_entry()
184 for (i = 0; i < table->max_size; i++) { in find_rl_entry()
186 if (!table->rl_entry[i].refcount) in find_rl_entry()
187 return &table->rl_entry[i]; in find_rl_entry()
191 if (table->rl_entry[i].refcount) { in find_rl_entry()
192 if (table->rl_entry[i].dedicated) in find_rl_entry()
194 if (mlx5_rl_are_equal_raw(&table->rl_entry[i], rl_in, in find_rl_entry()
196 return &table->rl_entry[i]; in find_rl_entry()
[all …]
/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 …]
/linux/tools/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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c28 struct mlx5_sf_dev_table *table; member
39 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local
41 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated()
90 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local
118 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add()
135 err = xa_insert(&table->devices, sf_index, sf_dev, GFP_KERNEL); in mlx5_sf_dev_add()
149 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local
151 xa_erase(&table->devices, sf_index); in mlx5_sf_dev_del()
160 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_state_change_handler() local
167 if (!table) in mlx5_sf_dev_state_change_handler()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c257 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() argument
259 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
260 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
263 mutex_lock(&table->mutex); in mlx4_table_get()
265 if (table->icm[i]) { in mlx4_table_get()
266 ++table->icm[i]->refcount; in mlx4_table_get()
270 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
271 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mlx4_table_get()
272 __GFP_NOWARN, table->coherent); in mlx4_table_get()
273 if (!table->icm[i]) { in mlx4_table_get()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c42 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_controller_to_hwc() local
45 for (i = MLX5_SF_HWC_FIRST_SPF; i < table->num_hwc; i++) { in mlx5_sf_controller_to_hwc()
46 if (table->hwc[i].controller == controller) in mlx5_sf_controller_to_hwc()
47 return &table->hwc[i]; in mlx5_sf_controller_to_hwc()
50 return &table->hwc[!!controller]; in mlx5_sf_controller_to_hwc()
67 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc() argument
71 for (i = 0; i < table->num_hwc; i++) { in mlx5_sf_table_fn_to_hwc()
72 if (table->hwc[i].max_fn && in mlx5_sf_table_fn_to_hwc()
73 fn_id >= table->hwc[i].start_fn_id && in mlx5_sf_table_fn_to_hwc()
74 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()
[all …]
H A Ddevlink.c37 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() argument
39 return xa_load(&table->function_ids, fn_id); in mlx5_sf_lookup_by_function_id()
42 static int mlx5_sf_function_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_function_id_insert() argument
44 return xa_insert(&table->function_ids, sf->hw_fn_id, sf, GFP_KERNEL); in mlx5_sf_function_id_insert()
47 static void mlx5_sf_function_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_function_id_erase() argument
49 xa_erase(&table->function_ids, sf->hw_fn_id); in mlx5_sf_function_id_erase()
53 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc() argument
67 id_err = mlx5_sf_hw_table_sf_alloc(table->dev, controller, sfnum); in mlx5_sf_alloc()
79 hw_fn_id = mlx5_sf_sw_to_hw_id(table->dev, controller, sf->id); in mlx5_sf_alloc()
80 dl_port_index = mlx5_esw_vport_to_devlink_port_index(table->dev, hw_fn_id); in mlx5_sf_alloc()
[all …]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c203 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()
242 table->type, mhop->hop_num); in hns_roce_calc_hem_mhop()
295 struct hns_roce_hem_table *table, unsigned long obj, in calc_hem_config() argument
306 ret = hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, mhop); in calc_hem_config()
314 bt_num = hns_roce_get_bt_num(table->type, mhop->hop_num); in calc_hem_config()
331 table->type, mhop->hop_num); in calc_hem_config()
[all …]
/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()
38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument
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()
[all …]
/linux/drivers/infiniband/core/
H A Dcache.c49 u16 table[] __counted_by(table_len);
170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default() argument
173 return index < 32 && (BIT(index) & table->default_gid_indices); in is_gid_index_default()
241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local
246 write_lock_irq(&table->rwlock); in free_gid_entry_locked()
254 if (entry == table->data_vec[entry->attr.index]) in free_gid_entry_locked()
255 table->data_vec[entry->attr.index] = NULL; in free_gid_entry_locked()
257 write_unlock_irq(&table->rwlock); in free_gid_entry_locked()
286 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_work() local
288 mutex_lock(&table->lock); in free_gid_work()
[all …]
/linux/net/sched/
H A Dsch_gred.c62 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() argument
64 return test_bit(GRED_WRED_MODE, &table->flags); in gred_wred_mode()
67 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() argument
69 __set_bit(GRED_WRED_MODE, &table->flags); in gred_enable_wred_mode()
72 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() argument
74 __clear_bit(GRED_WRED_MODE, &table->flags); in gred_disable_wred_mode()
77 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() argument
79 return test_bit(GRED_RIO_MODE, &table->flags); in gred_rio_mode()
82 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() argument
84 __set_bit(GRED_RIO_MODE, &table in gred_enable_rio_mode()
87 gred_disable_rio_mode(struct gred_sched * table) gred_disable_rio_mode() argument
94 struct gred_sched *table = qdisc_priv(sch); gred_wred_mode_check() local
113 gred_backlog(struct gred_sched * table,struct gred_sched_data * q,struct Qdisc * sch) gred_backlog() argument
128 gred_load_wred_set(const struct gred_sched * table,struct gred_sched_data * q) gred_load_wred_set() argument
135 gred_store_wred_set(struct gred_sched * table,struct gred_sched_data * q) gred_store_wred_set() argument
152 gred_per_vq_red_flags_used(struct gred_sched * table) gred_per_vq_red_flags_used() argument
313 struct gred_sched *table = qdisc_priv(sch); gred_offload() local
356 struct gred_sched *table = qdisc_priv(sch); gred_offload_dump_stats() local
411 struct gred_sched *table = qdisc_priv(sch); gred_change_table_def() local
487 struct gred_sched *table = qdisc_priv(sch); gred_change_vq() local
538 gred_vq_apply(struct gred_sched * table,const struct nlattr * entry) gred_vq_apply() argument
552 gred_vqs_apply(struct gred_sched * table,struct nlattr * vqs) gred_vqs_apply() argument
566 gred_vq_validate(struct gred_sched * table,u32 cdp,const struct nlattr * entry,struct netlink_ext_ack * extack) gred_vq_validate() argument
610 gred_vqs_validate(struct gred_sched * table,u32 cdp,struct nlattr * vqs,struct netlink_ext_ack * extack) gred_vqs_validate() argument
645 struct gred_sched *table = qdisc_priv(sch); gred_change() local
735 struct gred_sched *table = qdisc_priv(sch); gred_init() local
770 struct gred_sched *table = qdisc_priv(sch); gred_dump() local
910 struct gred_sched *table = qdisc_priv(sch); gred_destroy() local
[all...]
/linux/scripts/mod/
H A Dsymsearch.c27 struct syminfo table[]; member
69 struct syminfo *table, in symsearch_populate() argument
78 table->symbol_index = sym - elf->symtab_start; in symsearch_populate()
79 table->section_index = get_secindex(elf, sym); in symsearch_populate()
80 table->addr = sym->st_value; in symsearch_populate()
88 table->addr &= ~1; in symsearch_populate()
90 table++; in symsearch_populate()
113 static void symsearch_fixup(struct syminfo *table, unsigned int table_size) in symsearch_fixup() argument
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()
[all …]
/linux/scripts/include/
H A Dhashtable.h16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)]) argument
33 #define hash_init(table) __hash_init(table, HASH_SIZE(table)) argument
41 #define hash_add(table, node, key) \ argument
42 hlist_add_head(node, hash_head(table, key))
59 #define hash_for_each(table, obj, member) \ argument
60 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
61 hlist_for_each_entry(obj, &table[_bkt], member)
71 #define hash_for_each_safe(table, obj, tmp, member) \ argument
72 for (int _bkt = 0; _bkt < HASH_SIZE(table); _bkt++) \
73 hlist_for_each_entry_safe(obj, tmp, &table[_bkt], member)
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c449 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_mvdd_table() argument
459 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_mvdd_table()
462 table->SmioTable2.Pattern[level].Smio = in vegam_populate_smc_mvdd_table()
464 table->Smio[level] |= in vegam_populate_smc_mvdd_table()
467 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table()
469 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in vegam_populate_smc_mvdd_table()
476 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vddci_table() argument
487 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_vddci_table()
489 table->SmioTable1.Pattern[level].Smio = (uint8_t) level; in vegam_populate_smc_vddci_table()
491 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table()
[all …]
H A Dpolaris10_smumgr.c432 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_bapm_parameters_in_dpm_table() local
442 table->DefaultTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
443 table->TargetTdp = PP_HOST_TO_SMC_US((uint16_t)(cac_dtp_table->usTDP * 128)); in polaris10_populate_bapm_parameters_in_dpm_table()
449 table->TemperatureLimitEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
451 table->TemperatureLimitHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
453 table->FanGainEdge = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
455 table->FanGainHotspot = PP_HOST_TO_SMC_US( in polaris10_populate_bapm_parameters_in_dpm_table()
464 table->BAPMTI_R[i][j][k] = PP_HOST_TO_SMC_US(*pdef1); in polaris10_populate_bapm_parameters_in_dpm_table()
465 table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*pdef2); in polaris10_populate_bapm_parameters_in_dpm_table()
478 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_zero_rpm_parameters() local
[all …]
H A Dci_smumgr.c841 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vddc_table() argument
847 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table()
848 for (count = 0; count < table->VddcLevelCount; count++) { in ci_populate_smc_vddc_table()
851 &(table->VddcLevel[count])); in ci_populate_smc_vddc_table()
856 table->VddcLevel[count].Smio = (uint8_t) count; in ci_populate_smc_vddc_table()
857 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
858 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table()
860 table->VddcLevel[count].Smio = 0; in ci_populate_smc_vddc_table()
864 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in ci_populate_smc_vddc_table()
870 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vdd_ci_table() argument
[all …]
H A Dtonga_smumgr.c303 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vddc_table() argument
309 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table()
310 for (count = 0; count < table->VddcLevelCount; count++) { in tonga_populate_smc_vddc_table()
311 table->VddcTable[count] = in tonga_populate_smc_vddc_table()
314 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in tonga_populate_smc_vddc_table()
320 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_gfx_table() argument
326 table->VddGfxLevelCount = data->vddgfx_voltage_table.count; in tonga_populate_smc_vdd_gfx_table()
328 table->VddGfxTable[count] = in tonga_populate_smc_vdd_gfx_table()
331 CONVERT_FROM_HOST_TO_SMC_UL(table->VddGfxLevelCount); in tonga_populate_smc_vdd_gfx_table()
337 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_ci_table() argument
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c27 efx_mcdi_filter_entry_spec(const struct efx_mcdi_filter_table *table, in efx_mcdi_filter_entry_spec() argument
30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec()
35 efx_mcdi_filter_entry_flags(const struct efx_mcdi_filter_table *table, in efx_mcdi_filter_entry_flags() argument
38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags()
84 efx_mcdi_filter_set_entry(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_set_entry() argument
89 table->entry[filter_idx].spec = (unsigned long)spec | flags; in efx_mcdi_filter_set_entry()
328 static int efx_mcdi_filter_pri(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_pri() argument
335 match_pri < table->rx_match_count; in efx_mcdi_filter_pri()
337 if (table->rx_match_mcdi_flags[match_pri] == mcdi_flags) in efx_mcdi_filter_pri()
349 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_insert_locked() local
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get() argument
224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
227 mutex_lock(&table->mutex); in mthca_table_get()
229 if (table->icm[i]) { in mthca_table_get()
230 ++table->icm[i]->refcount; in mthca_table_get()
234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mthca_table_get()
235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_table_get()
236 __GFP_NOWARN, table->coherent); in mthca_table_get()
237 if (!table->icm[i]) { in mthca_table_get()
242 if (mthca_MAP_ICM(dev, table->icm[i], in mthca_table_get()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddump.c102 struct iwl_umac_error_event_table table = {}; in iwl_fwrt_dump_umac_error_log() local
111 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_umac_error_log()
113 if (table.valid) in iwl_fwrt_dump_umac_error_log()
114 fwrt->dump.umac_err_id = table.error_id; in iwl_fwrt_dump_umac_error_log()
116 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_umac_error_log()
119 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log()
122 if ((table.error_id & ~FW_SYSASSERT_CPU_MASK) == in iwl_fwrt_dump_umac_error_log()
129 IWL_ERR(fwrt, "0x%08X | %s\n", table.error_id, in iwl_fwrt_dump_umac_error_log()
130 iwl_fw_lookup_assert_desc(table.error_id)); in iwl_fwrt_dump_umac_error_log()
131 IWL_ERR(fwrt, "0x%08X | umac interruptlink2\n", table.ilink2); in iwl_fwrt_dump_umac_error_log()
[all …]
/linux/net/unix/
H A Dsysctl_net_unix.c28 struct ctl_table *table; in unix_table_dup() local
30 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_table_dup()
31 if (!table) in unix_table_dup()
34 table[0].data = &net->unx.sysctl_max_dgram_qlen; in unix_table_dup()
36 return table; in unix_table_dup()
41 const struct ctl_table *table; in unix_sysctl_register() local
44 table = unix_table; in unix_sysctl_register()
46 table = unix_table_dup(net); in unix_sysctl_register()
47 if (!table) in unix_sysctl_register()
51 net->unx.ctl = register_net_sysctl_sz(net, "net/unix", table, in unix_sysctl_register()
[all …]
/linux/net/devlink/
H A Ddpipe.c87 static int devlink_dpipe_matches_put(struct devlink_dpipe_table *table, in devlink_dpipe_matches_put() argument
97 if (table->table_ops->matches_dump(table->priv, skb)) in devlink_dpipe_matches_put()
135 static int devlink_dpipe_actions_put(struct devlink_dpipe_table *table, in devlink_dpipe_actions_put() argument
145 if (table->table_ops->actions_dump(table->priv, skb)) in devlink_dpipe_actions_put()
157 struct devlink_dpipe_table *table) in devlink_dpipe_table_put() argument
162 table_size = table->table_ops->size_get(table->priv); in devlink_dpipe_table_put()
167 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_TABLE_NAME, table->name) || in devlink_dpipe_table_put()
171 table->counters_enabled)) in devlink_dpipe_table_put()
174 if (table->resource_valid) { in devlink_dpipe_table_put()
176 table->resource_id) || in devlink_dpipe_table_put()
[all …]
/linux/scripts/
H A Dkallsyms.c14 * The used codes themselves are also placed in the table so that the
56 static struct sym_entry **table; variable
63 /* the table that holds the result of the compression */
230 /* remove all the invalid symbols from the table */
237 if (symbol_valid(table[i])) { in shrink_table()
239 table[pos] = table[i]; in shrink_table()
242 free(table[i]); in shrink_table()
270 table = xrealloc(table, sizeo in read_map()
[all...]

12345678910>>...78