Searched refs:npages (Results 1 – 10 of 10) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 206 for (i = 0; i < arg->npages && arg->pages[i]; i++) in gssp_free_receive_pages() 216 arg->npages = DIV_ROUND_UP(NGROUPS_MAX * 4, PAGE_SIZE); in gssp_alloc_receive_pages() 217 arg->pages = kcalloc(arg->npages, sizeof(struct page *), GFP_KERNEL); in gssp_alloc_receive_pages() 220 for (i = 0; i < arg->npages; i++) { in gssp_alloc_receive_pages()
|
D | gss_rpc_xdr.h | 138 unsigned int npages; member
|
D | gss_rpc_xdr.c | 773 arg->pages, 0 /* page base */, arg->npages * PAGE_SIZE); in gssx_enc_accept_sec_context()
|
/net/sunrpc/ |
D | svcsock.c | 808 unsigned int i, npages; in svc_tcp_restore_pages() local 812 npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in svc_tcp_restore_pages() 813 for (i = 0; i < npages; i++) { in svc_tcp_restore_pages() 826 unsigned int i, len, npages; in svc_tcp_save_pages() local 831 npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in svc_tcp_save_pages() 832 for (i = 0; i < npages; i++) { in svc_tcp_save_pages() 840 unsigned int i, len, npages; in svc_tcp_clear_pages() local 845 npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in svc_tcp_clear_pages() 846 for (i = 0; i < npages; i++) { in svc_tcp_clear_pages()
|
D | xdr.c | 484 unsigned int i, npages, pagelen; in xdr_buf_pages_fill_sparse() local 493 npages = (pagelen + buf->page_base + PAGE_SIZE - 1) >> PAGE_SHIFT; in xdr_buf_pages_fill_sparse() 494 for (i = 0; i < npages; i++) { in xdr_buf_pages_fill_sparse()
|
/net/rds/ |
D | ib_mr.h | 114 int npages);
|
D | ib_frmr.c | 54 int npages) in rds_ib_alloc_frmr() argument 61 if (npages <= RDS_MR_8K_MSG_SIZE) in rds_ib_alloc_frmr()
|
/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 1043 int i, npages, curlen; in rpcrdma_inline_fixup() local 1073 npages = PAGE_ALIGN(page_base + pagelist_len) >> PAGE_SHIFT; in rpcrdma_inline_fixup() 1074 for (i = 0; i < npages; i++) { in rpcrdma_inline_fixup()
|
/net/core/ |
D | skbuff.c | 6143 int npages = (data_len + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in alloc_skb_with_frags() local 6153 if (npages > MAX_SKB_FRAGS) in alloc_skb_with_frags() 6161 skb->truesize += npages << PAGE_SHIFT; in alloc_skb_with_frags() 6163 for (i = 0; npages > 0; i++) { in alloc_skb_with_frags() 6167 if (npages >= 1 << order) { in alloc_skb_with_frags() 6188 npages -= 1 << order; in alloc_skb_with_frags()
|
/net/ipv4/ |
D | tcp_input.c | 4984 int npages = min_t(size_t, size >> PAGE_SHIFT, MAX_SKB_FRAGS); in tcp_send_rcvq() local 4986 data_len = npages << PAGE_SHIFT; in tcp_send_rcvq()
|