Lines Matching refs:statbuf

35 static int cp_old_stat(struct inode * inode, struct __old_kernel_stat * statbuf)  in cp_old_stat()  argument
68 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
73 static int cp_new_stat(struct inode * inode, struct stat * statbuf) in cp_new_stat() argument
132 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
141 asmlinkage long sys_stat(char * filename, struct __old_kernel_stat * statbuf) in sys_stat() argument
150 error = cp_old_stat(nd.dentry->d_inode, statbuf); in sys_stat()
157 asmlinkage long sys_newstat(char * filename, struct stat * statbuf) in sys_newstat() argument
166 error = cp_new_stat(nd.dentry->d_inode, statbuf); in sys_newstat()
178 asmlinkage long sys_lstat(char * filename, struct __old_kernel_stat * statbuf) in sys_lstat() argument
187 error = cp_old_stat(nd.dentry->d_inode, statbuf); in sys_lstat()
195 asmlinkage long sys_newlstat(char * filename, struct stat * statbuf) in sys_newlstat() argument
204 error = cp_new_stat(nd.dentry->d_inode, statbuf); in sys_newlstat()
216 asmlinkage long sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf) in sys_fstat() argument
227 err = cp_old_stat(dentry->d_inode, statbuf); in sys_fstat()
235 asmlinkage long sys_newfstat(unsigned int fd, struct stat * statbuf) in sys_newfstat() argument
246 err = cp_new_stat(dentry->d_inode, statbuf); in sys_newfstat()
279 static long cp_new_stat64(struct inode * inode, struct stat64 * statbuf) in cp_new_stat64() argument
335 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
338 asmlinkage long sys_stat64(char * filename, struct stat64 * statbuf, long flags) in sys_stat64() argument
347 error = cp_new_stat64(nd.dentry->d_inode, statbuf); in sys_stat64()
353 asmlinkage long sys_lstat64(char * filename, struct stat64 * statbuf, long flags) in sys_lstat64() argument
362 error = cp_new_stat64(nd.dentry->d_inode, statbuf); in sys_lstat64()
368 asmlinkage long sys_fstat64(unsigned long fd, struct stat64 * statbuf, long flags) in sys_fstat64() argument
379 err = cp_new_stat64(dentry->d_inode, statbuf); in sys_fstat64()