pfrag 576 drivers/net/ethernet/mellanox/mlx4/en_tx.c void **pfrag) pfrag 587 drivers/net/ethernet/mellanox/mlx4/en_tx.c *pfrag = ptr; pfrag 611 drivers/net/ethernet/mellanox/mlx4/en_tx.c void **pfrag) pfrag 638 drivers/net/ethernet/mellanox/mlx4/en_tx.c shinfo, pfrag); pfrag 2121 drivers/scsi/be2iscsi/be_main.c psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; pfrag 2210 drivers/scsi/be2iscsi/be_main.c psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; pfrag 2313 drivers/scsi/be2iscsi/be_main.c psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; pfrag 3884 drivers/scsi/be2iscsi/be_main.c struct iscsi_sge *pfrag; pfrag 3962 drivers/scsi/be2iscsi/be_main.c pfrag = mem_descr_sg->mem_array[idx].virtual_address; pfrag 3973 drivers/scsi/be2iscsi/be_main.c psgl_handle->pfrag = pfrag; pfrag 3974 drivers/scsi/be2iscsi/be_main.c AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, pfrag, 0); pfrag 3975 drivers/scsi/be2iscsi/be_main.c AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, pfrag, 0); pfrag 3976 drivers/scsi/be2iscsi/be_main.c pfrag += phba->params.num_sge_per_io; pfrag 213 drivers/scsi/be2iscsi/be_main.h struct iscsi_sge *pfrag; pfrag 646 drivers/vhost/net.c struct page_frag *pfrag, gfp_t gfp) pfrag 648 drivers/vhost/net.c if (pfrag->page) { pfrag 649 drivers/vhost/net.c if (pfrag->offset + sz <= pfrag->size) pfrag 651 drivers/vhost/net.c __page_frag_cache_drain(pfrag->page, net->refcnt_bias); pfrag 654 drivers/vhost/net.c pfrag->offset = 0; pfrag 658 drivers/vhost/net.c pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | pfrag 662 drivers/vhost/net.c if (likely(pfrag->page)) { pfrag 663 drivers/vhost/net.c pfrag->size = PAGE_SIZE << SKB_FRAG_PAGE_ORDER; pfrag 667 drivers/vhost/net.c pfrag->page = alloc_page(gfp); pfrag 668 drivers/vhost/net.c if (likely(pfrag->page)) { pfrag 669 drivers/vhost/net.c pfrag->size = PAGE_SIZE; pfrag 676 drivers/vhost/net.c page_ref_add(pfrag->page, USHRT_MAX - 1); pfrag 180 fs/ceph/inode.c struct ceph_inode_frag *pfrag, int *found) pfrag 196 fs/ceph/inode.c if (pfrag) pfrag 197 fs/ceph/inode.c memcpy(pfrag, frag, sizeof(*pfrag)); pfrag 222 fs/ceph/inode.c struct ceph_inode_frag *pfrag, int *found) pfrag 226 fs/ceph/inode.c ret = __ceph_choose_frag(ci, v, pfrag, found); pfrag 618 fs/ceph/super.h struct ceph_inode_frag *pfrag, pfrag 3056 include/linux/skbuff.h bool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t prio); pfrag 2266 include/net/sock.h bool sk_page_frag_refill(struct sock *sk, struct page_frag *pfrag); pfrag 2279 net/core/skbuff.c struct page_frag *pfrag = sk_page_frag(sk); pfrag 2281 net/core/skbuff.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 2284 net/core/skbuff.c *len = min_t(unsigned int, *len, pfrag->size - pfrag->offset); pfrag 2286 net/core/skbuff.c memcpy(page_address(pfrag->page) + pfrag->offset, pfrag 2288 net/core/skbuff.c *offset = pfrag->offset; pfrag 2289 net/core/skbuff.c pfrag->offset += *len; pfrag 2291 net/core/skbuff.c return pfrag->page; pfrag 28 net/core/skmsg.c struct page_frag *pfrag = sk_page_frag(sk); pfrag 37 net/core/skmsg.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 40 net/core/skmsg.c orig_offset = pfrag->offset; pfrag 41 net/core/skmsg.c use = min_t(int, len, pfrag->size - orig_offset); pfrag 50 net/core/skmsg.c sg_page(sge) == pfrag->page && pfrag 61 net/core/skmsg.c sg_set_page(sge, pfrag->page, use, orig_offset); pfrag 62 net/core/skmsg.c get_page(pfrag->page); pfrag 68 net/core/skmsg.c pfrag->offset += use; pfrag 2363 net/core/sock.c bool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp) pfrag 2365 net/core/sock.c if (pfrag->page) { pfrag 2366 net/core/sock.c if (page_ref_count(pfrag->page) == 1) { pfrag 2367 net/core/sock.c pfrag->offset = 0; pfrag 2370 net/core/sock.c if (pfrag->offset + sz <= pfrag->size) pfrag 2372 net/core/sock.c put_page(pfrag->page); pfrag 2375 net/core/sock.c pfrag->offset = 0; pfrag 2379 net/core/sock.c pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | pfrag 2383 net/core/sock.c if (likely(pfrag->page)) { pfrag 2384 net/core/sock.c pfrag->size = PAGE_SIZE << SKB_FRAG_PAGE_ORDER; pfrag 2388 net/core/sock.c pfrag->page = alloc_page(gfp); pfrag 2389 net/core/sock.c if (likely(pfrag->page)) { pfrag 2390 net/core/sock.c pfrag->size = PAGE_SIZE; pfrag 2397 net/core/sock.c bool sk_page_frag_refill(struct sock *sk, struct page_frag *pfrag) pfrag 2399 net/core/sock.c if (likely(skb_page_frag_refill(32U, pfrag, sk->sk_allocation))) pfrag 301 net/ipv4/esp4.c struct page_frag *pfrag = &x->xfrag; pfrag 309 net/ipv4/esp4.c if (unlikely(!skb_page_frag_refill(allocsize, pfrag, GFP_ATOMIC))) { pfrag 314 net/ipv4/esp4.c page = pfrag->page; pfrag 319 net/ipv4/esp4.c tail = vaddr + pfrag->offset; pfrag 327 net/ipv4/esp4.c __skb_fill_page_desc(skb, nfrags, page, pfrag->offset, pfrag 331 net/ipv4/esp4.c pfrag->offset = pfrag->offset + allocsize; pfrag 419 net/ipv4/esp4.c struct page_frag *pfrag = &x->xfrag; pfrag 424 net/ipv4/esp4.c if (unlikely(!skb_page_frag_refill(allocsize, pfrag, GFP_ATOMIC))) { pfrag 431 net/ipv4/esp4.c page = pfrag->page; pfrag 434 net/ipv4/esp4.c __skb_fill_page_desc(skb, 0, page, pfrag->offset, skb->data_len); pfrag 435 net/ipv4/esp4.c pfrag->offset = pfrag->offset + allocsize; pfrag 957 net/ipv4/ip_output.c struct page_frag *pfrag, pfrag 1185 net/ipv4/ip_output.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 1188 net/ipv4/ip_output.c if (!skb_can_coalesce(skb, i, pfrag->page, pfrag 1189 net/ipv4/ip_output.c pfrag->offset)) { pfrag 1194 net/ipv4/ip_output.c __skb_fill_page_desc(skb, i, pfrag->page, pfrag 1195 net/ipv4/ip_output.c pfrag->offset, 0); pfrag 1197 net/ipv4/ip_output.c get_page(pfrag->page); pfrag 1199 net/ipv4/ip_output.c copy = min_t(int, copy, pfrag->size - pfrag->offset); pfrag 1201 net/ipv4/ip_output.c page_address(pfrag->page) + pfrag->offset, pfrag 1205 net/ipv4/ip_output.c pfrag->offset += copy; pfrag 1325 net/ipv4/tcp.c struct page_frag *pfrag = sk_page_frag(sk); pfrag 1327 net/ipv4/tcp.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 1330 net/ipv4/tcp.c if (!skb_can_coalesce(skb, i, pfrag->page, pfrag 1331 net/ipv4/tcp.c pfrag->offset)) { pfrag 1339 net/ipv4/tcp.c copy = min_t(int, copy, pfrag->size - pfrag->offset); pfrag 1345 net/ipv4/tcp.c pfrag->page, pfrag 1346 net/ipv4/tcp.c pfrag->offset, pfrag 1355 net/ipv4/tcp.c skb_fill_page_desc(skb, i, pfrag->page, pfrag 1356 net/ipv4/tcp.c pfrag->offset, copy); pfrag 1357 net/ipv4/tcp.c page_ref_inc(pfrag->page); pfrag 1359 net/ipv4/tcp.c pfrag->offset += copy; pfrag 246 net/ipv6/esp6.c struct page_frag *pfrag = &x->xfrag; pfrag 254 net/ipv6/esp6.c if (unlikely(!skb_page_frag_refill(allocsize, pfrag, GFP_ATOMIC))) { pfrag 259 net/ipv6/esp6.c page = pfrag->page; pfrag 264 net/ipv6/esp6.c tail = vaddr + pfrag->offset; pfrag 272 net/ipv6/esp6.c __skb_fill_page_desc(skb, nfrags, page, pfrag->offset, pfrag 276 net/ipv6/esp6.c pfrag->offset = pfrag->offset + allocsize; pfrag 360 net/ipv6/esp6.c struct page_frag *pfrag = &x->xfrag; pfrag 365 net/ipv6/esp6.c if (unlikely(!skb_page_frag_refill(allocsize, pfrag, GFP_ATOMIC))) { pfrag 372 net/ipv6/esp6.c page = pfrag->page; pfrag 375 net/ipv6/esp6.c __skb_fill_page_desc(skb, 0, page, pfrag->offset, skb->data_len); pfrag 376 net/ipv6/esp6.c pfrag->offset = pfrag->offset + allocsize; pfrag 1317 net/ipv6/ip6_output.c struct page_frag *pfrag, pfrag 1606 net/ipv6/ip6_output.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 1609 net/ipv6/ip6_output.c if (!skb_can_coalesce(skb, i, pfrag->page, pfrag 1610 net/ipv6/ip6_output.c pfrag->offset)) { pfrag 1615 net/ipv6/ip6_output.c __skb_fill_page_desc(skb, i, pfrag->page, pfrag 1616 net/ipv6/ip6_output.c pfrag->offset, 0); pfrag 1618 net/ipv6/ip6_output.c get_page(pfrag->page); pfrag 1620 net/ipv6/ip6_output.c copy = min_t(int, copy, pfrag->size - pfrag->offset); pfrag 1622 net/ipv6/ip6_output.c page_address(pfrag->page) + pfrag->offset, pfrag 1626 net/ipv6/ip6_output.c pfrag->offset += copy; pfrag 959 net/kcm/kcmsock.c struct page_frag *pfrag = sk_page_frag(sk); pfrag 961 net/kcm/kcmsock.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 964 net/kcm/kcmsock.c if (!skb_can_coalesce(skb, i, pfrag->page, pfrag 965 net/kcm/kcmsock.c pfrag->offset)) { pfrag 986 net/kcm/kcmsock.c pfrag->size - pfrag->offset); pfrag 992 net/kcm/kcmsock.c pfrag->page, pfrag 993 net/kcm/kcmsock.c pfrag->offset, pfrag 1002 net/kcm/kcmsock.c skb_fill_page_desc(skb, i, pfrag->page, pfrag 1003 net/kcm/kcmsock.c pfrag->offset, copy); pfrag 1004 net/kcm/kcmsock.c get_page(pfrag->page); pfrag 1007 net/kcm/kcmsock.c pfrag->offset += copy; pfrag 233 net/tls/tls_device.c struct page_frag *pfrag, pfrag 239 net/tls/tls_device.c if (skb_frag_page(frag) == pfrag->page && pfrag 240 net/tls/tls_device.c skb_frag_off(frag) + skb_frag_size(frag) == pfrag->offset) { pfrag 244 net/tls/tls_device.c __skb_frag_set_page(frag, pfrag->page); pfrag 245 net/tls/tls_device.c skb_frag_off_set(frag, pfrag->offset); pfrag 248 net/tls/tls_device.c get_page(pfrag->page); pfrag 251 net/tls/tls_device.c pfrag->offset += size; pfrag 292 net/tls/tls_device.c struct page_frag *pfrag, pfrag 304 net/tls/tls_device.c if (likely(skb_page_frag_refill(prot->tag_size, pfrag, pfrag 307 net/tls/tls_device.c tls_append_frag(record, pfrag, prot->tag_size); pfrag 322 net/tls/tls_device.c struct page_frag *pfrag, pfrag 333 net/tls/tls_device.c __skb_frag_set_page(frag, pfrag->page); pfrag 334 net/tls/tls_device.c skb_frag_off_set(frag, pfrag->offset); pfrag 337 net/tls/tls_device.c get_page(pfrag->page); pfrag 338 net/tls/tls_device.c pfrag->offset += prepend_size; pfrag 348 net/tls/tls_device.c struct page_frag *pfrag, pfrag 354 net/tls/tls_device.c if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, pfrag 361 net/tls/tls_device.c ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); pfrag 365 net/tls/tls_device.c if (pfrag->size > pfrag->offset) pfrag 369 net/tls/tls_device.c if (!sk_page_frag_refill(sk, pfrag)) pfrag 411 net/tls/tls_device.c struct page_frag *pfrag; pfrag 435 net/tls/tls_device.c pfrag = sk_page_frag(sk); pfrag 443 net/tls/tls_device.c rc = tls_do_allocation(sk, ctx, pfrag, pfrag 470 net/tls/tls_device.c copy = min_t(size_t, size, (pfrag->size - pfrag->offset)); pfrag 473 net/tls/tls_device.c rc = tls_device_copy_data(page_address(pfrag->page) + pfrag 474 net/tls/tls_device.c pfrag->offset, copy, msg_iter); pfrag 477 net/tls/tls_device.c tls_append_frag(record, pfrag, copy); pfrag 495 net/tls/tls_device.c pfrag, record_type);