/Linux-v5.15/drivers/net/wireguard/ |
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | devlink.c | 33 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 …]
|
D | hw_table.c | 59 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 …]
|
/Linux-v5.15/arch/s390/mm/ |
D | pgalloc.c | 64 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() 160 u64 *table; in page_table_alloc_pgste() local 183 unsigned long *table; in page_table_alloc() local 237 void page_table_free(struct mm_struct *mm, unsigned long *table) in page_table_free() 264 void page_table_free_rcu(struct mmu_gather *tlb, unsigned long *table, in page_table_free_rcu() 295 void *table = (void *)((unsigned long) _table ^ mask); in __tlb_remove_table() local 327 u64 *table; in base_pgt_alloc() local 335 static void base_pgt_free(unsigned long table) in base_pgt_free() 342 unsigned long table; in base_crst_alloc() local 350 static void base_crst_free(unsigned long table) in base_crst_free() [all …]
|
/Linux-v5.15/drivers/clk/ |
D | clk-divider.c | 45 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-v5.15/net/sched/ |
D | sch_gred.c | 61 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() 66 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() 71 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() 76 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() 81 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() 86 static inline void gred_disable_rio_mode(struct gred_sched *table) in gred_disable_rio_mode() 93 struct gred_sched *table = qdisc_priv(sch); in gred_wred_mode_check() local 112 static inline unsigned int gred_backlog(struct gred_sched *table, in gred_backlog() 127 static inline void gred_load_wred_set(const struct gred_sched *table, in gred_load_wred_set() 134 static inline void gred_store_wred_set(struct gred_sched *table, in gred_store_wred_set() [all …]
|
/Linux-v5.15/tools/power/acpi/tools/acpidump/ |
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() 104 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length() 140 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer() 190 struct acpi_table_header *table; in ap_dump_all_tables() local 249 struct acpi_table_header *table; in ap_dump_table_by_address() local 294 struct acpi_table_header *table; in ap_dump_table_by_name() local 365 struct acpi_table_header *table; in ap_dump_table_from_file() local
|
/Linux-v5.15/tools/bpf/bpftool/ |
D | pids.c | 16 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() 20 void delete_obj_refs_table(struct obj_refs_table *table) {} in delete_obj_refs_table() 21 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) {} in emit_obj_refs_plain() 22 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() 28 static void add_ref(struct obj_refs_table *table, struct pid_iter_entry *e) in add_ref() 90 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() 165 void delete_obj_refs_table(struct obj_refs_table *table) in delete_obj_refs_table() 178 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, in emit_obj_refs_json() 208 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) in emit_obj_refs_plain()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | mcdi_filters.c | 27 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 …]
|
/Linux-v5.15/kernel/ |
D | sysctl.c | 200 static int bpf_stats_handler(struct ctl_table *table, int write, in bpf_stats_handler() 231 static int bpf_unpriv_handler(struct ctl_table *table, int write, in bpf_unpriv_handler() 320 static void warn_sysctl_write(struct ctl_table *table) in warn_sysctl_write() 338 struct ctl_table *table) in proc_first_pos_non_zero_ignore() 371 int proc_dostring(struct ctl_table *table, int write, in proc_dostring() 598 static int __do_proc_dointvec(void *tbl_data, struct ctl_table *table, in __do_proc_dointvec() 671 static int do_proc_dointvec(struct ctl_table *table, int write, in do_proc_dointvec() 682 struct ctl_table *table, in do_proc_douintvec_w() 769 static int __do_proc_douintvec(void *tbl_data, struct ctl_table *table, in __do_proc_douintvec() 805 static int do_proc_douintvec(struct ctl_table *table, int write, in do_proc_douintvec() [all …]
|
D | sysctl-test.c | 119 struct ctl_table table = { in sysctl_test_api_dointvec_table_len_is_zero() local 153 struct ctl_table table = { in sysctl_test_api_dointvec_table_read_but_position_set() local 188 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_positive() local 219 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_negative() local 248 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_positive() local 278 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_negative() local 310 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_less_int_min() local 348 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_greater_int_max() local
|
/Linux-v5.15/arch/powerpc/boot/ |
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 113 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
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
D | dev.c | 29 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() local 77 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local 139 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local 148 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); in mlx5_sf_dev_state_change_handler() local 189 static int mlx5_sf_dev_vhca_arm_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_vhca_arm_all() 212 struct mlx5_sf_dev_table *table; in mlx5_sf_dev_table_create() local 256 static void mlx5_sf_dev_destroy_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_destroy_all() 269 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_table_destroy() local
|
/Linux-v5.15/ipc/ |
D | ipc_sysctl.c | 17 static void *get_ipc(struct ctl_table *table) in get_ipc() 26 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec() 37 static int proc_ipc_dointvec_minmax(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax() 48 static int proc_ipc_dointvec_minmax_orphans(struct ctl_table *table, int write, in proc_ipc_dointvec_minmax_orphans() 61 static int proc_ipc_doulongvec_minmax(struct ctl_table *table, int write, in proc_ipc_doulongvec_minmax() 72 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni() 87 static int proc_ipc_sem_dointvec(struct ctl_table *table, int write, in proc_ipc_sem_dointvec()
|
/Linux-v5.15/drivers/cpufreq/ |
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-v5.15/net/ipv4/ |
D | sysctl_net_ipv4.c | 75 static int ipv4_local_port_range(struct ctl_table *table, int write, in ipv4_local_port_range() 110 static int ipv4_privileged_ports(struct ctl_table *table, int write, in ipv4_privileged_ports() 144 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) in inet_get_ping_group_range_table() 159 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range() 171 static int ipv4_ping_group_range(struct ctl_table *table, int write, in ipv4_ping_group_range() 206 static int ipv4_fwd_update_priority(struct ctl_table *table, int write, in ipv4_fwd_update_priority() 295 static int proc_tcp_fastopen_key(struct ctl_table *table, int write, in proc_tcp_fastopen_key() 389 static int proc_tcp_early_demux(struct ctl_table *table, int write, in proc_tcp_early_demux() 405 static int proc_udp_early_demux(struct ctl_table *table, int write, in proc_udp_early_demux() 421 static int proc_tfo_blackhole_detect_timeout(struct ctl_table *table, in proc_tfo_blackhole_detect_timeout() [all …]
|
/Linux-v5.15/net/core/ |
D | sysctl_net_core.c | 50 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl() 120 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 195 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 217 static int set_default_qdisc(struct ctl_table *table, int write, in set_default_qdisc() 236 static int proc_do_dev_weight(struct ctl_table *table, int write, in proc_do_dev_weight() 251 static int proc_do_rss_key(struct ctl_table *table, int write, in proc_do_rss_key() 264 static int proc_dointvec_minmax_bpf_enable(struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable() 291 proc_dointvec_minmax_bpf_restricted(struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_restricted() 302 proc_dolongvec_minmax_bpf_restricted(struct ctl_table *table, int write, in proc_dolongvec_minmax_bpf_restricted()
|
/Linux-v5.15/drivers/net/wireless/broadcom/b43/ |
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-v5.15/drivers/infiniband/core/ |
D | cache.c | 49 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 …]
|
/Linux-v5.15/fs/proc/ |
D | proc_sysctl.c | 185 struct ctl_node *node, struct ctl_table *table) in init_header() 414 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() 428 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() 544 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_call_handler() local 618 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_open() local 636 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_poll() local 667 struct ctl_table *table) in proc_sys_fill_cache() 716 struct ctl_table *table) in proc_sys_link_fill_cache() 734 static int scan(struct ctl_table_header *head, struct ctl_table *table, in scan() 791 struct ctl_table *table; in proc_sys_permission() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_mocs.c | 24 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
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 111 struct table { struct 115 unsigned *table; argument 131 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument
|
/Linux-v5.15/arch/powerpc/include/asm/nohash/ |
D | pgalloc.h | 37 static inline void pgtable_free(void *table, int shift) in pgtable_free() 49 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() 60 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 66 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|
/Linux-v5.15/drivers/dma-buf/heaps/ |
D | system_heap.c | 38 struct sg_table *table; member 57 static struct sg_table *dup_sg_table(struct sg_table *table) in dup_sg_table() 87 struct sg_table *table; in system_heap_attach() local 132 struct sg_table *table = a->table; in system_heap_map_dma_buf() local 144 struct sg_table *table, in system_heap_unmap_dma_buf() 198 struct sg_table *table = &buffer->sg_table; in system_heap_mmap() local 219 struct sg_table *table = &buffer->sg_table; in system_heap_do_vmap() local 287 struct sg_table *table; in system_heap_dma_buf_release() local 344 struct sg_table *table; in system_heap_allocate() local
|