Home
last modified time | relevance | path

Searched refs:tbl (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux/fs/nfs/
H A Dnfs4session.c27 static void nfs4_init_slot_table(struct nfs4_slot_table *tbl, const char *queue) in nfs4_init_slot_table() argument
29 tbl->highest_used_slotid = NFS4_NO_SLOT; in nfs4_init_slot_table()
30 spin_lock_init(&tbl->slot_tbl_lock); in nfs4_init_slot_table()
31 rpc_init_priority_wait_queue(&tbl->slot_tbl_waitq, queue); in nfs4_init_slot_table()
32 init_waitqueue_head(&tbl->slot_waitq); in nfs4_init_slot_table()
33 init_completion(&tbl->complete); in nfs4_init_slot_table()
39 static void nfs4_shrink_slot_table(struct nfs4_slot_table *tbl, u32 newsize) in nfs4_shrink_slot_table() argument
42 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
45 p = &tbl->slots; in nfs4_shrink_slot_table()
53 tbl->max_slots--; in nfs4_shrink_slot_table()
[all …]
H A Dnfs4session.h83 extern int nfs4_setup_slot_table(struct nfs4_slot_table *tbl,
85 extern void nfs4_shutdown_slot_table(struct nfs4_slot_table *tbl);
86 extern struct nfs4_slot *nfs4_alloc_slot(struct nfs4_slot_table *tbl);
87 extern struct nfs4_slot *nfs4_lookup_slot(struct nfs4_slot_table *tbl, u32 slotid);
88 extern int nfs4_slot_wait_on_seqid(struct nfs4_slot_table *tbl,
91 extern bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
92 extern void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
93 extern void nfs4_slot_tbl_drain_complete(struct nfs4_slot_table *tbl);
94 bool nfs41_wake_and_assign_slot(struct nfs4_slot_table *tbl,
96 void nfs41_wake_slot_table(struct nfs4_slot_table *tbl);
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dtable.c6 u32 mlx5hws_table_get_id(struct mlx5hws_table *tbl) in mlx5hws_table_get_id() argument
8 return tbl->ft_id; in mlx5hws_table_get_id()
11 static void hws_table_init_next_ft_attr(struct mlx5hws_table *tbl, in hws_table_init_next_ft_attr() argument
15 ft_attr->type = tbl->fw_ft_type; in hws_table_init_next_ft_attr()
16 if (tbl->type == MLX5HWS_TABLE_TYPE_FDB) in hws_table_init_next_ft_attr()
17 ft_attr->level = tbl->ctx->caps->fdb_ft.max_level - 1; in hws_table_init_next_ft_attr()
19 ft_attr->level = tbl->ctx->caps->nic_ft.max_level - 1; in hws_table_init_next_ft_attr()
25 static void hws_table_set_cap_attr(struct mlx5hws_table *tbl, in hws_table_set_cap_attr() argument
36 if (!MLX5_CAP_ESW_FLOWTABLE(tbl->ctx->mdev, fdb_dynamic_tunnel)) { in hws_table_set_cap_attr()
42 static int hws_table_up_default_fdb_miss_tbl(struct mlx5hws_table *tbl) in hws_table_up_default_fdb_miss_tbl() argument
[all …]
H A Dmatcher.c23 mlx5hws_table_destroy_default_ft(matcher->tbl, matcher->end_ft_id); in hws_matcher_destroy_end_ft()
26 int mlx5hws_matcher_update_end_ft_isolated(struct mlx5hws_table *tbl, in mlx5hws_matcher_update_end_ft_isolated() argument
31 if (list_empty(&tbl->matchers_list)) in mlx5hws_matcher_update_end_ft_isolated()
37 list_for_each_entry(tmp_matcher, &tbl->matchers_list, list_node) in mlx5hws_matcher_update_end_ft_isolated()
40 tmp_matcher = list_last_entry(&tbl->matchers_list, in mlx5hws_matcher_update_end_ft_isolated()
44 return mlx5hws_table_ft_set_next_ft(tbl->ctx, in mlx5hws_matcher_update_end_ft_isolated()
46 tbl->fw_ft_type, in mlx5hws_matcher_update_end_ft_isolated()
52 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_connect_end_ft_isolated() local
57 ret = mlx5hws_table_ft_set_next_rtc(tbl->ctx, in hws_matcher_connect_end_ft_isolated()
59 matcher->tbl->fw_ft_type, in hws_matcher_connect_end_ft_isolated()
[all …]
/linux/arch/powerpc/kernel/
H A Diommu.c47 struct iommu_table *tbl = data; in iommu_debugfs_weight_get() local
48 *val = bitmap_weight(tbl->it_map, tbl->it_size); in iommu_debugfs_weight_get()
53 static void iommu_debugfs_add(struct iommu_table *tbl) in iommu_debugfs_add() argument
58 sprintf(name, "%08lx", tbl->it_index); in iommu_debugfs_add()
61 debugfs_create_file_unsafe("weight", 0400, liobn_entry, tbl, &iommu_debugfs_fops_weight); in iommu_debugfs_add()
62 debugfs_create_ulong("it_size", 0400, liobn_entry, &tbl->it_size); in iommu_debugfs_add()
63 debugfs_create_ulong("it_page_shift", 0400, liobn_entry, &tbl->it_page_shift); in iommu_debugfs_add()
64 debugfs_create_ulong("it_reserved_start", 0400, liobn_entry, &tbl->it_reserved_start); in iommu_debugfs_add()
65 debugfs_create_ulong("it_reserved_end", 0400, liobn_entry, &tbl->it_reserved_end); in iommu_debugfs_add()
66 debugfs_create_ulong("it_indirect_levels", 0400, liobn_entry, &tbl->it_indirect_levels); in iommu_debugfs_add()
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_doorbell.c56 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_init() local
61 tbl->last = 0; in pvrdma_uar_table_init()
62 tbl->top = 0; in pvrdma_uar_table_init()
63 tbl->max = num; in pvrdma_uar_table_init()
64 tbl->mask = mask; in pvrdma_uar_table_init()
65 spin_lock_init(&tbl->lock); in pvrdma_uar_table_init()
66 tbl->table = bitmap_zalloc(num, GFP_KERNEL); in pvrdma_uar_table_init()
67 if (!tbl->table) in pvrdma_uar_table_init()
71 __set_bit(0, tbl->table); in pvrdma_uar_table_init()
78 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_cleanup() local
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c48 void pnv_pci_setup_iommu_table(struct iommu_table *tbl, in pnv_pci_setup_iommu_table() argument
52 tbl->it_blocksize = 16; in pnv_pci_setup_iommu_table()
53 tbl->it_base = (unsigned long)tce_mem; in pnv_pci_setup_iommu_table()
54 tbl->it_page_shift = page_shift; in pnv_pci_setup_iommu_table()
55 tbl->it_offset = dma_offset >> tbl->it_page_shift; in pnv_pci_setup_iommu_table()
56 tbl->it_index = 0; in pnv_pci_setup_iommu_table()
57 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table()
58 tbl->it_busno = 0; in pnv_pci_setup_iommu_table()
59 tbl->it_type = TCE_PCI; in pnv_pci_setup_iommu_table()
83 static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc) in pnv_tce() argument
[all …]
/linux/include/linux/
H A Drhashtable.h119 static inline unsigned int rht_bucket_index(const struct bucket_table *tbl, in rht_bucket_index() argument
122 return hash & (tbl->size - 1); in rht_bucket_index()
156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
161 return rht_bucket_index(tbl, hash); in rht_key_hashfn()
165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() argument
171 rht_bucket_index(tbl, params.obj_hashfn(ptr, params.key_len ?: in rht_head_hashfn()
173 tbl->hash_rnd)) : in rht_head_hashfn()
174 rht_key_hashfn(ht, tbl, ptr + params.key_offset, params); in rht_head_hashfn()
183 const struct bucket_table *tbl) in rht_grow_above_75() argument
[all …]
/linux/lib/
H A Drhashtable.c38 const struct bucket_table *tbl, in head_hashfn() argument
41 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn()
53 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held() argument
57 if (unlikely(tbl->nest)) in lockdep_rht_bucket_is_held()
59 return bit_spin_is_locked(0, (unsigned long *)&tbl->buckets[hash]); in lockdep_rht_bucket_is_held()
67 const struct bucket_table *tbl) in nested_table_top() argument
72 return (void *)rcu_dereference_protected(tbl->buckets[0], 1); in nested_table_top()
94 static void nested_bucket_table_free(const struct bucket_table *tbl) in nested_bucket_table_free() argument
96 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free()
97 unsigned int len = 1 << tbl->nest; in nested_bucket_table_free()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c414 static s32 get_expected_tpt(struct iwl_scale_tbl_info *tbl, int rs_index) in get_expected_tpt() argument
416 if (tbl->expected_tpt) in get_expected_tpt()
417 return tbl->expected_tpt[rs_index]; in get_expected_tpt()
428 static int rs_collect_tx_data(struct iwl_scale_tbl_info *tbl, in rs_collect_tx_data() argument
439 window = &(tbl->win[scale_index]); in rs_collect_tx_data()
442 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data()
507 struct iwl_scale_tbl_info *tbl, in rate_n_flags_from_tbl() argument
512 if (is_legacy(tbl->lq_type)) { in rate_n_flags_from_tbl()
517 } else if (is_Ht(tbl->lq_type)) { in rate_n_flags_from_tbl()
524 if (is_siso(tbl->lq_type)) in rate_n_flags_from_tbl()
[all …]
H A Drs.h256 #define is_legacy(tbl) (((tbl) == LQ_G) || ((tbl) == LQ_A)) argument
257 #define is_siso(tbl) ((tbl) == LQ_SISO) argument
258 #define is_mimo2(tbl) ((tbl) == LQ_MIMO2) argument
259 #define is_mimo3(tbl) ((tbl) == LQ_MIMO3) argument
260 #define is_mimo(tbl) (is_mimo2(tbl) || is_mimo3(tbl)) argument
261 #define is_Ht(tbl) (is_siso(tbl) || is_mimo(tbl)) argument
262 #define is_a_band(tbl) ((tbl) == LQ_A) argument
263 #define is_g_and(tbl) ((tbl) == LQ_G) argument
/linux/arch/powerpc/include/asm/
H A Diommu.h45 int (*set)(struct iommu_table *tbl,
56 int (*xchg_no_kill)(struct iommu_table *tbl,
61 void (*tce_kill)(struct iommu_table *tbl,
65 __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
67 void (*clear)(struct iommu_table *tbl,
70 unsigned long (*get)(struct iommu_table *tbl, long index);
71 void (*flush)(struct iommu_table *tbl);
72 void (*free)(struct iommu_table *tbl);
122 #define IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry) \ argument
123 ((tbl)->it_ops->useraddrptr((tbl), (entry), false))
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_lblc.c9 * *lock(tbl->lock) ==> *lock(&tbl->lock)
10 * Wensong Zhang : fixed the uninitialized tbl->lock bug
166 ip_vs_lblc_hash(struct ip_vs_lblc_table *tbl, struct ip_vs_lblc_entry *en)
170 hlist_add_head_rcu(&en->list, &tbl->bucket[hash]); in ip_vs_lblc_hash()
171 atomic_inc(&tbl->entries); in ip_vs_lblc_hash()
177 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl,
183 hlist_for_each_entry_rcu(en, &tbl->bucket[hash], list) in ip_vs_lblc_get()
196 ip_vs_lblc_new(struct ip_vs_lblc_table *tbl, const union nf_inet_addr *daddr,
201 en = ip_vs_lblc_get(af, tbl, dadd in ip_vs_lblc_new()
167 ip_vs_lblc_hash(struct ip_vs_lblc_table * tbl,struct ip_vs_lblc_entry * en) ip_vs_lblc_hash() argument
178 ip_vs_lblc_get(int af,struct ip_vs_lblc_table * tbl,const union nf_inet_addr * addr) ip_vs_lblc_get() argument
197 ip_vs_lblc_new(struct ip_vs_lblc_table * tbl,const union nf_inet_addr * daddr,u16 af,struct ip_vs_dest * dest) ip_vs_lblc_new() argument
230 struct ip_vs_lblc_table *tbl = svc->sched_data; ip_vs_lblc_flush() local
257 struct ip_vs_lblc_table *tbl = svc->sched_data; ip_vs_lblc_full_check() local
295 struct ip_vs_lblc_table *tbl = timer_container_of(tbl, t, ip_vs_lblc_check_expire() local
346 struct ip_vs_lblc_table *tbl; ip_vs_lblc_init_svc() local
384 struct ip_vs_lblc_table *tbl = svc->sched_data; ip_vs_lblc_done_svc() local
484 struct ip_vs_lblc_table *tbl = svc->sched_data; ip_vs_lblc_schedule() local
[all...]
H A Dip_vs_lblcr.c329 ip_vs_lblcr_hash(struct ip_vs_lblcr_table *tbl, struct ip_vs_lblcr_entry *en)
333 hlist_add_head_rcu(&en->list, &tbl->bucket[hash]); in ip_vs_lblcr_hash()
334 atomic_inc(&tbl->entries); in ip_vs_lblcr_hash()
340 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl,
346 hlist_for_each_entry_rcu(en, &tbl->bucket[hash], list) in ip_vs_lblcr_get()
359 ip_vs_lblcr_new(struct ip_vs_lblcr_table *tbl, const union nf_inet_addr *daddr,
364 en = ip_vs_lblcr_get(af, tbl, daddr); in ip_vs_lblcr_new()
380 ip_vs_lblcr_hash(tbl, en); in ip_vs_lblcr_new()
395 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_flush()
401 tbl in ip_vs_lblcr_flush()
330 ip_vs_lblcr_hash(struct ip_vs_lblcr_table * tbl,struct ip_vs_lblcr_entry * en) ip_vs_lblcr_hash() argument
341 ip_vs_lblcr_get(int af,struct ip_vs_lblcr_table * tbl,const union nf_inet_addr * addr) ip_vs_lblcr_get() argument
360 ip_vs_lblcr_new(struct ip_vs_lblcr_table * tbl,const union nf_inet_addr * daddr,u16 af,struct ip_vs_dest * dest) ip_vs_lblcr_new() argument
396 struct ip_vs_lblcr_table *tbl = svc->sched_data; ip_vs_lblcr_flush() local
422 struct ip_vs_lblcr_table *tbl = svc->sched_data; ip_vs_lblcr_full_check() local
459 struct ip_vs_lblcr_table *tbl = timer_container_of(tbl, t, ip_vs_lblcr_check_expire() local
509 struct ip_vs_lblcr_table *tbl; ip_vs_lblcr_init_svc() local
547 struct ip_vs_lblcr_table *tbl = svc->sched_data; ip_vs_lblcr_done_svc() local
648 struct ip_vs_lblcr_table *tbl = svc->sched_data; ip_vs_lblcr_schedule() local
[all...]
/linux/net/core/
H A Dneighbour.c57 static void pneigh_ifdown(struct neigh_table *tbl, struct net_device *dev,
84 Neighbour hash table buckets are protected with tbl->lock.
142 atomic_dec(&n->tbl->gc_entries); in neigh_mark_dead()
152 spin_lock_bh(&n->tbl->lock); in neigh_update_gc_list()
167 atomic_dec(&n->tbl->gc_entries); in neigh_update_gc_list()
170 list_add_tail(&n->gc_list, &n->tbl->gc_list); in neigh_update_gc_list()
171 atomic_inc(&n->tbl->gc_entries); in neigh_update_gc_list()
175 spin_unlock_bh(&n->tbl->lock); in neigh_update_gc_list()
182 spin_lock_bh(&n->tbl->lock); in neigh_update_managed_list()
193 list_add_tail(&n->managed_list, &n->tbl in neigh_update_managed_list()
254 neigh_forced_gc(struct neigh_table * tbl) neigh_forced_gc() argument
419 neigh_flush_dev(struct neigh_table * tbl,struct net_device * dev,bool skip_perm) neigh_flush_dev() argument
438 neigh_flush_table(struct neigh_table * tbl) neigh_flush_table() argument
455 neigh_changeaddr(struct neigh_table * tbl,struct net_device * dev) neigh_changeaddr() argument
463 __neigh_ifdown(struct neigh_table * tbl,struct net_device * dev,bool skip_perm) __neigh_ifdown() argument
483 neigh_carrier_down(struct neigh_table * tbl,struct net_device * dev) neigh_carrier_down() argument
490 neigh_ifdown(struct neigh_table * tbl,struct net_device * dev) neigh_ifdown() argument
497 neigh_alloc(struct neigh_table * tbl,struct net_device * dev,u32 flags,bool exempt_from_gc) neigh_alloc() argument
592 neigh_hash_grow(struct neigh_table * tbl,unsigned long new_shift) neigh_hash_grow() argument
626 neigh_lookup(struct neigh_table * tbl,const void * pkey,struct net_device * dev) neigh_lookup() argument
647 ___neigh_create(struct neigh_table * tbl,const void * pkey,struct net_device * dev,u32 flags,bool exempt_from_gc,bool want_ref) ___neigh_create() argument
739 __neigh_create(struct neigh_table * tbl,const void * pkey,struct net_device * dev,bool want_ref) __neigh_create() argument
758 pneigh_lookup(struct neigh_table * tbl,struct net * net,const void * pkey,struct net_device * dev) pneigh_lookup() argument
784 pneigh_create(struct neigh_table * tbl,struct net * net,const void * pkey,struct net_device * dev,u32 flags,u8 protocol,bool permanent) pneigh_create() argument
838 pneigh_delete(struct neigh_table * tbl,struct net * net,const void * pkey,struct net_device * dev) pneigh_delete() argument
871 pneigh_ifdown(struct neigh_table * tbl,struct net_device * dev,bool skip_perm) pneigh_ifdown() argument
977 struct neigh_table *tbl = container_of(work, struct neigh_table, gc_work.work); neigh_periodic_work() local
1542 neigh_event_ns(struct neigh_table * tbl,u8 * lladdr,void * saddr,struct net_device * dev) neigh_event_ns() argument
1641 struct neigh_table *tbl = container_of(work, struct neigh_table, neigh_managed_work() local
1655 struct neigh_table *tbl = timer_container_of(tbl, t, proxy_timer); neigh_proxy_process() local
1700 pneigh_enqueue(struct neigh_table * tbl,struct neigh_parms * p,struct sk_buff * skb) pneigh_enqueue() argument
1727 lookup_neigh_parms(struct neigh_table * tbl,struct net * net,int ifindex) lookup_neigh_parms() argument
1742 neigh_parms_alloc(struct net_device * dev,struct neigh_table * tbl) neigh_parms_alloc() argument
1784 neigh_parms_release(struct neigh_table * tbl,struct neigh_parms * parms) neigh_parms_release() argument
1801 neigh_table_init(int index,struct neigh_table * tbl) neigh_table_init() argument
1865 neigh_table_clear(int index,struct neigh_table * tbl) neigh_table_clear() argument
1897 struct neigh_table *tbl = NULL; neigh_find_table() local
1934 struct neigh_table *tbl; neigh_delete() local
2001 struct neigh_table *tbl; neigh_add() local
2223 neightbl_fill_info(struct sk_buff * skb,struct neigh_table * tbl,u32 pid,u32 seq,int type,int flags) neightbl_fill_info() argument
2314 neightbl_fill_param_info(struct sk_buff * skb,struct neigh_table * tbl,struct neigh_parms * parms,u32 pid,u32 seq,int type,unsigned int flags) neightbl_fill_param_info() argument
2378 struct neigh_table *tbl; neightbl_set() local
2571 struct neigh_table *tbl; neightbl_dump_info() local
2689 pneigh_fill_info(struct sk_buff * skb,struct pneigh_entry * pn,u32 pid,u32 seq,int type,unsigned int flags,struct neigh_table * tbl) pneigh_fill_info() argument
2770 neigh_dump_table(struct neigh_table * tbl,struct sk_buff * skb,struct netlink_callback * cb,struct neigh_dump_filter * filter) neigh_dump_table() argument
2811 pneigh_dump_table(struct neigh_table * tbl,struct sk_buff * skb,struct netlink_callback * cb,struct neigh_dump_filter * filter) pneigh_dump_table() argument
2916 struct neigh_table *tbl; neigh_dump_info() local
3042 struct neigh_table *tbl; neigh_get() local
3122 neigh_for_each(struct neigh_table * tbl,void (* cb)(struct neighbour *,void *),void * cookie) neigh_for_each() argument
3143 __neigh_for_each_release(struct neigh_table * tbl,int (* cb)(struct neighbour *)) __neigh_for_each_release() argument
3179 struct neigh_table *tbl; neigh_xmit() local
3319 struct neigh_table *tbl = state->tbl; pneigh_get_first() local
3343 struct neigh_table *tbl = state->tbl; pneigh_get_next() local
3395 neigh_seq_start(struct seq_file * seq,loff_t * pos,struct neigh_table * tbl,unsigned int neigh_seq_flags) neigh_seq_start() argument
3445 struct neigh_table *tbl = state->tbl; neigh_seq_stop() local
3456 struct neigh_table *tbl = pde_data(file_inode(seq->file)); neigh_stat_seq_start() local
3473 struct neigh_table *tbl = pde_data(file_inode(seq->file)); neigh_stat_seq_next() local
3493 struct neigh_table *tbl = pde_data(file_inode(seq->file)); neigh_stat_seq_show() local
3842 struct neigh_table *tbl = p->tbl; neigh_sysctl_register() local
[all...]
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c98 struct mwifiex_rx_reorder_tbl *tbl, in mwifiex_11n_dispatch_pkt_until_start_win() argument
108 pkt_to_send = (start_win > tbl->start_win) ? in mwifiex_11n_dispatch_pkt_until_start_win()
109 min((start_win - tbl->start_win), tbl->win_size) : in mwifiex_11n_dispatch_pkt_until_start_win()
110 tbl->win_size; in mwifiex_11n_dispatch_pkt_until_start_win()
113 if (tbl->rx_reorder_ptr[i]) { in mwifiex_11n_dispatch_pkt_until_start_win()
114 skb = tbl->rx_reorder_ptr[i]; in mwifiex_11n_dispatch_pkt_until_start_win()
116 tbl->rx_reorder_ptr[i] = NULL; in mwifiex_11n_dispatch_pkt_until_start_win()
124 for (i = 0; i < tbl->win_size - pkt_to_send; ++i) { in mwifiex_11n_dispatch_pkt_until_start_win()
125 tbl->rx_reorder_ptr[i] = tbl->rx_reorder_ptr[pkt_to_send + i]; in mwifiex_11n_dispatch_pkt_until_start_win()
126 tbl->rx_reorder_ptr[pkt_to_send + i] = NULL; in mwifiex_11n_dispatch_pkt_until_start_win()
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c383 il4965_get_expected_tpt(struct il_scale_tbl_info *tbl, int rs_idx) in il4965_get_expected_tpt() argument
385 if (tbl->expected_tpt) in il4965_get_expected_tpt()
386 return tbl->expected_tpt[rs_idx]; in il4965_get_expected_tpt()
398 il4965_rs_collect_tx_data(struct il_scale_tbl_info *tbl, int scale_idx, in il4965_rs_collect_tx_data() argument
409 win = &(tbl->win[scale_idx]); in il4965_rs_collect_tx_data()
412 tpt = il4965_get_expected_tpt(tbl, scale_idx); in il4965_rs_collect_tx_data()
476 il4965_rate_n_flags_from_tbl(struct il_priv *il, struct il_scale_tbl_info *tbl, in il4965_rate_n_flags_from_tbl() argument
481 if (is_legacy(tbl->lq_type)) { in il4965_rate_n_flags_from_tbl()
486 } else if (is_Ht(tbl->lq_type)) { in il4965_rate_n_flags_from_tbl()
493 if (is_siso(tbl->lq_type)) in il4965_rate_n_flags_from_tbl()
[all …]
/linux/tools/perf/
H A Dcheck-headers.sh200 check_2 tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl
201 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
202 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
203 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
204 …eck_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl
205 check_2 tools/perf/arch/arm/entry/syscalls/syscall.tbl arch/arm/tools/syscall.tbl
206 check_2 tools/perf/arch/sh/entry/syscalls/syscall.tbl arch/sh/kernel/syscalls/syscall.tbl
207 check_2 tools/perf/arch/sparc/entry/syscalls/syscall.tbl arch/sparc/kernel/syscalls/syscall.tbl
208 check_2 tools/perf/arch/xtensa/entry/syscalls/syscall.tbl arch/xtensa/kernel/syscalls/syscall.tbl
209 check_2 tools/perf/arch/alpha/entry/syscalls/syscall.tbl arch/alpha/entry/syscalls/syscall.tbl
[all …]
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c209 struct iommu_table *tbl = container->tables[i]; in tce_iommu_find_table() local
211 if (tbl) { in tce_iommu_find_table()
212 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table()
213 unsigned long start = tbl->it_offset; in tce_iommu_find_table()
214 unsigned long end = start + tbl->it_size; in tce_iommu_find_table()
217 *ptbl = tbl; in tce_iommu_find_table()
339 struct iommu_table *tbl,
342 struct iommu_table *tbl);
362 struct iommu_table *tbl = container->tables[i]; in tce_iommu_release() local
364 if (!tbl) in tce_iommu_release()
[all …]
/linux/net/mac80211/
H A Dmesh_pathtbl.c20 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath);
82 struct mesh_table *tbl = tblptr; in mesh_path_rht_free() local
84 mesh_path_free_rcu(tbl, mpath); in mesh_path_rht_free()
87 static void mesh_table_init(struct mesh_table *tbl) in mesh_table_init() argument
89 INIT_HLIST_HEAD(&tbl->known_gates); in mesh_table_init()
90 INIT_HLIST_HEAD(&tbl->walk_head); in mesh_table_init()
91 atomic_set(&tbl->entries, 0); in mesh_table_init()
92 spin_lock_init(&tbl->gates_lock); in mesh_table_init()
93 spin_lock_init(&tbl->walk_lock); in mesh_table_init()
98 WARN_ON(rhashtable_init(&tbl in mesh_table_init()
101 mesh_table_free(struct mesh_table * tbl) mesh_table_free() argument
243 mpath_lookup(struct mesh_table * tbl,const u8 * dst,struct ieee80211_sub_if_data * sdata) mpath_lookup() argument
280 __mesh_path_lookup_by_idx(struct mesh_table * tbl,int idx) __mesh_path_lookup_by_idx() argument
339 struct mesh_table *tbl; mesh_path_add_gate() local
374 mesh_gate_del(struct mesh_table * tbl,struct mesh_path * mpath) mesh_gate_del() argument
683 struct mesh_table *tbl; mesh_path_add() local
725 struct mesh_table *tbl; mpp_path_add() local
773 struct mesh_table *tbl = &sdata->u.mesh.mesh_paths; mesh_plink_broken() local
795 mesh_path_free_rcu(struct mesh_table * tbl,struct mesh_path * mpath) mesh_path_free_rcu() argument
811 __mesh_path_del(struct mesh_table * tbl,struct mesh_path * mpath) __mesh_path_del() argument
836 struct mesh_table *tbl = &sdata->u.mesh.mesh_paths; mesh_path_flush_by_nexthop() local
851 struct mesh_table *tbl = &sdata->u.mesh.mpp_paths; mpp_flush_by_proxy() local
863 table_flush_by_iface(struct mesh_table * tbl) table_flush_by_iface() argument
897 table_path_del(struct mesh_table * tbl,struct ieee80211_sub_if_data * sdata,const u8 * addr) table_path_del() argument
966 struct mesh_table *tbl; mesh_path_send_to_gates() local
1074 mesh_path_tbl_expire(struct ieee80211_sub_if_data * sdata,struct mesh_table * tbl) mesh_path_tbl_expire() argument
[all...]
/linux/net/netfilter/
H A Dxt_repldata.h24 } *tbl; \
26 size_t term_offset = (offsetof(typeof(*tbl), entries[nhooks]) + \
28 tbl = kzalloc(term_offset + sizeof(*term), GFP_KERNEL); \
29 if (tbl == NULL) \
31 term = (struct type##_error *)&(((char *)tbl)[term_offset]); \
32 strscpy(tbl->repl.name, info->name); \
34 tbl->repl.valid_hooks = hook_mask; \
35 tbl->repl.num_entries = nhooks + 1; \
36 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \
41 tbl->repl.hook_entry[hooknum] = bytes; \
[all …]
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c66 iommu_tce_table_put(stit->tbl); in kvm_spapr_tce_iommu_table_free()
98 if (table_group->tables[i] != stit->tbl) in kvm_spapr_tce_release_iommu_group()
114 struct iommu_table *tbl = NULL; in kvm_spapr_tce_attach_iommu_group() local
154 tbl = iommu_tce_table_get(tbltmp); in kvm_spapr_tce_attach_iommu_group()
158 if (!tbl) in kvm_spapr_tce_attach_iommu_group()
163 if (tbl != stit->tbl) in kvm_spapr_tce_attach_iommu_group()
168 iommu_tce_table_put(tbl); in kvm_spapr_tce_attach_iommu_group()
183 iommu_tce_table_put(tbl); in kvm_spapr_tce_attach_iommu_group()
187 stit->tbl = tbl; in kvm_spapr_tce_attach_iommu_group()
390 long shift = stit->tbl->it_page_shift; in kvmppc_tce_validate()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c42 void mlx5e_mod_hdr_tbl_init(struct mod_hdr_tbl *tbl) in mlx5e_mod_hdr_tbl_init() argument
44 mutex_init(&tbl->lock); in mlx5e_mod_hdr_tbl_init()
45 hash_init(tbl->hlist); in mlx5e_mod_hdr_tbl_init()
48 void mlx5e_mod_hdr_tbl_destroy(struct mod_hdr_tbl *tbl) in mlx5e_mod_hdr_tbl_destroy() argument
50 WARN_ON(!hash_empty(tbl->hlist)); in mlx5e_mod_hdr_tbl_destroy()
51 mutex_destroy(&tbl->lock); 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() argument
60 hash_for_each_possible(tbl->hlist, mh, mod_hdr_hlist, hash_key) { in mod_hdr_get()
73 struct mod_hdr_tbl *tbl, in mlx5e_mod_hdr_attach() argument
90 mutex_lock(&tbl->lock); in mlx5e_mod_hdr_attach()
[all …]
/linux/include/net/
H A Dneighbour.h78 struct neigh_table *tbl; member
138 #define NEIGH_CACHE_STAT_INC(tbl, field) this_cpu_inc((tbl)->stats->field)
143 struct neigh_table *tbl;
251 return p->tbl->family;
259 return (char *)n + n->tbl->entry_size;
304 struct neigh_table *tbl, in ___neigh_lookup_noref()
312 struct neigh_hash_table *nht = rcu_dereference(tbl->nht); in ___neigh_lookup_noref()
324 static inline struct neighbour *__neigh_lookup_noref(struct neigh_table *tbl, in __neigh_lookup_noref()
328 return ___neigh_lookup_noref(tbl, tb in __neigh_lookup_noref()
136 NEIGH_CACHE_STAT_INC(tbl,field) global() argument
141 struct neigh_table *tbl; global() member
302 ___neigh_lookup_noref(struct neigh_table * tbl,bool (* key_eq)(const struct neighbour * n,const void * pkey),__u32 (* hash)(const void * pkey,const struct net_device * dev,__u32 * hash_rnd),const void * pkey,struct net_device * dev) ___neigh_lookup_noref() argument
322 __neigh_lookup_noref(struct neigh_table * tbl,const void * pkey,struct net_device * dev) __neigh_lookup_noref() argument
346 neigh_create(struct neigh_table * tbl,const void * pkey,struct net_device * dev) neigh_create() argument
405 struct neigh_table *tbl; global() member
551 __neigh_lookup(struct neigh_table * tbl,const void * pkey,struct net_device * dev,int creat) __neigh_lookup() argument
563 __neigh_lookup_errno(struct neigh_table * tbl,const void * pkey,struct net_device * dev) __neigh_lookup_errno() argument
[all...]
/linux/drivers/clk/
H A Dclk-apple-nco.c69 struct applnco_tables *tbl; member
102 static void applnco_compute_tables(struct applnco_tables *tbl) in applnco_compute_tables() argument
116 tbl->fwd[i] = state; in applnco_compute_tables()
117 tbl->inv[state] = i; in applnco_compute_tables()
121 tbl->fwd[0] = 0; in applnco_compute_tables()
122 tbl->inv[0] = 0; in applnco_compute_tables()
133 static u32 applnco_div_translate(struct applnco_tables *tbl, unsigned int div) in applnco_div_translate() argument
140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
144 static unsigned int applnco_div_translate_inv(struct applnco_tables *tbl, u32 regval) in applnco_div_translate_inv() argument
148 coarse = tbl->inv[FIELD_GET(DIV_COARSE, regval)] + COARSE_DIV_OFFSET; in applnco_div_translate_inv()
[all …]

12345678910