Home
last modified time | relevance | path

Searched refs:tnode (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/networking/
H A Dfib_trie.rst14 trie node or tnode
15 An internal node, holding an array of child (leaf or tnode) pointers,
20 Bits (tnode)
24 Pos (tnode)
29 Any given tnode is linked to from the child array of its parent, using
31 In certain cases, this tnode's own "pos" will not be immediately
42 instead of a pure binary tree, each internal node ("tnode") may
44 Conversely, a tnode with a mostly empty child array (see empty_children)
49 the number of positions in the child array of a given tnode that are
53 the number of children of a given tnode that aren't path compressed.
[all …]
/linux/lib/
H A Dlwq.c76 struct tnode { struct
86 struct tnode *t; in lwq_exercise() argument
89 wait_var_event(q, (t = lwq_dequeue(q, struct tnode, n)) != NULL); in lwq_exercise()
104 struct tnode *t; in lwq_test()
131 t = lwq_dequeue(&q, struct tnode, n); in lwq_test()
149 while ((t = lwq_dequeue(&q, struct tnode, n)) != NULL) { in lwq_test()
/linux/net/ipv4/
H A Dfib_trie.c131 DECLARE_FLEX_ARRAY(struct key_vector __rcu *, tnode);
135 struct tnode {
144 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n])
190 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info()
192 return container_of(kv, struct tnode, kv[0]); in tn_info()
197 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i])
201 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i])
251 * if n is an internal node - a 'tnode' here, the various parts of its key
306 struct tnode * in __node_free_rcu()
134 struct tnode { global() struct
143 kvtnode global() argument
375 struct tnode *tnode; tnode_new() local
2418 struct key_vector *tnode; global() member
2819 struct key_vector *tnode; global() member
[all...]
/linux/net/bridge/
H A Dbr_vlan_tunnel.c29 .head_offset = offsetof(struct net_bridge_vlan, tnode),
58 rhashtable_remove_fast(&vg->tunnel_hash, &vlan->tnode, in vlan_tunnel_info_del()
83 err = rhashtable_lookup_insert_fast(&vg->tunnel_hash, &vlan->tnode, in __vlan_tunnel_info_add()
H A Dbr_private.h208 * @tnode: rhashtable member
236 struct rhash_head tnode;
223 struct rhash_head tnode; global() member
/linux/drivers/counter/
H A Dstm32-timer-cnt.c685 struct device_node *tnode = NULL, *pnode = parent->of_node; in stm32_timer_cnt_probe_encoder() local
696 for (i = 0; i < ARRAY_SIZE(stm32_timer_trigger_compat) && !tnode; i++) in stm32_timer_cnt_probe_encoder()
697 tnode = of_get_compatible_child(pnode, stm32_timer_trigger_compat[i]); in stm32_timer_cnt_probe_encoder()
698 if (!tnode) { in stm32_timer_cnt_probe_encoder()
703 ret = of_property_read_u32(tnode, "reg", &idx); in stm32_timer_cnt_probe_encoder()
704 of_node_put(tnode); in stm32_timer_cnt_probe_encoder()
/linux/drivers/of/
H A Dirq.c248 struct device_node *ipar, *tnode, *old = NULL; in of_irq_parse_raw() local
268 tnode = ipar; in of_irq_parse_raw()
270 of_node_put(tnode); in of_irq_parse_raw()
288 tnode = of_get_parent(old); in of_irq_parse_raw()
290 old = tnode; in of_irq_parse_raw()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c3532 struct npc_defrag_node *node, *tnode = NULL;
3547 tnode = node; in npc_subbank_min_vidx()
3551 return tnode; in npc_subbank_min_vidx()
3557 struct npc_defrag_node *node, *tnode = NULL;
3566 tnode = node; in npc_subbank_max_free()
3570 return tnode; in npc_subbank_max_free()
4067 struct npc_defrag_node *node, *tnode;
4137 tnode = &node[sb->idx]; in npc_cn20k_defrag()
4138 tnode->vidx[tnode in npc_cn20k_defrag()
3536 struct npc_defrag_node *node, *tnode = NULL; npc_subbank_min_vidx() local
3561 struct npc_defrag_node *node, *tnode = NULL; npc_subbank_max_free() local
4071 struct npc_defrag_node *node, *tnode; npc_cn20k_defrag() local
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.h192 struct kern_tid_node tnode[TID_RDMA_MAX_PAGES]; member
H A Dtid_rdma.c1208 struct kern_tid_node *node = &flow->tnode[flow->tnode_cnt++]; in kern_add_tid_node()
1305 struct kern_tid_node *node = &flow->tnode[grp_num]; in kern_program_rcv_group()
1372 struct kern_tid_node *node = &flow->tnode[grp_num]; in kern_unprogram_rcv_group()
/linux/kernel/bpf/
H A Dcore.c614 return container_of(n, struct bpf_ksym, tnode)->start; in bpf_tree_comp()
628 ksym = container_of(n, struct bpf_ksym, tnode); in bpf_tree_comp()
656 latch_tree_insert(&ksym->tnode, &bpf_tree, &bpf_tree_ops); in __bpf_ksym_del()
664 latch_tree_erase(&ksym->tnode, &bpf_tree, &bpf_tree_ops); in bpf_ksym_del()
727 return n ? container_of(n, struct bpf_ksym, tnode) : NULL; in bpf_address_lookup()
/linux/security/selinux/ss/
H A Dservices.c633 struct ebitmap_node *snode, *tnode; in context_struct_compute_av() local
659 ebitmap_for_each_positive_bit(tattr, tnode, j) { in context_struct_compute_av()
1042 struct ebitmap_node *snode, *tnode; in security_compute_xperms_decision() local
1092 ebitmap_for_each_positive_bit(tattr, tnode, j) { in security_compute_xperms_decision()
/linux/include/linux/
H A Dbpf.h1425 struct latch_tree_node tnode;
1356 struct latch_tree_node tnode; global() member