| /linux/drivers/net/wireguard/ |
| A D | peerlookup.c | 10 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/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| A D | devlink.c | 40 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() 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 232 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_fn_state_set() local 306 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_new() local 356 static void mlx5_sf_del(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_del() 369 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_del() local 416 static void mlx5_sf_del_all(struct mlx5_sf_table *table) in mlx5_sf_del_all() 468 struct mlx5_sf_table *table; in mlx5_sf_table_init() local [all …]
|
| A D | hw_table.c | 61 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() 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 375 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_create() local [all …]
|
| /linux/arch/s390/mm/ |
| A D | pgalloc.c | 47 unsigned long *table; in crst_table_alloc() local 143 u64 *table; in page_table_alloc_pgste() local 165 unsigned long *table; in page_table_alloc() local 196 void __tlb_remove_table(void *table) in __tlb_remove_table() 239 unsigned long *table; in base_pgt_alloc() local 254 unsigned long *table; in base_crst_alloc() local 316 unsigned long *ste, next, *table; in base_segment_walk() local 345 unsigned long *rtte, next, *table; in base_region3_walk() local 373 unsigned long *rste, next, *table; in base_region2_walk() local 401 unsigned long *rfte, next, *table; in base_region1_walk() local [all …]
|
| /linux/net/sched/ |
| A D | sch_gred.c | 62 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() 77 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() 94 struct gred_sched *table = qdisc_priv(sch); in gred_wred_mode_check() local 313 struct gred_sched *table = qdisc_priv(sch); in gred_offload() local 356 struct gred_sched *table = qdisc_priv(sch); in gred_offload_dump_stats() local 411 struct gred_sched *table = qdisc_priv(sch); in gred_change_table_def() local 487 struct gred_sched *table = qdisc_priv(sch); in gred_change_vq() local 645 struct gred_sched *table = qdisc_priv(sch); in gred_change() local 735 struct gred_sched *table = qdisc_priv(sch); in gred_init() local 770 struct gred_sched *table = qdisc_priv(sch); in gred_dump() local [all …]
|
| /linux/tools/perf/util/ |
| A D | threads.c | 26 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/drivers/clk/ |
| A D | clk-divider.c | 132 const struct clk_div_table *table, in divider_recalc_rate() 219 static int _div_round_up(const struct clk_div_table *table, in _div_round_up() 257 static int _div_round(const struct clk_div_table *table, in _div_round() 292 const struct clk_div_table *table, u8 width, in clk_divider_bestdiv() 347 const struct clk_div_table *table, u8 width, in divider_determine_rate() 362 const struct clk_div_table *table, u8 width, in divider_ro_determine_rate() 386 const struct clk_div_table *table, in divider_round_rate_parent() 408 const struct clk_div_table *table, u8 width, in divider_ro_round_rate_parent() 471 const struct clk_div_table *table, u8 width, in divider_get_val() 542 const struct clk_div_table *table, spinlock_t *lock) in __clk_hw_register_divider() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| A D | mcdi_filters.c | 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 723 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_get_safe() local 1093 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_clear_rx() local 1120 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_count_rx_used() local 1149 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_get_rx_ids() local 1254 struct efx_mcdi_filter_table *table, in efx_mcdi_filter_table_probe_matches() 1304 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_table_probe() local [all …]
|
| /linux/drivers/md/dm-vdo/ |
| A D | priority-table.c | 56 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/tools/power/acpi/tools/acpidump/ |
| A D | apdump.c | 30 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/kernel/ |
| A D | sysctl.c | 208 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() 555 const struct ctl_table *table, in do_proc_douintvec_w() 678 int do_proc_douintvec(const struct ctl_table *table, int write, in do_proc_douintvec() 772 static int proc_taint(const struct ctl_table *table, int write, in proc_taint() 1021 const struct ctl_table *table, int write, in __do_proc_doulongvec_minmax() 1496 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring() 1502 int proc_dobool(const struct ctl_table *table, int write, in proc_dobool() 1508 int proc_dointvec(const struct ctl_table *table, int write, in proc_dointvec() [all …]
|
| A D | sysctl-test.c | 116 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/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
| A D | dev.c | 29 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() 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 364 static void mlx5_sf_dev_destroy_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_destroy_all() [all …]
|
| /linux/scripts/include/ |
| A D | hashtable.h | 16 #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/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | rl.c | 112 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/arch/powerpc/boot/ |
| A D | planetcore.c | 26 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/drivers/cpufreq/ |
| A D | freq_table.c | 19 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/net/core/ |
| A D | sysctl_net_core.c | 98 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/net/ipv4/ |
| A D | sysctl_net_ipv4.c | 65 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() 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() 1581 struct ctl_table *table; in ipv4_sysctl_init_net() local [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| A D | tables.c | 366 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/drivers/infiniband/core/ |
| A D | cache.c | 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 689 struct ib_gid_table *table; in rdma_find_gid_by_port() local 743 struct ib_gid_table *table; in rdma_find_gid_by_filter() local 893 struct ib_gid_table *table; in _gid_table_setup_one() local 952 struct ib_gid_table *table; in rdma_query_gid() local 1218 struct ib_gid_table *table; in rdma_get_gid_attr() local 1255 struct ib_gid_table *table; in rdma_query_gid_table() local 1355 struct ib_gid_table *table; in rdma_read_gid_attr_ndev_rcu() local [all …]
|
| /linux/drivers/acpi/acpica/ |
| A D | tbdata.c | 45 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/net/devlink/ |
| A D | dpipe.c | 87 static int devlink_dpipe_matches_put(struct devlink_dpipe_table *table, in devlink_dpipe_matches_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 880 struct devlink_dpipe_table *table; in devl_dpipe_table_unregister() local [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| A D | intel_mocs.c | 25 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/drivers/gpu/drm/radeon/ |
| A D | mkregtable.c | 111 struct table { struct 115 unsigned *table; member 131 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument
|