Home
last modified time | relevance | path

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

/net/sunrpc/xprtrdma/
Dfrwr_ops.c100 unsigned int depth = ia->ri_max_frmr_depth; in frwr_op_init_mr() local
104 f->fr_mr = ib_alloc_mr(ia->ri_pd, IB_MR_TYPE_MEM_REG, depth); in frwr_op_init_mr()
108 r->mw_sg = kcalloc(depth, sizeof(*r->mw_sg), GFP_KERNEL); in frwr_op_init_mr()
112 sg_init_table(r->mw_sg, depth); in frwr_op_init_mr()
213 int depth, delta; in frwr_op_open() local
230 depth = 7; in frwr_op_open()
238 depth += 2; /* FRMR reg + invalidate */ in frwr_op_open()
243 ep->rep_attr.cap.max_send_wr *= depth; in frwr_op_open()
245 cdata->max_requests = ia->ri_device->attrs.max_qp_wr / depth; in frwr_op_open()
249 depth; in frwr_op_open()
/net/tipc/
Dnetlink_compat.c762 u32 depth; in tipc_nl_compat_name_table_dump_header() local
773 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header()
775 if (depth > 4) in tipc_nl_compat_name_table_dump_header()
776 depth = 4; in tipc_nl_compat_name_table_dump_header()
777 for (i = 0; i < depth; i++) in tipc_nl_compat_name_table_dump_header()
791 u32 node, depth, type, lowbound, upbound; in tipc_nl_compat_name_table_dump() local
814 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump()
819 if (!(depth & TIPC_NTQ_ALLTYPES) && in tipc_nl_compat_name_table_dump()
830 if (depth == 1) in tipc_nl_compat_name_table_dump()
837 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/
Dinet_fragment.c398 int depth = 0; in inet_frag_find() local
413 depth++; in inet_frag_find()
417 if (depth <= INETFRAGS_MAXDEPTH) in inet_frag_find()
Dfib_trie.c2054 unsigned int depth; member
2064 iter->tnode, iter->index, iter->depth); in fib_trie_get_next()
2080 ++iter->depth; in fib_trie_get_next()
2090 --iter->depth; in fib_trie_get_next()
2116 iter->depth = 1; in fib_trie_get_first()
2120 iter->depth = 0; in fib_trie_get_first()
2139 s->totdepth += iter.depth; in trie_collect_stats()
2140 if (iter.depth > s->maxdepth) in trie_collect_stats()
2141 s->maxdepth = iter.depth; in trie_collect_stats()
2421 seq_indent(seq, iter->depth-1); in fib_trie_seq_show()
[all …]
Dtcp_metrics.c207 static struct tcp_metrics_block *tcp_get_encode(struct tcp_metrics_block *tm, int depth) in tcp_get_encode() argument
211 if (depth > TCP_METRICS_RECLAIM_DEPTH) in tcp_get_encode()
221 int depth = 0; in __tcp_get_metrics() local
229 depth++; in __tcp_get_metrics()
231 return tcp_get_encode(tm, depth); in __tcp_get_metrics()
Droute.c641 int depth; in update_or_create_fnhe() local
658 depth = 0; in update_or_create_fnhe()
663 depth++; in update_or_create_fnhe()
682 if (depth > FNHE_RECLAIM_DEPTH) in update_or_create_fnhe()
/net/sched/
Dsch_api.c1077 int depth; member
1083 static int check_loop(struct Qdisc *q, struct Qdisc *p, int depth) in check_loop() argument
1092 arg.depth = depth; in check_loop()
1107 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1109 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
Dsch_sfq.c657 if (ctl_v1->depth) in sfq_change()
658 q->maxdepth = min_t(u32, ctl_v1->depth, SFQ_MAX_DEPTH); in sfq_change()
782 opt.depth = q->maxdepth; in sfq_dump()
DKconfig70 in-depth articles.
526 ematches. Limits the depth of the tree, i.e. the number of
/net/openvswitch/
Dflow_netlink.c1945 int depth, struct sw_flow_actions **sfa,
1949 const struct sw_flow_key *key, int depth, in validate_and_copy_sample() argument
1988 err = __ovs_nla_copy_actions(net, actions, key, depth + 1, sfa, in validate_and_copy_sample()
2326 int depth, struct sw_flow_actions **sfa, in __ovs_nla_copy_actions() argument
2332 if (depth >= SAMPLE_ACTION_DEPTH) in __ovs_nla_copy_actions()
2465 err = validate_and_copy_sample(net, a, key, depth, sfa, in __ovs_nla_copy_actions()
/net/core/
Ddev.c2659 __be16 skb_network_protocol(struct sk_buff *skb, int *depth) in skb_network_protocol() argument
2674 return __vlan_get_protocol(skb, type, depth); in skb_network_protocol()