/Linux-v4.19/fs/nfs/ |
D | nfs4session.c | 26 static void nfs4_init_slot_table(struct nfs4_slot_table *tbl, const char *queue) in nfs4_init_slot_table() argument 28 tbl->highest_used_slotid = NFS4_NO_SLOT; in nfs4_init_slot_table() 29 spin_lock_init(&tbl->slot_tbl_lock); in nfs4_init_slot_table() 30 rpc_init_priority_wait_queue(&tbl->slot_tbl_waitq, queue); in nfs4_init_slot_table() 31 init_waitqueue_head(&tbl->slot_waitq); in nfs4_init_slot_table() 32 init_completion(&tbl->complete); in nfs4_init_slot_table() 38 static void nfs4_shrink_slot_table(struct nfs4_slot_table *tbl, u32 newsize) in nfs4_shrink_slot_table() argument 41 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table() 44 p = &tbl->slots; in nfs4_shrink_slot_table() 52 tbl->max_slots--; in nfs4_shrink_slot_table() [all …]
|
D | nfs4session.h | 81 extern int nfs4_setup_slot_table(struct nfs4_slot_table *tbl, 83 extern void nfs4_shutdown_slot_table(struct nfs4_slot_table *tbl); 84 extern struct nfs4_slot *nfs4_alloc_slot(struct nfs4_slot_table *tbl); 85 extern struct nfs4_slot *nfs4_lookup_slot(struct nfs4_slot_table *tbl, u32 slotid); 86 extern int nfs4_slot_wait_on_seqid(struct nfs4_slot_table *tbl, 89 extern bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot); 90 extern void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot); 91 extern void nfs4_slot_tbl_drain_complete(struct nfs4_slot_table *tbl); 92 bool nfs41_wake_and_assign_slot(struct nfs4_slot_table *tbl, 94 void nfs41_wake_slot_table(struct nfs4_slot_table *tbl); [all …]
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_doorbell.c | 56 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 = kcalloc(BITS_TO_LONGS(num), sizeof(long), 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-v4.19/arch/powerpc/kernel/ |
D | iommu.c | 176 struct iommu_table *tbl, in iommu_range_alloc() argument 210 pool_nr = raw_cpu_read(iommu_pool_hash) & (tbl->nr_pools - 1); in iommu_range_alloc() 213 pool = &(tbl->large_pool); in iommu_range_alloc() 215 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc() 235 if (limit + tbl->it_offset > mask) { in iommu_range_alloc() 236 limit = mask - tbl->it_offset + 1; in iommu_range_alloc() 243 pool = &(tbl->pools[0]); in iommu_range_alloc() 253 1 << tbl->it_page_shift); in iommu_range_alloc() 255 boundary_size = ALIGN(1UL << 32, 1 << tbl->it_page_shift); in iommu_range_alloc() 258 n = iommu_area_alloc(tbl->it_map, limit, start, npages, tbl->it_offset, in iommu_range_alloc() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | syscalltbl.c | 67 static int syscalltbl__init_native(struct syscalltbl *tbl) in syscalltbl__init_native() argument 76 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native() 77 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native() 88 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native() 89 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native() 95 struct syscalltbl *tbl = malloc(sizeof(*tbl)); in syscalltbl__new() local 96 if (tbl) { in syscalltbl__new() 97 if (syscalltbl__init_native(tbl)) { in syscalltbl__new() 98 free(tbl); in syscalltbl__new() 102 return tbl; in syscalltbl__new() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 20 void pnv_pci_setup_iommu_table(struct iommu_table *tbl, in pnv_pci_setup_iommu_table() argument 24 tbl->it_blocksize = 16; in pnv_pci_setup_iommu_table() 25 tbl->it_base = (unsigned long)tce_mem; in pnv_pci_setup_iommu_table() 26 tbl->it_page_shift = page_shift; in pnv_pci_setup_iommu_table() 27 tbl->it_offset = dma_offset >> tbl->it_page_shift; in pnv_pci_setup_iommu_table() 28 tbl->it_index = 0; in pnv_pci_setup_iommu_table() 29 tbl->it_size = tce_size >> 3; in pnv_pci_setup_iommu_table() 30 tbl->it_busno = 0; in pnv_pci_setup_iommu_table() 31 tbl->it_type = TCE_PCI; in pnv_pci_setup_iommu_table() 51 static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc) in pnv_tce() argument [all …]
|
/Linux-v4.19/include/linux/ |
D | rhashtable.h | 92 static inline unsigned int rht_bucket_index(const struct bucket_table *tbl, in rht_bucket_index() argument 95 return hash & (tbl->size - 1); in rht_bucket_index() 129 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument 132 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn() 134 return rht_bucket_index(tbl, hash); in rht_key_hashfn() 138 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() argument 144 rht_bucket_index(tbl, params.obj_hashfn(ptr, params.key_len ?: in rht_head_hashfn() 146 tbl->hash_rnd)) : in rht_head_hashfn() 147 rht_key_hashfn(ht, tbl, ptr + params.key_offset, params); in rht_head_hashfn() 156 const struct bucket_table *tbl) in rht_grow_above_75() argument [all …]
|
/Linux-v4.19/lib/ |
D | rhashtable.c | 42 const struct bucket_table *tbl, in head_hashfn() argument 45 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn() 57 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held() argument 59 spinlock_t *lock = rht_bucket_lock(tbl, hash); in lockdep_rht_bucket_is_held() 87 static void nested_bucket_table_free(const struct bucket_table *tbl) in nested_bucket_table_free() argument 89 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free() 90 unsigned int len = 1 << tbl->nest; in nested_bucket_table_free() 94 ntbl = (union nested_table *)rcu_dereference_raw(tbl->buckets[0]); in nested_bucket_table_free() 102 static void bucket_table_free(const struct bucket_table *tbl) in bucket_table_free() argument 104 if (tbl->nest) in bucket_table_free() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | iommu.h | 53 int (*set)(struct iommu_table *tbl, 64 int (*exchange)(struct iommu_table *tbl, 69 int (*exchange_rm)(struct iommu_table *tbl, 74 __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc); 76 void (*clear)(struct iommu_table *tbl, 79 unsigned long (*get)(struct iommu_table *tbl, long index); 80 void (*flush)(struct iommu_table *tbl); 81 void (*free)(struct iommu_table *tbl); 129 #define IOMMU_TABLE_USERSPACE_ENTRY_RM(tbl, entry) \ argument 130 ((tbl)->it_ops->useraddrptr((tbl), (entry), false)) [all …]
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_lblc.c | 173 ip_vs_lblc_hash(struct ip_vs_lblc_table *tbl, struct ip_vs_lblc_entry *en) in ip_vs_lblc_hash() argument 177 hlist_add_head_rcu(&en->list, &tbl->bucket[hash]); in ip_vs_lblc_hash() 178 atomic_inc(&tbl->entries); in ip_vs_lblc_hash() 184 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() argument 190 hlist_for_each_entry_rcu(en, &tbl->bucket[hash], list) in ip_vs_lblc_get() 203 ip_vs_lblc_new(struct ip_vs_lblc_table *tbl, const union nf_inet_addr *daddr, in ip_vs_lblc_new() argument 208 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new() 225 ip_vs_lblc_hash(tbl, en); in ip_vs_lblc_new() 236 struct ip_vs_lblc_table *tbl = svc->sched_data; in ip_vs_lblc_flush() local 242 tbl->dead = true; in ip_vs_lblc_flush() [all …]
|
D | ip_vs_lblcr.c | 336 ip_vs_lblcr_hash(struct ip_vs_lblcr_table *tbl, struct ip_vs_lblcr_entry *en) in ip_vs_lblcr_hash() argument 340 hlist_add_head_rcu(&en->list, &tbl->bucket[hash]); in ip_vs_lblcr_hash() 341 atomic_inc(&tbl->entries); in ip_vs_lblcr_hash() 347 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() argument 353 hlist_for_each_entry_rcu(en, &tbl->bucket[hash], list) in ip_vs_lblcr_get() 366 ip_vs_lblcr_new(struct ip_vs_lblcr_table *tbl, const union nf_inet_addr *daddr, in ip_vs_lblcr_new() argument 371 en = ip_vs_lblcr_get(af, tbl, daddr); in ip_vs_lblcr_new() 387 ip_vs_lblcr_hash(tbl, en); in ip_vs_lblcr_new() 402 struct ip_vs_lblcr_table *tbl = svc->sched_data; in ip_vs_lblcr_flush() local 408 tbl->dead = true; in ip_vs_lblcr_flush() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 450 static s32 get_expected_tpt(struct iwl_scale_tbl_info *tbl, int rs_index) in get_expected_tpt() argument 452 if (tbl->expected_tpt) in get_expected_tpt() 453 return tbl->expected_tpt[rs_index]; in get_expected_tpt() 464 static int rs_collect_tx_data(struct iwl_scale_tbl_info *tbl, in rs_collect_tx_data() argument 475 window = &(tbl->win[scale_index]); in rs_collect_tx_data() 478 tpt = get_expected_tpt(tbl, scale_index); in rs_collect_tx_data() 543 struct iwl_scale_tbl_info *tbl, in rate_n_flags_from_tbl() argument 548 if (is_legacy(tbl->lq_type)) { in rate_n_flags_from_tbl() 553 } else if (is_Ht(tbl->lq_type)) { in rate_n_flags_from_tbl() 560 if (is_siso(tbl->lq_type)) in rate_n_flags_from_tbl() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | pci-calgary_64.c | 177 static void calgary_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev); 178 static void calgary_tce_cache_blast(struct iommu_table *tbl); 179 static void calgary_dump_error_regs(struct iommu_table *tbl); 180 static void calioc2_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev); 181 static void calioc2_tce_cache_blast(struct iommu_table *tbl); 182 static void calioc2_dump_error_regs(struct iommu_table *tbl); 183 static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl); 200 static inline int translation_enabled(struct iommu_table *tbl) in translation_enabled() argument 203 return (tbl != NULL); in translation_enabled() 206 static void iommu_range_reserve(struct iommu_table *tbl, in iommu_range_reserve() argument [all …]
|
D | tce_64.c | 49 void tce_build(struct iommu_table *tbl, unsigned long index, in tce_build() argument 60 tp = ((u64*)tbl->it_base) + index; in tce_build() 75 void tce_free(struct iommu_table *tbl, long index, unsigned int npages) in tce_free() argument 79 tp = ((u64*)tbl->it_base) + index; in tce_free() 98 static int tce_table_setparms(struct pci_dev *dev, struct iommu_table *tbl) in tce_table_setparms() argument 104 tbl->it_busno = dev->bus->number; in tce_table_setparms() 107 tbl->it_size = table_size_to_number_of_entries(specified_table_size); in tce_table_setparms() 113 bitmapsz = tbl->it_size / BITS_PER_BYTE; in tce_table_setparms() 121 tbl->it_map = (unsigned long*)bmppages; in tce_table_setparms() 123 memset(tbl->it_map, 0, bitmapsz); in tce_table_setparms() [all …]
|
/Linux-v4.19/net/core/ |
D | neighbour.c | 58 static int pneigh_ifdown_and_unlock(struct neigh_table *tbl, 123 struct neighbour __rcu **np, struct neigh_table *tbl) in neigh_del() argument 133 lockdep_is_held(&tbl->lock)); in neigh_del() 144 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one() argument 152 nht = rcu_dereference_protected(tbl->nht, in neigh_remove_one() 153 lockdep_is_held(&tbl->lock)); in neigh_remove_one() 154 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one() 159 lockdep_is_held(&tbl->lock)))) { in neigh_remove_one() 161 return neigh_del(n, 0, 0, np, tbl); in neigh_remove_one() 167 static int neigh_forced_gc(struct neigh_table *tbl) in neigh_forced_gc() argument [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 404 il4965_get_expected_tpt(struct il_scale_tbl_info *tbl, int rs_idx) in il4965_get_expected_tpt() argument 406 if (tbl->expected_tpt) in il4965_get_expected_tpt() 407 return tbl->expected_tpt[rs_idx]; in il4965_get_expected_tpt() 419 il4965_rs_collect_tx_data(struct il_scale_tbl_info *tbl, int scale_idx, in il4965_rs_collect_tx_data() argument 430 win = &(tbl->win[scale_idx]); in il4965_rs_collect_tx_data() 433 tpt = il4965_get_expected_tpt(tbl, scale_idx); in il4965_rs_collect_tx_data() 497 il4965_rate_n_flags_from_tbl(struct il_priv *il, struct il_scale_tbl_info *tbl, in il4965_rate_n_flags_from_tbl() argument 502 if (is_legacy(tbl->lq_type)) { in il4965_rate_n_flags_from_tbl() 507 } else if (is_Ht(tbl->lq_type)) { in il4965_rate_n_flags_from_tbl() 514 if (is_siso(tbl->lq_type)) in il4965_rate_n_flags_from_tbl() [all …]
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | 11n_rxreorder.c | 111 struct mwifiex_rx_reorder_tbl *tbl, in mwifiex_11n_dispatch_pkt_until_start_win() argument 117 pkt_to_send = (start_win > tbl->start_win) ? in mwifiex_11n_dispatch_pkt_until_start_win() 118 min((start_win - tbl->start_win), tbl->win_size) : in mwifiex_11n_dispatch_pkt_until_start_win() 119 tbl->win_size; in mwifiex_11n_dispatch_pkt_until_start_win() 123 if (tbl->rx_reorder_ptr[i]) { in mwifiex_11n_dispatch_pkt_until_start_win() 124 rx_tmp_ptr = tbl->rx_reorder_ptr[i]; in mwifiex_11n_dispatch_pkt_until_start_win() 125 tbl->rx_reorder_ptr[i] = NULL; in mwifiex_11n_dispatch_pkt_until_start_win() 135 for (i = 0; i < tbl->win_size - pkt_to_send; ++i) { in mwifiex_11n_dispatch_pkt_until_start_win() 136 tbl->rx_reorder_ptr[i] = tbl->rx_reorder_ptr[pkt_to_send + i]; in mwifiex_11n_dispatch_pkt_until_start_win() 137 tbl->rx_reorder_ptr[pkt_to_send + i] = NULL; in mwifiex_11n_dispatch_pkt_until_start_win() [all …]
|
/Linux-v4.19/drivers/firmware/efi/ |
D | memattr.c | 26 efi_memory_attributes_table_t *tbl; in efi_memattr_init() local 31 tbl = early_memremap(efi.mem_attr_table, sizeof(*tbl)); in efi_memattr_init() 32 if (!tbl) { in efi_memattr_init() 38 if (tbl->version > 1) { in efi_memattr_init() 40 tbl->version); in efi_memattr_init() 44 tbl_size = sizeof(*tbl) + tbl->num_entries * tbl->desc_size; in efi_memattr_init() 49 early_memunmap(tbl, sizeof(*tbl)); in efi_memattr_init() 138 efi_memory_attributes_table_t *tbl; in efi_memattr_apply_permissions() local 141 if (tbl_size <= sizeof(*tbl)) in efi_memattr_apply_permissions() 153 tbl = memremap(efi.mem_attr_table, tbl_size, MEMREMAP_WB); in efi_memattr_apply_permissions() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | xt_repldata.h | 24 } *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 strncpy(tbl->repl.name, info->name, sizeof(tbl->repl.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-v4.19/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 235 struct iommu_table *tbl = container->tables[i]; in tce_iommu_find_table() local 237 if (tbl) { in tce_iommu_find_table() 238 unsigned long entry = ioba >> tbl->it_page_shift; in tce_iommu_find_table() 239 unsigned long start = tbl->it_offset; in tce_iommu_find_table() 240 unsigned long end = start + tbl->it_size; in tce_iommu_find_table() 243 *ptbl = tbl; in tce_iommu_find_table() 365 struct iommu_table *tbl, 368 struct iommu_table *tbl); 387 struct iommu_table *tbl = container->tables[i]; in tce_iommu_release() local 389 if (!tbl) in tce_iommu_release() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | iommu.c | 59 struct iommu_table *tbl; in iommu_pseries_alloc_group() local 67 tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, node); in iommu_pseries_alloc_group() 68 if (!tbl) in iommu_pseries_alloc_group() 76 INIT_LIST_HEAD_RCU(&tbl->it_group_list); in iommu_pseries_alloc_group() 77 kref_init(&tbl->it_kref); in iommu_pseries_alloc_group() 79 list_add_rcu(&tgl->next, &tbl->it_group_list); in iommu_pseries_alloc_group() 81 table_group->tables[0] = tbl; in iommu_pseries_alloc_group() 86 kfree(tbl); in iommu_pseries_alloc_group() 95 struct iommu_table *tbl; in iommu_pseries_free_group() local 103 tbl = table_group->tables[0]; in iommu_pseries_free_group() [all …]
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_64_vio_hv.c | 157 u64 *tbl; in kvmppc_tce_put() local 161 tbl = kvmppc_page_address(page); in kvmppc_tce_put() 163 tbl[idx % TCES_PER_PAGE] = tce; in kvmppc_tce_put() 190 static long iommu_tce_xchg_rm(struct mm_struct *mm, struct iommu_table *tbl, in iommu_tce_xchg_rm() argument 196 ret = tbl->it_ops->exchange_rm(tbl, entry, hpa, direction); in iommu_tce_xchg_rm() 200 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RM(tbl, entry); in iommu_tce_xchg_rm() 212 static void kvmppc_rm_clear_tce(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_clear_tce() argument 218 iommu_tce_xchg_rm(kvm->mm, tbl, entry, &hpa, &dir); in kvmppc_rm_clear_tce() 222 struct iommu_table *tbl, unsigned long entry) in kvmppc_rm_tce_iommu_mapped_dec() argument 225 const unsigned long pgsize = 1ULL << tbl->it_page_shift; in kvmppc_rm_tce_iommu_mapped_dec() [all …]
|
D | book3s_64_vio.c | 101 iommu_tce_table_put(stit->tbl); in kvm_spapr_tce_iommu_table_free() 132 if (table_group->tables[i] != stit->tbl) in kvm_spapr_tce_release_iommu_group() 147 struct iommu_table *tbl = NULL; in kvm_spapr_tce_attach_iommu_group() local 188 tbl = iommu_tce_table_get(tbltmp); in kvm_spapr_tce_attach_iommu_group() 192 if (!tbl) in kvm_spapr_tce_attach_iommu_group() 196 if (tbl != stit->tbl) in kvm_spapr_tce_attach_iommu_group() 201 iommu_tce_table_put(tbl); in kvm_spapr_tce_attach_iommu_group() 213 iommu_tce_table_put(tbl); in kvm_spapr_tce_attach_iommu_group() 217 stit->tbl = tbl; in kvm_spapr_tce_attach_iommu_group() 366 static void kvmppc_clear_tce(struct iommu_table *tbl, unsigned long entry) in kvmppc_clear_tce() argument [all …]
|
/Linux-v4.19/net/mac80211/ |
D | mesh_pathtbl.c | 21 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath); 48 struct mesh_table *tbl = tblptr; in mesh_path_rht_free() local 50 mesh_path_free_rcu(tbl, mpath); in mesh_path_rht_free() 68 static void mesh_table_free(struct mesh_table *tbl) in mesh_table_free() argument 70 rhashtable_free_and_destroy(&tbl->rhead, in mesh_table_free() 71 mesh_path_rht_free, tbl); in mesh_table_free() 72 kfree(tbl); in mesh_table_free() 213 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup() argument 218 mpath = rhashtable_lookup_fast(&tbl->rhead, dst, mesh_rht_params); in mpath_lookup() 250 __mesh_path_lookup_by_idx(struct mesh_table *tbl, int idx) in __mesh_path_lookup_by_idx() argument [all …]
|
/Linux-v4.19/include/net/ |
D | neighbour.h | 76 struct neigh_table *tbl; member 133 #define NEIGH_CACHE_STAT_INC(tbl, field) this_cpu_inc((tbl)->stats->field) argument 137 struct neigh_table *tbl; member 234 return p->tbl->family; in neigh_parms_family() 242 return (char *)n + n->tbl->entry_size; in neighbour_priv() 274 struct neigh_table *tbl, in ___neigh_lookup_noref() argument 282 struct neigh_hash_table *nht = rcu_dereference_bh(tbl->nht); in ___neigh_lookup_noref() 297 static inline struct neighbour *__neigh_lookup_noref(struct neigh_table *tbl, in __neigh_lookup_noref() argument 301 return ___neigh_lookup_noref(tbl, tbl->key_eq, tbl->hash, pkey, dev); in __neigh_lookup_noref() 304 void neigh_table_init(int index, struct neigh_table *tbl); [all …]
|