Home
last modified time | relevance | path

Searched refs:num_hdrs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/rds/
Dib_cm.c443 struct rds_header **hdrs, dma_addr_t *dma_addrs, u32 num_hdrs, in rds_dma_hdrs_free() argument
448 for (i = 0; i < num_hdrs; i++) in rds_dma_hdrs_free()
467 dma_addr_t **dma_addrs, u32 num_hdrs, in rds_dma_hdrs_alloc() argument
474 hdrs = kvmalloc_node(sizeof(*hdrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
479 hdr_daddrs = kvmalloc_node(sizeof(*hdr_daddrs) * num_hdrs, GFP_KERNEL, in rds_dma_hdrs_alloc()
486 for (i = 0; i < num_hdrs; i++) { in rds_dma_hdrs_alloc()
/linux-6.1.9/net/core/
Dflow_dissector.c814 static bool skb_flow_dissect_allowed(int *num_hdrs) in skb_flow_dissect_allowed() argument
816 ++*num_hdrs; in skb_flow_dissect_allowed()
818 return (*num_hdrs <= MAX_FLOW_DISSECT_HDRS); in skb_flow_dissect_allowed()
961 int num_hdrs = 0; in __skb_flow_dissect() local
1401 if (skb_flow_dissect_allowed(&num_hdrs)) in __skb_flow_dissect()
1544 if (skb_flow_dissect_allowed(&num_hdrs)) in __skb_flow_dissect()
1548 if (skb_flow_dissect_allowed(&num_hdrs)) in __skb_flow_dissect()