Searched refs:fragsz (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | gfp.h | 308 unsigned int fragsz, gfp_t gfp_mask, 312 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc() argument 314 return page_frag_alloc_align(nc, fragsz, gfp_mask, ~0u); in page_frag_alloc()
|
H A D | skbuff.h | 3206 void *__netdev_alloc_frag_align(unsigned int fragsz, unsigned int align_mask); 3215 static inline void *netdev_alloc_frag(unsigned int fragsz) in netdev_alloc_frag() argument 3217 return __netdev_alloc_frag_align(fragsz, ~0u); in netdev_alloc_frag() 3220 static inline void *netdev_alloc_frag_align(unsigned int fragsz, in netdev_alloc_frag_align() argument 3224 return __netdev_alloc_frag_align(fragsz, -align); in netdev_alloc_frag_align() 3284 void *__napi_alloc_frag_align(unsigned int fragsz, unsigned int align_mask); 3286 static inline void *napi_alloc_frag(unsigned int fragsz) in napi_alloc_frag() argument 3288 return __napi_alloc_frag_align(fragsz, ~0u); in napi_alloc_frag() 3291 static inline void *napi_alloc_frag_align(unsigned int fragsz, in napi_alloc_frag_align() argument 3295 return __napi_alloc_frag_align(fragsz, -align); in napi_alloc_frag_align()
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 139 u16 fragsz) in br_skb_cb_restore() argument 142 BR_INPUT_SKB_CB(skb)->frag_max_size = fragsz; in br_skb_cb_restore()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 532 unsigned int fragsz = skb_frag_size(frag); in iwl_txq_gen2_tx_add_frags() local 535 if (!fragsz) in iwl_txq_gen2_tx_add_frags() 539 fragsz, DMA_TO_DEVICE); in iwl_txq_gen2_tx_add_frags() 542 fragsz, out_meta); in iwl_txq_gen2_tx_add_frags()
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 293 void *__napi_alloc_frag_align(unsigned int fragsz, unsigned int align_mask) in __napi_alloc_frag_align() argument 297 fragsz = SKB_DATA_ALIGN(fragsz); in __napi_alloc_frag_align() 299 return page_frag_alloc_align(&nc->page, fragsz, GFP_ATOMIC, align_mask); in __napi_alloc_frag_align() 303 void *__netdev_alloc_frag_align(unsigned int fragsz, unsigned int align_mask) in __netdev_alloc_frag_align() argument 307 fragsz = SKB_DATA_ALIGN(fragsz); in __netdev_alloc_frag_align() 311 data = page_frag_alloc_align(nc, fragsz, GFP_ATOMIC, align_mask); in __netdev_alloc_frag_align() 317 data = page_frag_alloc_align(&nc->page, fragsz, GFP_ATOMIC, align_mask); in __netdev_alloc_frag_align()
|
/openbmc/linux/drivers/net/ |
H A D | tun.c | 1491 size_t fragsz = iov->iov_len; in tun_napi_alloc_frags() local 1495 if (fragsz == 0 || fragsz > PAGE_SIZE) { in tun_napi_alloc_frags() 1499 frag = netdev_alloc_frag(fragsz); in tun_napi_alloc_frags() 1506 frag - page_address(page), fragsz); in tun_napi_alloc_frags()
|
/openbmc/linux/mm/ |
H A D | page_alloc.c | 4594 unsigned int fragsz, gfp_t gfp_mask, in page_frag_alloc_align() argument 4622 offset = nc->offset - fragsz; in page_frag_alloc_align() 4643 offset = size - fragsz; in page_frag_alloc_align()
|