The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/freebsd32/freebsd32_proto.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD$
    6  * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.40.2.5 2005/07/14 19:08:22 jhb Exp 
    7  */
    8 
    9 #ifndef _FREEBSD32_SYSPROTO_H_
   10 #define _FREEBSD32_SYSPROTO_H_
   11 
   12 #include <sys/signal.h>
   13 #include <sys/acl.h>
   14 #include <sys/thr.h>
   15 #include <sys/umtx.h>
   16 #include <posix4/_semaphore.h>
   17 
   18 #include <sys/ucontext.h>
   19 
   20 struct proc;
   21 
   22 struct thread;
   23 
   24 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   25                 0 : sizeof(register_t) - sizeof(t))
   26 
   27 #if BYTE_ORDER == LITTLE_ENDIAN
   28 #define PADL_(t)        0
   29 #define PADR_(t)        PAD_(t)
   30 #else
   31 #define PADL_(t)        PAD_(t)
   32 #define PADR_(t)        0
   33 #endif
   34 
   35 struct freebsd32_wait4_args {
   36         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
   37         char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
   38         char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
   39         char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
   40 };
   41 struct freebsd32_sigaltstack_args {
   42         char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)];
   43         char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
   44 };
   45 struct freebsd32_execve_args {
   46         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
   47         char argv_l_[PADL_(u_int32_t *)]; u_int32_t * argv; char argv_r_[PADR_(u_int32_t *)];
   48         char envv_l_[PADL_(u_int32_t *)]; u_int32_t * envv; char envv_r_[PADR_(u_int32_t *)];
   49 };
   50 struct freebsd32_setitimer_args {
   51         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
   52         char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
   53         char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)];
   54 };
   55 struct freebsd32_getitimer_args {
   56         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
   57         char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
   58 };
   59 struct freebsd32_select_args {
   60         char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
   61         char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
   62         char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
   63         char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
   64         char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
   65 };
   66 struct freebsd32_gettimeofday_args {
   67         char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
   68         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
   69 };
   70 struct freebsd32_getrusage_args {
   71         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
   72         char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
   73 };
   74 struct freebsd32_readv_args {
   75         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   76         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
   77         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
   78 };
   79 struct freebsd32_writev_args {
   80         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   81         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
   82         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
   83 };
   84 struct freebsd32_settimeofday_args {
   85         char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
   86         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
   87 };
   88 struct freebsd32_utimes_args {
   89         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   90         char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
   91 };
   92 struct freebsd32_adjtime_args {
   93         char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)];
   94         char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)];
   95 };
   96 struct freebsd32_semsys_args {
   97         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
   98         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
   99         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  100         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  101         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  102 };
  103 struct freebsd32_msgsys_args {
  104         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  105         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  106         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  107         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  108         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  109         char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
  110 };
  111 struct freebsd32_shmsys_args {
  112         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  113         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  114         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  115         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  116 };
  117 struct freebsd32_pread_args {
  118         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  119         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
  120         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  121         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  122         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  123         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  124 };
  125 struct freebsd32_pwrite_args {
  126         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  127         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
  128         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  129         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  130         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  131         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  132 };
  133 struct freebsd32_stat_args {
  134         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  135         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  136 };
  137 struct freebsd32_fstat_args {
  138         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  139         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  140 };
  141 struct freebsd32_lstat_args {
  142         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  143         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  144 };
  145 struct freebsd32_mmap_args {
  146         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  147         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  148         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  149         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  150         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  151         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  152         char poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)];
  153         char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)];
  154 };
  155 struct freebsd32_lseek_args {
  156         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  157         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  158         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  159         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  160         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
  161 };
  162 struct freebsd32_truncate_args {
  163         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  164         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  165         char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
  166         char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
  167 };
  168 struct freebsd32_ftruncate_args {
  169         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  170         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  171         char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
  172         char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
  173 };
  174 struct freebsd32_sysctl_args {
  175         char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
  176         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  177         char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
  178         char oldlenp_l_[PADL_(u_int32_t *)]; u_int32_t * oldlenp; char oldlenp_r_[PADR_(u_int32_t *)];
  179         char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
  180         char newlen_l_[PADL_(u_int32_t)]; u_int32_t newlen; char newlen_r_[PADR_(u_int32_t)];
  181 };
  182 struct freebsd32_nanosleep_args {
  183         char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
  184         char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
  185 };
  186 struct freebsd32_preadv_args {
  187         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  188         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  189         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  190         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  191 };
  192 struct freebsd32_pwritev_args {
  193         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  194         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  195         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  196         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  197 };
  198 struct freebsd32_modstat_args {
  199         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  200         char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
  201 };
  202 struct freebsd32_kevent_args {
  203         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  204         char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)];
  205         char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
  206         char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)];
  207         char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
  208         char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
  209 };
  210 struct freebsd32_sendfile_args {
  211         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  212         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  213         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  214         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  215         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  216         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
  217         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
  218         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  219 };
  220 struct freebsd32_sigaction_args {
  221         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
  222         char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
  223         char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
  224 };
  225 struct freebsd32_sigreturn_args {
  226         char sigcntxp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd32_ucontext *)];
  227 };
  228 int     freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
  229 int     freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
  230 int     freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
  231 int     freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
  232 int     freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
  233 int     freebsd32_select(struct thread *, struct freebsd32_select_args *);
  234 int     freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
  235 int     freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
  236 int     freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
  237 int     freebsd32_writev(struct thread *, struct freebsd32_writev_args *);
  238 int     freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *);
  239 int     freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *);
  240 int     freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
  241 int     freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
  242 int     freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
  243 int     freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
  244 int     freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
  245 int     freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
  246 int     freebsd32_stat(struct thread *, struct freebsd32_stat_args *);
  247 int     freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
  248 int     freebsd32_lstat(struct thread *, struct freebsd32_lstat_args *);
  249 int     freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
  250 int     freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
  251 int     freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
  252 int     freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
  253 int     freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
  254 int     freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
  255 int     freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
  256 int     freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
  257 int     freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
  258 int     freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
  259 int     freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);
  260 int     freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *);
  261 int     freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *);
  262 
  263 #ifdef COMPAT_43
  264 
  265 
  266 #endif /* COMPAT_43 */
  267 
  268 
  269 #ifdef COMPAT_FREEBSD4
  270 
  271 struct freebsd4_freebsd32_getfsstat_args {
  272         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  273         char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
  274         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  275 };
  276 struct freebsd4_freebsd32_statfs_args {
  277         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  278         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  279 };
  280 struct freebsd4_freebsd32_fstatfs_args {
  281         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  282         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  283 };
  284 struct freebsd4_freebsd32_fhstatfs_args {
  285         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  286         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  287 };
  288 struct freebsd4_freebsd32_sendfile_args {
  289         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  290         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  291         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  292         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  293         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  294         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
  295         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
  296         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  297 };
  298 struct freebsd4_freebsd32_sigaction_args {
  299         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
  300         char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
  301         char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
  302 };
  303 struct freebsd4_freebsd32_sigreturn_args {
  304         char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)];
  305 };
  306 int     freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *);
  307 int     freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *);
  308 int     freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *);
  309 int     freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *);
  310 int     freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *);
  311 int     freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *);
  312 int     freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *);
  313 
  314 #endif /* COMPAT_FREEBSD4 */
  315 
  316 #undef PAD_
  317 #undef PADL_
  318 #undef PADR_
  319 
  320 #endif /* !_FREEBSD32_SYSPROTO_H_ */

Cache object: e7806d738d8eb134a17a795d7b76ac72


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.