Home
last modified time | relevance | path

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

12345678910>>...40

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c40 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id()
45 static int mlx5_sf_function_id_insert(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_function_id_insert()
50 static void mlx5_sf_function_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_function_id_erase()
56 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc()
105 static void mlx5_sf_free(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_free()
151 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_fn_state_get() local
206 static int mlx5_sf_state_set(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, in mlx5_sf_state_set()
232 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_fn_state_set() local
238 static int mlx5_sf_add(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, in mlx5_sf_add()
306 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_new() local
[all …]
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()
74 static int mlx5_sf_hw_table_id_alloc(struct mlx5_sf_hw_table *table, u32 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()
114 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_alloc() local
162 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_free() local
183 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_deferred_free() local
219 static void mlx5_sf_hw_table_dealloc_all(struct mlx5_sf_hw_table *table) in mlx5_sf_hw_table_dealloc_all()
275 struct mlx5_sf_hw_table *table; in mlx5_sf_hw_table_init() local
332 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_cleanup() local
347 struct mlx5_sf_hw_table *table = container_of(nb, struct mlx5_sf_hw_table, vhca_nb); in mlx5_sf_hw_vhca_event() local
[all …]
/linux-6.12.1/arch/s390/mm/
Dpgalloc.c47 unsigned long *table; in crst_table_alloc() local
56 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free()
143 u64 *table; in page_table_alloc_pgste() local
165 unsigned long *table; in page_table_alloc() local
189 void page_table_free(struct mm_struct *mm, unsigned long *table) in page_table_free()
196 void __tlb_remove_table(void *table) in __tlb_remove_table()
239 unsigned long *table; in base_pgt_alloc() local
247 static void base_pgt_free(unsigned long *table) in base_pgt_free()
254 unsigned long *table; in base_crst_alloc() local
265 static void base_crst_free(unsigned long *table) in base_crst_free()
[all …]
/linux-6.12.1/net/sched/
Dsch_gred.c62 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode()
67 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode()
72 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode()
77 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode()
82 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode()
87 static inline void gred_disable_rio_mode(struct gred_sched *table) in gred_disable_rio_mode()
94 struct gred_sched *table = qdisc_priv(sch); in gred_wred_mode_check() local
113 static inline unsigned int gred_backlog(struct gred_sched *table, in gred_backlog()
128 static inline void gred_load_wred_set(const struct gred_sched *table, in gred_load_wred_set()
135 static inline void gred_store_wred_set(struct gred_sched *table, in gred_store_wred_set()
[all …]
/linux-6.12.1/tools/perf/util/
Dthreads.c26 struct threads_table_entry *table = &threads->table[i]; in threads__init() local
38 struct threads_table_entry *table = &threads->table[i]; in threads__exit() local
50 struct threads_table_entry *table = &threads->table[i]; in threads__nr() local
64 static struct thread *__threads_table_entry__get_last_match(struct threads_table_entry *table, in __threads_table_entry__get_last_match()
77 static void __threads_table_entry__set_last_match(struct threads_table_entry *table, in __threads_table_entry__set_last_match()
84 static void threads_table_entry__set_last_match(struct threads_table_entry *table, in threads_table_entry__set_last_match()
94 struct threads_table_entry *table = threads__table(threads, tid); in threads__find() local
111 struct threads_table_entry *table = threads__table(threads, tid); in threads__findnew() local
138 struct threads_table_entry *table = &threads->table[i]; in threads__remove_all_threads() local
156 struct threads_table_entry *table = threads__table(threads, thread__tid(thread)); in threads__remove() local
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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()
328 static int efx_mcdi_filter_pri(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_pri()
349 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_insert_locked() local
581 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_internal() local
654 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_old() local
688 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_remove_safe() local
706 struct efx_mcdi_filter_table *table = efx->filter_state; in efx_mcdi_filter_remove_unsafe() local
723 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_get_safe() local
[all …]
/linux-6.12.1/tools/power/acpi/tools/acpidump/
Dapdump.c30 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header()
68 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum()
106 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length()
142 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer()
192 struct acpi_table_header *table; in ap_dump_all_tables() local
251 struct acpi_table_header *table; in ap_dump_table_by_address() local
296 struct acpi_table_header *table; in ap_dump_table_by_name() local
367 struct acpi_table_header *table; in ap_dump_table_from_file() local
/linux-6.12.1/drivers/md/dm-vdo/
Dpriority-table.c56 struct priority_table *table; in vdo_make_priority_table() local
88 void vdo_free_priority_table(struct priority_table *table) in vdo_free_priority_table()
110 void vdo_reset_priority_table(struct priority_table *table) in vdo_reset_priority_table()
127 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority, in vdo_priority_table_enqueue()
140 static inline void mark_bucket_empty(struct priority_table *table, struct bucket *bucket) in mark_bucket_empty()
155 struct list_head *vdo_priority_table_dequeue(struct priority_table *table) in vdo_priority_table_dequeue()
189 void vdo_priority_table_remove(struct priority_table *table, struct list_head *entry) in vdo_priority_table_remove()
221 bool vdo_is_priority_table_empty(struct priority_table *table) in vdo_is_priority_table_empty()
/linux-6.12.1/kernel/
Dsysctl.c208 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write()
226 const struct ctl_table *table) in proc_first_pos_non_zero_ignore()
259 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring()
471 static int __do_proc_dointvec(void *tbl_data, const struct ctl_table *table, in __do_proc_dointvec()
544 static int do_proc_dointvec(const struct ctl_table *table, int write, in do_proc_dointvec()
555 const struct ctl_table *table, in do_proc_douintvec_w()
642 static int __do_proc_douintvec(void *tbl_data, const struct ctl_table *table, in __do_proc_douintvec()
678 int do_proc_douintvec(const struct ctl_table *table, int write, in do_proc_douintvec()
705 int proc_dobool(const struct ctl_table *table, int write, void *buffer, in proc_dobool()
742 int proc_dointvec(const struct ctl_table *table, int write, void *buffer, in proc_dointvec()
[all …]
Dsysctl-test.c116 struct ctl_table table = { in sysctl_test_api_dointvec_table_len_is_zero() local
150 struct ctl_table table = { in sysctl_test_api_dointvec_table_read_but_position_set() local
185 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_positive() local
216 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_negative() local
245 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_positive() local
275 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_negative() local
307 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_less_int_min() local
345 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_greater_int_max() local
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c29 struct mlx5_sf_dev_table *table; member
40 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local
91 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local
150 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local
159 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); in mlx5_sf_dev_state_change_handler() local
201 static int mlx5_sf_dev_vhca_arm_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_vhca_arm_all()
251 struct mlx5_sf_dev_table *table = container_of(_work, struct mlx5_sf_dev_table, work); in mlx5_sf_dev_queue_active_works() local
294 static int mlx5_sf_dev_create_active_works(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_create_active_works()
310 static void mlx5_sf_dev_destroy_active_works(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_destroy_active_works()
320 struct mlx5_sf_dev_table *table; in mlx5_sf_dev_table_create() local
[all …]
/linux-6.12.1/scripts/include/
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
59 #define hash_for_each(table, obj, member) \ argument
71 #define hash_for_each_safe(table, obj, tmp, member) \ argument
83 #define hash_for_each_possible(table, obj, member, key) \ argument
95 #define hash_for_each_possible_safe(table, obj, tmp, member, key) \ argument
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c112 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry()
162 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_is_in_range() local
177 static int mlx5_rl_table_get(struct mlx5_rl_table *table) in mlx5_rl_table_get()
203 static void mlx5_rl_table_put(struct mlx5_rl_table *table) in mlx5_rl_table_put()
213 static void mlx5_rl_table_free(struct mlx5_core_dev *dev, struct mlx5_rl_table *table) in mlx5_rl_table_free()
243 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_add_rate_raw() local
304 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate_raw() local
336 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate() local
367 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_init_rl_table() local
391 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_cleanup_rl_table() local
/linux-6.12.1/arch/powerpc/boot/
Dplanetcore.c26 void planetcore_prepare_table(char *table) in planetcore_prepare_table()
38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key()
52 int planetcore_get_decimal(const char *table, const char *key, u64 *val) in planetcore_get_decimal()
62 int planetcore_get_hex(const char *table, const char *key, u64 *val) in planetcore_get_hex()
79 void planetcore_set_mac_addrs(const char *table) in planetcore_set_mac_addrs()
104 void planetcore_set_stdout_path(const char *table) in planetcore_set_stdout_path()
/linux-6.12.1/drivers/cpufreq/
Dfreq_table.c19 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in policy_has_boost_freq() local
33 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo()
70 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify()
131 struct cpufreq_frequency_table *table = policy->freq_table; in cpufreq_table_index_unsorted() local
214 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in cpufreq_frequency_table_get_index() local
237 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in show_available_freqs() local
301 struct cpufreq_frequency_table *pos, *table = policy->freq_table; in set_freq_table_sorted() local
/linux-6.12.1/net/core/
Dsysctl_net_core.c98 static int rps_default_mask_sysctl(const struct ctl_table *table, int write, in rps_default_mask_sysctl()
129 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl()
201 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl()
258 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl()
280 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc()
299 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight()
317 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key()
330 static int proc_dointvec_minmax_bpf_enable(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable()
363 proc_dointvec_minmax_bpf_restricted(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_restricted()
374 proc_dolongvec_minmax_bpf_restricted(const struct ctl_table *table, int write, in proc_dolongvec_minmax_bpf_restricted()
/linux-6.12.1/net/ipv4/
Dsysctl_net_ipv4.c65 static int ipv4_local_port_range(const struct ctl_table *table, int write, in ipv4_local_port_range()
99 static int ipv4_privileged_ports(const struct ctl_table *table, int write, in ipv4_privileged_ports()
133 static void inet_get_ping_group_range_table(const struct ctl_table *table, in inet_get_ping_group_range_table()
149 static void set_ping_group_range(const struct ctl_table *table, in set_ping_group_range()
162 static int ipv4_ping_group_range(const struct ctl_table *table, int write, in ipv4_ping_group_range()
197 static int ipv4_fwd_update_priority(const struct ctl_table *table, int write, in ipv4_fwd_update_priority()
286 static int proc_tcp_fastopen_key(const struct ctl_table *table, int write, in proc_tcp_fastopen_key()
357 static int proc_tfo_blackhole_detect_timeout(const struct ctl_table *table, in proc_tfo_blackhole_detect_timeout()
389 static int proc_tcp_ehash_entries(const struct ctl_table *table, int write, in proc_tcp_ehash_entries()
413 static int proc_udp_hash_entries(const struct ctl_table *table, int write, in proc_udp_hash_entries()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/drivers/infiniband/core/
Dcache.c170 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
644 struct ib_gid_table *table; in ib_cache_gid_del_all_netdev_gids() local
[all …]
/linux-6.12.1/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()
136 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table() local
185 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table()
225 u8 flags, struct acpi_table_header *table) in acpi_tb_acquire_temp_table()
948 struct acpi_table_header *table; in acpi_tb_load_table() local
1005 struct acpi_table_header *table, in acpi_tb_install_and_load_table()
1045 struct acpi_table_header *table; in ACPI_EXPORT_SYMBOL() local
/linux-6.12.1/net/devlink/
Ddpipe.c87 static int devlink_dpipe_matches_put(struct devlink_dpipe_table *table, in devlink_dpipe_matches_put()
135 static int devlink_dpipe_actions_put(struct devlink_dpipe_table *table, in devlink_dpipe_actions_put()
157 struct devlink_dpipe_table *table) in devlink_dpipe_table_put()
218 struct devlink_dpipe_table *table; in devlink_dpipe_tables_fill() local
455 struct devlink_dpipe_table *table; in devlink_dpipe_table_find() local
537 struct devlink_dpipe_table *table) in devlink_dpipe_entries_fill()
569 struct devlink_dpipe_table *table; in devlink_nl_dpipe_entries_get_doit() local
730 struct devlink_dpipe_table *table; in devlink_dpipe_table_counters_set() local
817 struct devlink_dpipe_table *table; in devlink_dpipe_table_counter_enabled() local
845 struct devlink_dpipe_table *table; in devl_dpipe_table_register() local
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_mocs.c25 const struct drm_i915_mocs_entry *table; member
454 struct drm_i915_mocs_table *table) in get_mocs_settings()
541 static u32 get_entry_control(const struct drm_i915_mocs_table *table, in get_entry_control()
555 const struct drm_i915_mocs_table *table, in __init_mocs_table()
583 const struct drm_i915_mocs_table *table) in init_mocs_table()
593 static u16 get_entry_l3cc(const struct drm_i915_mocs_table *table, in get_entry_l3cc()
615 const struct drm_i915_mocs_table *table) in init_l3cc_table()
632 struct drm_i915_mocs_table table; in intel_mocs_init_engine() local
657 struct drm_i915_mocs_table table; in intel_set_mocs_index() local
667 struct drm_i915_mocs_table table; in intel_mocs_init() local
/linux-6.12.1/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

12345678910>>...40