/openbmc/linux/fs/nfs/ |
H A D | nfs4session.c | 27 static void nfs4_init_slot_table(struct nfs4_slot_table *tbl, const char *queue) in nfs4_init_slot_table() 39 static void nfs4_shrink_slot_table(struct nfs4_slot_table *tbl, u32 newsize) in nfs4_shrink_slot_table() 62 void nfs4_slot_tbl_drain_complete(struct nfs4_slot_table *tbl) in nfs4_slot_tbl_drain_complete() 83 void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot) in nfs4_free_slot() 104 static struct nfs4_slot *nfs4_new_slot(struct nfs4_slot_table *tbl, in nfs4_new_slot() 120 static struct nfs4_slot *nfs4_find_or_create_slot(struct nfs4_slot_table *tbl, in nfs4_find_or_create_slot() 142 static void nfs4_lock_slot(struct nfs4_slot_table *tbl, in nfs4_lock_slot() 159 bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot) in nfs4_try_to_lock_slot() 172 struct nfs4_slot *nfs4_lookup_slot(struct nfs4_slot_table *tbl, u32 slotid) in nfs4_lookup_slot() 179 static int nfs4_slot_get_seqid(struct nfs4_slot_table *tbl, u32 slotid, in nfs4_slot_get_seqid() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_table.c | 46 int mlx5dr_table_set_miss_action(struct mlx5dr_table *tbl, in mlx5dr_table_set_miss_action() 92 static void dr_table_uninit_fdb(struct mlx5dr_table *tbl) in dr_table_uninit_fdb() 98 static void dr_table_uninit(struct mlx5dr_table *tbl) in dr_table_uninit() 159 static int dr_table_init_fdb(struct mlx5dr_table *tbl) in dr_table_init_fdb() 178 static int dr_table_init(struct mlx5dr_table *tbl) in dr_table_init() 213 static int dr_table_destroy_sw_owned_tbl(struct mlx5dr_table *tbl) in dr_table_destroy_sw_owned_tbl() 220 static int dr_table_create_sw_owned_tbl(struct mlx5dr_table *tbl, u16 uid) in dr_table_create_sw_owned_tbl() 253 struct mlx5dr_table *tbl; in mlx5dr_table_create() local 288 int mlx5dr_table_destroy(struct mlx5dr_table *tbl) in mlx5dr_table_destroy() 311 u32 mlx5dr_table_get_id(struct mlx5dr_table *tbl) in mlx5dr_table_get_id()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 45 struct iommu_table *tbl = data; in iommu_debugfs_weight_get() local 51 static void iommu_debugfs_add(struct iommu_table *tbl) in iommu_debugfs_add() 68 static void iommu_debugfs_del(struct iommu_table *tbl) in iommu_debugfs_del() 76 static void iommu_debugfs_add(struct iommu_table *tbl){} in iommu_debugfs_add() 77 static void iommu_debugfs_del(struct iommu_table *tbl){} in iommu_debugfs_del() 214 struct iommu_table *tbl, in iommu_range_alloc() 345 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc() 388 static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free_check() 416 static struct iommu_pool *get_pool(struct iommu_table *tbl, in get_pool() 435 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in __iommu_free() [all …]
|
/openbmc/linux/include/linux/ |
H A D | rhashtable.h | 119 static inline unsigned int rht_bucket_index(const struct bucket_table *tbl, in rht_bucket_index() 156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() 165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() 183 const struct bucket_table *tbl) in rht_grow_above_75() 196 const struct bucket_table *tbl) in rht_shrink_below_30() 209 const struct bucket_table *tbl) in rht_grow_above_100() 221 const struct bucket_table *tbl) in rht_grow_above_max() 235 static inline int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, in lockdep_rht_bucket_is_held() 277 #define rht_dereference_bucket(p, tbl, hash) \ argument 280 #define rht_dereference_bucket_rcu(p, tbl, hash) \ argument [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | syscalltbl.c | 67 static int syscalltbl__init_native(struct syscalltbl *tbl) in syscalltbl__init_native() 96 struct syscalltbl *tbl = malloc(sizeof(*tbl)); in syscalltbl__new() local 106 void syscalltbl__delete(struct syscalltbl *tbl) in syscalltbl__delete() 117 int syscalltbl__id(struct syscalltbl *tbl, const char *name) in syscalltbl__id() 126 int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx) in syscalltbl__strglobmatch_next() 141 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx) in syscalltbl__strglobmatch_first() 153 struct syscalltbl *tbl = zalloc(sizeof(*tbl)); in syscalltbl__new() local 159 void syscalltbl__delete(struct syscalltbl *tbl) in syscalltbl__delete() 164 const char *syscalltbl__name(const struct syscalltbl *tbl, int id) in syscalltbl__name() 169 int syscalltbl__id(struct syscalltbl *tbl, const char *name) in syscalltbl__id() [all …]
|
/openbmc/linux/lib/ |
H A D | rhashtable.c | 38 const struct bucket_table *tbl, in head_hashfn() 53 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held() 67 const struct bucket_table *tbl) in nested_table_top() 94 static void nested_bucket_table_free(const struct bucket_table *tbl) in nested_bucket_table_free() 109 static void bucket_table_free(const struct bucket_table *tbl) in bucket_table_free() 152 struct bucket_table *tbl; in nested_bucket_table_alloc() local 179 struct bucket_table *tbl = NULL; in bucket_table_alloc() local 212 struct bucket_table *tbl) in rhashtable_last_table() 413 struct bucket_table *tbl; in rht_deferred_worker() local 443 struct bucket_table *tbl) in rhashtable_insert_rehash() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | mesh_pathtbl.c | 81 struct mesh_table *tbl = tblptr; in mesh_path_rht_free() local 86 static void mesh_table_init(struct mesh_table *tbl) in mesh_table_init() 100 static void mesh_table_free(struct mesh_table *tbl) in mesh_table_free() 242 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup() 279 __mesh_path_lookup_by_idx(struct mesh_table *tbl, int idx) in __mesh_path_lookup_by_idx() 336 struct mesh_table *tbl; in mesh_path_add_gate() local 371 static void mesh_gate_del(struct mesh_table *tbl, struct mesh_path *mpath) in mesh_gate_del() 678 struct mesh_table *tbl; in mesh_path_add() local 720 struct mesh_table *tbl; in mpp_path_add() local 768 struct mesh_table *tbl = &sdata->u.mesh.mesh_paths; in mesh_plink_broken() local [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | liodn.c | 27 static void set_srio_liodn(struct srio_liodn_id_table *tbl, int size) in set_srio_liodn() 43 static void set_liodn(struct liodn_id_table *tbl, int size) in set_liodn() 60 static void set_fman_liodn(struct fman_liodn_id_table *tbl, int size) in set_fman_liodn() 95 struct fman_liodn_id_table *tbl, int size) in setup_fman_liodn_base() 154 static void set_rman_liodn(struct liodn_id_table *tbl, int size) in set_rman_liodn() 167 static void setup_rman_liodn_base(struct liodn_id_table *tbl, int size) in setup_rman_liodn_base() 227 static void fdt_fixup_srio_liodn(void *blob, struct srio_liodn_id_table *tbl) in fdt_fixup_srio_liodn() 307 static void fdt_fixup_liodn_tbl(void *blob, struct liodn_id_table *tbl, int sz) in fdt_fixup_liodn_tbl() 336 struct fman_liodn_id_table *tbl, in fdt_fixup_liodn_tbl_fman()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 48 void pnv_pci_setup_iommu_table(struct iommu_table *tbl, in pnv_pci_setup_iommu_table() 83 static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc) in pnv_tce() 124 int pnv_tce_build(struct iommu_table *tbl, long index, long npages, in pnv_tce_build() 147 int pnv_tce_xchg(struct iommu_table *tbl, long index, in pnv_tce_xchg() 181 __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc) in pnv_tce_useraddrptr() 190 void pnv_tce_free(struct iommu_table *tbl, long index, long npages) in pnv_tce_free() 206 unsigned long pnv_tce_get(struct iommu_table *tbl, long index) in pnv_tce_get() 240 void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl) in pnv_pci_ioda2_table_free_pages() 292 bool alloc_userspace_copy, struct iommu_table *tbl) in pnv_pci_ioda2_table_alloc_pages() 370 void pnv_pci_unlink_table_and_group(struct iommu_table *tbl, in pnv_pci_unlink_table_and_group() [all …]
|
/openbmc/linux/net/core/ |
H A D | neighbour.c | 209 struct neigh_table *tbl) in neigh_del() 229 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one() 252 static int neigh_forced_gc(struct neigh_table *tbl) in neigh_forced_gc() 380 static void neigh_flush_dev(struct neigh_table *tbl, struct net_device *dev, in neigh_flush_dev() 434 void neigh_changeaddr(struct neigh_table *tbl, struct net_device *dev) in neigh_changeaddr() 442 static int __neigh_ifdown(struct neigh_table *tbl, struct net_device *dev, in __neigh_ifdown() 455 int neigh_carrier_down(struct neigh_table *tbl, struct net_device *dev) in neigh_carrier_down() 462 int neigh_ifdown(struct neigh_table *tbl, struct net_device *dev) in neigh_ifdown() 469 static struct neighbour *neigh_alloc(struct neigh_table *tbl, in neigh_alloc() 577 static struct neigh_hash_table *neigh_hash_grow(struct neigh_table *tbl, in neigh_hash_grow() [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_doorbell.c | 56 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_init() local 78 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_cleanup() local 85 struct pvrdma_id_table *tbl; in pvrdma_uar_alloc() local 117 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_free() local
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.c | 98 struct mwifiex_rx_reorder_tbl *tbl, in mwifiex_11n_dispatch_pkt_until_start_win() 146 struct mwifiex_rx_reorder_tbl *tbl) in mwifiex_11n_scan_and_dispatch() 190 struct mwifiex_rx_reorder_tbl *tbl) in mwifiex_del_rx_reorder_entry() 232 struct mwifiex_rx_reorder_tbl *tbl; in mwifiex_11n_get_rx_reorder_tbl() local 251 struct mwifiex_rx_reorder_tbl *tbl, *tmp; in mwifiex_11n_del_rx_reorder_tbl_by_ta() local 333 struct mwifiex_rx_reorder_tbl *tbl, *new_node; in mwifiex_11n_create_rx_reorder_tbl() local 410 mwifiex_11n_rxreorder_timer_restart(struct mwifiex_rx_reorder_tbl *tbl) in mwifiex_11n_rxreorder_timer_restart() 551 struct mwifiex_rx_reorder_tbl *tbl; in mwifiex_11n_rx_reorder_pkt() local 663 struct mwifiex_rx_reorder_tbl *tbl; in mwifiex_del_ba_tbl() local 717 struct mwifiex_rx_reorder_tbl *tbl; in mwifiex_ret_11n_addba_resp() local [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_lblc.c | 168 ip_vs_lblc_hash(struct ip_vs_lblc_table *tbl, struct ip_vs_lblc_entry *en) in ip_vs_lblc_hash() 179 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() 198 ip_vs_lblc_new(struct ip_vs_lblc_table *tbl, const union nf_inet_addr *daddr, in ip_vs_lblc_new() 231 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_flush() local 258 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_full_check() local 296 struct ip_vs_lblc_table *tbl = from_timer(tbl, t, periodic_timer); in ip_vs_lblc_check_expire() local 346 struct ip_vs_lblc_table *tbl; in ip_vs_lblc_init_svc() local 384 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_done_svc() local 484 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_schedule() local
|
H A D | ip_vs_lblcr.c | 331 ip_vs_lblcr_hash(struct ip_vs_lblcr_table *tbl, struct ip_vs_lblcr_entry *en) in ip_vs_lblcr_hash() 342 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() 361 ip_vs_lblcr_new(struct ip_vs_lblcr_table *tbl, const union nf_inet_addr *daddr, in ip_vs_lblcr_new() 397 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_flush() local 423 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_full_check() local 460 struct ip_vs_lblcr_table *tbl = from_timer(tbl, t, periodic_timer); in ip_vs_lblcr_check_expire() local 509 struct ip_vs_lblcr_table *tbl; in ip_vs_lblcr_init_svc() local 547 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_done_svc() local 648 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_schedule() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.c | 42 void mlx5e_mod_hdr_tbl_init(struct mod_hdr_tbl *tbl) in mlx5e_mod_hdr_tbl_init() 48 void mlx5e_mod_hdr_tbl_destroy(struct mod_hdr_tbl *tbl) in mlx5e_mod_hdr_tbl_destroy() 54 static struct mlx5e_mod_hdr_handle *mod_hdr_get(struct mod_hdr_tbl *tbl, in mod_hdr_get() 73 struct mod_hdr_tbl *tbl, in mlx5e_mod_hdr_attach() 140 struct mod_hdr_tbl *tbl, in mlx5e_mod_hdr_detach()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 414 static s32 get_expected_tpt(struct iwl_scale_tbl_info *tbl, int rs_index) in get_expected_tpt() 428 static int rs_collect_tx_data(struct iwl_scale_tbl_info *tbl, in rs_collect_tx_data() 507 struct iwl_scale_tbl_info *tbl, in rate_n_flags_from_tbl() 564 struct iwl_scale_tbl_info *tbl, in rs_get_tbl_info_from_mcs() 629 struct iwl_scale_tbl_info *tbl) in rs_toggle_antenna() 753 struct iwl_scale_tbl_info *tbl, in rs_get_lower_rate() 825 struct iwl_scale_tbl_info *tbl; in rs_bt_update_lq() local 1065 struct iwl_scale_tbl_info *tbl) in rs_set_expected_tpt_table() 1122 struct iwl_scale_tbl_info *tbl, /* "search" */ in rs_get_best_rate() 1217 struct iwl_scale_tbl_info *tbl, int index) in rs_switch_to_mimo2() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-rs.c | 389 il4965_get_expected_tpt(struct il_scale_tbl_info *tbl, int rs_idx) in il4965_get_expected_tpt() 404 il4965_rs_collect_tx_data(struct il_scale_tbl_info *tbl, int scale_idx, in il4965_rs_collect_tx_data() 482 il4965_rate_n_flags_from_tbl(struct il_priv *il, struct il_scale_tbl_info *tbl, in il4965_rate_n_flags_from_tbl() 538 struct il_scale_tbl_info *tbl, int *rate_idx) in il4965_rs_get_tbl_info_from_mcs() 598 struct il_scale_tbl_info *tbl) in il4965_rs_toggle_antenna() 715 struct il_scale_tbl_info *tbl, u8 scale_idx, in il4965_rs_get_lower_rate() 1012 struct il_scale_tbl_info *tbl) in il4965_rs_set_expected_tpt_table() 1065 struct il_scale_tbl_info *tbl, /* "search" */ in il4965_rs_get_best_rate() 1161 struct il_scale_tbl_info *tbl, int idx) in il4965_rs_switch_to_mimo2() 1214 struct il_scale_tbl_info *tbl, int idx) in il4965_rs_switch_to_siso() [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_spapr_tce.c | 209 struct iommu_table *tbl = container->tables[i]; in tce_iommu_find_table() local 362 struct iommu_table *tbl = container->tables[i]; in tce_iommu_release() local 410 struct iommu_table *tbl, unsigned long entry) in tce_iommu_unuse_page_v2() 432 struct iommu_table *tbl, in tce_iommu_clear() 500 struct iommu_table *tbl, in tce_iommu_build() 548 struct iommu_table *tbl, in tce_iommu_build_v2() 635 struct iommu_table *tbl) in tce_iommu_free_table() 649 struct iommu_table *tbl = NULL; in tce_iommu_create_window() local 712 struct iommu_table *tbl; in tce_iommu_remove_window() local 907 struct iommu_table *tbl = NULL; in tce_iommu_ioctl() local [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | icid.c | 15 static void set_icid(struct icid_id_table *tbl, int size) in set_icid() 24 void set_fman_icids(struct fman_icid_id_table *tbl, int size) in set_fman_icids() 71 struct icid_id_table *tbl, int size) in fdt_fixup_icid_tbl() 97 int get_fman_port_icid(int port_id, struct fman_icid_id_table *tbl, in get_fman_port_icid()
|
/openbmc/linux/net/sctp/ |
H A D | sysctl.c | 395 struct ctl_table tbl; proc_sctp_do_hmac_alg() local 442 struct ctl_table tbl; proc_sctp_do_rto_min() local 470 struct ctl_table tbl; proc_sctp_do_rto_max() local 506 struct ctl_table tbl; proc_sctp_do_auth() local 537 struct ctl_table tbl; proc_sctp_do_udp_port() local 576 struct ctl_table tbl; proc_sctp_do_probe_interval() local [all...] |
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_64_vio.c | 113 struct iommu_table *tbl = NULL; in kvm_spapr_tce_attach_iommu_group() local 422 u64 *tbl; in kvmppc_tce_put() local 444 struct iommu_table *tbl, unsigned long entry) in kvmppc_clear_tce() 459 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_mapped_dec() 480 struct iommu_table *tbl, unsigned long entry) in kvmppc_tce_iommu_do_unmap() 501 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_unmap() 519 static long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_tce_iommu_do_map() 558 struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, in kvmppc_tce_iommu_map() 784 u64 *tbl; in kvmppc_h_get_tce() local
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A D | pamu_table.c | 11 void construct_pamu_addr_table(struct pamu_addr_tbl *tbl, int *num_entries) in construct_pamu_addr_table() 47 struct pamu_addr_tbl tbl; in sec_config_pamu_table() local
|
/openbmc/linux/drivers/clk/ |
H A D | clk-apple-nco.c | 69 struct applnco_tables *tbl; member 102 static void applnco_compute_tables(struct applnco_tables *tbl) in applnco_compute_tables() 133 static u32 applnco_div_translate(struct applnco_tables *tbl, unsigned int div) in applnco_div_translate() 144 static unsigned int applnco_div_translate_inv(struct applnco_tables *tbl, u32 regval) in applnco_div_translate_inv() 263 struct applnco_tables *tbl; in applnco_probe() local
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 59 struct iommu_table *tbl; in iommu_pseries_alloc_table() local 116 static int tce_build_pSeries(struct iommu_table *tbl, long index, in tce_build_pSeries() 146 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) in tce_free_pSeries() 156 static unsigned long tce_get_pseries(struct iommu_table *tbl, long index) in tce_get_pseries() 211 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, in tce_buildmulti_pSeriesLP() 317 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_freemulti_pSeriesLP() 346 static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum) in tce_get_pSeriesLP() 524 static void iommu_table_setparms_common(struct iommu_table *tbl, unsigned long busno, in iommu_table_setparms_common() 544 struct iommu_table *tbl) in iommu_table_setparms() 586 struct iommu_table *tbl; in pci_dma_bus_setup_pSeries() local [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | meter.c | 54 static struct dp_meter *lookup_meter(const struct dp_meter_table *tbl, in lookup_meter() 95 dp_meter_instance_realloc(struct dp_meter_table *tbl, u32 size) in dp_meter_instance_realloc() 134 static int attach_meter(struct dp_meter_table *tbl, struct dp_meter *meter) in attach_meter() 169 static int detach_meter(struct dp_meter_table *tbl, struct dp_meter *meter) in detach_meter() 731 struct dp_meter_table *tbl = &dp->meter_tbl; in ovs_meters_init() local 758 struct dp_meter_table *tbl = &dp->meter_tbl; in ovs_meters_exit() local
|