Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 12 of 12) 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.c656 struct page *scratch; in filelayout_decode_layout() local
663 scratch = alloc_page(gfp_flags); in filelayout_decode_layout()
664 if (!scratch) in filelayout_decode_layout()
668 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in filelayout_decode_layout()
734 __free_page(scratch); in filelayout_decode_layout()
738 __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.c372 struct page *scratch; in ff_layout_alloc_lseg() local
379 scratch = alloc_page(gfp_flags); in ff_layout_alloc_lseg()
380 if (!scratch) in ff_layout_alloc_lseg()
385 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in ff_layout_alloc_lseg()
554 __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.h181 struct svc_fh scratch; member
Dnfs3xdr.c886 struct svc_fh *fh = &cd->scratch; in encode_entryplus_baggage()
Dnfs4proc.c1912 xdr->scratch.iov_len = 0; in svcxdr_init_encode()
Dnfs4xdr.c2948 xdr->scratch.iov_len = 0; in svcxdr_init_encode_from_buffer()
/fs/nfs/
Ddir.c540 struct page *scratch; in nfs_readdir_page_filler() local
545 scratch = alloc_page(GFP_KERNEL); in nfs_readdir_page_filler()
546 if (scratch == NULL) in nfs_readdir_page_filler()
553 xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); in nfs_readdir_page_filler()
584 put_page(scratch); in nfs_readdir_page_filler()