/linux-6.6.21/net/handshake/ |
D | request.c | 144 static bool __add_pending_locked(struct handshake_net *hn, in __add_pending_locked() argument 149 hn->hn_pending++; in __add_pending_locked() 150 list_add_tail(&req->hr_list, &hn->hn_requests); in __add_pending_locked() 154 static void __remove_pending_locked(struct handshake_net *hn, in __remove_pending_locked() argument 157 hn->hn_pending--; in __remove_pending_locked() 167 static bool remove_pending(struct handshake_net *hn, struct handshake_req *req) in remove_pending() argument 171 spin_lock(&hn->hn_lock); in remove_pending() 173 __remove_pending_locked(hn, req); in remove_pending() 176 spin_unlock(&hn->hn_lock); in remove_pending() 181 struct handshake_req *handshake_req_next(struct handshake_net *hn, int class) in handshake_req_next() argument [all …]
|
D | netlink.c | 93 struct handshake_net *hn = handshake_pernet(net); in handshake_nl_accept_doit() local 99 if (!hn) in handshake_nl_accept_doit() 108 req = handshake_req_next(hn, class); in handshake_nl_accept_doit() 175 struct handshake_net *hn = net_generic(net, handshake_net_id); in handshake_net_init() local 186 hn->hn_pending_max = clamp(tmp, 3UL, 50UL); in handshake_net_init() 188 spin_lock_init(&hn->hn_lock); in handshake_net_init() 189 hn->hn_pending = 0; in handshake_net_init() 190 hn->hn_flags = 0; in handshake_net_init() 191 INIT_LIST_HEAD(&hn->hn_requests); in handshake_net_init() 197 struct handshake_net *hn = net_generic(net, handshake_net_id); in handshake_net_exit() local [all …]
|
D | handshake-test.c | 244 struct handshake_net *hn; in handshake_req_submit_test5() local 263 hn = handshake_pernet(net); in handshake_req_submit_test5() 264 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_submit_test5() 266 saved = hn->hn_pending; in handshake_req_submit_test5() 267 hn->hn_pending = hn->hn_pending_max + 1; in handshake_req_submit_test5() 276 hn->hn_pending = saved; in handshake_req_submit_test5() 349 struct handshake_net *hn; in handshake_req_cancel_test2() local 372 hn = handshake_pernet(net); in handshake_req_cancel_test2() 373 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_cancel_test2() 376 next = handshake_req_next(hn, HANDSHAKE_HANDLER_CLASS_TLSHD); in handshake_req_cancel_test2() [all …]
|
D | handshake.h | 86 struct handshake_req *handshake_req_next(struct handshake_net *hn, int class);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 116 struct mlx5e_l2_hash_node *hn; in mlx5e_add_l2_to_hash() local 120 hlist_for_each_entry(hn, &hash[ix], hlist) in mlx5e_add_l2_to_hash() 121 if (ether_addr_equal_64bits(hn->ai.addr, addr)) { in mlx5e_add_l2_to_hash() 127 hn->action = MLX5E_ACTION_NONE; in mlx5e_add_l2_to_hash() 131 hn = kzalloc(sizeof(*hn), GFP_ATOMIC); in mlx5e_add_l2_to_hash() 132 if (!hn) in mlx5e_add_l2_to_hash() 135 ether_addr_copy(hn->ai.addr, addr); in mlx5e_add_l2_to_hash() 136 hn->action = MLX5E_ACTION_ADD; in mlx5e_add_l2_to_hash() 138 hlist_add_head(&hn->hlist, &hash[ix]); in mlx5e_add_l2_to_hash() 141 static void mlx5e_del_l2_from_hash(struct mlx5e_l2_hash_node *hn) in mlx5e_del_l2_from_hash() argument [all …]
|
D | en_arfs.c | 92 #define mlx5e_for_each_arfs_rule(hn, tmp, arfs_tables, i, j) \ argument 94 mlx5e_for_each_hash_arfs_rule(hn, tmp, arfs_tables[i].rules_hash, j) 96 #define mlx5e_for_each_hash_arfs_rule(hn, tmp, hash, j) \ argument 98 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist)
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | mpfs.h | 48 #define for_each_l2hash_node(hn, tmp, hash, i) \ argument 50 hlist_for_each_entry_safe(hn, tmp, &(hash)[i], hlist)
|
/linux-6.6.21/drivers/misc/sgi-gru/ |
D | gruhandles.h | 82 #define TYPE_IS(hn, h) ((h) >= GRU_##hn##_BASE && (h) < \ argument 83 GRU_##hn##_BASE + GRU_NUM_##hn * GRU_HANDLE_STRIDE && \
|
/linux-6.6.21/sound/firewire/digi00x/ |
D | amdtp-dot.c | 92 const u8 hn = (idx >> 4) & 0xf; in dot_scrt() local 93 const u8 hr = (hn == 0x9) ? 0x9 : hir[(hio[hn] + off) % 15]; in dot_scrt()
|
/linux-6.6.21/samples/bpf/ |
D | do_hbm_test.sh | 248 hn="::1" 251 hn=$server 255 ( ping6 -i 0.2 -c $m $hn > ping.out 2>&1 ) &
|
/linux-6.6.21/drivers/gpu/drm/sun4i/ |
D | sun8i_vi_layer.c | 110 u32 hn = 0, hm = 0; in sun8i_vi_layer_update_coord() local 198 hn = scanline; in sun8i_vi_layer_update_coord() 199 src_w = hn; in sun8i_vi_layer_update_coord() 216 SUN8I_MIXER_CHAN_VI_DS_N(hn) | in sun8i_vi_layer_update_coord() 220 SUN8I_MIXER_CHAN_VI_DS_N(hn) | in sun8i_vi_layer_update_coord()
|
/linux-6.6.21/net/sched/ |
D | cls_u32.c | 601 struct tc_u_hnode __rcu **hn; in u32_destroy_hnode() local 608 hn = &tp_c->hlist; in u32_destroy_hnode() 609 for (phn = rtnl_dereference(*hn); in u32_destroy_hnode() 611 hn = &phn->next, phn = rtnl_dereference(*hn)) { in u32_destroy_hnode() 616 RCU_INIT_POINTER(*hn, ht->next); in u32_destroy_hnode()
|
/linux-6.6.21/drivers/usb/host/ |
D | xhci-mtk-sch.c | 672 struct hlist_node *hn; in drop_ep_quirk() local 680 hn, hentry, (unsigned long)ep) { in drop_ep_quirk()
|