Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/freebsd32/freebsd32.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | struct wrusage32 { | ||||
struct rusage32 wru_children; | struct rusage32 wru_children; | ||||
}; | }; | ||||
struct itimerval32 { | struct itimerval32 { | ||||
struct timeval32 it_interval; | struct timeval32 it_interval; | ||||
struct timeval32 it_value; | struct timeval32 it_value; | ||||
}; | }; | ||||
#define FREEBSD4_MNAMELEN (88 - 2 * sizeof(int32_t)) /* size of on/from name bufs */ | #define FREEBSD4_MFSNAMELEN 16 | ||||
#define FREEBSD4_MNAMELEN (88 - 2 * sizeof(int32_t)) | |||||
/* 4.x version */ | /* 4.x version */ | ||||
struct statfs32 { | struct statfs32 { | ||||
int32_t f_spare2; | int32_t f_spare2; | ||||
int32_t f_bsize; | int32_t f_bsize; | ||||
int32_t f_iosize; | int32_t f_iosize; | ||||
int32_t f_blocks; | int32_t f_blocks; | ||||
int32_t f_bfree; | int32_t f_bfree; | ||||
int32_t f_bavail; | int32_t f_bavail; | ||||
int32_t f_files; | int32_t f_files; | ||||
int32_t f_ffree; | int32_t f_ffree; | ||||
fsid_t f_fsid; | fsid_t f_fsid; | ||||
uid_t f_owner; | uid_t f_owner; | ||||
int32_t f_type; | int32_t f_type; | ||||
int32_t f_flags; | int32_t f_flags; | ||||
int32_t f_syncwrites; | int32_t f_syncwrites; | ||||
int32_t f_asyncwrites; | int32_t f_asyncwrites; | ||||
char f_fstypename[MFSNAMELEN]; | char f_fstypename[FREEBSD4_MFSNAMELEN]; | ||||
char f_mntonname[FREEBSD4_MNAMELEN]; | char f_mntonname[FREEBSD4_MNAMELEN]; | ||||
int32_t f_syncreads; | int32_t f_syncreads; | ||||
int32_t f_asyncreads; | int32_t f_asyncreads; | ||||
int16_t f_spares1; | int16_t f_spares1; | ||||
char f_mntfromname[FREEBSD4_MNAMELEN]; | char f_mntfromname[FREEBSD4_MNAMELEN]; | ||||
int16_t f_spares2 __packed; | int16_t f_spares2 __packed; | ||||
int32_t f_spare[2]; | int32_t f_spare[2]; | ||||
}; | }; | ||||
Show All 17 Lines | struct msghdr32 { | ||||
socklen_t msg_namelen; | socklen_t msg_namelen; | ||||
u_int32_t msg_iov; | u_int32_t msg_iov; | ||||
int msg_iovlen; | int msg_iovlen; | ||||
u_int32_t msg_control; | u_int32_t msg_control; | ||||
socklen_t msg_controllen; | socklen_t msg_controllen; | ||||
int msg_flags; | int msg_flags; | ||||
}; | }; | ||||
#if defined(__amd64__) | |||||
#define __STAT32_TIME_T_EXT 1 | |||||
#endif | |||||
struct stat32 { | struct stat32 { | ||||
dev_t st_dev; | dev_t st_dev; | ||||
ino_t st_ino; | ino_t st_ino; | ||||
mode_t st_mode; | |||||
nlink_t st_nlink; | nlink_t st_nlink; | ||||
mode_t st_mode; | |||||
u_int16_t st_padding0; | |||||
uid_t st_uid; | uid_t st_uid; | ||||
gid_t st_gid; | gid_t st_gid; | ||||
u_int32_t st_padding1; | |||||
dev_t st_rdev; | dev_t st_rdev; | ||||
#ifdef __STAT32_TIME_T_EXT | |||||
__int32_t st_atim_ext; | |||||
#endif | |||||
struct timespec32 st_atim; | struct timespec32 st_atim; | ||||
#ifdef __STAT32_TIME_T_EXT | |||||
__int32_t st_mtim_ext; | |||||
#endif | |||||
struct timespec32 st_mtim; | struct timespec32 st_mtim; | ||||
#ifdef __STAT32_TIME_T_EXT | |||||
__int32_t st_ctim_ext; | |||||
#endif | |||||
struct timespec32 st_ctim; | struct timespec32 st_ctim; | ||||
#ifdef __STAT32_TIME_T_EXT | |||||
__int32_t st_btim_ext; | |||||
#endif | |||||
struct timespec32 st_birthtim; | |||||
off_t st_size; | off_t st_size; | ||||
int64_t st_blocks; | int64_t st_blocks; | ||||
u_int32_t st_blksize; | u_int32_t st_blksize; | ||||
u_int32_t st_flags; | u_int32_t st_flags; | ||||
u_int64_t st_gen; | |||||
u_int64_t st_spare[10]; | |||||
}; | |||||
struct freebsd11_stat32 { | |||||
u_int32_t st_dev; | |||||
u_int32_t st_ino; | |||||
mode_t st_mode; | |||||
u_int16_t st_nlink; | |||||
uid_t st_uid; | |||||
gid_t st_gid; | |||||
u_int32_t st_rdev; | |||||
struct timespec32 st_atim; | |||||
struct timespec32 st_mtim; | |||||
struct timespec32 st_ctim; | |||||
off_t st_size; | |||||
int64_t st_blocks; | |||||
u_int32_t st_blksize; | |||||
u_int32_t st_flags; | |||||
u_int32_t st_gen; | u_int32_t st_gen; | ||||
int32_t st_lspare; | int32_t st_lspare; | ||||
struct timespec32 st_birthtim; | struct timespec32 st_birthtim; | ||||
unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32)); | unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32)); | ||||
unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32)); | unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32)); | ||||
}; | }; | ||||
struct ostat32 { | struct ostat32 { | ||||
__uint16_t st_dev; | __uint16_t st_dev; | ||||
ino_t st_ino; | __uint32_t st_ino; | ||||
mode_t st_mode; | mode_t st_mode; | ||||
nlink_t st_nlink; | __uint16_t st_nlink; | ||||
__uint16_t st_uid; | __uint16_t st_uid; | ||||
__uint16_t st_gid; | __uint16_t st_gid; | ||||
__uint16_t st_rdev; | __uint16_t st_rdev; | ||||
__int32_t st_size; | __int32_t st_size; | ||||
struct timespec32 st_atim; | struct timespec32 st_atim; | ||||
struct timespec32 st_mtim; | struct timespec32 st_mtim; | ||||
struct timespec32 st_ctim; | struct timespec32 st_ctim; | ||||
__int32_t st_blksize; | __int32_t st_blksize; | ||||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | struct kinfo_proc32 { | ||||
pid_t ki_pid; | pid_t ki_pid; | ||||
pid_t ki_ppid; | pid_t ki_ppid; | ||||
pid_t ki_pgid; | pid_t ki_pgid; | ||||
pid_t ki_tpgid; | pid_t ki_tpgid; | ||||
pid_t ki_sid; | pid_t ki_sid; | ||||
pid_t ki_tsid; | pid_t ki_tsid; | ||||
short ki_jobc; | short ki_jobc; | ||||
short ki_spare_short1; | short ki_spare_short1; | ||||
dev_t ki_tdev; | uint32_t ki_tdev_freebsd11; | ||||
sigset_t ki_siglist; | sigset_t ki_siglist; | ||||
sigset_t ki_sigmask; | sigset_t ki_sigmask; | ||||
sigset_t ki_sigignore; | sigset_t ki_sigignore; | ||||
sigset_t ki_sigcatch; | sigset_t ki_sigcatch; | ||||
uid_t ki_uid; | uid_t ki_uid; | ||||
uid_t ki_ruid; | uid_t ki_ruid; | ||||
uid_t ki_svuid; | uid_t ki_svuid; | ||||
gid_t ki_rgid; | gid_t ki_rgid; | ||||
Show All 31 Lines | struct kinfo_proc32 { | ||||
char ki_login[LOGNAMELEN+1]; | char ki_login[LOGNAMELEN+1]; | ||||
char ki_lockname[LOCKNAMELEN+1]; | char ki_lockname[LOCKNAMELEN+1]; | ||||
char ki_comm[COMMLEN+1]; | char ki_comm[COMMLEN+1]; | ||||
char ki_emul[KI_EMULNAMELEN+1]; | char ki_emul[KI_EMULNAMELEN+1]; | ||||
char ki_loginclass[LOGINCLASSLEN+1]; | char ki_loginclass[LOGINCLASSLEN+1]; | ||||
char ki_moretdname[MAXCOMLEN-TDNAMLEN+1]; | char ki_moretdname[MAXCOMLEN-TDNAMLEN+1]; | ||||
char ki_sparestrings[46]; | char ki_sparestrings[46]; | ||||
int ki_spareints[KI_NSPARE_INT]; | int ki_spareints[KI_NSPARE_INT]; | ||||
uint64_t ki_tdev; | |||||
int ki_oncpu; | int ki_oncpu; | ||||
int ki_lastcpu; | int ki_lastcpu; | ||||
int ki_tracer; | int ki_tracer; | ||||
int ki_flag2; | int ki_flag2; | ||||
int ki_fibnum; | int ki_fibnum; | ||||
u_int ki_cr_flags; | u_int ki_cr_flags; | ||||
int ki_jid; | int ki_jid; | ||||
int ki_numthreads; | int ki_numthreads; | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |