Home
last modified time | relevance | path

Searched refs:fragsz (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c138 u16 fragsz) in br_skb_cb_restore() argument
141 BR_INPUT_SKB_CB(skb)->frag_max_size = fragsz; in br_skb_cb_restore()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c597 unsigned int fragsz = skb_frag_size(frag); in iwl_txq_gen2_tx_add_frags() local
600 if (!fragsz) in iwl_txq_gen2_tx_add_frags()
604 fragsz, DMA_TO_DEVICE); in iwl_txq_gen2_tx_add_frags()
607 fragsz, out_meta); in iwl_txq_gen2_tx_add_frags()
/kernel/linux/linux-5.10/include/linux/
Dgfp.h600 unsigned int fragsz, gfp_t gfp_mask);
Dskbuff.h2812 void *netdev_alloc_frag(unsigned int fragsz);
2871 void *napi_alloc_frag(unsigned int fragsz);
/kernel/linux/linux-5.10/net/core/
Dskbuff.c377 static void *__napi_alloc_frag(unsigned int fragsz, gfp_t gfp_mask) in __napi_alloc_frag() argument
381 return page_frag_alloc(&nc->page, fragsz, gfp_mask); in __napi_alloc_frag()
384 void *napi_alloc_frag(unsigned int fragsz) in napi_alloc_frag() argument
386 fragsz = SKB_DATA_ALIGN(fragsz); in napi_alloc_frag()
388 return __napi_alloc_frag(fragsz, GFP_ATOMIC); in napi_alloc_frag()
399 void *netdev_alloc_frag(unsigned int fragsz) in netdev_alloc_frag() argument
404 fragsz = SKB_DATA_ALIGN(fragsz); in netdev_alloc_frag()
407 data = page_frag_alloc(nc, fragsz, GFP_ATOMIC); in netdev_alloc_frag()
410 data = __napi_alloc_frag(fragsz, GFP_ATOMIC); in netdev_alloc_frag()
/kernel/linux/linux-5.10/drivers/net/
Dtun.c1487 size_t fragsz = it->iov[i].iov_len; in tun_napi_alloc_frags() local
1491 if (fragsz == 0 || fragsz > PAGE_SIZE) { in tun_napi_alloc_frags()
1495 frag = netdev_alloc_frag(fragsz); in tun_napi_alloc_frags()
1502 frag - page_address(page), fragsz); in tun_napi_alloc_frags()
/kernel/linux/linux-5.10/mm/
Dpage_alloc.c5156 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc() argument
5183 offset = nc->offset - fragsz; in page_frag_alloc()
5204 offset = size - fragsz; in page_frag_alloc()