Home
last modified time | relevance | path

Searched refs:des_fid (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/
H A Dcp_mmap.c54 int src_fid, des_fid; in main() local
112 des_fid = open(des_file, O_RDWR | O_CREAT | O_TRUNC, in main()
114 if (des_fid == -1) { in main()
134 if (ftruncate(des_fid, filesize) == -1) { in main()
159 des_fid, offset); in main()
189 close(des_fid); in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/
H A Dprot_mmap.c55 int src_fid, des_fid; in main() local
133 des_fid = open(des_file, flags1); in main()
134 if (des_fid == -1) { in main()
153 if (fstat(des_fid, &sb) == -1) { in main()
180 des_addr = mmap(NULL, blksize, prot1, mflags1, des_fid, offset); in main()
211 close(des_fid); in main()