Lines Matching refs:type

222 #define _syscall0(type,name)		\  argument
223 static type name (void) \
228 #define _syscall1(type,name,type1,arg1) \ argument
229 static type name (type1 arg1) \
234 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
235 static type name (type1 arg1,type2 arg2) \
240 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
241 static type name (type1 arg1,type2 arg2,type3 arg3) \
246 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
247 static type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4) \
252 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ argument
254 static type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
260 #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ argument
262 static type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, \
327 _syscall3(int,sys_syslog,int,type,char*,bufp,int,len)
411 _syscall5(int, kcmp, pid_t, pid1, pid_t, pid2, int, type,
605 #define safe_syscall0(type, name) \ argument
606 static type safe_##name(void) \
611 #define safe_syscall1(type, name, type1, arg1) \ argument
612 static type safe_##name(type1 arg1) \
617 #define safe_syscall2(type, name, type1, arg1, type2, arg2) \ argument
618 static type safe_##name(type1 arg1, type2 arg2) \
623 #define safe_syscall3(type, name, type1, arg1, type2, arg2, type3, arg3) \ argument
624 static type safe_##name(type1 arg1, type2 arg2, type3 arg3) \
629 #define safe_syscall4(type, name, type1, arg1, type2, arg2, type3, arg3, \ argument
631 static type safe_##name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
636 #define safe_syscall5(type, name, type1, arg1, type2, arg2, type3, arg3, \ argument
638 static type safe_##name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, \
644 #define safe_syscall6(type, name, type1, arg1, type2, arg2, type3, arg3, \ argument
646 static type safe_##name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, \
2961 static struct iovec *lock_iovec(int type, abi_ulong target_addr, in lock_iovec() argument
3009 vec[i].iov_base = lock_user(type, base, len, copy); in lock_iovec()
3072 static inline int target_to_host_sock_type(int *type) in target_to_host_sock_type() argument
3075 int target_type = *type; in target_to_host_sock_type()
3102 *type = host_type; in target_to_host_sock_type()
3122 static abi_long do_socket(int domain, int type, int protocol) in do_socket() argument
3124 int target_type = type; in do_socket()
3127 ret = target_to_host_sock_type(&type); in do_socket()
3142 (domain == AF_INET && type == SOCK_PACKET)) { in do_socket()
3146 ret = get_errno(socket(domain, type, protocol)); in do_socket()
3149 if (type == SOCK_PACKET) { in do_socket()
3507 static abi_long do_socketpair(int domain, int type, int protocol, in do_socketpair() argument
3513 target_to_host_sock_type(&type); in do_socketpair()
3515 ret = get_errno(socketpair(domain, type, protocol, tab)); in do_socketpair()
6816 switch (type) { \
6822 static int target_to_host_flock(int type) in target_to_host_flock() argument
6830 static int host_to_target_flock(int type) in host_to_target_flock() argument
6838 return type; in host_to_target_flock()
7065 target_fox->type = tswap32(fox.type); in do_fcntl()
7076 fox.type = tswap32(target_fox->type); in do_fcntl()
8700 uint8_t type; in do_getdents() local
8737 type = *((uint8_t *)hde + hreclen - 1); in do_getdents()
8739 type = hde->d_type; in do_getdents()
8741 *((uint8_t *)tde + treclen - 1) = type; in do_getdents()