Home
last modified time | relevance | path

Searched refs:hlist_head (Results 1 – 200 of 281) sorted by relevance

12

/linux-4.4.14/include/net/netns/
Dxfrm.h14 struct hlist_head *table;
41 struct hlist_head *state_bydst;
42 struct hlist_head *state_bysrc;
43 struct hlist_head *state_byspi;
47 struct hlist_head state_gc_list;
51 struct hlist_head *policy_byidx;
53 struct hlist_head policy_inexact[XFRM_POLICY_MAX];
Dipv4.h16 struct hlist_head;
50 struct hlist_head *fib_table_hash;
Dconntrack.h100 struct hlist_head *expect_hash;
111 struct hlist_head *nat_bysource;
Dpacket.h12 struct hlist_head sklist;
Dipv6.h59 struct hlist_head *fib_table_hash;
/linux-4.4.14/kernel/bpf/
Dhashtab.c19 struct hlist_head *buckets;
82 htab->n_buckets > U32_MAX / sizeof(struct hlist_head)) in htab_map_alloc()
85 if ((u64) htab->n_buckets * sizeof(struct hlist_head) + in htab_map_alloc()
91 htab->map.pages = round_up(htab->n_buckets * sizeof(struct hlist_head) + in htab_map_alloc()
96 htab->buckets = kmalloc_array(htab->n_buckets, sizeof(struct hlist_head), in htab_map_alloc()
100 htab->buckets = vmalloc(htab->n_buckets * sizeof(struct hlist_head)); in htab_map_alloc()
123 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
128 static struct htab_elem *lookup_elem_raw(struct hlist_head *head, u32 hash, in lookup_elem_raw()
144 struct hlist_head *head; in htab_map_lookup_elem()
169 struct hlist_head *head; in htab_map_get_next_key()
[all …]
/linux-4.4.14/net/batman-adv/
Dtypes.h152 struct hlist_head head;
264 struct hlist_head ifinfo_list;
289 struct hlist_head neigh_list;
305 struct hlist_head vlan_list;
360 struct hlist_head ifinfo_list;
538 struct hlist_head req_list;
606 struct hlist_head list;
622 struct hlist_head container_list;
623 struct hlist_head handler_list;
660 struct hlist_head mla_list;
[all …]
Dhash.h46 struct hlist_head *table; /* the hashtable itself with the buckets */
69 struct hlist_head *head; in batadv_hash_delete()
110 struct hlist_head *head; in batadv_hash_add()
154 struct hlist_head *head; in batadv_hash_remove()
Dmulticast.c62 struct hlist_head *mcast_list) in batadv_mcast_mla_softif_get()
94 struct hlist_head *mcast_list) in batadv_mcast_mla_is_duplicate()
113 struct hlist_head *mcast_list) in batadv_mcast_mla_list_free()
137 struct hlist_head *mcast_list) in batadv_mcast_mla_tt_retract()
169 struct hlist_head *mcast_list) in batadv_mcast_mla_tt_add()
265 struct hlist_head mcast_list = HLIST_HEAD_INIT; in batadv_mcast_mla_update()
610 struct hlist_head *head = &bat_priv->mcast.want_all_unsnoopables_list; in batadv_mcast_want_unsnoop_update()
655 struct hlist_head *head = &bat_priv->mcast.want_all_ipv4_list; in batadv_mcast_want_ipv4_update()
700 struct hlist_head *head = &bat_priv->mcast.want_all_ipv6_list; in batadv_mcast_want_ipv6_update()
Dfragmentation.c49 static void batadv_frag_clear_chain(struct hlist_head *head) in batadv_frag_clear_chain()
145 struct hlist_head *chain_out) in batadv_frag_insert_packet()
253 batadv_frag_merge_packets(struct hlist_head *chain) in batadv_frag_merge_packets()
315 struct hlist_head head = HLIST_HEAD_INIT; in batadv_frag_skb_buffer()
Dbridge_loop_avoidance.c156 struct hlist_head *head; in batadv_claim_hash_find()
196 struct hlist_head *head; in batadv_backbone_hash_find()
233 struct hlist_head *head; in batadv_bla_del_backbone_claims()
478 struct hlist_head *head; in batadv_bla_answer_request()
1006 struct hlist_head *head; in batadv_bla_purge_backbone_gw()
1060 struct hlist_head *head; in batadv_bla_purge_claims()
1108 struct hlist_head *head; in batadv_bla_update_orig_address()
1161 struct hlist_head *head; in batadv_bla_periodic_work()
1371 struct hlist_head *head; in batadv_bla_is_backbone_gw_orig()
1645 struct hlist_head *head; in batadv_bla_claim_table_seq_print_text()
[all …]
Dtranslation-table.c115 struct hlist_head *head; in batadv_tt_hash_find()
537 struct hlist_head *head; in batadv_tt_local_add()
944 struct hlist_head *head; in batadv_tt_local_seq_print_text()
1114 struct hlist_head *head, in batadv_tt_local_purge_list()
1151 struct hlist_head *head; in batadv_tt_local_purge()
1173 struct hlist_head *head; in batadv_tt_local_table_free()
1253 const struct hlist_head *head; in batadv_tt_global_orig_entry_find()
1510 struct hlist_head *head; in batadv_transtable_best_orig()
1558 struct hlist_head *head; in batadv_tt_global_print_entry()
1633 struct hlist_head *head; in batadv_tt_global_seq_print_text()
[all …]
Doriginator.h96 struct hlist_head *head; in batadv_orig_hash_find()
Doriginator.c608 struct hlist_head *head; in batadv_originator_free()
965 struct hlist_head *head; in _batadv_purge_orig()
1099 struct hlist_head *head; in batadv_orig_hash_add_if()
1134 struct hlist_head *head; in batadv_orig_hash_del_if()
Ddistributed-arp-table.c104 struct hlist_head *head; in __batadv_dat_purge()
265 struct hlist_head *head; in batadv_dat_entry_hash_find()
504 struct hlist_head *head; in batadv_choose_next_candidate()
793 struct hlist_head *head; in batadv_dat_cache_seq_print_text()
Dnetwork-coding.c379 struct hlist_head *head; in batadv_nc_purge_orig_hash()
413 struct hlist_head *head; in batadv_nc_purge_paths()
527 struct hlist_head *head; in batadv_nc_hash_find()
659 struct hlist_head *head; in batadv_nc_process_nc_paths()
1877 struct hlist_head *head; in batadv_nc_nodes_seq_print_text()
/linux-4.4.14/net/xfrm/
Dxfrm_hash.c15 struct hlist_head *xfrm_hash_alloc(unsigned int sz) in xfrm_hash_alloc()
17 struct hlist_head *n; in xfrm_hash_alloc()
24 n = (struct hlist_head *) in xfrm_hash_alloc()
31 void xfrm_hash_free(struct hlist_head *n, unsigned int sz) in xfrm_hash_free()
Dxfrm_hash.h189 struct hlist_head *xfrm_hash_alloc(unsigned int sz);
190 void xfrm_hash_free(struct hlist_head *n, unsigned int sz);
Dxfrm_policy.c376 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
393 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
410 struct hlist_head *list, in xfrm_dst_hash_transfer()
411 struct hlist_head *ndsttable, in xfrm_dst_hash_transfer()
446 static void xfrm_idx_hash_transfer(struct hlist_head *list, in xfrm_idx_hash_transfer()
447 struct hlist_head *nidxtable, in xfrm_idx_hash_transfer()
470 unsigned int nsize = (nhashmask + 1) * sizeof(struct hlist_head); in xfrm_bydst_resize()
471 struct hlist_head *odst = net->xfrm.policy_bydst[dir].table; in xfrm_bydst_resize()
472 struct hlist_head *ndst = xfrm_hash_alloc(nsize); in xfrm_bydst_resize()
488 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize()
[all …]
Dxfrm_state.c64 static void xfrm_hash_transfer(struct hlist_head *list, in xfrm_hash_transfer()
65 struct hlist_head *ndsttable, in xfrm_hash_transfer()
66 struct hlist_head *nsrctable, in xfrm_hash_transfer()
67 struct hlist_head *nspitable, in xfrm_hash_transfer()
97 return ((state_hmask + 1) << 1) * sizeof(struct hlist_head); in xfrm_hash_new_size()
103 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize()
126 nhashmask = (nsize / sizeof(struct hlist_head)) - 1U; in xfrm_hash_resize()
143 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
361 struct hlist_head gc_list; in xfrm_state_gc_task()
2087 sz = sizeof(struct hlist_head) * 8; in xfrm_state_init()
[all …]
/linux-4.4.14/net/can/
Daf_can.h70 struct hlist_head rx[RX_MAX];
71 struct hlist_head rx_sff[CAN_SFF_RCV_ARRAY_SZ];
72 struct hlist_head rx_eff[CAN_EFF_RCV_ARRAY_SZ];
124 extern struct hlist_head can_rx_dev_list; /* rx dispatcher structures */
Daf_can.c392 static struct hlist_head *find_rcv_list(canid_t *can_id, canid_t *mask, in find_rcv_list()
474 struct hlist_head *rl; in can_rx_register()
542 struct hlist_head *rl; in can_rx_unregister()
Dproc.c193 static void can_print_rcvlist(struct seq_file *m, struct hlist_head *rx_list, in can_print_rcvlist()
393 struct hlist_head *rcv_array, in can_rcvlist_proc_show_array()
/linux-4.4.14/include/linux/
Dseq_file.h208 extern struct hlist_node *seq_hlist_start(struct hlist_head *head,
210 extern struct hlist_node *seq_hlist_start_head(struct hlist_head *head,
212 extern struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head,
215 extern struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head,
217 extern struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head,
220 struct hlist_head *head,
224 extern struct hlist_node *seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t…
226 extern struct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu…
Dhashtable.h16 struct hlist_head name[1 << (bits)] = \
20 struct hlist_head name[1 << (bits)]
29 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init()
76 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty()
Dif_team.h185 struct hlist_head en_port_hlist[TEAM_PORT_HASHENTRIES];
228 static inline struct hlist_head *team_port_index_hash(struct team *team, in team_port_index_hash()
238 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index()
259 struct hlist_head *head = team_port_index_hash(team, port_index); in team_get_port_by_index_rcu()
Dkprobes.h191 struct hlist_head free_instances;
346 struct hlist_head **head, unsigned long *flags);
348 struct hlist_head * kretprobe_inst_table_head(struct task_struct *tsk);
385 void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head);
Dlist.h596 #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL }
609 static inline int hlist_empty(const struct hlist_head *h) in hlist_empty()
639 static inline void hlist_add_head(struct hlist_node *n, struct hlist_head *h) in hlist_add_head()
685 static inline void hlist_move_list(struct hlist_head *old, in hlist_move_list()
686 struct hlist_head *new) in hlist_move_list()
Dfs_pin.h22 void pin_insert_group(struct fs_pin *, struct vfsmount *, struct hlist_head *);
Diocontext.h115 struct hlist_head icq_list;
Dlru_cache.h218 struct hlist_head *lc_slot;
Dtypes.h189 struct hlist_head { struct
Datalk.h134 extern struct hlist_head atalk_sockets;
Dpid.h62 struct hlist_head tasks[PIDTYPE_MAX];
Datmdev.h219 extern struct hlist_head vcc_hash[VCC_HTABLE_SIZE];
Drculist.h393 struct hlist_head *h) in hlist_add_head_rcu()
Dmmu_notifier.h22 struct hlist_head list;
Dfscache.h182 struct hlist_head backing_objects; /* object(s) backing this file/index */
Dperf_event.h422 struct hlist_head heads[SWEVENT_HLIST_SIZE];
1010 struct hlist_head *head, int rctx,
DmISDNif.h481 struct hlist_head head;
Dnfs_fs.h175 struct hlist_head silly_list;
Dtrace_events.h302 struct hlist_head __percpu *perf_events;
Dkvm_host.h346 struct hlist_head map[0];
418 struct hlist_head irq_ack_notifier_list;
/linux-4.4.14/fs/notify/
Dfsnotify.h18 extern u32 fsnotify_recalc_mask(struct hlist_head *head);
27 extern int fsnotify_add_mark_list(struct hlist_head *head,
44 extern struct fsnotify_mark *fsnotify_find_mark(struct hlist_head *head,
47 extern void fsnotify_destroy_marks(struct hlist_head *head, spinlock_t *lock);
Dmark.c114 u32 fsnotify_recalc_mask(struct hlist_head *head) in fsnotify_recalc_mask()
212 void fsnotify_destroy_marks(struct hlist_head *head, spinlock_t *lock) in fsnotify_destroy_marks()
297 int fsnotify_add_mark_list(struct hlist_head *head, struct fsnotify_mark *mark, in fsnotify_add_mark_list()
410 struct fsnotify_mark *fsnotify_find_mark(struct hlist_head *head, in fsnotify_find_mark()
/linux-4.4.14/net/atm/
Dlec.h73 struct hlist_head lec_arp_empty_ones;
75 struct hlist_head lec_arp_tables[LEC_ARP_TABLE_SIZE];
77 struct hlist_head lec_no_forward;
84 struct hlist_head mcast_fwds;
Dcommon.c34 struct hlist_head vcc_hash[VCC_HTABLE_SIZE];
45 struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)]; in __vcc_insert_socket()
272 struct hlist_head *head = &vcc_hash[i]; in atm_dev_release_vccs()
319 struct hlist_head *head = &vcc_hash[vci & (VCC_HTABLE_SIZE - 1)]; in check_ci()
Dsignaling.c210 struct hlist_head *head = &vcc_hash[i]; in sigd_close()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_mmu_hpte.c152 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; in kvmppc_mmu_pte_flush_all()
164 struct hlist_head *list; in kvmppc_mmu_pte_flush_page()
183 struct hlist_head *list; in kvmppc_mmu_pte_flush_long()
226 struct hlist_head *list; in kvmppc_mmu_pte_vflush_short()
247 struct hlist_head *list; in kvmppc_mmu_pte_vflush_64k()
269 struct hlist_head *list; in kvmppc_mmu_pte_vflush_long()
320 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; in kvmppc_mmu_pte_pflush()
354 static void kvmppc_mmu_hpte_init_hash(struct hlist_head *hash_list, int len) in kvmppc_mmu_hpte_init_hash()
/linux-4.4.14/net/ipv4/
Dfib_semantics.c50 static struct hlist_head *fib_info_hash;
51 static struct hlist_head *fib_info_laddrhash;
57 static struct hlist_head fib_info_devhash[DEVINDEX_HASHSIZE];
304 struct hlist_head *head; in fib_find_info()
336 struct hlist_head *head; in ip_fib_check_default()
838 static struct hlist_head *fib_info_hash_alloc(int bytes) in fib_info_hash_alloc()
843 return (struct hlist_head *) in fib_info_hash_alloc()
848 static void fib_info_hash_free(struct hlist_head *hash, int bytes) in fib_info_hash_free()
859 static void fib_info_hash_move(struct hlist_head *new_info_hash, in fib_info_hash_move()
860 struct hlist_head *new_laddrhash, in fib_info_hash_move()
[all …]
Dfib_frontend.c118 struct hlist_head *head; in fib_get_table()
185 struct hlist_head *head = &net->ipv4.fib_table_hash[h]; in fib_flush()
200 struct hlist_head *head; in fib_flush_external()
759 struct hlist_head *head; in inet_dump_fib()
1226 size_t size = sizeof(struct hlist_head) * FIB_TABLE_HASHSZ; in ip_fib_net_init()
1256 struct hlist_head *head = &net->ipv4.fib_table_hash[i]; in ip_fib_net_exit()
Dip_tunnel.c158 struct hlist_head *head; in ip_tunnel_lookup()
244 static struct hlist_head *ip_bucket(struct ip_tunnel_net *itn, in ip_bucket()
265 struct hlist_head *head = ip_bucket(itn, &t->parms); in ip_tunnel_add()
289 struct hlist_head *head = ip_bucket(itn, parms); in ip_tunnel_find()
1067 struct hlist_head *thead = &itn->tunnels[h]; in ip_tunnel_destroy()
Dinet_timewait_sock.c91 struct hlist_head *list) in inet_twsk_add_bind_node()
Dfib_trie.c105 struct hlist_head leaf;
963 static struct fib_alias *fib_find_alias(struct hlist_head *fah, u8 slen, in fib_find_alias()
2222 struct hlist_head *head = &net->ipv4.fib_table_hash[h]; in fib_triestat_seq_show()
2266 struct hlist_head *head = &net->ipv4.fib_table_hash[h]; in fib_trie_get_idx()
2318 struct hlist_head *head = &net->ipv4.fib_table_hash[h]; in fib_trie_seq_next()
/linux-4.4.14/drivers/infiniband/core/
Diwpm_util.c44 static struct hlist_head *iwpm_hash_bucket;
47 static struct hlist_head *iwpm_reminfo_bucket;
61 sizeof(struct hlist_head), GFP_KERNEL); in iwpm_init()
68 sizeof(struct hlist_head), GFP_KERNEL); in iwpm_init()
115 static struct hlist_head *get_mapinfo_hash_bucket(struct sockaddr_storage *,
122 struct hlist_head *hash_bucket_head; in iwpm_create_mapinfo()
159 struct hlist_head *hash_bucket_head; in iwpm_remove_mapinfo()
237 static struct hlist_head *get_reminfo_hash_bucket(struct sockaddr_storage *,
242 struct hlist_head *hash_bucket_head; in iwpm_add_remote_info()
262 struct hlist_head *hash_bucket_head; in iwpm_get_remote_info()
[all …]
Dfmr_pool.c93 struct hlist_head *cache_bucket;
119 struct hlist_head *bucket; in ib_fmr_cache_lookup()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dremote_perm.c80 static struct hlist_head *alloc_rmtperm_hash(void) in alloc_rmtperm_hash()
82 struct hlist_head *hash; in alloc_rmtperm_hash()
95 void free_rmtperm_hash(struct hlist_head *hash) in free_rmtperm_hash()
120 struct hlist_head *head; in do_check_remote_perm()
163 struct hlist_head *head, *perm_hash = NULL; in ll_update_remote_perm()
308 struct hlist_head *hash = lli->lli_remote_perms;
/linux-4.4.14/kernel/
Duser.c77 struct hlist_head uidhash_table[UIDHASH_SZ];
102 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert()
112 static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent) in uid_hash_find()
173 struct hlist_head *hashent = uidhashentry(uid); in alloc_uid()
Duser-return-notifier.c7 static DEFINE_PER_CPU(struct hlist_head, return_notifier_list);
38 struct hlist_head *head; in fire_user_return_notifiers()
Dkprobes.c71 static struct hlist_head kprobe_table[KPROBE_TABLE_SIZE];
72 static struct hlist_head kretprobe_inst_table[KPROBE_TABLE_SIZE];
306 struct hlist_head *head; in get_kprobe()
781 struct hlist_head *head; in optimize_all_kprobes()
804 struct hlist_head *head; in unoptimize_all_kprobes()
1078 struct hlist_head *head) in recycle_rp_inst()
1096 struct hlist_head **head, unsigned long *flags) in kretprobe_hash_lock()
1147 struct hlist_head *head, empty_rp; in kprobe_flush_task()
1187 struct hlist_head *head; in cleanup_rp_inst()
2090 struct hlist_head *head; in kprobes_module_callback()
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_hashtab.c62 struct hlist_head *h_list; in drm_ht_verbose_list()
77 struct hlist_head *h_list; in drm_ht_find_key()
95 struct hlist_head *h_list; in drm_ht_find_key_rcu()
112 struct hlist_head *h_list; in drm_ht_insert_item()
/linux-4.4.14/net/nfc/
Dllcp.h46 struct hlist_head head;
104 struct hlist_head pending_sdreqs;
247 void nfc_llcp_free_sdp_tlv_list(struct hlist_head *sdp_head);
253 struct hlist_head *tlv_list, size_t tlvs_len);
255 struct hlist_head *tlv_list, size_t tlvs_len);
Dnfc.h48 struct hlist_head head;
70 void nfc_llcp_free_sdp_tlv_list(struct hlist_head *head);
102 int nfc_genl_llc_send_sdres(struct nfc_dev *dev, struct hlist_head *sdres_list);
Dllcp_commands.c188 void nfc_llcp_free_sdp_tlv_list(struct hlist_head *head) in nfc_llcp_free_sdp_tlv_list()
542 struct hlist_head *tlv_list, size_t tlvs_len) in nfc_llcp_send_snl_sdres()
566 struct hlist_head *tlv_list, size_t tlvs_len) in nfc_llcp_send_snl_sdreq()
/linux-4.4.14/fs/
Dmount.h26 struct hlist_head m_list;
59 struct hlist_head mnt_fsnotify_marks;
65 struct hlist_head mnt_pins;
Dseq_file.c839 struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos) in seq_hlist_start()
858 struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos) in seq_hlist_start_head()
875 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next()
899 struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, in seq_hlist_start_rcu()
923 struct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, in seq_hlist_start_head_rcu()
946 struct hlist_head *head, in seq_hlist_next_rcu()
968 seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos) in seq_hlist_start_percpu()
992 seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, in seq_hlist_next_percpu()
1004 struct hlist_head *bucket = per_cpu_ptr(head, *cpu); in seq_hlist_next_percpu()
Dfs_pin.c21 void pin_insert_group(struct fs_pin *pin, struct vfsmount *m, struct hlist_head *p) in pin_insert_group()
90 void group_pin_kill(struct hlist_head *p) in group_pin_kill()
Dinode.c57 static struct hlist_head *inode_hashtable __read_mostly;
462 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); in __insert_inode_hash()
773 struct hlist_head *head, in find_inode()
802 struct hlist_head *head, unsigned long ino) in find_inode_fast()
1013 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in iget5_locked()
1083 struct hlist_head *head = inode_hashtable + hash(sb, ino); in iget_locked()
1139 struct hlist_head *b = inode_hashtable + hash(sb, ino); in test_inode_iunique()
1229 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in ilookup5_nowait()
1278 struct hlist_head *head = inode_hashtable + hash(sb, ino); in ilookup()
1320 struct hlist_head *head = inode_hashtable + hash(sb, hashval); in find_inode_nowait()
[all …]
Dpnode.h43 struct hlist_head *);
Dinternal.h147 extern void group_pin_kill(struct hlist_head *p);
Dpnode.c203 static struct hlist_head *list;
279 struct mount *source_mnt, struct hlist_head *tree_list) in propagate_mnt()
Dnamespace.c62 static struct hlist_head *mount_hashtable __read_mostly;
63 static struct hlist_head *mountpoint_hashtable __read_mostly;
81 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
89 static inline struct hlist_head *mp_hash(struct dentry *dentry) in mp_hash()
631 struct hlist_head *head = m_hash(mnt, dentry); in __lookup_mnt()
731 struct hlist_head *chain = mp_hash(dentry); in lookup_mountpoint()
748 struct hlist_head *chain = mp_hash(dentry); in new_mountpoint()
1340 struct hlist_head head; in namespace_unlock()
3114 sizeof(struct hlist_head), in mnt_init()
3119 sizeof(struct hlist_head), in mnt_init()
/linux-4.4.14/fs/lockd/
Dhost.c33 static struct hlist_head nlm_server_hosts[NLM_HOST_NRHASH];
34 static struct hlist_head nlm_client_hosts[NLM_HOST_NRHASH];
229 struct hlist_head *chain; in nlmclnt_lookup_host()
325 struct hlist_head *chain; in nlmsvc_lookup_host()
512 static struct nlm_host *next_host_state(struct hlist_head *cache, in next_host_state()
517 struct hlist_head *chain; in next_host_state()
572 struct hlist_head *chain; in nlm_complain_hosts()
601 struct hlist_head *chain; in nlm_shutdown_hosts_net()
644 struct hlist_head *chain; in nlm_gc_hosts()
Dsvcsubs.c31 static struct hlist_head nlm_files[FILE_NRHASH];
/linux-4.4.14/kernel/trace/
Dtrace_event_perf.c89 struct hlist_head __percpu *list; in perf_trace_event_reg()
97 list = alloc_percpu(struct hlist_head); in perf_trace_event_reg()
240 struct hlist_head __percpu *pcpu_list; in perf_trace_add()
241 struct hlist_head *list; in perf_trace_add()
306 struct hlist_head *head; in perf_ftrace_function_call()
Dftrace.c519 struct hlist_head *hash;
697 FTRACE_PROFILE_HASH_SIZE * sizeof(struct hlist_head)); in ftrace_profile_reset()
775 stat->hash = kzalloc(sizeof(struct hlist_head) * size, GFP_KERNEL); in ftrace_profile_init_cpu()
809 struct hlist_head *hhd; in ftrace_find_profiled_func()
1122 static struct hlist_head ftrace_func_hash[FTRACE_FUNC_HASHSIZE] __read_mostly;
1140 struct hlist_head *buckets;
1151 static const struct hlist_head empty_buckets[1];
1153 .buckets = (struct hlist_head *)empty_buckets,
1230 struct hlist_head *hhd; in ftrace_lookup_ip()
1252 struct hlist_head *hhd; in __add_hash_entry()
[all …]
Dtrace_syscalls.c553 struct hlist_head *head; in perf_syscall_enter()
627 struct hlist_head *head; in perf_syscall_exit()
/linux-4.4.14/net/openvswitch/
Dflow_table.c125 buckets = flex_array_alloc(sizeof(struct hlist_head), in alloc_buckets()
137 INIT_HLIST_HEAD((struct hlist_head *) in alloc_buckets()
257 struct hlist_head *head = flex_array_get(ti->buckets, i); in table_instance_destroy()
295 struct hlist_head *head; in ovs_flow_tbl_dump_next()
318 static struct hlist_head *find_bucket(struct table_instance *ti, u32 hash) in find_bucket()
328 struct hlist_head *head; in table_instance_insert()
337 struct hlist_head *head; in ufid_table_instance_insert()
355 struct hlist_head *head; in flow_table_copy_flows()
476 struct hlist_head *head; in masked_flow_lookup()
561 struct hlist_head *head; in ovs_flow_tbl_lookup_ufid()
Dvport.c40 static struct hlist_head *dev_table;
50 dev_table = kzalloc(VPORT_HASH_BUCKETS * sizeof(struct hlist_head), in ovs_vport_init()
68 static struct hlist_head *hash_bucket(const struct net *net, const char *name) in hash_bucket()
109 struct hlist_head *bucket = hash_bucket(net, name); in ovs_vport_locate()
207 struct hlist_head *bucket; in ovs_vport_add()
Ddatapath.h83 struct hlist_head *ports;
Ddatapath.c209 static struct hlist_head *vport_hash_bucket(const struct datapath *dp, in vport_hash_bucket()
219 struct hlist_head *head; in ovs_lookup_vport()
237 struct hlist_head *head = vport_hash_bucket(dp, vport->port_no); in new_vport()
1561 dp->ports = kmalloc(DP_VPORT_HASH_BUCKETS * sizeof(struct hlist_head), in ovs_dp_cmd_new()
/linux-4.4.14/arch/powerpc/include/asm/
Dkvm_book3s.h98 struct hlist_head hpte_hash_pte[HPTEG_HASH_NUM_PTE];
99 struct hlist_head hpte_hash_pte_long[HPTEG_HASH_NUM_PTE_LONG];
100 struct hlist_head hpte_hash_vpte[HPTEG_HASH_NUM_VPTE];
101 struct hlist_head hpte_hash_vpte_long[HPTEG_HASH_NUM_VPTE_LONG];
103 struct hlist_head hpte_hash_vpte_64k[HPTEG_HASH_NUM_VPTE_64K];
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_clsf.c92 struct hlist_head *hhead; in enic_rfs_flw_tbl_free()
111 struct hlist_head *hhead; in htbl_fltr_search()
133 struct hlist_head *hhead; in enic_flow_may_expire()
155 static struct enic_rfs_fltr_node *htbl_key_search(struct hlist_head *h, in htbl_key_search()
234 struct hlist_head *head; in enic_rx_flow_steer()
Denic.h133 struct hlist_head ht_head[1 << ENIC_RFS_FLW_BITSHIFT];
/linux-4.4.14/net/rds/
Dconnection.c49 static struct hlist_head rds_conn_hash[RDS_CONNECTION_HASH_ENTRIES];
52 static struct hlist_head *rds_conn_bucket(__be32 laddr, __be32 faddr) in rds_conn_bucket()
74 struct hlist_head *head, in rds_conn_lookup()
127 struct hlist_head *head = rds_conn_bucket(laddr, faddr); in __rds_conn_create()
394 struct hlist_head *head; in rds_conn_message_info()
456 struct hlist_head *head; in rds_for_each_conn_info()
/linux-4.4.14/net/bridge/
Dbr_fdb.c31 static struct net_bridge_fdb_entry *fdb_find(struct hlist_head *head,
200 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; in br_fdb_find_delete_local()
469 static struct net_bridge_fdb_entry *fdb_find(struct hlist_head *head, in fdb_find()
483 static struct net_bridge_fdb_entry *fdb_find_rcu(struct hlist_head *head, in fdb_find_rcu()
497 static struct net_bridge_fdb_entry *fdb_create(struct hlist_head *head, in fdb_create()
524 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; in fdb_insert()
567 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; in br_fdb_update()
765 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; in fdb_add_entry()
928 struct hlist_head *head = &br->hash[br_mac_hash(addr, vid)]; in fdb_delete_by_addr()
955 struct hlist_head *head = &br->hash[br_mac_hash(addr, vlan)]; in fdb_delete_by_addr_and_port()
[all …]
Dbr_private.h176 struct hlist_head *mhash;
220 struct hlist_head mglist;
260 struct hlist_head hash[BR_HASH_SIZE];
320 struct hlist_head router_list;
/linux-4.4.14/include/net/
Dllc.h68 struct hlist_head sk_dev_hash[LLC_SK_DEV_HASH_ENTRIES];
72 struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) in llc_sk_dev_hash()
Dflowcache.h10 struct hlist_head *hash_table;
Dvxlan.h113 struct hlist_head vni_list[VNI_HASH_SIZE];
171 struct hlist_head fdb_head[FDB_HASH_SIZE];
Dact_api.h41 struct hlist_head *htab;
59 hf->htab = kzalloc((mask + 1) * sizeof(struct hlist_head), in tcf_hashinfo_init()
Draw.h35 struct hlist_head ht[RAW_HTABLE_SIZE];
Dnet_namespace.h79 struct hlist_head *dev_name_head;
80 struct hlist_head *dev_index_head;
Daf_unix.h21 extern struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];
Dinet_hashtables.h85 struct hlist_head owners;
98 struct hlist_head chain;
Dinet_frag.h74 struct hlist_head chain;
Dip_fib.h143 struct hlist_head *fa_head;
215 struct hlist_head *ptr; in fib_get_table()
Dipx.h66 struct hlist_head if_sklist;
Dsock.h510 static inline struct sock *__sk_head(const struct hlist_head *head) in __sk_head()
515 static inline struct sock *sk_head(const struct hlist_head *head) in sk_head()
633 static inline void __sk_add_node(struct sock *sk, struct hlist_head *list) in __sk_add_node()
638 static inline void sk_add_node(struct sock *sk, struct hlist_head *list) in sk_add_node()
644 static inline void sk_add_node_rcu(struct sock *sk, struct hlist_head *list) in sk_add_node_rcu()
667 struct hlist_head *list) in sk_add_bind_node()
Dx25.h313 extern struct hlist_head x25_list;
Dip_tunnels.h162 struct hlist_head tunnels[IP_TNL_HASH_SIZE];
Dax25.h288 extern struct hlist_head ax25_list;
/linux-4.4.14/net/mac80211/
Dmesh_pathtbl.c90 newtbl->hash_buckets = kzalloc(sizeof(struct hlist_head) * in mesh_table_alloc()
127 struct hlist_head *mesh_hash; in mesh_table_free()
158 struct hlist_head *oldhash; in mesh_table_grow()
339 struct hlist_head *bucket; in mpath_lookup()
534 struct hlist_head *bucket; in mesh_path_add()
668 struct hlist_head *bucket; in mpp_path_add()
891 struct hlist_head *bucket; in mesh_path_del()
950 struct hlist_head *known_gates; in mesh_path_send_to_gates()
1080 tbl_path->known_gates = kzalloc(sizeof(struct hlist_head), GFP_ATOMIC); in mesh_pathtbl_init()
1096 tbl_mpp->known_gates = kzalloc(sizeof(struct hlist_head), GFP_ATOMIC); in mesh_pathtbl_init()
Dmesh.h149 struct hlist_head *hash_buckets;
158 struct hlist_head *known_gates;
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c243 struct hlist_head hh_head; /**< entries list */
252 static struct hlist_head *
282 struct hlist_head hd_head; /**< entries list */
292 static struct hlist_head *
330 struct hlist_head dh_head; /**< entries list */
340 static struct hlist_head *
386 struct hlist_head dd_head; /**< entries list */
397 static struct hlist_head *
632 struct hlist_head *hhead = cfs_hash_bd_hhead(hs, bd); in cfs_hash_bd_lookup_intent()
934 struct hlist_head *hhead; in cfs_hash_buckets_realloc()
[all …]
/linux-4.4.14/fs/9p/
Dfid.c46 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); in __add_fid()
74 struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata; in v9fs_fid_find()
Dvfs_dentry.c72 hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata) in v9fs_dentry_release()
/linux-4.4.14/net/sunrpc/
Dsvcauth.c124 static struct hlist_head auth_domain_table[DN_HASHMAX];
142 struct hlist_head *head; in auth_domain_lookup()
Dauth.c25 struct hlist_head *hashtable;
402 struct hlist_head *head; in rpcauth_clear_credcache()
Dcache.c61 struct hlist_head *head; in sunrpc_cache_lookup()
430 struct hlist_head *head; in cache_clean()
532 static struct hlist_head cache_defer_hash[DFR_HASHSIZE];
1700 cd->hash_table = kzalloc(cd->hash_size * sizeof(struct hlist_head), in cache_create_net()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_sess.c166 struct hlist_head *head; in ft_sess_get()
197 struct hlist_head *head; in ft_sess_create()
250 struct hlist_head *head; in ft_sess_delete()
269 struct hlist_head *head; in ft_sess_delete_all()
Dtcm_fc.h68 struct hlist_head hash[FT_SESS_HASH_SIZE]; /* list of sessions */
/linux-4.4.14/fs/btrfs/
Dprops.c68 static const struct hlist_head *find_prop_handlers_by_hash(const u64 hash) in find_prop_handlers_by_hash()
70 struct hlist_head *h; in find_prop_handlers_by_hash()
81 const struct hlist_head *handlers) in find_prop_handler()
178 const struct hlist_head *handlers; in iterate_object_props()
/linux-4.4.14/mm/
Dcma.h11 struct hlist_head mem_head;
/linux-4.4.14/net/phonet/
Dsocket.c55 struct hlist_head hlist[PN_HASHSIZE];
68 static struct hlist_head *pn_hash_list(u16 obj) in pn_hash_list()
83 struct hlist_head *hlist = pn_hash_list(obj); in pn_find_sock_by_sa()
117 struct hlist_head *hlist = pnsocks.hlist; in pn_deliver_sock_broadcast()
145 struct hlist_head *hlist = pn_hash_list(pn_sk(sk)->sobject); in pn_sock_hash()
543 struct hlist_head *hlist = pnsocks.hlist; in pn_sock_get_idx()
/linux-4.4.14/lib/
Dlru_cache.c103 struct hlist_head *slot = NULL; in lc_create()
119 slot = kcalloc(e_count, sizeof(struct hlist_head), GFP_KERNEL); in lc_create()
221 memset(lc->lc_slot, 0, sizeof(struct hlist_head) * lc->nr_elements); in lc_reset()
257 static struct hlist_head *lc_hash_slot(struct lru_cache *lc, unsigned int enr) in lc_hash_slot()
/linux-4.4.14/security/smack/
Dsmack_access.c404 struct hlist_head smack_known_hash[SMACK_HASH_SLOTS];
414 struct hlist_head *head; in smk_insert_entry()
433 struct hlist_head *head; in smk_find_entry()
Dsmack.h338 extern struct hlist_head smack_known_hash[SMACK_HASH_SLOTS];
/linux-4.4.14/include/drm/
Ddrm_hashtab.h48 struct hlist_head *table;
/linux-4.4.14/kernel/time/
Dtimer.c73 struct hlist_head vec[TVN_SIZE];
77 struct hlist_head vec[TVR_SIZE];
378 struct hlist_head *vec; in __internal_add_timer()
1137 struct hlist_head tv_list; in cascade()
1212 struct hlist_head work_list; in __run_timers()
1213 struct hlist_head *head = &work_list; in __run_timers()
1570 static void migrate_timer_list(struct tvec_base *new_base, struct hlist_head *head) in migrate_timer_list()
Dposix-timers.c155 static struct k_itimer *__posix_timers_find(struct hlist_head *head, in __posix_timers_find()
171 struct hlist_head *head = &posix_timers_hashtable[hash(sig, id)]; in posix_timer_by_id()
180 struct hlist_head *head; in posix_timer_add()
/linux-4.4.14/tools/include/linux/
Dtypes.h75 struct hlist_head { struct
/linux-4.4.14/drivers/s390/cio/
Dairq.c27 static struct hlist_head airq_lists[MAX_ISC+1];
88 struct hlist_head *head; in do_airq_interrupt()
/linux-4.4.14/security/selinux/
Davc.c72 struct hlist_head slots[AVC_CACHE_SLOTS]; /* head for avc_node->list */
208 struct hlist_head *head; in avc_get_hash_stats()
520 struct hlist_head *head; in avc_reclaim_node()
579 struct hlist_head *head; in avc_search_node()
674 struct hlist_head *head; in avc_insert()
828 struct hlist_head *head; in avc_update_node()
913 struct hlist_head *head; in avc_flush()
/linux-4.4.14/net/netfilter/
Dxt_connlimit.c54 struct hlist_head hhead; /* connections/hosts in same subnet */
119 static bool add_hlist(struct hlist_head *head, in add_hlist()
135 struct hlist_head *head, in check_hlist()
Dnfnetlink_log.c87 struct hlist_head instance_table[INSTANCE_BUCKETS];
104 struct hlist_head *head; in __instance_lookup()
776 struct hlist_head *head = &log->instance_table[i]; in nfulnl_rcv_nl_event()
970 struct hlist_head *head = &log->instance_table[st->bucket]; in get_first()
984 struct hlist_head *head; in get_next()
Dnfnetlink_queue.c85 struct hlist_head instance_table[INSTANCE_BUCKETS];
101 struct hlist_head *head; in instance_lookup()
834 struct hlist_head *head = &q->instance_table[i]; in nfqnl_dev_drop()
872 struct hlist_head *head = &q->instance_table[i]; in nfqnl_nf_hook_drop()
895 struct hlist_head *head = &q->instance_table[i]; in nfqnl_rcv_nl_event()
Dxt_RATEEST.c25 static struct hlist_head rateest_hash[RATEEST_HSIZE] __read_mostly;
Dxt_hashlimit.c47 struct hlist_head htables;
114 struct hlist_head hash[0]; /* hashtable itself */
Dnf_conntrack_helper.c35 struct hlist_head *nf_ct_helper_hash __read_mostly;
/linux-4.4.14/net/tipc/
Dcore.h86 struct hlist_head node_htable[NODE_HTABLE_SIZE];
Dname_table.h93 struct hlist_head seq_hlist[TIPC_NAMETBL_SIZE];
Dname_table.c154 static struct name_seq *tipc_nameseq_create(u32 type, struct hlist_head *seq_head) in tipc_nameseq_create()
448 struct hlist_head *seq_head; in nametbl_find_seq()
819 struct hlist_head *seq_head; in tipc_nametbl_stop()
943 struct hlist_head *seq_head; in tipc_nl_seq_list()
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunvnet.h104 struct hlist_head port_hash[VNET_PORT_HASH_SIZE];
/linux-4.4.14/net/netlink/
Daf_netlink.h74 struct hlist_head mc_list;
/linux-4.4.14/include/net/phonet/
Dpep.h31 struct hlist_head hlist;
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmcommon.h46 #define DLM_BUCKETS_PER_PAGE (PAGE_SIZE / sizeof(struct hlist_head))
129 struct hlist_head **lockres_hash;
150 struct hlist_head **master_hash;
190 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash()
195 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
Ddlmdomain.c171 struct hlist_head *bucket; in __dlm_insert_lockres()
193 struct hlist_head *bucket; in __dlm_lookup_lockres_full()
425 struct hlist_head *bucket; in dlm_migrate_all_locks()
1984 dlm->lockres_hash = (struct hlist_head **)dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()
1994 dlm->master_hash = (struct hlist_head **) in dlm_alloc_ctxt()
/linux-4.4.14/drivers/net/wireless/
Dzd1201.h41 struct hlist_head fraglist;
/linux-4.4.14/include/net/netfilter/
Dnf_conntrack_helper.h116 extern struct hlist_head *nf_ct_helper_hash;
Dnf_conntrack.h62 struct hlist_head expectations;
/linux-4.4.14/include/trace/
Dperf.h43 struct hlist_head *head; \
/linux-4.4.14/include/net/iucv/
Daf_iucv.h150 struct hlist_head head;
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan.h93 struct hlist_head hlhead[IPVLAN_HASH_SIZE];
/linux-4.4.14/net/ipv6/
Dxfrm6_tunnel.c42 struct hlist_head spi_byaddr[XFRM6_TUNNEL_SPI_BYADDR_HSIZE];
43 struct hlist_head spi_byspi[XFRM6_TUNNEL_SPI_BYSPI_HSIZE];
Dip6_fib.c249 struct hlist_head *head; in fib6_get_table()
398 struct hlist_head *head; in inet6_dump_fib()
1679 struct hlist_head *head; in __fib6_clean_all()
1815 size_t size = sizeof(struct hlist_head) * FIB6_TABLE_HASHSZ; in fib6_net_init()
/linux-4.4.14/fs/ecryptfs/
Dmessaging.c32 static struct hlist_head *ecryptfs_daemon_hash;
384 ecryptfs_daemon_hash = kmalloc((sizeof(struct hlist_head) in ecryptfs_init_messaging()
/linux-4.4.14/drivers/md/persistent-data/
Ddm-transaction-manager.c96 struct hlist_head buckets[DM_HASH_SIZE];
143 struct hlist_head *bucket; in wipe_shadow_table()
/linux-4.4.14/net/9p/
Derror.c54 static struct hlist_head hash_errmap[ERRHASHSZ];
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den.h451 struct hlist_head netdev_uc[MLX5E_ETH_ADDR_HASH_SIZE];
452 struct hlist_head netdev_mc[MLX5E_ETH_ADDR_HASH_SIZE];
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_resource.c30 struct hlist_head entries[VMCI_RESOURCE_HASH_BUCKETS];
Dvmci_doorbell.c56 struct hlist_head entries[VMCI_DOORBELL_INDEX_TABLE_SIZE];
/linux-4.4.14/drivers/md/
Ddm-cache-policy-cleaner.c33 struct hlist_head *table;
145 struct hlist_head *bucket = &hash->table[h]; in lookup_cache_entry()
Draid5.h436 struct hlist_head *stripe_hashtbl;
/linux-4.4.14/fs/fat/
Dfat.h97 struct hlist_head inode_hashtable[FAT_HASH_SIZE];
100 struct hlist_head dir_hashtable[FAT_HASH_SIZE];
Dnfs.c35 struct hlist_head *head; in fat_dget()
/linux-4.4.14/drivers/net/
Dmacvlan.c44 struct hlist_head vlan_hash[MACVLAN_HASH_SIZE];
51 struct hlist_head vlan_source_hash[MACVLAN_HASH_SIZE];
114 struct hlist_head *h = &vlan->port->vlan_source_hash[idx]; in macvlan_hash_lookup_source()
129 struct hlist_head *h; in macvlan_hash_add_source()
391 struct hlist_head *h = &port->vlan_source_hash[idx]; in macvlan_forward_source()
1432 struct hlist_head *h = &vlan->port->vlan_source_hash[i]; in macvlan_fill_info_macaddr()
Dgeneve.c83 struct hlist_head vni_list[VNI_HASH_SIZE];
108 struct hlist_head *vni_list_head; in geneve_lookup()
127 struct hlist_head *vni_list_head; in geneve6_lookup()
Dtun.c200 struct hlist_head flows[TUN_NUM_FLOW_ENTRIES];
278 static struct tun_flow_entry *tun_flow_find(struct hlist_head *head, u32 rxhash) in tun_flow_find()
290 struct hlist_head *head, in tun_flow_create()
384 struct hlist_head *head; in tun_flow_update()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c49 struct hlist_head buckets[0];
67 unsigned count = PAGE_SIZE / sizeof(struct hlist_head) / 2; in eb_create()
68 BUILD_BUG_ON_NOT_POWER_OF_2(PAGE_SIZE / sizeof(struct hlist_head)); in eb_create()
71 eb = kzalloc(count*sizeof(struct hlist_head) + in eb_create()
89 memset(eb->buckets, 0, (eb->and+1)*sizeof(struct hlist_head)); in eb_reset()
195 struct hlist_head *head; in eb_get_vma()
/linux-4.4.14/net/sched/
Dsch_api.c623 static struct hlist_head *qdisc_class_hash_alloc(unsigned int n) in qdisc_class_hash_alloc()
625 unsigned int size = n * sizeof(struct hlist_head), i; in qdisc_class_hash_alloc()
626 struct hlist_head *h; in qdisc_class_hash_alloc()
631 h = (struct hlist_head *) in qdisc_class_hash_alloc()
641 static void qdisc_class_hash_free(struct hlist_head *h, unsigned int n) in qdisc_class_hash_free()
643 unsigned int size = n * sizeof(struct hlist_head); in qdisc_class_hash_free()
655 struct hlist_head *nhash, *ohash; in qdisc_class_hash_grow()
Dact_api.c84 struct hlist_head *head; in tcf_dump_walker()
132 struct hlist_head *head; in tcf_del_walker()
182 struct hlist_head *head; in tcf_hash_lookup()
Dsch_qfq.c180 struct hlist_head slots[QFQ_MAX_SLOTS];
197 struct hlist_head nonfull_aggs; /* Aggs with room for more classes. */
1424 struct hlist_head *slot) in qfq_drop_from_slot()
Dact_police.c62 struct hlist_head *head; in tcf_act_police_walker()
/linux-4.4.14/drivers/md/bcache/
Dbcache.h343 struct hlist_head io_hash[RECENT_IO + 1];
664 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS];
/linux-4.4.14/net/decnet/
Daf_decnet.c156 static struct hlist_head dn_sk_hash[DN_SK_HASH_SIZE];
157 static struct hlist_head dn_wild_sk;
163 static struct hlist_head *dn_find_list(struct sock *sk) in dn_find_list()
215 struct hlist_head *list; in dn_hash_sock()
250 static struct hlist_head *listen_hash(struct sockaddr_dn *addr) in listen_hash()
273 struct hlist_head *list; in dn_rehash_sock()
376 struct hlist_head *list = listen_hash(addr); in dn_sklist_find_listener()
/linux-4.4.14/drivers/clk/
Dclk.c67 struct hlist_head children;
69 struct hlist_head clks;
1966 static struct hlist_head *all_lists[] = {
1972 static struct hlist_head *orphan_list[] = {
2007 struct hlist_head **lists = (struct hlist_head **)s->private; in clk_summary_show()
2071 struct hlist_head **lists = (struct hlist_head **)s->private; in clk_dump()
/linux-4.4.14/security/integrity/ima/
Dima.h130 struct hlist_head queue[IMA_MEASURE_HTABLE_SIZE];
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c342 ttm_round_pot(sizeof(struct hlist_head) << in vmw_cmdbuf_res_man_size()
/linux-4.4.14/drivers/atm/
Datmtcp.c171 struct hlist_head *head = &vcc_hash[i]; in atmtcp_v_ioctl()
264 struct hlist_head *head; in find_vcc()
/linux-4.4.14/include/linux/sunrpc/
Dcache.h78 struct hlist_head * hash_table;
/linux-4.4.14/virt/kvm/
Dirqchip.c186 new = kzalloc(sizeof(*new) + (nr_rt_entries * sizeof(struct hlist_head)), in kvm_set_irq_routing()
/linux-4.4.14/include/net/sctp/
Dstructs.h97 struct hlist_head owner;
103 struct hlist_head chain;
109 struct hlist_head chain;
/linux-4.4.14/net/l2tp/
Dl2tp_core.c112 struct hlist_head l2tp_session_hlist[L2TP_HASH_SIZE_2];
168 static inline struct hlist_head *
225 struct hlist_head *session_list = in l2tp_session_find_2()
247 static inline struct hlist_head *
257 struct hlist_head *session_list; in l2tp_session_find()
Dl2tp_ip.c42 static struct hlist_head l2tp_ip_table;
43 static struct hlist_head l2tp_ip_bind_table;
Dl2tp_core.h174 struct hlist_head session_hlist[L2TP_HASH_SIZE];
Dl2tp_ip6.c51 static struct hlist_head l2tp_ip6_table;
52 static struct hlist_head l2tp_ip6_bind_table;
/linux-4.4.14/tools/perf/util/
Dauxtrace.c1284 struct hlist_head *hashtable;
1296 struct hlist_head *ht; in auxtrace_cache__new()
1305 ht = calloc(sz, sizeof(struct hlist_head)); in auxtrace_cache__new()
1380 struct hlist_head *hlist; in auxtrace_cache__lookup()
Devlist.h39 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE];
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h288 struct hlist_head *(*hop_hhead)(struct cfs_hash *hs,
632 static inline struct hlist_head *
/linux-4.4.14/include/target/
Dtarget_core_base.h552 struct hlist_head lun_entry_hlist;
882 struct hlist_head tpg_lun_hlist;
/linux-4.4.14/include/net/bluetooth/
Dbluetooth.h253 struct hlist_head head;
/linux-4.4.14/arch/s390/kernel/
Dirq.c192 static struct hlist_head ext_int_hash[32] ____cacheline_aligned;
/linux-4.4.14/drivers/tty/serial/8250/
D8250_core.c94 static struct hlist_head irq_lists[NR_IRQ_HASH];
181 struct hlist_head *h; in serial_link_irq_chain()
237 struct hlist_head *h; in serial_unlink_irq_chain()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h585 struct hlist_head mac_hash[MLX4_EN_MAC_HASH_SIZE];
598 struct hlist_head filter_hash[1 << MLX4_EN_FILTER_HASH_SHIFT];
/linux-4.4.14/fs/nfs/
Dpnfs_dev.c48 static struct hlist_head nfs4_deviceid_cache[NFS4_DEVICE_ID_HASH_SIZE];
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_classes.h248 struct hlist_head qp_hashtab[QP_HASHTAB_LEN];
/linux-4.4.14/arch/tile/kernel/
Dkprobes.c449 struct hlist_head *head, empty_rp; in trampoline_probe_handler()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_conn.c63 static struct hlist_head *ip_vs_conn_tab __read_mostly;
982 struct hlist_head *l;
1022 struct hlist_head *l = iter->l; in ip_vs_conn_seq_next()
Dip_vs_lblc.c107 struct hlist_head bucket[IP_VS_LBLC_TAB_SIZE]; /* hash bucket */
/linux-4.4.14/include/crypto/
Dalgapi.h53 struct hlist_head instances;
/linux-4.4.14/arch/powerpc/kernel/
Dkprobes.c295 struct hlist_head *head, empty_rp; in trampoline_probe_handler()
/linux-4.4.14/net/llc/
Dllc_sap.c397 struct hlist_head *dev_hb = llc_sk_dev_hash(sap, skb->dev->ifindex); in llc_sap_mcast()
/linux-4.4.14/arch/arc/kernel/
Dkprobes.c441 struct hlist_head *head, empty_rp; in trampoline_probe_handler()
/linux-4.4.14/net/core/
Dnet-procfs.c19 struct hlist_head *h; in dev_from_same_bucket()
/linux-4.4.14/arch/sparc/kernel/
Dkprobes.c519 struct hlist_head *head, empty_rp; in trampoline_probe_handler()
/linux-4.4.14/net/unix/
Daf_unix.c121 struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];
128 static struct hlist_head *unix_sockets_unbound(void *addr) in unix_sockets_unbound()
253 static void __unix_insert_socket(struct hlist_head *list, struct sock *sk) in __unix_insert_socket()
266 static inline void unix_insert_socket(struct hlist_head *list, struct sock *sk) in unix_insert_socket()
983 struct hlist_head *list; in unix_bind()
/linux-4.4.14/arch/mips/kernel/
Dkprobes.c603 struct hlist_head *head, empty_rp; in trampoline_probe_handler()
/linux-4.4.14/arch/arm/probes/kprobes/
Dcore.c432 struct hlist_head *head, empty_rp; in trampoline_handler()
/linux-4.4.14/block/
Dbsg.c70 static struct hlist_head bsg_device_list[BSG_LIST_ARRAY_SIZE];
134 static inline struct hlist_head *bsg_dev_idx_hash(int index) in bsg_dev_idx_hash()

12