/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 124 unsigned int depth = ep->re_max_fr_depth; in frwr_mr_init() local 128 sg = kcalloc_node(depth, sizeof(*sg), XPRTRDMA_GFP_FLAGS, in frwr_mr_init() 133 frmr = ib_alloc_mr(ep->re_pd, ep->re_mrtype, depth); in frwr_mr_init() 144 sg_init_table(sg, depth); in frwr_mr_init() 174 int max_qp_wr, depth, delta; in frwr_query_device() local 217 depth = 7; in frwr_query_device() 225 depth += 2; /* FRWR reg + invalidate */ in frwr_query_device() 237 ep->re_attr.cap.max_send_wr = ep->re_max_requests * depth; in frwr_query_device() 239 ep->re_max_requests = max_qp_wr / depth; in frwr_query_device() 242 ep->re_attr.cap.max_send_wr = ep->re_max_requests * depth; in frwr_query_device()
|
/net/tipc/ |
D | netlink_compat.c | 874 u32 depth; in tipc_nl_compat_name_table_dump_header() local 887 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header() 889 if (depth > 4) in tipc_nl_compat_name_table_dump_header() 890 depth = 4; in tipc_nl_compat_name_table_dump_header() 891 for (i = 0; i < depth; i++) in tipc_nl_compat_name_table_dump_header() 905 u32 node, depth, type, lowbound, upbound; in tipc_nl_compat_name_table_dump() local 930 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump() 935 if (!(depth & TIPC_NTQ_ALLTYPES) && in tipc_nl_compat_name_table_dump() 946 if (depth == 1) in tipc_nl_compat_name_table_dump() 953 if (depth == 2) in tipc_nl_compat_name_table_dump() [all …]
|
/net/bridge/ |
D | br_forward.c | 43 int depth; in br_dev_queue_push_xmit() local 45 if (!vlan_get_protocol_and_depth(skb, skb->protocol, &depth)) in br_dev_queue_push_xmit() 48 skb_set_network_header(skb, depth); in br_dev_queue_push_xmit()
|
/net/ipv4/ |
D | fib_trie.c | 2447 unsigned int depth; member 2457 iter->tnode, iter->index, iter->depth); in fib_trie_get_next() 2473 ++iter->depth; in fib_trie_get_next() 2483 --iter->depth; in fib_trie_get_next() 2509 iter->depth = 1; in fib_trie_get_first() 2513 iter->depth = 0; in fib_trie_get_first() 2532 s->totdepth += iter.depth; in trie_collect_stats() 2533 if (iter.depth > s->maxdepth) in trie_collect_stats() 2534 s->maxdepth = iter.depth; in trie_collect_stats() 2804 seq_indent(seq, iter->depth-1); in fib_trie_seq_show() [all …]
|
D | tcp_metrics.c | 222 static struct tcp_metrics_block *tcp_get_encode(struct tcp_metrics_block *tm, int depth) in tcp_get_encode() argument 226 if (depth > TCP_METRICS_RECLAIM_DEPTH) in tcp_get_encode() 236 int depth = 0; in __tcp_get_metrics() local 244 depth++; in __tcp_get_metrics() 246 return tcp_get_encode(tm, depth); in __tcp_get_metrics()
|
D | route.c | 647 int depth; in update_or_create_fnhe() local 664 depth = 0; in update_or_create_fnhe() 669 depth++; in update_or_create_fnhe() 694 while (depth > max_depth) { in update_or_create_fnhe() 696 depth--; in update_or_create_fnhe()
|
/net/openvswitch/ |
D | flow_netlink.c | 2548 u32 depth); 2555 u32 depth) in validate_and_copy_sample() argument 2607 depth + 1); in validate_and_copy_sample() 2623 u32 depth) in validate_and_copy_dec_ttl() argument 2667 depth + 1); in validate_and_copy_dec_ttl() 2682 u32 depth) in validate_and_copy_clone() argument 2703 depth + 1); in validate_and_copy_clone() 3072 bool log, bool last, u32 depth) in validate_and_copy_check_pkt_len() argument 3121 depth + 1); in validate_and_copy_check_pkt_len() 3135 depth + 1); in validate_and_copy_check_pkt_len() [all …]
|
/net/sched/ |
D | cls_flower.c | 835 u8 depth; in fl_set_key_mpls_lse() local 848 depth = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_DEPTH]); in fl_set_key_mpls_lse() 853 if (depth < 1 || depth > FLOW_DIS_MPLS_MAX) { in fl_set_key_mpls_lse() 859 lse_index = depth - 1; in fl_set_key_mpls_lse() 1149 int depth, int option_len, in fl_set_geneve_opt() argument 1171 if (!depth) in fl_set_geneve_opt() 1237 int depth, int option_len, in fl_set_vxlan_opt() argument 1247 if (!depth) in fl_set_vxlan_opt() 1274 int depth, int option_len, in fl_set_erspan_opt() argument 1285 if (!depth) in fl_set_erspan_opt() [all …]
|
D | sch_sfq.c | 673 if (ctl_v1->depth) in sfq_change() 674 q->maxdepth = min_t(u32, ctl_v1->depth, SFQ_MAX_DEPTH); in sfq_change() 804 opt.depth = q->maxdepth; in sfq_dump()
|
D | sch_api.c | 1424 int depth; member 1430 static int check_loop(struct Qdisc *q, struct Qdisc *p, int depth) in check_loop() argument 1439 arg.depth = depth; in check_loop() 1454 if (leaf == arg->p || arg->depth > 7) in check_loop_fn() 1456 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
|
D | Kconfig | 54 in-depth articles. 581 ematches. Limits the depth of the tree, i.e. the number of
|
/net/ipv6/ |
D | route.c | 1467 WARN_ON_ONCE(!bucket->depth); in rt6_remove_exception() 1468 bucket->depth--; in rt6_remove_exception() 1715 bucket->depth++; in rt6_insert_exception() 1720 while (bucket->depth > max_depth) in rt6_insert_exception() 1760 WARN_ON_ONCE(!from && bucket->depth); in fib6_nh_flush_exceptions()
|
/net/packet/ |
D | af_packet.c | 1932 int depth; in packet_parse_headers() local 1943 vlan_get_protocol_and_depth(skb, skb->protocol, &depth) != 0) in packet_parse_headers() 1944 skb_set_network_header(skb, depth); in packet_parse_headers()
|
/net/core/ |
D | dev.c | 3376 __be16 skb_network_protocol(struct sk_buff *skb, int *depth) in skb_network_protocol() argument 3391 return vlan_get_protocol_and_depth(skb, type, depth); in skb_network_protocol()
|