Home
last modified time | relevance | path

Searched refs:hti (Results 1 – 7 of 7) sorted by relevance

/net/netlink/
Ddiag.c92 struct rhashtable_iter *hti = (void *)cb->args[2]; in __netlink_diag_dump() local
109 if (!hti) { in __netlink_diag_dump()
110 hti = kmalloc(sizeof(*hti), GFP_KERNEL); in __netlink_diag_dump()
111 if (!hti) in __netlink_diag_dump()
114 cb->args[2] = (long)hti; in __netlink_diag_dump()
118 rhashtable_walk_enter(&tbl->hash, hti); in __netlink_diag_dump()
120 rhashtable_walk_start(hti); in __netlink_diag_dump()
122 while ((nlsk = rhashtable_walk_next(hti))) { in __netlink_diag_dump()
147 rhashtable_walk_stop(hti); in __netlink_diag_dump()
152 rhashtable_walk_exit(hti); in __netlink_diag_dump()
[all …]
Daf_netlink.c2607 struct rhashtable_iter hti; member
2613 rhashtable_walk_enter(&nl_table[iter->link].hash, &iter->hti); in netlink_walk_start()
2614 rhashtable_walk_start(&iter->hti); in netlink_walk_start()
2619 rhashtable_walk_stop(&iter->hti); in netlink_walk_stop()
2620 rhashtable_walk_exit(&iter->hti); in netlink_walk_stop()
2630 nlk = rhashtable_walk_next(&iter->hti); in __netlink_seq_next()
/net/netfilter/
Dnft_set_hash.c262 struct rhashtable_iter hti; in nft_rhash_walk() local
265 rhashtable_walk_enter(&priv->ht, &hti); in nft_rhash_walk()
266 rhashtable_walk_start(&hti); in nft_rhash_walk()
268 while ((he = rhashtable_walk_next(&hti))) { in nft_rhash_walk()
292 rhashtable_walk_stop(&hti); in nft_rhash_walk()
293 rhashtable_walk_exit(&hti); in nft_rhash_walk()
318 struct rhashtable_iter hti; in nft_rhash_gc() local
336 rhashtable_walk_enter(&priv->ht, &hti); in nft_rhash_gc()
337 rhashtable_walk_start(&hti); in nft_rhash_gc()
339 while ((he = rhashtable_walk_next(&hti))) { in nft_rhash_gc()
[all …]
Dnf_flow_table_core.c387 struct rhashtable_iter hti; in nf_flow_table_iterate() local
391 rhashtable_walk_enter(&flow_table->rhashtable, &hti); in nf_flow_table_iterate()
392 rhashtable_walk_start(&hti); in nf_flow_table_iterate()
394 while ((tuplehash = rhashtable_walk_next(&hti))) { in nf_flow_table_iterate()
409 rhashtable_walk_stop(&hti); in nf_flow_table_iterate()
410 rhashtable_walk_exit(&hti); in nf_flow_table_iterate()
/net/sctp/
Dproc.c200 struct rhashtable_iter hti; member
207 sctp_transport_walk_start(&iter->hti); in sctp_transport_seq_start()
209 return sctp_transport_get_idx(seq_file_net(seq), &iter->hti, *pos); in sctp_transport_seq_start()
222 sctp_transport_walk_stop(&iter->hti); in sctp_transport_seq_stop()
237 return sctp_transport_get_next(seq_file_net(seq), &iter->hti); in sctp_transport_seq_next()
Dsocket.c5362 struct rhashtable_iter hti; in sctp_transport_traverse_process() local
5369 sctp_transport_walk_start(&hti); in sctp_transport_traverse_process()
5371 tsp = sctp_transport_get_idx(net, &hti, *pos + 1); in sctp_transport_traverse_process()
5372 for (; !IS_ERR_OR_NULL(tsp); tsp = sctp_transport_get_next(net, &hti)) { in sctp_transport_traverse_process()
5383 sctp_transport_walk_stop(&hti); in sctp_transport_traverse_process()
/net/tipc/
Dsocket.c3622 struct rhashtable_iter *hti = (void *)cb->args[4]; in tipc_dump_done() local
3624 rhashtable_walk_exit(hti); in tipc_dump_done()
3625 kfree(hti); in tipc_dump_done()