Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 10 of 10) sorted by relevance

/net/sunrpc/xprtrdma/
Dfrwr_ops.c101 unsigned int depth = ia->ri_max_frmr_depth; in frwr_op_init_mr() local
105 f->fr_mr = ib_alloc_mr(ia->ri_pd, ia->ri_mrtype, depth); in frwr_op_init_mr()
109 r->mw_sg = kcalloc(depth, sizeof(*r->mw_sg), GFP_KERNEL); in frwr_op_init_mr()
113 sg_init_table(r->mw_sg, depth); in frwr_op_init_mr()
211 int depth, delta; in frwr_op_open() local
232 depth = 7; in frwr_op_open()
240 depth += 2; /* FRMR reg + invalidate */ in frwr_op_open()
245 ep->rep_attr.cap.max_send_wr *= depth; in frwr_op_open()
247 cdata->max_requests = attrs->max_qp_wr / depth; in frwr_op_open()
251 depth; in frwr_op_open()
/net/tipc/
Dnetlink_compat.c839 u32 depth; in tipc_nl_compat_name_table_dump_header() local
852 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header()
854 if (depth > 4) in tipc_nl_compat_name_table_dump_header()
855 depth = 4; in tipc_nl_compat_name_table_dump_header()
856 for (i = 0; i < depth; i++) in tipc_nl_compat_name_table_dump_header()
870 u32 node, depth, type, lowbound, upbound; in tipc_nl_compat_name_table_dump() local
893 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump()
898 if (!(depth & TIPC_NTQ_ALLTYPES) && in tipc_nl_compat_name_table_dump()
909 if (depth == 1) in tipc_nl_compat_name_table_dump()
916 if (depth == 2) in tipc_nl_compat_name_table_dump()
[all …]
/net/bridge/
Dbr_forward.c47 int depth; in br_dev_queue_push_xmit() local
49 if (!__vlan_get_protocol(skb, skb->protocol, &depth)) in br_dev_queue_push_xmit()
52 skb_set_network_header(skb, depth); in br_dev_queue_push_xmit()
/net/ipv4/
Dfib_trie.c2127 unsigned int depth; member
2137 iter->tnode, iter->index, iter->depth); in fib_trie_get_next()
2153 ++iter->depth; in fib_trie_get_next()
2163 --iter->depth; in fib_trie_get_next()
2189 iter->depth = 1; in fib_trie_get_first()
2193 iter->depth = 0; in fib_trie_get_first()
2212 s->totdepth += iter.depth; in trie_collect_stats()
2213 if (iter.depth > s->maxdepth) in trie_collect_stats()
2214 s->maxdepth = iter.depth; in trie_collect_stats()
2494 seq_indent(seq, iter->depth-1); in fib_trie_seq_show()
[all …]
Dtcp_metrics.c204 static struct tcp_metrics_block *tcp_get_encode(struct tcp_metrics_block *tm, int depth) in tcp_get_encode() argument
208 if (depth > TCP_METRICS_RECLAIM_DEPTH) in tcp_get_encode()
218 int depth = 0; in __tcp_get_metrics() local
226 depth++; in __tcp_get_metrics()
228 return tcp_get_encode(tm, depth); in __tcp_get_metrics()
Droute.c663 int depth; in update_or_create_fnhe() local
680 depth = 0; in update_or_create_fnhe()
685 depth++; in update_or_create_fnhe()
706 if (depth > FNHE_RECLAIM_DEPTH) in update_or_create_fnhe()
/net/sched/
Dsch_api.c1178 int depth; member
1184 static int check_loop(struct Qdisc *q, struct Qdisc *p, int depth) in check_loop() argument
1193 arg.depth = depth; in check_loop()
1208 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1210 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
Dsch_sfq.c663 if (ctl_v1->depth) in sfq_change()
664 q->maxdepth = min_t(u32, ctl_v1->depth, SFQ_MAX_DEPTH); in sfq_change()
793 opt.depth = q->maxdepth; in sfq_dump()
DKconfig70 in-depth articles.
571 ematches. Limits the depth of the tree, i.e. the number of
/net/core/
Ddev.c2710 __be16 skb_network_protocol(struct sk_buff *skb, int *depth) in skb_network_protocol() argument
2725 return __vlan_get_protocol(skb, type, depth); in skb_network_protocol()