Searched refs:fragsz (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/ |
A D | gfp.h | 641 unsigned int fragsz, gfp_t gfp_mask, 645 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc() argument 647 return page_frag_alloc_align(nc, fragsz, gfp_mask, ~0u); in page_frag_alloc()
|
A D | skbuff.h | 2875 void *__netdev_alloc_frag_align(unsigned int fragsz, unsigned int align_mask); 2884 static inline void *netdev_alloc_frag(unsigned int fragsz) in netdev_alloc_frag() argument 2886 return __netdev_alloc_frag_align(fragsz, ~0u); in netdev_alloc_frag() 2889 static inline void *netdev_alloc_frag_align(unsigned int fragsz, in netdev_alloc_frag_align() argument 2893 return __netdev_alloc_frag_align(fragsz, -align); in netdev_alloc_frag_align() 2953 void *__napi_alloc_frag_align(unsigned int fragsz, unsigned int align_mask); 2955 static inline void *napi_alloc_frag(unsigned int fragsz) in napi_alloc_frag() argument 2957 return __napi_alloc_frag_align(fragsz, ~0u); in napi_alloc_frag() 2960 static inline void *napi_alloc_frag_align(unsigned int fragsz, in napi_alloc_frag_align() argument 2964 return __napi_alloc_frag_align(fragsz, -align); in napi_alloc_frag_align()
|
/linux/net/bridge/netfilter/ |
A D | nf_conntrack_bridge.c | 138 u16 fragsz) in br_skb_cb_restore() argument 141 BR_INPUT_SKB_CB(skb)->frag_max_size = fragsz; in br_skb_cb_restore()
|
/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
A D | tx.c | 521 unsigned int fragsz = skb_frag_size(frag); in iwl_txq_gen2_tx_add_frags() local 524 if (!fragsz) in iwl_txq_gen2_tx_add_frags() 528 fragsz, DMA_TO_DEVICE); in iwl_txq_gen2_tx_add_frags() 531 fragsz, out_meta); in iwl_txq_gen2_tx_add_frags()
|
/linux/net/core/ |
A D | skbuff.c | 139 void *__napi_alloc_frag_align(unsigned int fragsz, unsigned int align_mask) in __napi_alloc_frag_align() argument 143 fragsz = SKB_DATA_ALIGN(fragsz); in __napi_alloc_frag_align() 145 return page_frag_alloc_align(&nc->page, fragsz, GFP_ATOMIC, align_mask); in __napi_alloc_frag_align() 149 void *__netdev_alloc_frag_align(unsigned int fragsz, unsigned int align_mask) in __netdev_alloc_frag_align() argument 153 fragsz = SKB_DATA_ALIGN(fragsz); in __netdev_alloc_frag_align() 157 data = page_frag_alloc_align(nc, fragsz, GFP_ATOMIC, align_mask); in __netdev_alloc_frag_align() 163 data = page_frag_alloc_align(&nc->page, fragsz, GFP_ATOMIC, align_mask); in __netdev_alloc_frag_align()
|
/linux/drivers/net/ |
A D | tun.c | 1453 size_t fragsz = it->iov[i].iov_len; in tun_napi_alloc_frags() local 1457 if (fragsz == 0 || fragsz > PAGE_SIZE) { in tun_napi_alloc_frags() 1461 frag = netdev_alloc_frag(fragsz); in tun_napi_alloc_frags() 1468 frag - page_address(page), fragsz); in tun_napi_alloc_frags()
|
/linux/mm/ |
A D | page_alloc.c | 5513 unsigned int fragsz, gfp_t gfp_mask, in page_frag_alloc_align() argument 5541 offset = nc->offset - fragsz; in page_frag_alloc_align() 5562 offset = size - fragsz; in page_frag_alloc_align()
|
Completed in 64 milliseconds