Searched refs:statbuf (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | stat.c | 311 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument 345 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat() 349 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 358 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 362 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 371 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 374 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 380 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 393 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument 429 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat() [all …]
|
/fs/xfs/scrub/ |
D | xfile.c | 298 struct xfile_stat *statbuf) in xfile_stat() argument 308 statbuf->size = ks.size; in xfile_stat() 309 statbuf->bytes = ks.blocks << SECTOR_SHIFT; in xfile_stat()
|
D | trace.h | 814 struct xfile_stat statbuf; 817 ret = xfile_stat(xf, &statbuf); 819 __entry->bytes = statbuf.bytes; 820 __entry->size = statbuf.size; 844 struct xfile_stat statbuf; 847 ret = xfile_stat(xf, &statbuf); 849 __entry->bytes_used = statbuf.bytes; 850 __entry->size = statbuf.size;
|
D | xfile.h | 71 int xfile_stat(struct xfile *xf, struct xfile_stat *statbuf);
|