Lines Matching refs:statbuf

1509 static int cp_new_stat32(struct inode *inode, struct stat32 *statbuf)  in cp_new_stat32()  argument
1539 err = put_user(kdev_t_to_nr(dev), &statbuf->st_dev); in cp_new_stat32()
1540 err |= put_user(ino, &statbuf->st_ino); in cp_new_stat32()
1541 err |= put_user(mode, &statbuf->st_mode); in cp_new_stat32()
1542 err |= put_user(nlink, &statbuf->st_nlink); in cp_new_stat32()
1543 err |= put_user(high2lowuid(uid), &statbuf->st_uid); in cp_new_stat32()
1544 err |= put_user(high2lowgid(gid), &statbuf->st_gid); in cp_new_stat32()
1545 err |= put_user(kdev_t_to_nr(rdev), &statbuf->st_rdev); in cp_new_stat32()
1546 err |= put_user(size, &statbuf->st_size); in cp_new_stat32()
1547 err |= put_user(atime, &statbuf->st_atime); in cp_new_stat32()
1548 err |= put_user(0, &statbuf->__unused1); in cp_new_stat32()
1549 err |= put_user(mtime, &statbuf->st_mtime); in cp_new_stat32()
1550 err |= put_user(0, &statbuf->__unused2); in cp_new_stat32()
1551 err |= put_user(ctime, &statbuf->st_ctime); in cp_new_stat32()
1552 err |= put_user(0, &statbuf->__unused3); in cp_new_stat32()
1554 err |= put_user(blksize, &statbuf->st_blksize); in cp_new_stat32()
1555 err |= put_user(blocks, &statbuf->st_blocks); in cp_new_stat32()
1574 err |= put_user(BLOCK_SIZE, &statbuf->st_blksize); in cp_new_stat32()
1575 err |= put_user((BLOCK_SIZE / 512) * tmp_blocks, &statbuf->st_blocks); in cp_new_stat32()
1597 asmlinkage int sys32_newstat(char * filename, struct stat32 *statbuf) in sys32_newstat() argument
1606 error = cp_new_stat32(nd.dentry->d_inode, statbuf); in sys32_newstat()
1612 asmlinkage int sys32_newlstat(char * filename, struct stat32 *statbuf) in sys32_newlstat() argument
1621 error = cp_new_stat32(nd.dentry->d_inode, statbuf); in sys32_newlstat()
1628 asmlinkage int sys32_newfstat(unsigned int fd, struct stat32 *statbuf) in sys32_newfstat() argument
1639 err = cp_new_stat32(dentry->d_inode, statbuf); in sys32_newfstat()
4422 extern asmlinkage long sys_newstat(char * filename, struct stat * statbuf);
4424 asmlinkage long sys32_stat64(char * filename, struct stat64_emu31 * statbuf, long flags) in sys32_stat64() argument
4441 if (!ret && putstat64 (statbuf, &s)) in sys32_stat64()
4446 extern asmlinkage long sys_newlstat(char * filename, struct stat * statbuf);
4448 asmlinkage long sys32_lstat64(char * filename, struct stat64_emu31 * statbuf, long flags) in sys32_lstat64() argument
4465 if (!ret && putstat64 (statbuf, &s)) in sys32_lstat64()
4470 extern asmlinkage long sys_newfstat(unsigned int fd, struct stat * statbuf);
4472 asmlinkage long sys32_fstat64(unsigned long fd, struct stat64_emu31 * statbuf, long flags) in sys32_fstat64() argument
4481 if (!ret && putstat64 (statbuf, &s)) in sys32_fstat64()