Searched refs:frag_size (Results 1 – 8 of 8) sorted by relevance
/net/core/ |
D | hwbm.c | 15 if (likely(bm_pool->frag_size <= PAGE_SIZE)) in hwbm_buf_free() 25 int frag_size = bm_pool->frag_size; in hwbm_pool_refill() local 28 if (likely(frag_size <= PAGE_SIZE)) in hwbm_pool_refill() 29 buf = netdev_alloc_frag(frag_size); in hwbm_pool_refill() 31 buf = kmalloc(frag_size, gfp); in hwbm_pool_refill()
|
D | xdp.c | 167 unsigned int napi_id, u32 frag_size) in __xdp_rxq_info_reg() argument 189 xdp_rxq->frag_size = frag_size; in __xdp_rxq_info_reg()
|
D | skbuff.c | 274 unsigned int frag_size) in __build_skb_around() argument 277 unsigned int size = frag_size ? : ksize(data); in __build_skb_around() 318 struct sk_buff *__build_skb(void *data, unsigned int frag_size) in __build_skb() argument 327 __build_skb_around(skb, data, frag_size); in __build_skb() 337 struct sk_buff *build_skb(void *data, unsigned int frag_size) in build_skb() argument 339 struct sk_buff *skb = __build_skb(data, frag_size); in build_skb() 341 if (skb && frag_size) { in build_skb() 357 void *data, unsigned int frag_size) in build_skb_around() argument 362 __build_skb_around(skb, data, frag_size); in build_skb_around() 364 if (frag_size) { in build_skb_around() [all …]
|
D | filter.c | 3949 u32 frag_size = skb_frag_size(&sinfo->frags[i]); in bpf_xdp_pointer() local 3951 if (offset < frag_size) { in bpf_xdp_pointer() 3953 size = frag_size; in bpf_xdp_pointer() 3956 offset -= frag_size; in bpf_xdp_pointer() 4023 if (!rxq->frag_size || rxq->frag_size > xdp->frame_sz) in bpf_xdp_frags_increase_tail() 4026 tailroom = rxq->frag_size - skb_frag_size(frag) - skb_frag_off(frag); in bpf_xdp_frags_increase_tail()
|
/net/wireless/ |
D | util.c | 678 int frag_len, frag_size; in __ieee80211_amsdu_copy_frag() local 684 frag_size = head_size; in __ieee80211_amsdu_copy_frag() 686 while (offset >= frag_size) { in __ieee80211_amsdu_copy_frag() 687 offset -= frag_size; in __ieee80211_amsdu_copy_frag() 690 frag_size = skb_frag_size(frag); in __ieee80211_amsdu_copy_frag() 695 frag_len = frag_size - offset; in __ieee80211_amsdu_copy_frag() 699 __frame_add_frag(frame, frag_page, frag_ptr, cur_len, frag_size); in __ieee80211_amsdu_copy_frag()
|
/net/ipv6/ |
D | ip6_output.c | 890 if (np && np->frag_size < mtu) { in ip6_fragment() 891 if (np->frag_size) in ip6_fragment() 892 mtu = np->frag_size; in ip6_fragment() 1450 if (np->frag_size < mtu) { in ip6_setup_cork() 1451 if (np->frag_size) in ip6_setup_cork() 1452 mtu = np->frag_size; in ip6_setup_cork()
|
D | ipv6_sockglue.c | 929 np->frag_size = val; in do_ipv6_setsockopt()
|
/net/bpf/ |
D | test_run.c | 1337 rxqueue->xdp_rxq.frag_size = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp() 1338 xdp_init_buff(&xdp, rxqueue->xdp_rxq.frag_size, &rxqueue->xdp_rxq); in bpf_prog_test_run_xdp()
|