Blame sysdeps/unix/sysv/linux/microblaze/kernel_stat.h

Packit 6c4009
/* Definition of `struct stat' used in the kernel
Packit 6c4009
   Copyright (C) 2013-2018 Free Software Foundation, Inc.
Packit 6c4009
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public License as
Packit 6c4009
   published by the Free Software Foundation; either version 2.1 of the
Packit 6c4009
   License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library; if not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
struct kernel_stat
Packit 6c4009
{
Packit 6c4009
        unsigned long   st_dev;         /* Device.  */
Packit 6c4009
        unsigned long   st_ino;         /* File serial number.  */
Packit 6c4009
        unsigned int    st_mode;        /* File mode.  */
Packit 6c4009
        unsigned int    st_nlink;       /* Link count.  */
Packit 6c4009
        unsigned int    st_uid;         /* User ID of the file's owner.  */
Packit 6c4009
        unsigned int    st_gid;         /* Group ID of the file's group.  */
Packit 6c4009
        unsigned long   st_rdev;        /* Device number, if device.  */
Packit 6c4009
        unsigned long   __pad2;
Packit 6c4009
#define _HAVE_STAT___PAD2
Packit 6c4009
#define _HAVE_STAT64___PAD2
Packit 6c4009
        long            st_size;        /* Size of file, in bytes.  */
Packit 6c4009
        int             st_blksize;     /* Optimal block size for I/O.  */
Packit 6c4009
        int             __pad3;
Packit 6c4009
#define _HAVE_STAT___PAD3
Packit 6c4009
#define _HAVE_STAT64___PAD3
Packit 6c4009
        long            st_blocks;      /* Number 512-byte blocks allocated.  */
Packit 6c4009
        struct timespec st_atim;
Packit 6c4009
        struct timespec st_mtim;
Packit 6c4009
        struct timespec st_ctim;
Packit 6c4009
#define _HAVE_STAT_NSEC
Packit 6c4009
#define _HAVE_STAT64_NSEC
Packit 6c4009
        unsigned int    __glibc_reserved4;
Packit 6c4009
#define _HAVE_STAT___UNUSED4
Packit 6c4009
#define _HAVE_STAT64___UNUSED4
Packit 6c4009
        unsigned int    __glibc_reserved5;
Packit 6c4009
#define _HAVE_STAT___UNUSED5
Packit 6c4009
#define _HAVE_STAT64___UNUSED5
Packit 6c4009
};
Packit 6c4009
Packit 6c4009
#define XSTAT_IS_XSTAT64 0
Packit 6c4009
#define STATFS_IS_STATFS64 0