Searched refs:statbuf (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | stat.c | 118 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument 152 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat() 155 SYSCALL_DEFINE2(stat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 161 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 166 SYSCALL_DEFINE2(lstat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 172 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 177 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 183 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 190 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument 237 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat() [all …]
|
D | compat.c | 180 struct compat_stat __user *statbuf) in compat_sys_newstat() argument 186 error = cp_compat_stat(&stat, statbuf); in compat_sys_newstat() 191 struct compat_stat __user *statbuf) in compat_sys_newlstat() argument 197 error = cp_compat_stat(&stat, statbuf); in compat_sys_newlstat() 203 struct compat_stat __user *statbuf, int flag) in compat_sys_newfstatat() argument 217 error = cp_compat_stat(&stat, statbuf); in compat_sys_newfstatat() 225 struct compat_stat __user * statbuf) in compat_sys_newfstat() argument 231 error = cp_compat_stat(&stat, statbuf); in compat_sys_newfstat()
|
/fs/9p/ |
D | vfs_dir.c | 76 char *statbuf; in v9fs_dir_readdir() local 83 statbuf = kmalloc(buflen, GFP_KERNEL); in v9fs_dir_readdir() 84 if (!statbuf) in v9fs_dir_readdir() 88 err = v9fs_file_readn(filp, statbuf, NULL, buflen, in v9fs_dir_readdir() 95 err = p9stat_read(statbuf + i, buflen-i, &st, in v9fs_dir_readdir() 122 kfree(statbuf); in v9fs_dir_readdir()
|