Searched refs:statbuf (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | stat.c | 279 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument 313 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat() 317 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 326 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 330 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 339 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 342 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 348 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 367 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument 403 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat() [all …]
|