Home
last modified time | relevance | path

Searched defs:table (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/drivers/net/wireguard/
Dpeerlookup.c10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket()
24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_pubkey_hashtable_alloc() local
35 void wg_pubkey_hashtable_add(struct pubkey_hashtable *table, in wg_pubkey_hashtable_add()
44 void wg_pubkey_hashtable_remove(struct pubkey_hashtable *table, in wg_pubkey_hashtable_remove()
54 wg_pubkey_hashtable_lookup(struct pubkey_hashtable *table, in wg_pubkey_hashtable_lookup()
73 static struct hlist_head *index_bucket(struct index_hashtable *table, in index_bucket()
85 struct index_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_index_hashtable_alloc() local
119 __le32 wg_index_hashtable_insert(struct index_hashtable *table, in wg_index_hashtable_insert()
166 bool wg_index_hashtable_replace(struct index_hashtable *table, in wg_index_hashtable_replace()
192 void wg_index_hashtable_remove(struct index_hashtable *table, in wg_index_hashtable_remove()
[all …]
Dallowedips.c252 void wg_allowedips_init(struct allowedips *table) in wg_allowedips_init()
258 void wg_allowedips_free(struct allowedips *table, struct mutex *lock) in wg_allowedips_free()
281 int wg_allowedips_insert_v4(struct allowedips *table, const struct in_addr *ip, in wg_allowedips_insert_v4()
292 int wg_allowedips_insert_v6(struct allowedips *table, const struct in6_addr *ip, in wg_allowedips_insert_v6()
303 void wg_allowedips_remove_by_peer(struct allowedips *table, in wg_allowedips_remove_by_peer()
356 struct wg_peer *wg_allowedips_lookup_dst(struct allowedips *table, in wg_allowedips_lookup_dst()
367 struct wg_peer *wg_allowedips_lookup_src(struct allowedips *table, in wg_allowedips_lookup_src()
/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c33 mlx5_sf_lookup_by_index(struct mlx5_sf_table *table, unsigned int port_index) in mlx5_sf_lookup_by_index()
39 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id()
51 static int mlx5_sf_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_insert()
56 static void mlx5_sf_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_id_erase()
62 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc()
111 static void mlx5_sf_free(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_free()
120 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_sf_table_try_get() local
128 static void mlx5_sf_table_put(struct mlx5_sf_table *table) in mlx5_sf_table_put()
173 struct mlx5_sf_table *table; in mlx5_devlink_sf_port_fn_state_get() local
230 static int mlx5_sf_state_set(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, in mlx5_sf_state_set()
[all …]
Dhw_table.c59 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc()
72 static int mlx5_sf_hw_table_id_alloc(struct mlx5_sf_hw_table *table, u32 controller, in mlx5_sf_hw_table_id_alloc()
101 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()
112 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_alloc() local
159 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_free() local
179 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_deferred_free() local
214 static void mlx5_sf_hw_table_dealloc_all(struct mlx5_sf_hw_table *table) in mlx5_sf_hw_table_dealloc_all()
244 struct mlx5_sf_hw_table *table; in mlx5_sf_hw_table_init() local
295 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_cleanup() local
308 struct mlx5_sf_hw_table *table = container_of(nb, struct mlx5_sf_hw_table, vhca_nb); in mlx5_sf_hw_vhca_event() local
[all …]
/drivers/net/ethernet/sfc/
Dmcdi_filters.c27 efx_mcdi_filter_entry_spec(const struct efx_mcdi_filter_table *table, 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()
84 efx_mcdi_filter_set_entry(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_set_entry()
325 static int efx_mcdi_filter_pri(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_pri()
345 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_insert_locked() local
577 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_internal() local
650 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_old() local
684 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_remove_safe() local
702 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_unsafe() local
719 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_get_safe() local
[all …]
/drivers/clk/
Dclk-divider.c45 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv()
57 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv()
68 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv()
80 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
91 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
105 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
116 static unsigned int _get_val(const struct clk_div_table *table, in _get_val()
132 const struct clk_div_table *table, in divider_recalc_rate()
162 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
173 static bool _is_valid_div(const struct clk_div_table *table, unsigned int div, in _is_valid_div()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c113 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry()
163 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_is_in_range() local
178 static int mlx5_rl_table_get(struct mlx5_rl_table *table) in mlx5_rl_table_get()
204 static void mlx5_rl_table_put(struct mlx5_rl_table *table) in mlx5_rl_table_put()
214 static void mlx5_rl_table_free(struct mlx5_core_dev *dev, struct mlx5_rl_table *table) in mlx5_rl_table_free()
244 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_add_rate_raw() local
305 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate_raw() local
337 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate() local
368 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_init_rl_table() local
392 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_cleanup_rl_table() local
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c29 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local
74 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local
136 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local
145 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); in mlx5_sf_dev_state_change_handler() local
186 static int mlx5_sf_dev_vhca_arm_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_vhca_arm_all()
209 struct mlx5_sf_dev_table *table; in mlx5_sf_dev_table_create() local
253 static void mlx5_sf_dev_destroy_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_destroy_all()
266 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_table_destroy() local
/drivers/infiniband/core/
Dcache.c49 u16 table[]; member
170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default()
241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local
286 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_work() local
321 static void store_gid_entry(struct ib_gid_table *table, in store_gid_entry()
383 struct ib_gid_table *table, int ix) in del_gid()
426 static int add_modify_gid(struct ib_gid_table *table, in add_modify_gid()
466 static int find_gid(struct ib_gid_table *table, const union ib_gid *gid, in find_gid()
550 struct ib_gid_table *table; in __ib_cache_gid_add() local
605 struct ib_gid_table *table; in _ib_cache_gid_del() local
[all …]
/drivers/cpufreq/
Dfreq_table.c20 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local
34 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo()
72 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify()
133 struct cpufreq_frequency_table *table = policy->freq_table; in cpufreq_table_index_unsorted() local
216 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in cpufreq_frequency_table_get_index() local
239 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in show_available_freqs() local
303 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in set_freq_table_sorted() local
/drivers/net/wireless/broadcom/b43/
Dtables.c366 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read16()
386 void b43_ofdmtab_write16(struct b43_wldev *dev, u16 table, in b43_ofdmtab_write16()
403 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read32()
424 void b43_ofdmtab_write32(struct b43_wldev *dev, u16 table, in b43_ofdmtab_write32()
443 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) in b43_gtab_read()
449 void b43_gtab_write(struct b43_wldev *dev, u16 table, u16 offset, u16 value) in b43_gtab_write()
Dtables_phy_lcn.h10 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) argument
11 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) argument
12 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) argument
/drivers/gpu/drm/i915/gt/
Dintel_mocs.c24 const struct drm_i915_mocs_entry *table; member
339 struct drm_i915_mocs_table *table) in get_mocs_settings()
399 static u32 get_entry_control(const struct drm_i915_mocs_table *table, in get_entry_control()
414 const struct drm_i915_mocs_table *table, in __init_mocs_table()
440 const struct drm_i915_mocs_table *table) in init_mocs_table()
449 static u16 get_entry_l3cc(const struct drm_i915_mocs_table *table, in get_entry_l3cc()
472 const struct drm_i915_mocs_table *table) in init_l3cc_table()
484 struct drm_i915_mocs_table table; in intel_mocs_init_engine() local
509 struct drm_i915_mocs_table table; in intel_mocs_init() local
/drivers/gpu/drm/radeon/
Dmkregtable.c111 struct table { struct
115 unsigned *table; argument
131 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument
Dkv_dpm.c561 struct radeon_clock_voltage_dependency_table *table = in kv_program_bootup_state() local
573 struct sumo_sclk_voltage_mapping_table *table = in kv_program_bootup_state() local
663 struct radeon_uvd_clock_voltage_dependency_table *table = in kv_populate_uvd_table() local
736 struct radeon_vce_clock_voltage_dependency_table *table = in kv_populate_vce_table() local
797 struct radeon_clock_voltage_dependency_table *table = in kv_populate_samu_table() local
863 struct radeon_clock_voltage_dependency_table *table = in kv_populate_acp_table() local
922 struct radeon_clock_voltage_dependency_table *table = in kv_calculate_dfs_bypass_settings() local
945 struct sumo_sclk_voltage_mapping_table *table = in kv_calculate_dfs_bypass_settings() local
1247 struct radeon_uvd_clock_voltage_dependency_table *table = in kv_update_uvd_dpm() local
1283 struct radeon_vce_clock_voltage_dependency_table *table = in kv_get_vce_boot_level() local
[all …]
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c53 uint32_t *table; in phm_copy_clock_limits_array() local
75 uint32_t *table; in phm_copy_overdrive_settings_limits_array() local
209 struct pp_atomctrl_voltage_table *table; in phm_trim_voltage_table() local
346 int phm_reset_single_dpm_table(void *table, in phm_reset_single_dpm_table()
362 void *table, in phm_setup_pcie_table_entry()
372 int32_t phm_get_dpm_level_enable_mask_value(void *table) in phm_get_dpm_level_enable_mask_value()
443 int phm_find_boot_level(void *table, in phm_find_boot_level()
549 struct phm_clock_voltage_dependency_table *table = in phm_apply_dal_min_voltage_request() local
683 void *smu_atom_get_data_table(void *dev, uint32_t table, uint16_t *size, in smu_atom_get_data_table()
728 struct watermarks *table = wt_table; in smu_set_watermarks_for_clocks_ranges() local
/drivers/net/wireguard/selftest/
Dallowedips.c83 struct hlist_node table; member
90 static __init void horrible_allowedips_init(struct horrible_allowedips *table) in horrible_allowedips_init()
95 static __init void horrible_allowedips_free(struct horrible_allowedips *table) in horrible_allowedips_free()
153 horrible_insert_ordered(struct horrible_allowedips *table, struct horrible_allowedips_node *node) in horrible_insert_ordered()
181 horrible_allowedips_insert_v4(struct horrible_allowedips *table, in horrible_allowedips_insert_v4()
198 horrible_allowedips_insert_v6(struct horrible_allowedips *table, in horrible_allowedips_insert_v6()
215 horrible_allowedips_lookup_v4(struct horrible_allowedips *table, struct in_addr *ip) in horrible_allowedips_lookup_v4()
227 horrible_allowedips_lookup_v6(struct horrible_allowedips *table, struct in6_addr *ip) in horrible_allowedips_lookup_v6()
240 horrible_allowedips_remove_by_value(struct horrible_allowedips *table, void *value) in horrible_allowedips_remove_by_value()
/drivers/net/ethernet/mellanox/mlx4/
Dicm.c258 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get()
294 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_put()
314 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, in mlx4_table_find()
382 int mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_table_get_range()
406 void mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_table_put_range()
415 int mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_init_icm_table()
481 void mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table) in mlx4_cleanup_icm_table()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dpolaris10_smumgr.c432 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_bapm_parameters_in_dpm_table() local
478 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_zero_rpm_parameters() local
665 SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_mvdd_table()
692 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_vddc_table()
717 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_vddci_table()
742 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_cac_table()
768 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_voltage_tables()
810 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_ulv_state()
816 struct SMU74_Discrete_DpmTable *table) in polaris10_populate_smc_link_level()
848 SMU74_Discrete_DpmTable *table) in polaris10_get_sclk_range_table()
[all …]
Dtonga_smumgr.c303 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vddc_table()
320 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_gfx_table()
337 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_ci_table()
367 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_mvdd_table()
392 SMU72_Discrete_DpmTable *table) in tonga_populate_cac_tables()
447 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_voltage_tables()
502 struct SMU72_Discrete_DpmTable *table) in tonga_populate_ulv_state()
507 static int tonga_populate_smc_link_level(struct pp_hwmgr *hwmgr, SMU72_Discrete_DpmTable *table) in tonga_populate_smc_link_level()
1174 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_acpi_level()
1308 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_uvd_level()
[all …]
Dvegam_smumgr.c450 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_mvdd_table()
477 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vddci_table()
502 struct SMU75_Discrete_DpmTable *table) in vegam_populate_cac_table()
531 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_voltage_tables()
564 struct SMU75_Discrete_DpmTable *table) in vegam_populate_ulv_state()
570 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_link_level()
671 SMU75_Discrete_DpmTable *table) in vegam_get_sclk_range_table()
724 const SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_calculate_sclk_params() local
1112 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_acpi_level()
1196 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vce_level()
[all …]
/drivers/sh/clk/
Dcpg.c117 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div_recalc() local
227 struct clk_div_table *table, struct sh_clk_ops *ops) in sh_clk_div_register_ops()
281 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div6_set_parent() local
338 struct clk_div_mult_table *table = clk_to_div_mult_table(clk); in sh_clk_div4_set_parent() local
375 struct clk_div4_table *table) in sh_clk_div4_register()
381 struct clk_div4_table *table) in sh_clk_div4_enable_register()
388 struct clk_div4_table *table) in sh_clk_div4_reparent_register()
/drivers/dma-buf/heaps/
Dsystem_heap.c43 struct sg_table *table; member
66 static struct sg_table *dup_sg_table(struct sg_table *table) in dup_sg_table()
96 struct sg_table *table; in system_heap_attach() local
141 struct sg_table *table = a->table; in system_heap_map_dma_buf() local
157 struct sg_table *table, in system_heap_unmap_dma_buf()
218 struct sg_table *table = &buffer->sg_table; in system_heap_mmap() local
242 struct sg_table *table = &buffer->sg_table; in system_heap_do_vmap() local
332 struct sg_table *table; in system_heap_dma_buf_release() local
396 struct sg_table *table; in system_heap_do_allocate() local
/drivers/acpi/acpica/
Dtbdata.c45 struct acpi_table_header *table; in acpi_tb_compare_tables() local
88 u8 flags, struct acpi_table_header *table) in acpi_tb_init_table_descriptor()
123 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table() local
174 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table()
920 struct acpi_table_header *table; in acpi_tb_load_table() local
1012 struct acpi_table_header *table; in ACPI_EXPORT_SYMBOL() local
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c138 ATOM_AVAILABLE_SCLK_LIST *table) in sumo_construct_sclk_voltage_mapping_table()
160 ATOM_AVAILABLE_SCLK_LIST *table) in sumo_construct_vid_mapping_table()
802 struct amdgpu_clock_voltage_dependency_table *table = in kv_program_bootup_state() local
814 struct sumo_sclk_voltage_mapping_table *table = in kv_program_bootup_state() local
904 struct amdgpu_uvd_clock_voltage_dependency_table *table = in kv_populate_uvd_table() local
977 struct amdgpu_vce_clock_voltage_dependency_table *table = in kv_populate_vce_table() local
1038 struct amdgpu_clock_voltage_dependency_table *table = in kv_populate_samu_table() local
1104 struct amdgpu_clock_voltage_dependency_table *table = in kv_populate_acp_table() local
1163 struct amdgpu_clock_voltage_dependency_table *table = in kv_calculate_dfs_bypass_settings() local
1186 struct sumo_sclk_voltage_mapping_table *table = in kv_calculate_dfs_bypass_settings() local
[all …]

12345678910>>...20