| /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/drivers/clk/ |
| H A 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() 82 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() 93 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() 109 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val() 120 static unsigned int _get_val(const struct clk_div_table *table, in _get_val() 138 const struct clk_div_table *table, in divider_recalc_rate() 168 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div() 179 static bool _is_valid_div(const struct clk_div_table *table, unsigned int div, in _is_valid_div() [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() 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/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/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() 304 struct mlx5_sf_table *table = dev->priv.sf_table; in mlx5_devlink_sf_port_new() local [all …]
|
| H A 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() 73 struct mlx5_sf_hw_table *table, in mlx5_sf_hw_table_id_alloc() 104 struct mlx5_sf_hw_table *table, in mlx5_sf_hw_table_id_free() 116 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_alloc() local 164 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_free() local 185 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_sf_deferred_free() local 222 struct mlx5_sf_hw_table *table) in mlx5_sf_hw_table_dealloc_all() 279 struct mlx5_sf_hw_table *table; in mlx5_sf_hw_table_init() local 335 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_table_cleanup() local 353 struct mlx5_sf_hw_table *table = dev->priv.sf_hw_table; in mlx5_sf_hw_vhca_event() 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() 575 static int do_proc_dointvec(const struct ctl_table *table, int dir, in do_proc_dointvec() 647 static int do_proc_douintvec_w(const struct ctl_table *table, void *buffer, in do_proc_douintvec_w() 700 static int do_proc_douintvec_r(const struct ctl_table *table, void *buffer, in do_proc_douintvec_r() 730 static int do_proc_douintvec(const struct ctl_table *table, int dir, in do_proc_douintvec() 779 int proc_douintvec_conv(const struct ctl_table *table, int dir, void *buffer, in proc_douintvec_conv() 803 int proc_dobool(const struct ctl_table *table, int dir, void *buffer, in proc_dobool() 840 int proc_dointvec(const struct ctl_table *table, int dir, void *buffer, in proc_dointvec() [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H 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/ |
| H 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() 107 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length() 143 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer() 193 struct acpi_table_header *table; in ap_dump_all_tables() local 252 struct acpi_table_header *table; in ap_dump_table_by_address() local 297 struct acpi_table_header *table; in ap_dump_table_by_name() local 368 struct acpi_table_header *table; in ap_dump_table_from_file() local
|
| /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/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/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() 210 static int flow_limit_cpu_sysctl(const struct ctl_table *table, int write, in flow_limit_cpu_sysctl() 267 static int flow_limit_table_len_sysctl(const struct ctl_table *table, int write, in flow_limit_table_len_sysctl() 289 static int set_default_qdisc(const struct ctl_table *table, int write, in set_default_qdisc() 308 static int proc_do_dev_weight(const struct ctl_table *table, int write, in proc_do_dev_weight() 326 static int proc_do_rss_key(const struct ctl_table *table, int write, in proc_do_rss_key() 345 static int proc_dointvec_minmax_bpf_enable(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_enable() 378 proc_dointvec_minmax_bpf_restricted(const struct ctl_table *table, int write, in proc_dointvec_minmax_bpf_restricted() 389 proc_dolongvec_minmax_bpf_restricted(const struct ctl_table *table, int write, in proc_dolongvec_minmax_bpf_restricted()
|
| /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/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/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()
|
| /linux/drivers/acpi/acpica/ |
| H 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/ |
| 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/mm/ |
| H A D | hugetlb_sysctl.c | 12 proc_hugetlb_doulongvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * length,loff_t * ppos,unsigned long * out) proc_hugetlb_doulongvec_minmax() argument 29 hugetlb_sysctl_handler_common(bool obey_mempolicy,const struct ctl_table * table,int write,void * buffer,size_t * length,loff_t * ppos) hugetlb_sysctl_handler_common() argument 51 hugetlb_sysctl_handler(const struct ctl_table * table,int write,void * buffer,size_t * length,loff_t * ppos) hugetlb_sysctl_handler() argument 60 hugetlb_mempolicy_sysctl_handler(const struct ctl_table * table,int write,void * buffer,size_t * length,loff_t * ppos) hugetlb_mempolicy_sysctl_handler() argument 68 hugetlb_overcommit_handler(const struct ctl_table * table,int write,void * buffer,size_t * length,loff_t * ppos) hugetlb_overcommit_handler() argument [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/drivers/gpu/drm/imagination/ |
| H A D | pvr_mmu.c | 890 pvr_page_table_l2_init(struct pvr_page_table_l2 *table, in pvr_page_table_l2_init() 903 pvr_page_table_l2_fini(struct pvr_page_table_l2 *table) in pvr_page_table_l2_fini() 922 pvr_page_table_l2_sync(struct pvr_page_table_l2 *table) in pvr_page_table_l2_sync() 941 pvr_page_table_l2_get_raw(struct pvr_page_table_l2 *table) in pvr_page_table_l2_get_raw() 965 pvr_page_table_l2_get_entry_raw(struct pvr_page_table_l2 *table, u16 idx) in pvr_page_table_l2_get_entry_raw() 981 pvr_page_table_l2_entry_is_valid(struct pvr_page_table_l2 *table, u16 idx) in pvr_page_table_l2_entry_is_valid() 1066 pvr_page_table_l1_init(struct pvr_page_table_l1 *table, in pvr_page_table_l1_init() 1083 pvr_page_table_l1_free(struct pvr_page_table_l1 *table) in pvr_page_table_l1_free() 1103 pvr_page_table_l1_sync(struct pvr_page_table_l1 *table) in pvr_page_table_l1_sync() 1122 pvr_page_table_l1_get_raw(struct pvr_page_table_l1 *table) in pvr_page_table_l1_get_raw() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_hash.c | 429 struct npc_exact_table *table = rvu->hw->table; in rvu_exact_calculate_hash() local 468 struct npc_exact_table *table; in rvu_npc_exact_alloc_mem_table_entry() local 504 struct npc_exact_table *table; in rvu_npc_exact_free_id() local 521 struct npc_exact_table *table; in rvu_npc_exact_alloc_id() local 554 struct npc_exact_table *table; in rvu_npc_exact_alloc_cam_table_entry() local 723 struct npc_exact_table *table; in rvu_npc_exact_get_max_entries() local 750 struct npc_exact_table *table = rvu->hw->table; in __rvu_npc_exact_find_entry_by_seq_id() local 789 struct npc_exact_table *table = rvu->hw->table; in rvu_npc_exact_add_to_list() local 903 struct npc_exact_table *table; in rvu_npc_exact_dealloc_table_entry() local 976 struct npc_exact_table *table; in rvu_npc_exact_alloc_table_entry() local [all …]
|
| /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()
|