Lines Matching refs:kbuf

267 static int put_compat_statfs(struct compat_statfs __user *ubuf, struct kstatfs *kbuf)  in put_compat_statfs()  argument
271 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs()
272 kbuf->f_bsize | kbuf->f_frsize) & 0xffffffff00000000ULL) in put_compat_statfs()
276 if (kbuf->f_files != 0xffffffffffffffffULL in put_compat_statfs()
277 && (kbuf->f_files & 0xffffffff00000000ULL)) in put_compat_statfs()
279 if (kbuf->f_ffree != 0xffffffffffffffffULL in put_compat_statfs()
280 && (kbuf->f_ffree & 0xffffffff00000000ULL)) in put_compat_statfs()
284 buf.f_type = kbuf->f_type; in put_compat_statfs()
285 buf.f_bsize = kbuf->f_bsize; in put_compat_statfs()
286 buf.f_blocks = kbuf->f_blocks; in put_compat_statfs()
287 buf.f_bfree = kbuf->f_bfree; in put_compat_statfs()
288 buf.f_bavail = kbuf->f_bavail; in put_compat_statfs()
289 buf.f_files = kbuf->f_files; in put_compat_statfs()
290 buf.f_ffree = kbuf->f_ffree; in put_compat_statfs()
291 buf.f_namelen = kbuf->f_namelen; in put_compat_statfs()
292 buf.f_fsid.val[0] = kbuf->f_fsid.val[0]; in put_compat_statfs()
293 buf.f_fsid.val[1] = kbuf->f_fsid.val[1]; in put_compat_statfs()
294 buf.f_frsize = kbuf->f_frsize; in put_compat_statfs()
295 buf.f_flags = kbuf->f_flags; in put_compat_statfs()
323 static int put_compat_statfs64(struct compat_statfs64 __user *ubuf, struct kstatfs *kbuf) in put_compat_statfs64() argument
327 if ((kbuf->f_bsize | kbuf->f_frsize) & 0xffffffff00000000ULL) in put_compat_statfs64()
331 buf.f_type = kbuf->f_type; in put_compat_statfs64()
332 buf.f_bsize = kbuf->f_bsize; in put_compat_statfs64()
333 buf.f_blocks = kbuf->f_blocks; in put_compat_statfs64()
334 buf.f_bfree = kbuf->f_bfree; in put_compat_statfs64()
335 buf.f_bavail = kbuf->f_bavail; in put_compat_statfs64()
336 buf.f_files = kbuf->f_files; in put_compat_statfs64()
337 buf.f_ffree = kbuf->f_ffree; in put_compat_statfs64()
338 buf.f_namelen = kbuf->f_namelen; in put_compat_statfs64()
339 buf.f_fsid.val[0] = kbuf->f_fsid.val[0]; in put_compat_statfs64()
340 buf.f_fsid.val[1] = kbuf->f_fsid.val[1]; in put_compat_statfs64()
341 buf.f_frsize = kbuf->f_frsize; in put_compat_statfs64()
342 buf.f_flags = kbuf->f_flags; in put_compat_statfs64()