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-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD: releng/6.4/sys/compat/freebsd32/freebsd32_proto.h 178460 2008-04-24 10:52:30Z dfr $
    6  * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.50.2.16 2008/04/24 10:46:17 dfr 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_recvmsg_args {
   42         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
   43         char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
   44         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
   45 };
   46 struct freebsd32_sendmsg_args {
   47         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
   48         char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
   49         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
   50 };
   51 struct freebsd32_recvfrom_args {
   52         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
   53         char buf_l_[PADL_(u_int32_t)]; u_int32_t buf; char buf_r_[PADR_(u_int32_t)];
   54         char len_l_[PADL_(u_int32_t)]; u_int32_t len; char len_r_[PADR_(u_int32_t)];
   55         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
   56         char from_l_[PADL_(u_int32_t)]; u_int32_t from; char from_r_[PADR_(u_int32_t)];
   57         char fromlenaddr_l_[PADL_(u_int32_t)]; u_int32_t fromlenaddr; char fromlenaddr_r_[PADR_(u_int32_t)];
   58 };
   59 struct ofreebsd32_sigpending_args {
   60         register_t dummy;
   61 };
   62 struct freebsd32_sigaltstack_args {
   63         char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)];
   64         char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
   65 };
   66 struct freebsd32_execve_args {
   67         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
   68         char argv_l_[PADL_(u_int32_t *)]; u_int32_t * argv; char argv_r_[PADR_(u_int32_t *)];
   69         char envv_l_[PADL_(u_int32_t *)]; u_int32_t * envv; char envv_r_[PADR_(u_int32_t *)];
   70 };
   71 struct freebsd32_setitimer_args {
   72         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
   73         char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
   74         char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)];
   75 };
   76 struct freebsd32_getitimer_args {
   77         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
   78         char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
   79 };
   80 struct freebsd32_select_args {
   81         char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
   82         char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
   83         char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
   84         char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
   85         char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
   86 };
   87 struct freebsd32_gettimeofday_args {
   88         char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
   89         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
   90 };
   91 struct freebsd32_getrusage_args {
   92         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
   93         char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
   94 };
   95 struct freebsd32_readv_args {
   96         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   97         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
   98         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
   99 };
  100 struct freebsd32_writev_args {
  101         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  102         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  103         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  104 };
  105 struct freebsd32_settimeofday_args {
  106         char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
  107         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  108 };
  109 struct freebsd32_utimes_args {
  110         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  111         char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
  112 };
  113 struct freebsd32_adjtime_args {
  114         char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)];
  115         char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)];
  116 };
  117 struct freebsd32_semsys_args {
  118         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  119         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  120         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  121         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  122         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  123 };
  124 struct freebsd32_msgsys_args {
  125         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  126         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  127         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  128         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  129         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  130         char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
  131 };
  132 struct freebsd32_shmsys_args {
  133         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  134         char a2_l_[PADL_(uint32_t)]; uint32_t a2; char a2_r_[PADR_(uint32_t)];
  135         char a3_l_[PADL_(uint32_t)]; uint32_t a3; char a3_r_[PADR_(uint32_t)];
  136         char a4_l_[PADL_(uint32_t)]; uint32_t a4; char a4_r_[PADR_(uint32_t)];
  137 };
  138 struct freebsd32_pread_args {
  139         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  140         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
  141         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  142         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  143         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  144         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  145 };
  146 struct freebsd32_pwrite_args {
  147         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  148         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
  149         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  150         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  151         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  152         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  153 };
  154 struct freebsd32_stat_args {
  155         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  156         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  157 };
  158 struct freebsd32_fstat_args {
  159         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  160         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  161 };
  162 struct freebsd32_lstat_args {
  163         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  164         char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
  165 };
  166 struct freebsd32_mmap_args {
  167         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  168         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  169         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  170         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  171         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  172         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  173         char poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)];
  174         char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)];
  175 };
  176 struct freebsd32_lseek_args {
  177         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  178         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  179         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  180         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  181         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
  182 };
  183 struct freebsd32_truncate_args {
  184         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  185         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  186         char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
  187         char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
  188 };
  189 struct freebsd32_ftruncate_args {
  190         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  191         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  192         char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
  193         char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
  194 };
  195 struct freebsd32_sysctl_args {
  196         char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
  197         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  198         char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
  199         char oldlenp_l_[PADL_(u_int32_t *)]; u_int32_t * oldlenp; char oldlenp_r_[PADR_(u_int32_t *)];
  200         char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
  201         char newlen_l_[PADL_(u_int32_t)]; u_int32_t newlen; char newlen_r_[PADR_(u_int32_t)];
  202 };
  203 struct freebsd32_futimes_args {
  204         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  205         char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
  206 };
  207 struct freebsd32_semctl_args {
  208         char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
  209         char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
  210         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  211         char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
  212 };
  213 struct freebsd32_msgctl_args {
  214         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  215         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  216         char buf_l_[PADL_(struct msqid_ds32 *)]; struct msqid_ds32 * buf; char buf_r_[PADR_(struct msqid_ds32 *)];
  217 };
  218 struct freebsd32_msgsnd_args {
  219         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  220         char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
  221         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  222         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  223 };
  224 struct freebsd32_msgrcv_args {
  225         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  226         char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
  227         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  228         char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)];
  229         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  230 };
  231 struct freebsd32_shmctl_args {
  232         char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
  233         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  234         char buf_l_[PADL_(struct shmid_ds32 *)]; struct shmid_ds32 * buf; char buf_r_[PADR_(struct shmid_ds32 *)];
  235 };
  236 struct freebsd32_clock_gettime_args {
  237         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  238         char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
  239 };
  240 struct freebsd32_clock_settime_args {
  241         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  242         char tp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * tp; char tp_r_[PADR_(const struct timespec32 *)];
  243 };
  244 struct freebsd32_clock_getres_args {
  245         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  246         char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
  247 };
  248 struct freebsd32_nanosleep_args {
  249         char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
  250         char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
  251 };
  252 struct freebsd32_lutimes_args {
  253         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  254         char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
  255 };
  256 struct freebsd32_preadv_args {
  257         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  258         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  259         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  260         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  261 };
  262 struct freebsd32_pwritev_args {
  263         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  264         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  265         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  266         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  267 };
  268 struct freebsd32_modstat_args {
  269         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  270         char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
  271 };
  272 struct freebsd32_kevent_args {
  273         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  274         char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)];
  275         char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
  276         char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)];
  277         char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
  278         char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
  279 };
  280 struct freebsd32_sendfile_args {
  281         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  282         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  283         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  284         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  285         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  286         char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
  287         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
  288         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  289 };
  290 struct freebsd32_sigaction_args {
  291         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
  292         char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
  293         char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
  294 };
  295 struct freebsd32_sigreturn_args {
  296         char sigcntxp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd32_ucontext *)];
  297 };
  298 struct freebsd32_getcontext_args {
  299         char ucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(struct freebsd32_ucontext *)];
  300 };
  301 struct freebsd32_setcontext_args {
  302         char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
  303 };
  304 struct freebsd32_swapcontext_args {
  305         char oucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * oucp; char oucp_r_[PADR_(struct freebsd32_ucontext *)];
  306         char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
  307 };
  308 struct freebsd32_umtx_lock_args {
  309         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
  310 };
  311 struct freebsd32_umtx_unlock_args {
  312         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
  313 };
  314 struct freebsd32_thr_suspend_args {
  315         char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
  316 };
  317 struct freebsd32_umtx_op_args {
  318         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
  319         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
  320         char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)];
  321         char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
  322         char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
  323 };
  324 struct freebsd32_thr_new_args {
  325         char param_l_[PADL_(struct thr_param32 *)]; struct thr_param32 * param; char param_r_[PADR_(struct thr_param32 *)];
  326         char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)];
  327 };
  328 int     freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
  329 int     freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
  330 int     freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
  331 int     freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *);
  332 int     freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
  333 int     freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
  334 int     freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
  335 int     freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
  336 int     freebsd32_select(struct thread *, struct freebsd32_select_args *);
  337 int     freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
  338 int     freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
  339 int     freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
  340 int     freebsd32_writev(struct thread *, struct freebsd32_writev_args *);
  341 int     freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *);
  342 int     freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *);
  343 int     freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
  344 int     freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
  345 int     freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
  346 int     freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
  347 int     freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
  348 int     freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
  349 int     freebsd32_stat(struct thread *, struct freebsd32_stat_args *);
  350 int     freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
  351 int     freebsd32_lstat(struct thread *, struct freebsd32_lstat_args *);
  352 int     freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
  353 int     freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
  354 int     freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
  355 int     freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
  356 int     freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
  357 int     freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
  358 int     freebsd32_semctl(struct thread *, struct freebsd32_semctl_args *);
  359 int     freebsd32_msgctl(struct thread *, struct freebsd32_msgctl_args *);
  360 int     freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
  361 int     freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *);
  362 int     freebsd32_shmctl(struct thread *, struct freebsd32_shmctl_args *);
  363 int     freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
  364 int     freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
  365 int     freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
  366 int     freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
  367 int     freebsd32_lutimes(struct thread *, struct freebsd32_lutimes_args *);
  368 int     freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
  369 int     freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
  370 int     freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
  371 int     freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
  372 int     freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);
  373 int     freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *);
  374 int     freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *);
  375 int     freebsd32_getcontext(struct thread *, struct freebsd32_getcontext_args *);
  376 int     freebsd32_setcontext(struct thread *, struct freebsd32_setcontext_args *);
  377 int     freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *);
  378 int     freebsd32_umtx_lock(struct thread *, struct freebsd32_umtx_lock_args *);
  379 int     freebsd32_umtx_unlock(struct thread *, struct freebsd32_umtx_unlock_args *);
  380 int     freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *);
  381 int     freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *);
  382 int     freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *);
  383 
  384 #ifdef COMPAT_43
  385 
  386 struct ofreebsd32_sigaction_args {
  387         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
  388         char nsa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * nsa; char nsa_r_[PADR_(struct osigaction32 *)];
  389         char osa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * osa; char osa_r_[PADR_(struct osigaction32 *)];
  390 };
  391 struct ofreebsd32_sigprocmask_args {
  392         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  393         char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
  394 };
  395 struct ofreebsd32_sigvec_args {
  396         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
  397         char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)];
  398         char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)];
  399 };
  400 struct ofreebsd32_sigblock_args {
  401         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
  402 };
  403 struct ofreebsd32_sigsetmask_args {
  404         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
  405 };
  406 struct ofreebsd32_sigsuspend_args {
  407         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
  408 };
  409 struct ofreebsd32_sigstack_args {
  410         char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)];
  411         char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)];
  412 };
  413 int     ofreebsd32_sigaction(struct thread *, struct ofreebsd32_sigaction_args *);
  414 int     ofreebsd32_sigprocmask(struct thread *, struct ofreebsd32_sigprocmask_args *);
  415 int     ofreebsd32_sigpending(struct thread *, struct ofreebsd32_sigpending_args *);
  416 int     ofreebsd32_sigvec(struct thread *, struct ofreebsd32_sigvec_args *);
  417 int     ofreebsd32_sigblock(struct thread *, struct ofreebsd32_sigblock_args *);
  418 int     ofreebsd32_sigsetmask(struct thread *, struct ofreebsd32_sigsetmask_args *);
  419 int     ofreebsd32_sigsuspend(struct thread *, struct ofreebsd32_sigsuspend_args *);
  420 int     ofreebsd32_sigstack(struct thread *, struct ofreebsd32_sigstack_args *);
  421 
  422 #endif /* COMPAT_43 */
  423 
  424 
  425 #ifdef COMPAT_FREEBSD4
  426 
  427 struct freebsd4_freebsd32_getfsstat_args {
  428         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  429         char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
  430         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  431 };
  432 struct freebsd4_freebsd32_statfs_args {
  433         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  434         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  435 };
  436 struct freebsd4_freebsd32_fstatfs_args {
  437         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  438         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  439 };
  440 struct freebsd4_freebsd32_fhstatfs_args {
  441         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  442         char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
  443 };
  444 struct freebsd4_freebsd32_sendfile_args {
  445         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  446         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  447         char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
  448         char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
  449         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  450         char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
  451         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
  452         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  453 };
  454 struct freebsd4_freebsd32_sigaction_args {
  455         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
  456         char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
  457         char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
  458 };
  459 struct freebsd4_freebsd32_sigreturn_args {
  460         char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)];
  461 };
  462 int     freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *);
  463 int     freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *);
  464 int     freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *);
  465 int     freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *);
  466 int     freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *);
  467 int     freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *);
  468 int     freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *);
  469 
  470 #endif /* COMPAT_FREEBSD4 */
  471 
  472 #undef PAD_
  473 #undef PADL_
  474 #undef PADR_
  475 
  476 #endif /* !_FREEBSD32_SYSPROTO_H_ */

Cache object: ec941223915b7d37ea101f4bda186536


[ 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.