File: types.h

package info (click to toggle)
gfs2-utils 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,984 kB
  • sloc: ansic: 27,343; python: 1,215; sh: 380; makefile: 378; yacc: 188; lex: 108
file content (27 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef LINUX_TYPES_H
#define LINUX_TYPES_H

#include <asm/types.h>

/* Satisfy gfs2_ondisk.h with userspace definitions of kernel types */

#include <stdint.h>

#ifdef __CHECKER__
#define __bitwise__ __attribute__((bitwise))
#define __force__ __attribute__((force))
#else
#define __bitwise__
#define __force__
#endif
#define __bitwise __bitwise__
#define __force __force__

typedef uint16_t __bitwise __le16;
typedef uint16_t __bitwise __be16;
typedef uint32_t __bitwise __le32;
typedef uint32_t __bitwise __be32;
typedef uint64_t __bitwise __le64;
typedef uint64_t __bitwise __be64;

#endif /* LINUX_TYPES_H */