Lines Matching refs:statbuf
1536 static int cp_new_stat32(struct inode *inode, struct stat32 *statbuf) in cp_new_stat32() argument
1566 err = put_user(kdev_t_to_nr(dev), &statbuf->st_dev); in cp_new_stat32()
1567 err |= put_user(ino, &statbuf->st_ino); in cp_new_stat32()
1568 err |= put_user(mode, &statbuf->st_mode); in cp_new_stat32()
1569 err |= put_user(nlink, &statbuf->st_nlink); in cp_new_stat32()
1570 err |= put_user(high2lowuid(uid), &statbuf->st_uid); in cp_new_stat32()
1571 err |= put_user(high2lowgid(gid), &statbuf->st_gid); in cp_new_stat32()
1572 err |= put_user(kdev_t_to_nr(rdev), &statbuf->st_rdev); in cp_new_stat32()
1573 err |= put_user(size, &statbuf->st_size); in cp_new_stat32()
1574 err |= put_user(atime, &statbuf->st_atime); in cp_new_stat32()
1575 err |= put_user(0, &statbuf->__unused1); in cp_new_stat32()
1576 err |= put_user(mtime, &statbuf->st_mtime); in cp_new_stat32()
1577 err |= put_user(0, &statbuf->__unused2); in cp_new_stat32()
1578 err |= put_user(ctime, &statbuf->st_ctime); in cp_new_stat32()
1579 err |= put_user(0, &statbuf->__unused3); in cp_new_stat32()
1581 err |= put_user(blksize, &statbuf->st_blksize); in cp_new_stat32()
1582 err |= put_user(blocks, &statbuf->st_blocks); in cp_new_stat32()
1601 err |= put_user(BLOCK_SIZE, &statbuf->st_blksize); in cp_new_stat32()
1602 err |= put_user((BLOCK_SIZE / 512) * tmp_blocks, &statbuf->st_blocks); in cp_new_stat32()
1606 err |= put_user(0, &statbuf->__unused4[0]); in cp_new_stat32()
1607 err |= put_user(0, &statbuf->__unused4[1]); in cp_new_stat32()
1622 asmlinkage int sys32_newstat(char * filename, struct stat32 *statbuf) in sys32_newstat() argument
1631 error = cp_new_stat32(nd.dentry->d_inode, statbuf); in sys32_newstat()
1637 asmlinkage int sys32_newlstat(char * filename, struct stat32 *statbuf) in sys32_newlstat() argument
1646 error = cp_new_stat32(nd.dentry->d_inode, statbuf); in sys32_newlstat()
1653 asmlinkage int sys32_newfstat(unsigned int fd, struct stat32 *statbuf) in sys32_newfstat() argument
1664 err = cp_new_stat32(dentry->d_inode, statbuf); in sys32_newfstat()