Searched refs:statbuf (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | stat.c | 121 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument 155 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat() 159 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 168 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 172 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 181 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 184 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 190 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 210 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument 244 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat() [all …]
|
D | compat.c | 163 struct compat_stat __user *statbuf) in compat_sys_newstat() argument 171 return cp_compat_stat(&stat, statbuf); in compat_sys_newstat() 175 struct compat_stat __user *statbuf) in compat_sys_newlstat() argument 183 return cp_compat_stat(&stat, statbuf); in compat_sys_newlstat() 189 struct compat_stat __user *statbuf, int flag) in compat_sys_newfstatat() argument 197 return cp_compat_stat(&stat, statbuf); in compat_sys_newfstatat() 202 struct compat_stat __user * statbuf) in compat_sys_newfstat() argument 208 error = cp_compat_stat(&stat, statbuf); in compat_sys_newfstat()
|