Lines Matching +full:- +full:- +full:-
32 return -TARGET_EFAULT; in h2t_freebsd11_stat()
35 __put_user(host_st->st_dev, &target_st->st_dev); in h2t_freebsd11_stat()
36 __put_user(host_st->st_ino, &target_st->st_ino); in h2t_freebsd11_stat()
37 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd11_stat()
38 __put_user(host_st->st_nlink, &target_st->st_nlink); in h2t_freebsd11_stat()
39 __put_user(host_st->st_uid, &target_st->st_uid); in h2t_freebsd11_stat()
40 __put_user(host_st->st_gid, &target_st->st_gid); in h2t_freebsd11_stat()
41 __put_user(host_st->st_rdev, &target_st->st_rdev); in h2t_freebsd11_stat()
42 __put_user(host_st->st_atim.tv_sec, &target_st->st_atim.tv_sec); in h2t_freebsd11_stat()
43 __put_user(host_st->st_atim.tv_nsec, &target_st->st_atim.tv_nsec); in h2t_freebsd11_stat()
44 __put_user(host_st->st_mtim.tv_sec, &target_st->st_mtim.tv_sec); in h2t_freebsd11_stat()
45 __put_user(host_st->st_mtim.tv_nsec, &target_st->st_mtim.tv_nsec); in h2t_freebsd11_stat()
46 __put_user(host_st->st_ctim.tv_sec, &target_st->st_ctim.tv_sec); in h2t_freebsd11_stat()
47 __put_user(host_st->st_ctim.tv_nsec, &target_st->st_ctim.tv_nsec); in h2t_freebsd11_stat()
48 __put_user(host_st->st_size, &target_st->st_size); in h2t_freebsd11_stat()
49 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd11_stat()
50 __put_user(host_st->st_blksize, &target_st->st_blksize); in h2t_freebsd11_stat()
51 __put_user(host_st->st_flags, &target_st->st_flags); in h2t_freebsd11_stat()
52 __put_user(host_st->st_gen, &target_st->st_gen); in h2t_freebsd11_stat()
54 __put_user(host_st->st_birthtim.tv_sec, &target_st->st_birthtim.tv_sec); in h2t_freebsd11_stat()
55 __put_user(host_st->st_birthtim.tv_nsec, &target_st->st_birthtim.tv_nsec); in h2t_freebsd11_stat()
67 return -TARGET_EFAULT; in h2t_freebsd_stat()
70 __put_user(host_st->st_dev, &target_st->st_dev); in h2t_freebsd_stat()
71 __put_user(host_st->st_ino, &target_st->st_ino); in h2t_freebsd_stat()
72 __put_user(host_st->st_nlink, &target_st->st_nlink); in h2t_freebsd_stat()
73 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd_stat()
74 __put_user(host_st->st_uid, &target_st->st_uid); in h2t_freebsd_stat()
75 __put_user(host_st->st_gid, &target_st->st_gid); in h2t_freebsd_stat()
76 __put_user(host_st->st_rdev, &target_st->st_rdev); in h2t_freebsd_stat()
77 __put_user(host_st->st_atim.tv_sec, &target_st->st_atim.tv_sec); in h2t_freebsd_stat()
78 __put_user(host_st->st_atim.tv_nsec, &target_st->st_atim.tv_nsec); in h2t_freebsd_stat()
80 /* __put_user(host_st->st_mtim_ext, &target_st->st_mtim_ext); XXX */ in h2t_freebsd_stat()
82 __put_user(host_st->st_mtim.tv_sec, &target_st->st_mtim.tv_sec); in h2t_freebsd_stat()
83 __put_user(host_st->st_mtim.tv_nsec, &target_st->st_mtim.tv_nsec); in h2t_freebsd_stat()
85 /* __put_user(host_st->st_ctim_ext, &target_st->st_ctim_ext); XXX */ in h2t_freebsd_stat()
87 __put_user(host_st->st_ctim.tv_sec, &target_st->st_ctim.tv_sec); in h2t_freebsd_stat()
88 __put_user(host_st->st_ctim.tv_nsec, &target_st->st_ctim.tv_nsec); in h2t_freebsd_stat()
90 /* __put_user(host_st->st_birthtim_ext, &target_st->st_birthtim_ext); XXX */ in h2t_freebsd_stat()
92 __put_user(host_st->st_birthtim.tv_sec, &target_st->st_birthtim.tv_sec); in h2t_freebsd_stat()
93 __put_user(host_st->st_birthtim.tv_nsec, &target_st->st_birthtim.tv_nsec); in h2t_freebsd_stat()
95 __put_user(host_st->st_size, &target_st->st_size); in h2t_freebsd_stat()
96 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd_stat()
97 __put_user(host_st->st_blksize, &target_st->st_blksize); in h2t_freebsd_stat()
98 __put_user(host_st->st_flags, &target_st->st_flags); in h2t_freebsd_stat()
99 __put_user(host_st->st_gen, &target_st->st_gen); in h2t_freebsd_stat()
111 return -TARGET_EFAULT; in h2t_freebsd11_nstat()
114 __put_user(host_st->st_dev, &target_st->st_dev); in h2t_freebsd11_nstat()
115 __put_user(host_st->st_ino, &target_st->st_ino); in h2t_freebsd11_nstat()
116 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd11_nstat()
117 __put_user(host_st->st_nlink, &target_st->st_nlink); in h2t_freebsd11_nstat()
118 __put_user(host_st->st_uid, &target_st->st_uid); in h2t_freebsd11_nstat()
119 __put_user(host_st->st_gid, &target_st->st_gid); in h2t_freebsd11_nstat()
120 __put_user(host_st->st_rdev, &target_st->st_rdev); in h2t_freebsd11_nstat()
121 __put_user(host_st->st_atim.tv_sec, &target_st->st_atim.tv_sec); in h2t_freebsd11_nstat()
122 __put_user(host_st->st_atim.tv_nsec, &target_st->st_atim.tv_nsec); in h2t_freebsd11_nstat()
123 __put_user(host_st->st_mtim.tv_sec, &target_st->st_mtim.tv_sec); in h2t_freebsd11_nstat()
124 __put_user(host_st->st_mtim.tv_nsec, &target_st->st_mtim.tv_nsec); in h2t_freebsd11_nstat()
125 __put_user(host_st->st_ctim.tv_sec, &target_st->st_ctim.tv_sec); in h2t_freebsd11_nstat()
126 __put_user(host_st->st_ctim.tv_nsec, &target_st->st_ctim.tv_nsec); in h2t_freebsd11_nstat()
127 __put_user(host_st->st_size, &target_st->st_size); in h2t_freebsd11_nstat()
128 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd11_nstat()
129 __put_user(host_st->st_blksize, &target_st->st_blksize); in h2t_freebsd11_nstat()
130 __put_user(host_st->st_flags, &target_st->st_flags); in h2t_freebsd11_nstat()
131 __put_user(host_st->st_gen, &target_st->st_gen); in h2t_freebsd11_nstat()
132 __put_user(host_st->st_birthtim.tv_sec, &target_st->st_birthtim.tv_sec); in h2t_freebsd11_nstat()
133 __put_user(host_st->st_birthtim.tv_nsec, &target_st->st_birthtim.tv_nsec); in h2t_freebsd11_nstat()
147 return -TARGET_EFAULT; in t2h_freebsd_fhandle()
149 __get_user(host_fh->fh_fsid.val[0], &target_fh->fh_fsid.val[0]); in t2h_freebsd_fhandle()
150 __get_user(host_fh->fh_fsid.val[1], &target_fh->fh_fsid.val[0]); in t2h_freebsd_fhandle()
151 __get_user(host_fh->fh_fid.fid_len, &target_fh->fh_fid.fid_len); in t2h_freebsd_fhandle()
153 memcpy(host_fh->fh_fid.fid_data, target_fh->fh_fid.fid_data, in t2h_freebsd_fhandle()
164 return -TARGET_EFAULT; in h2t_freebsd_fhandle()
166 __put_user(host_fh->fh_fsid.val[0], &target_fh->fh_fsid.val[0]); in h2t_freebsd_fhandle()
167 __put_user(host_fh->fh_fsid.val[1], &target_fh->fh_fsid.val[0]); in h2t_freebsd_fhandle()
168 __put_user(host_fh->fh_fid.fid_len, &target_fh->fh_fid.fid_len); in h2t_freebsd_fhandle()
170 memcpy(target_fh->fh_fid.fid_data, host_fh->fh_fid.fid_data, in h2t_freebsd_fhandle()
185 return -TARGET_EFAULT; in h2t_freebsd11_statfs()
187 __put_user(host_statfs->f_version, &target_statfs->f_version); in h2t_freebsd11_statfs()
188 __put_user(host_statfs->f_type, &target_statfs->f_type); in h2t_freebsd11_statfs()
189 __put_user(host_statfs->f_flags, &target_statfs->f_flags); in h2t_freebsd11_statfs()
190 __put_user(host_statfs->f_bsize, &target_statfs->f_bsize); in h2t_freebsd11_statfs()
191 __put_user(host_statfs->f_iosize, &target_statfs->f_iosize); in h2t_freebsd11_statfs()
192 __put_user(host_statfs->f_blocks, &target_statfs->f_blocks); in h2t_freebsd11_statfs()
193 __put_user(host_statfs->f_bfree, &target_statfs->f_bfree); in h2t_freebsd11_statfs()
194 __put_user(host_statfs->f_bavail, &target_statfs->f_bavail); in h2t_freebsd11_statfs()
195 __put_user(host_statfs->f_files, &target_statfs->f_files); in h2t_freebsd11_statfs()
196 __put_user(host_statfs->f_ffree, &target_statfs->f_ffree); in h2t_freebsd11_statfs()
197 __put_user(host_statfs->f_syncwrites, &target_statfs->f_syncwrites); in h2t_freebsd11_statfs()
198 __put_user(host_statfs->f_asyncwrites, &target_statfs->f_asyncwrites); in h2t_freebsd11_statfs()
199 __put_user(host_statfs->f_syncreads, &target_statfs->f_syncreads); in h2t_freebsd11_statfs()
200 __put_user(host_statfs->f_asyncreads, &target_statfs->f_asyncreads); in h2t_freebsd11_statfs()
202 __put_user(host_statfs->f_namemax, &target_statfs->f_namemax); in h2t_freebsd11_statfs()
203 __put_user(host_statfs->f_owner, &target_statfs->f_owner); in h2t_freebsd11_statfs()
204 __put_user(host_statfs->f_fsid.val[0], &target_statfs->f_fsid.val[0]); in h2t_freebsd11_statfs()
205 __put_user(host_statfs->f_fsid.val[1], &target_statfs->f_fsid.val[1]); in h2t_freebsd11_statfs()
207 strncpy(target_statfs->f_fstypename, host_statfs->f_fstypename, in h2t_freebsd11_statfs()
208 sizeof(target_statfs->f_fstypename)); in h2t_freebsd11_statfs()
209 strncpy(target_statfs->f_mntfromname, host_statfs->f_mntfromname, in h2t_freebsd11_statfs()
210 sizeof(target_statfs->f_mntfromname)); in h2t_freebsd11_statfs()
211 strncpy(target_statfs->f_mntonname, host_statfs->f_mntonname, in h2t_freebsd11_statfs()
212 sizeof(target_statfs->f_mntonname)); in h2t_freebsd11_statfs()
223 return -TARGET_EFAULT; in h2t_freebsd_statfs()
225 __put_user(host_statfs->f_version, &target_statfs->f_version); in h2t_freebsd_statfs()
226 __put_user(host_statfs->f_type, &target_statfs->f_type); in h2t_freebsd_statfs()
227 __put_user(host_statfs->f_flags, &target_statfs->f_flags); in h2t_freebsd_statfs()
228 __put_user(host_statfs->f_bsize, &target_statfs->f_bsize); in h2t_freebsd_statfs()
229 __put_user(host_statfs->f_iosize, &target_statfs->f_iosize); in h2t_freebsd_statfs()
230 __put_user(host_statfs->f_blocks, &target_statfs->f_blocks); in h2t_freebsd_statfs()
231 __put_user(host_statfs->f_bfree, &target_statfs->f_bfree); in h2t_freebsd_statfs()
232 __put_user(host_statfs->f_bavail, &target_statfs->f_bavail); in h2t_freebsd_statfs()
233 __put_user(host_statfs->f_files, &target_statfs->f_files); in h2t_freebsd_statfs()
234 __put_user(host_statfs->f_ffree, &target_statfs->f_ffree); in h2t_freebsd_statfs()
235 __put_user(host_statfs->f_syncwrites, &target_statfs->f_syncwrites); in h2t_freebsd_statfs()
236 __put_user(host_statfs->f_asyncwrites, &target_statfs->f_asyncwrites); in h2t_freebsd_statfs()
237 __put_user(host_statfs->f_syncreads, &target_statfs->f_syncreads); in h2t_freebsd_statfs()
238 __put_user(host_statfs->f_asyncreads, &target_statfs->f_asyncreads); in h2t_freebsd_statfs()
240 __put_user(host_statfs->f_namemax, &target_statfs->f_namemax); in h2t_freebsd_statfs()
241 __put_user(host_statfs->f_owner, &target_statfs->f_owner); in h2t_freebsd_statfs()
242 __put_user(host_statfs->f_fsid.val[0], &target_statfs->f_fsid.val[0]); in h2t_freebsd_statfs()
243 __put_user(host_statfs->f_fsid.val[1], &target_statfs->f_fsid.val[1]); in h2t_freebsd_statfs()
245 strncpy(target_statfs->f_fstypename, host_statfs->f_fstypename, in h2t_freebsd_statfs()
246 sizeof(target_statfs->f_fstypename)); in h2t_freebsd_statfs()
247 strncpy(target_statfs->f_mntfromname, host_statfs->f_mntfromname, in h2t_freebsd_statfs()
248 sizeof(target_statfs->f_mntfromname)); in h2t_freebsd_statfs()
249 strncpy(target_statfs->f_mntonname, host_statfs->f_mntonname, in h2t_freebsd_statfs()
250 sizeof(target_statfs->f_mntonname)); in h2t_freebsd_statfs()