Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 14 of 14) sorted by relevance

/fs/nfs/filelayout/
Dfilelayoutdev.c75 struct page *scratch; in nfs4_fl_alloc_deviceid_node() local
80 scratch = alloc_page(gfp_flags); in nfs4_fl_alloc_deviceid_node()
81 if (!scratch) in nfs4_fl_alloc_deviceid_node()
85 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in nfs4_fl_alloc_deviceid_node()
189 __free_page(scratch); in nfs4_fl_alloc_deviceid_node()
207 __free_page(scratch); in nfs4_fl_alloc_deviceid_node()
Dfilelayout.c657 struct page *scratch; in filelayout_decode_layout() local
664 scratch = alloc_page(gfp_flags); in filelayout_decode_layout()
665 if (!scratch) in filelayout_decode_layout()
669 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in filelayout_decode_layout()
735 __free_page(scratch); in filelayout_decode_layout()
739 __free_page(scratch); in filelayout_decode_layout()
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c47 struct page *scratch; in nfs4_ff_alloc_deviceid_node() local
58 scratch = alloc_page(gfp_flags); in nfs4_ff_alloc_deviceid_node()
59 if (!scratch) in nfs4_ff_alloc_deviceid_node()
72 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in nfs4_ff_alloc_deviceid_node()
164 __free_page(scratch); in nfs4_ff_alloc_deviceid_node()
178 __free_page(scratch); in nfs4_ff_alloc_deviceid_node()
Dflexfilelayout.c368 struct page *scratch; in ff_layout_alloc_lseg() local
375 scratch = alloc_page(gfp_flags); in ff_layout_alloc_lseg()
376 if (!scratch) in ff_layout_alloc_lseg()
381 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in ff_layout_alloc_lseg()
544 __free_page(scratch); in ff_layout_alloc_lseg()
/fs/nfs/blocklayout/
Ddev.c504 struct page *scratch; in bl_alloc_deviceid_node() local
508 scratch = alloc_page(gfp_mask); in bl_alloc_deviceid_node()
509 if (!scratch) in bl_alloc_deviceid_node()
513 xdr_set_scratch_buffer(&xdr, page_address(scratch), PAGE_SIZE); in bl_alloc_deviceid_node()
545 __free_page(scratch); in bl_alloc_deviceid_node()
Dblocklayout.c683 struct page *scratch; in bl_alloc_lseg() local
696 scratch = alloc_page(gfp_mask); in bl_alloc_lseg()
697 if (!scratch) in bl_alloc_lseg()
702 xdr_set_scratch_buffer(&xdr, page_address(scratch), PAGE_SIZE); in bl_alloc_lseg()
751 __free_page(scratch); in bl_alloc_lseg()
/fs/ntfs/
DKconfig16 This is a rewrite from scratch of Linux NTFS support and replaced
69 scratch of the NTFS support), it should be noted that the old NTFS
/fs/nfsd/
Dxdr3.h182 struct svc_fh scratch; member
Dnfs3xdr.c892 struct svc_fh *fh = &cd->scratch; in encode_entryplus_baggage()
Dnfs4proc.c2269 xdr->scratch.iov_len = 0; in svcxdr_init_encode()
Dnfs4xdr.c3253 xdr->scratch.iov_len = 0; in svcxdr_init_encode_from_buffer()
/fs/nfs/
Ddir.c566 struct page *scratch; in nfs_readdir_page_filler() local
571 scratch = alloc_page(GFP_KERNEL); in nfs_readdir_page_filler()
572 if (scratch == NULL) in nfs_readdir_page_filler()
579 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in nfs_readdir_page_filler()
611 put_page(scratch); in nfs_readdir_page_filler()
Dnfs42proc.c1264 res.scratch = alloc_page(GFP_KERNEL); in _nfs42_proc_listxattrs()
1265 if (!res.scratch) in _nfs42_proc_listxattrs()
1301 __free_page(res.scratch); in _nfs42_proc_listxattrs()
Dnfs42xdr.c1539 xdr_set_scratch_buffer(xdr, page_address(res->scratch), PAGE_SIZE); in nfs4_xdr_dec_listxattrs()