| /linux/drivers/net/wireguard/ |
| H A D | peerlookup.c | 10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket() 24 struct pubkey_hashtable *table = kvmalloc_obj(*table); 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_obj(*table); 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/net/sched/ |
| H A D | sch_gred.c | 62 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() argument 67 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() argument 72 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() argument 77 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() argument 82 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() argument 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/drivers/clk/ |
| H A D | clk-divider.c | 46 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv() 58 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv() 69 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv() 83 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() 94 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() 110 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val() 121 static unsigned int _get_val(const struct clk_div_table *table, in _get_val() 139 const struct clk_div_table *table, in divider_recalc_rate() 169 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div() 180 static bool _is_valid_div(const struct clk_div_table *table, unsigned int div, in _is_valid_div() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | devlink.c | 37 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int 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() 47 static void mlx5_sf_function_id_erase(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_function_id_erase() 53 mlx5_sf_alloc(struct mlx5_sf_table *table, struct mlx5_eswitch *esw, in mlx5_sf_alloc() 102 static void mlx5_sf_free(struct mlx5_sf_table *table, struct mlx5_sf *sf) in mlx5_sf_free() 148 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_fn_state_get() local 203 static int mlx5_sf_state_set(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, in mlx5_sf_state_set() 229 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_fn_state_set() local 235 static int mlx5_sf_add(struct mlx5_core_dev *dev, struct mlx5_sf_table *table, in mlx5_sf_add() 310 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_new() local [all …]
|
| H A D | hw_table.c | 42 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_controller_to_hwc() local 67 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc() 81 struct mlx5_sf_hw_table *table, in mlx5_sf_hw_table_id_alloc() 112 struct mlx5_sf_hw_table *table, in mlx5_sf_hw_table_id_free() 124 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_alloc() local 172 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_free() local 193 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_deferred_free() local 230 struct mlx5_sf_hw_table *table) in mlx5_sf_hw_table_dealloc_all() 288 struct mlx5_sf_hw_table *table; in mlx5_sf_hw_table_init() local 382 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_cleanup() local [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A 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() 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/tools/power/acpi/tools/acpidump/ |
| H A D | apdump.c | 30 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header() argument 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/sf/dev/ |
| H A D | dev.c | 28 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 90 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() local 149 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_del() local 160 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_state_change_handler() local 205 static int mlx5_sf_dev_vhca_arm_all(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_vhca_arm_all() 255 struct mlx5_sf_dev_table *table = container_of(_work, struct mlx5_sf_dev_table, work); in mlx5_sf_dev_queue_active_works() local 298 static int mlx5_sf_dev_create_active_works(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_create_active_works() 314 static void mlx5_sf_dev_destroy_active_works(struct mlx5_sf_dev_table *table) in mlx5_sf_dev_destroy_active_works() 333 struct mlx5_sf_dev_table *table; in mlx5_sf_dev_table_create() local [all …]
|
| /linux/kernel/ |
| H A D | sysctl.c | 138 static void warn_sysctl_write(const struct ctl_table *table) in warn_sysctl_write() 156 const struct ctl_table *table) in proc_first_pos_non_zero_ignore() 189 int proc_dostring(const struct ctl_table *table, int dir, in proc_dostring() 627 const struct ctl_table *table) in proc_vec_conv() 646 static int do_proc_vec(const struct ctl_table *table, int dir, in do_proc_vec() 754 int proc_douintvec_conv(const struct ctl_table *table, int dir, void *buffer, in proc_douintvec_conv() 783 int proc_dobool(const struct ctl_table *table, int dir, void *buffer, in proc_dobool() 820 int proc_dointvec(const struct ctl_table *table, int dir, void *buffer, in proc_dointvec() 840 int proc_douintvec(const struct ctl_table *table, int dir, void *buffer, in proc_douintvec() 864 int proc_dointvec_minmax(const struct ctl_table *table, int dir, in proc_dointvec_minmax() [all …]
|
| /linux/scripts/include/ |
| H 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/arch/powerpc/boot/ |
| H 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/net/ethernet/mellanox/mlx5/core/ |
| H A D | rl.c | 174 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() 224 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_is_in_range() local 239 static int mlx5_rl_table_get(struct mlx5_rl_table *table) in mlx5_rl_table_get() 264 static void mlx5_rl_table_put(struct mlx5_rl_table *table) in mlx5_rl_table_put() 274 static void mlx5_rl_table_free(struct mlx5_core_dev *dev, struct mlx5_rl_table *table) in mlx5_rl_table_free() 304 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_add_rate_raw() local 365 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate_raw() local 397 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_remove_rate() local 428 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_init_rl_table() local 452 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_cleanup_rl_table() local
|
| /linux/net/ipv4/ |
| H A D | sysctl_net_ipv4.c | 70 static int ipv4_local_port_range(const struct ctl_table *table, int write, in ipv4_local_port_range() 104 static int ipv4_privileged_ports(const struct ctl_table *table, int write, in ipv4_privileged_ports() 138 static void inet_get_ping_group_range_table(const struct ctl_table *table, in inet_get_ping_group_range_table() 154 static void set_ping_group_range(const struct ctl_table *table, in set_ping_group_range() 167 static int ipv4_ping_group_range(const struct ctl_table *table, int write, in ipv4_ping_group_range() 202 static int ipv4_fwd_update_priority(const struct ctl_table *table, int write, in ipv4_fwd_update_priority() 291 static int proc_tcp_fastopen_key(const struct ctl_table *table, int write, in proc_tcp_fastopen_key() 362 static int proc_tfo_blackhole_detect_timeout(const struct ctl_table *table, in proc_tfo_blackhole_detect_timeout() 394 static int proc_tcp_ehash_entries(const struct ctl_table *table, int write, in proc_tcp_ehash_entries() 418 static int proc_udp_hash_entries(const struct ctl_table *table, int write, in proc_udp_hash_entries() [all …]
|
| /linux/net/core/ |
| H A D | sysctl_net_core.c | 103 static int rps_default_mask_sysctl(const struct ctl_table *table, int write, in rps_default_mask_sysctl() 138 static int rps_sock_flow_sysctl(const struct ctl_table *table, int write, in rps_sock_flow_sysctl() 218 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 275 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 297 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc() 316 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight() 334 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key() 352 static int proc_do_skb_defer_max(const struct ctl_table *table, int write, in proc_do_skb_defer_max() 376 static int proc_dointvec_minmax_bpf_enable(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable() 409 proc_dointvec_minmax_bpf_restricted(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_restricted() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H 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()
|
| H A D | tables_phy_lcn.h | 10 #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
|
| /linux/drivers/infiniband/core/ |
| H A D | cache.c | 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 320 static void store_gid_entry(struct ib_gid_table *table, in store_gid_entry() 382 struct ib_gid_table *table, int ix) in del_gid() 425 static int add_modify_gid(struct ib_gid_table *table, in add_modify_gid() 465 static int find_gid(struct ib_gid_table *table, const union ib_gid *gid, in find_gid() 549 struct ib_gid_table *table; in __ib_cache_gid_add() local 604 struct ib_gid_table *table; in _ib_cache_gid_del() local 643 struct ib_gid_table *table; in ib_cache_gid_del_all_netdev_gids() local [all …]
|
| /linux/net/devlink/ |
| H A D | dpipe.c | 87 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() 217 struct devlink_dpipe_table *table; in devlink_dpipe_tables_fill() local 453 struct devlink_dpipe_table *table; in devlink_dpipe_table_find() local 535 struct devlink_dpipe_table *table) in devlink_dpipe_entries_fill() 567 struct devlink_dpipe_table *table; in devlink_nl_dpipe_entries_get_doit() local 728 struct devlink_dpipe_table *table; in devlink_dpipe_table_counters_set() local 815 struct devlink_dpipe_table *table; in devlink_dpipe_table_counter_enabled() local 843 struct devlink_dpipe_table *table; in devl_dpipe_table_register() local [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A 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/arch/x86/lib/ |
| H A D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 48 const insn_attr_t *table; in inat_get_group_attribute() local 68 const insn_attr_t *table; in inat_get_avx_attribute() local 86 const insn_attr_t *table; in inat_get_xop_attribute() local
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgalloc.h | 43 static inline void pgtable_free(void *table, int shift) in pgtable_free() 53 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() 64 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 70 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|
| /linux/tools/arch/x86/lib/ |
| H A D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 48 const insn_attr_t *table; in inat_get_group_attribute() local 68 const insn_attr_t *table; in inat_get_avx_attribute() local 86 const insn_attr_t *table; in inat_get_xop_attribute() local
|
| /linux/net/unix/ |
| H A D | sysctl_net_unix.c | 28 struct ctl_table *table; in unix_table_dup() local 41 const struct ctl_table *table; in unix_sysctl_register() local 67 const struct ctl_table *table; in unix_sysctl_unregister() local
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | icm.c | 257 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() 293 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_put() 313 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, in mlx4_table_find() 381 int mlx4_table_get_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_table_get_range() 405 void mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_table_put_range() 414 int mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, in mlx4_init_icm_table() 480 void mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table) in mlx4_cleanup_icm_table()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgalloc.h | 46 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() 57 void *table, int shift) in pgtable_free_tlb() 67 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 73 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|