xref: /third_party/ltp/include/lapi/ustat.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/include/lapi/
1f08c3bdfSopenharmony_ci//SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci#ifndef LAPI_USTAT_H__
4f08c3bdfSopenharmony_ci#define LAPI_USTAT_H__
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci#include "config.h"
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ci#include <sys/types.h>
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci#ifdef HAVE_SYS_USTAT_H
11f08c3bdfSopenharmony_ci# include <sys/ustat.h>
12f08c3bdfSopenharmony_ci#elif HAVE_LINUX_TYPES_H
13f08c3bdfSopenharmony_ci# include <linux/types.h>
14f08c3bdfSopenharmony_cistruct ustat {
15f08c3bdfSopenharmony_ci	__kernel_daddr_t f_tfree;
16f08c3bdfSopenharmony_ci	ino_t f_tinode;
17f08c3bdfSopenharmony_ci	char f_fname[6];
18f08c3bdfSopenharmony_ci	char f_fpack[6];
19f08c3bdfSopenharmony_ci};
20f08c3bdfSopenharmony_ci#endif
21f08c3bdfSopenharmony_ci
22f08c3bdfSopenharmony_ci#endif /* LAPI_USTAT_H__ */
23

Indexes created Thu Nov 07 10:32:03 CST 2024