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.c2544 struct rhashtable_iter hti; member
2550 rhashtable_walk_enter(&nl_table[iter->link].hash, &iter->hti); in netlink_walk_start()
2551 rhashtable_walk_start(&iter->hti); in netlink_walk_start()
2556 rhashtable_walk_stop(&iter->hti); in netlink_walk_stop()
2557 rhashtable_walk_exit(&iter->hti); in netlink_walk_stop()
2567 nlk = rhashtable_walk_next(&iter->hti); in __netlink_seq_next()
/net/netfilter/
Dnft_set_hash.c264 struct rhashtable_iter hti; in nft_rhash_walk() local
267 rhashtable_walk_enter(&priv->ht, &hti); in nft_rhash_walk()
268 rhashtable_walk_start(&hti); in nft_rhash_walk()
270 while ((he = rhashtable_walk_next(&hti))) { in nft_rhash_walk()
294 rhashtable_walk_stop(&hti); in nft_rhash_walk()
295 rhashtable_walk_exit(&hti); in nft_rhash_walk()
304 struct rhashtable_iter hti; in nft_rhash_gc() local
322 rhashtable_walk_enter(&priv->ht, &hti); in nft_rhash_gc()
323 rhashtable_walk_start(&hti); in nft_rhash_gc()
325 while ((he = rhashtable_walk_next(&hti))) { in nft_rhash_gc()
[all …]
Dnf_flow_table_core.c299 struct rhashtable_iter hti; in nf_flow_table_iterate() local
303 rhashtable_walk_enter(&flow_table->rhashtable, &hti); in nf_flow_table_iterate()
304 rhashtable_walk_start(&hti); in nf_flow_table_iterate()
306 while ((tuplehash = rhashtable_walk_next(&hti))) { in nf_flow_table_iterate()
321 rhashtable_walk_stop(&hti); in nf_flow_table_iterate()
322 rhashtable_walk_exit(&hti); in nf_flow_table_iterate()
/net/sctp/
Dproc.c202 struct rhashtable_iter hti; member
209 sctp_transport_walk_start(&iter->hti); in sctp_transport_seq_start()
211 return sctp_transport_get_idx(seq_file_net(seq), &iter->hti, *pos); in sctp_transport_seq_start()
224 sctp_transport_walk_stop(&iter->hti); in sctp_transport_seq_stop()
239 return sctp_transport_get_next(seq_file_net(seq), &iter->hti); in sctp_transport_seq_next()
Dsocket.c5415 struct rhashtable_iter hti; in sctp_transport_traverse_process() local
5422 sctp_transport_walk_start(&hti); in sctp_transport_traverse_process()
5424 tsp = sctp_transport_get_idx(net, &hti, *pos + 1); in sctp_transport_traverse_process()
5425 for (; !IS_ERR_OR_NULL(tsp); tsp = sctp_transport_get_next(net, &hti)) { in sctp_transport_traverse_process()
5436 sctp_transport_walk_stop(&hti); in sctp_transport_traverse_process()
/net/tipc/
Dsocket.c3461 struct rhashtable_iter *hti = (void *)cb->args[4]; in tipc_dump_done() local
3463 rhashtable_walk_exit(hti); in tipc_dump_done()
3464 kfree(hti); in tipc_dump_done()