XLAT(QM_REFS),
XLAT(QM_SYMBOLS),
XLAT(QM_INFO),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat modflags[] = {
XLAT(MOD_VISITED),
XLAT(MOD_USED_ONCE),
XLAT(MOD_JUST_FREED),
- { 0, NULL },
+ XLAT_END
};
int
static const struct xlat blkpg_ops[] = {
XLAT(BLKPG_ADD_PARTITION),
XLAT(BLKPG_DEL_PARTITION),
- { 0, NULL },
+ XLAT_END
};
static void
#ifdef F_DUPFD_CLOEXEC
XLAT(F_DUPFD_CLOEXEC),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat fdflags[] = {
#ifdef FD_CLOEXEC
XLAT(FD_CLOEXEC),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifdef LOCK_SH
XLAT(LOCK_EX),
XLAT(LOCK_NB),
XLAT(LOCK_UN),
- { 0, NULL },
+ XLAT_END
};
#endif /* LOCK_SH */
#ifdef F_SHLCK
XLAT(F_SHLCK),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifdef F_NOTIFY
#ifdef DN_MULTISHOT
XLAT(DN_MULTISHOT),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif
#ifdef PERF_FLAG_PID_CGROUP
XLAT(PERF_FLAG_PID_CGROUP),
#endif
- { 0, NULL },
+ XLAT_END
};
#if defined(F_SETLK64) && F_SETLK64 + 0 != F_SETLK
#ifdef EPOLL_CTL_DEL
XLAT(EPOLL_CTL_DEL),
#endif
- { 0, NULL }
+ XLAT_END
};
static const struct xlat epollevents[] = {
#ifdef EPOLLET
XLAT(EPOLLET),
#endif
- { 0, NULL }
+ XLAT_END
};
/* Not aliased to printargs_ld: we want it to have a distinct address */
#ifdef EPOLL_NONBLOCK
XLAT(EPOLL_NONBLOCK),
#endif
- { 0, NULL }
+ XLAT_END
};
int
#ifdef O_ACCMODE
XLAT(O_ACCMODE),
#endif
- { 0, NULL },
+ XLAT_END
};
const struct xlat open_mode_flags[] = {
#ifdef O_EXLOCK
XLAT(O_EXLOCK),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifndef AT_FDCWD
{ 0x8000, "O_RSYNC" },
{ 4, "O_NDELAY" },
{ 0x1000, "O_PRIV" },
- { 0, NULL },
+ XLAT_END
};
int
#ifdef EX_OK
XLAT(EX_OK),
#endif
- { 0, NULL },
+ XLAT_END
};
static int
#ifdef SEEK_HOLE
XLAT(SEEK_HOLE),
#endif
- { 0, NULL },
+ XLAT_END
};
/* Linux kernel has exactly one version of lseek:
XLAT(S_IFDIR),
XLAT(S_IFBLK),
XLAT(S_IFCHR),
- { 0, NULL },
+ XLAT_END
};
static const char *
#endif /* POWERPC64 */
static const struct xlat fileflags[] = {
- { 0, NULL },
+ XLAT_END
};
static void
XLAT(AT_SYMLINK_FOLLOW),
XLAT(AT_NO_AUTOMOUNT),
XLAT(AT_EMPTY_PATH),
- { 0, NULL }
+ XLAT_END
};
int
# ifdef ACL_CNT
XLAT(ACL_CNT),
# endif
- { 0, NULL },
+ XLAT_END
};
int
# ifdef IPC_MSG
XLAT(IPC_MSG),
# endif
- { 0, NULL },
+ XLAT_END
};
int
{ 0x012ff7b4, "XENIX_SUPER_MAGIC" },
{ 0x012fd16d, "XIAFS_SUPER_MAGIC" },
{ 0x62656572, "SYSFS_MAGIC" },
- { 0, NULL },
+ XLAT_END
};
static const char *
XLAT(DT_LNK),
XLAT(DT_SOCK),
XLAT(DT_WHT),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(XATTR_CREATE),
XLAT(XATTR_REPLACE),
#endif
- { 0, NULL }
+ XLAT_END
};
static void
XLAT(POSIX_FADV_WILLNEED),
XLAT(POSIX_FADV_DONTNEED),
XLAT(POSIX_FADV_NOREUSE),
- { 0, NULL }
+ XLAT_END
};
int
XLAT(SYNC_FILE_RANGE_WAIT_BEFORE),
XLAT(SYNC_FILE_RANGE_WRITE),
XLAT(SYNC_FILE_RANGE_WAIT_AFTER),
- { 0, NULL }
+ XLAT_END
};
int
{ 0x20000000, "IN_MASK_ADD" },
{ 0x40000000, "IN_ISDIR" },
{ 0x80000000, "IN_ONESHOT" },
- { 0, NULL }
+ XLAT_END
};
static const struct xlat inotify_init_flags[] = {
{ 0x00000800, "IN_NONBLOCK" },
{ 0x00080000, "IN_CLOEXEC" },
- { 0, NULL }
+ XLAT_END
};
int
static const struct xlat swap_flags[] = {
XLAT(SWAP_FLAG_PREFER),
XLAT(SWAP_FLAG_DISCARD),
- { 0, NULL }
+ XLAT_END
};
int
#ifdef SPLICE_F_GIFT
XLAT(SPLICE_F_GIFT),
#endif
- { 0, NULL },
+ XLAT_END
};
int
XLAT(IPC_INFO),
XLAT(MSG_STAT),
XLAT(MSG_INFO),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat semctl_flags[] = {
XLAT(GETZCNT),
XLAT(SETVAL),
XLAT(SETALL),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat shmctl_flags[] = {
#ifdef SHM_UNLOCK
XLAT(SHM_UNLOCK),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat resource_flags[] = {
XLAT(IPC_CREAT),
XLAT(IPC_EXCL),
XLAT(IPC_NOWAIT),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat shm_resource_flags[] = {
#ifdef SHM_HUGETLB
XLAT(SHM_HUGETLB),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat shm_flags[] = {
XLAT(SHM_REMAP),
XLAT(SHM_RDONLY),
XLAT(SHM_RND),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat msg_flags[] = {
XLAT(MSG_NOERROR),
XLAT(MSG_EXCEPT),
XLAT(IPC_NOWAIT),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat semop_flags[] = {
XLAT(SEM_UNDO),
XLAT(IPC_NOWAIT),
- { 0, NULL },
+ XLAT_END
};
int sys_msgget(struct tcb *tcp)
#if HAVE_DECL_LO_FLAGS_PARTSCAN
XLAT(LO_FLAGS_PARTSCAN),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat loop_crypt_type_options[] = {
XLAT(LO_CRYPT_DUMMY),
XLAT(LO_CRYPT_SKIPJACK),
XLAT(LO_CRYPT_CRYPTOAPI),
- { 0, NULL },
+ XLAT_END
};
int loop_ioctl(struct tcb *tcp, long code, long arg)
#ifdef PROT_SAO
XLAT(PROT_SAO),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mmap_flags[] = {
#ifdef MAP_NOCORE
XLAT(MAP_NOCORE),
#endif
- { 0, NULL },
+ XLAT_END
};
static int
#ifdef MREMAP_FIXED
XLAT(MREMAP_FIXED),
#endif
- { 0, NULL }
+ XLAT_END
};
int
#ifdef MADV_DODUMP
XLAT(MADV_DODUMP),
#endif
- { 0, NULL },
+ XLAT_END
};
int
#ifdef MCL_FUTURE
XLAT(MCL_FUTURE),
#endif
- { 0, NULL}
+ XLAT_END
};
int
#endif
XLAT(MS_ASYNC),
XLAT(MS_INVALIDATE),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(MC_SYNC),
XLAT(MC_UNLOCK),
XLAT(MC_UNLOCKAS),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mctl_lockas[] = {
XLAT(MCL_CURRENT),
XLAT(MCL_FUTURE),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(MPOL_PREFERRED),
XLAT(MPOL_BIND),
XLAT(MPOL_INTERLEAVE),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat mbindflags[] = {
XLAT(MPOL_MF_STRICT),
XLAT(MPOL_MF_MOVE),
XLAT(MPOL_MF_MOVE_ALL),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat mempolicyflags[] = {
XLAT(MPOL_F_NODE),
XLAT(MPOL_F_ADDR),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat move_pages_flags[] = {
XLAT(MPOL_MF_MOVE),
XLAT(MPOL_MF_MOVE_ALL),
- { 0, NULL }
+ XLAT_END
};
static void
XLAT(MTD_OPS_PLACE_OOB),
XLAT(MTD_OPS_AUTO_OOB),
XLAT(MTD_OPS_RAW),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mtd_type_options[] = {
XLAT(MTD_DATAFLASH),
XLAT(MTD_UBIVOLUME),
XLAT(MTD_MLCNANDFLASH),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mtd_flags_options[] = {
XLAT(MTD_BIT_WRITEABLE),
XLAT(MTD_NO_ERASE),
XLAT(MTD_POWERUP_LOCK),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mtd_otp_options[] = {
XLAT(MTD_OTP_OFF),
XLAT(MTD_OTP_FACTORY),
XLAT(MTD_OTP_USER),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat mtd_nandecc_options[] = {
XLAT(MTD_NANDECC_AUTOPLACE),
XLAT(MTD_NANDECC_PLACEONLY),
XLAT(MTD_NANDECC_AUTOPL_USR),
- { 0, NULL },
+ XLAT_END
};
int mtd_ioctl(struct tcb *tcp, long code, long arg)
static const struct xlat ubi_volume_types[] = {
XLAT(UBI_DYNAMIC_VOLUME),
XLAT(UBI_STATIC_VOLUME),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat ubi_volume_props[] = {
XLAT(UBI_VOL_PROP_DIRECT_WRITE),
- { 0, NULL },
+ XLAT_END
};
int ubi_ioctl(struct tcb *tcp, long code, long arg)
#ifdef PF_VSOCK
XLAT(PF_VSOCK),
#endif
- { 0, NULL },
+ XLAT_END
};
const struct xlat addrfams[] = {
#ifdef AF_UNSPEC
#ifdef AF_VSOCK
XLAT(AF_VSOCK),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat socktypes[] = {
XLAT(SOCK_STREAM),
#ifdef SOCK_PACKET
XLAT(SOCK_PACKET),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sock_type_flags[] = {
#ifdef SOCK_CLOEXEC
#ifdef SOCK_NONBLOCK
XLAT(SOCK_NONBLOCK),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifndef SOCK_TYPE_MASK
# define SOCK_TYPE_MASK 0xf
#ifdef IPPROTO_MAX
XLAT(IPPROTO_MAX),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat msg_flags[] = {
XLAT(MSG_OOB),
#ifdef MSG_CMSG_CLOEXEC
XLAT(MSG_CMSG_CLOEXEC),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sockoptions[] = {
#ifdef SO_USELOOPBACK
XLAT(SO_USELOOPBACK),
#endif
- { 0, NULL },
+ XLAT_END
};
#if !defined(SOL_IP) && defined(IPPROTO_IP)
#ifdef IP_UNICAST_IF
XLAT(IP_UNICAST_IF),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_IP */
#ifdef IPV6_ROUTER_ALERT
XLAT(IPV6_ROUTER_ALERT),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_IPV6 */
#ifdef SOL_IPX
static const struct xlat sockipxoptions[] = {
XLAT(IPX_TYPE),
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_IPX */
#if defined(ICMP_FILTER)
XLAT(ICMP_FILTER),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_RAW */
#if defined(PACKET_LOSS)
XLAT(PACKET_LOSS),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_PACKET */
XLAT(SCTP_GET_LOCAL_ADDRS),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif
#ifdef TCP_TIMESTAMP
XLAT(TCP_TIMESTAMP),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_TCP */
#if defined(ICMP_ADDRESSREPLY)
{ (1<<ICMP_ADDRESSREPLY), "ICMP_ADDRESSREPLY" },
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* SOL_RAW */
#if defined(PACKET_FASTROUTE)
XLAT(PACKET_FASTROUTE),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* defined(AF_PACKET) */
#ifdef SCM_CREDENTIALS
XLAT(SCM_CREDENTIALS),
#endif
- { 0, NULL }
+ XLAT_END
};
static void
{ 0, "SHUT_RD" },
{ 1, "SHUT_WR" },
{ 2, "SHUT_RDWR" },
- { 0, NULL }
+ XLAT_END
};
int
#ifdef PR_GET_TID_ADDRESS
XLAT(PR_GET_TID_ADDRESS),
#endif
- { 0, NULL },
+ XLAT_END
};
static const char *
XLAT(CLONE_NEWPID),
XLAT(CLONE_NEWNET),
XLAT(CLONE_IO),
- { 0, NULL },
+ XLAT_END
};
#ifdef I386
#ifdef __WNOTHREAD
XLAT(__WNOTHREAD),
#endif
- { 0, NULL },
+ XLAT_END
};
#if !defined WCOREFLAG && defined WCOREFLG
#ifdef P_LWPID
XLAT(P_LWPID),
#endif
- { 0, NULL },
+ XLAT_END
};
int
#endif
XLAT(PTRACE_SYSCALL),
- { 0, NULL },
+ XLAT_END
};
#ifdef PTRACE_SETOPTIONS
# ifdef PTRACE_O_EXITKILL
XLAT(PTRACE_O_EXITKILL),
# endif
- { 0, NULL },
+ XLAT_END
};
#endif /* PTRACE_SETOPTIONS */
#ifdef NT_X86_XSTATE
XLAT(NT_X86_XSTATE),
#endif
- { 0, NULL },
+ XLAT_END
};
#define uoff(member) offsetof(struct user, member)
#elif defined(ARC)
/* nothing */
#endif
- { 0, NULL },
+ XLAT_END
};
int
XLAT(FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME),
XLAT(FUTEX_WAIT_REQUEUE_PI|FUTEX_CLOCK_REALTIME),
XLAT(FUTEX_WAIT_REQUEUE_PI_PRIVATE|FUTEX_CLOCK_REALTIME),
- { 0, NULL }
+ XLAT_END
};
#ifndef FUTEX_OP_SET
# define FUTEX_OP_SET 0
XLAT(FUTEX_OP_OR),
XLAT(FUTEX_OP_ANDN),
XLAT(FUTEX_OP_XOR),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat futexwakecmps[] = {
XLAT(FUTEX_OP_CMP_EQ),
XLAT(FUTEX_OP_CMP_LE),
XLAT(FUTEX_OP_CMP_GT),
XLAT(FUTEX_OP_CMP_GE),
- { 0, NULL }
+ XLAT_END
};
int
XLAT(SCHED_OTHER),
XLAT(SCHED_RR),
XLAT(SCHED_FIFO),
- { 0, NULL }
+ XLAT_END
};
int
XLAT(ARCH_SET_FS),
XLAT(ARCH_GET_FS),
XLAT(ARCH_GET_GS),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(PTP_ENABLE_FEATURE),
XLAT(PTP_RISING_EDGE),
XLAT(PTP_FALLING_EDGE),
- { 0, NULL }
+ XLAT_END
};
XLAT(Q_XQUOTARM),
XLAT(Q_XQUOTASYNC),
- {0, NULL},
+ XLAT_END
};
#define USRQUOTA 0
static const struct xlat quotatypes[] = {
XLAT(USRQUOTA),
XLAT(GRPQUOTA),
- {0, NULL},
+ XLAT_END
};
/* Quota format identifiers */
static const struct xlat quota_formats[] = {
XLAT(QFMT_VFS_OLD),
XLAT(QFMT_VFS_V0),
- {0, NULL},
+ XLAT_END
};
#define XFS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */
XLAT(XFS_QUOTA_UDQ_ENFD),
XLAT(XFS_QUOTA_GDQ_ACCT),
XLAT(XFS_QUOTA_GDQ_ENFD),
- {0, NULL}
+ XLAT_END
};
static const struct xlat xfs_dqblk_flags[] = {
XLAT(XFS_USER_QUOTA),
XLAT(XFS_PROJ_QUOTA),
XLAT(XFS_GROUP_QUOTA),
- {0, NULL}
+ XLAT_END
};
/*
XLAT(QIF_INODES),
XLAT(QIF_BTIME),
XLAT(QIF_ITIME),
- {0, NULL}
+ XLAT_END
};
struct if_dqblk
XLAT(IIF_BGRACE),
XLAT(IIF_IGRACE),
XLAT(IIF_FLAGS),
- {0, NULL}
+ XLAT_END
};
struct if_dqinfo
#ifdef RLIMIT_VMEM
XLAT(RLIMIT_VMEM),
#endif
- { 0, NULL }
+ XLAT_END
};
#if !(SIZEOF_RLIM_T == 4 || SIZEOF_RLIM_T == 8)
#ifdef RUSAGE_BOTH
XLAT(RUSAGE_BOTH),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifdef ALPHA
XLAT(PRIO_PROCESS),
XLAT(PRIO_PGRP),
XLAT(PRIO_USER),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(SG_DXFER_TO_DEV),
XLAT(SG_DXFER_FROM_DEV),
XLAT(SG_DXFER_TO_FROM_DEV),
- {0, NULL}
+ XLAT_END
};
static void
#ifdef SA_NOPTRACE
XLAT(SA_NOPTRACE),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigprocmaskcmds[] = {
#ifdef SIG_SETMASK32
XLAT(SIG_SETMASK32),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif /* HAVE_SIGACTION */
#ifdef SI_LWP
XLAT(SI_LWP),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigill_codes[] = {
XLAT(ILL_PRVREG),
XLAT(ILL_COPROC),
XLAT(ILL_BADSTK),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigfpe_codes[] = {
XLAT(FPE_FLTRES),
XLAT(FPE_FLTINV),
XLAT(FPE_FLTSUB),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigtrap_codes[] = {
XLAT(TRAP_BRKPT),
XLAT(TRAP_TRACE),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigchld_codes[] = {
XLAT(CLD_TRAPPED),
XLAT(CLD_STOPPED),
XLAT(CLD_CONTINUED),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigpoll_codes[] = {
XLAT(POLL_ERR),
XLAT(POLL_PRI),
XLAT(POLL_HUP),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigprof_codes[] = {
#ifdef PROF_SIG
XLAT(PROF_SIG),
#endif
- { 0, NULL },
+ XLAT_END
};
#ifdef SIGEMT
#ifdef EMT_TAGOVF
XLAT(EMT_TAGOVF),
#endif
- { 0, NULL },
+ XLAT_END
};
#endif
static const struct xlat sigsegv_codes[] = {
XLAT(SEGV_MAPERR),
XLAT(SEGV_ACCERR),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sigbus_codes[] = {
XLAT(BUS_ADRALN),
XLAT(BUS_ADRERR),
XLAT(BUS_OBJERR),
- { 0, NULL },
+ XLAT_END
};
void
static const struct xlat sigaltstack_flags[] = {
XLAT(SS_ONSTACK),
XLAT(SS_DISABLE),
- { 0, NULL },
+ XLAT_END
};
static void
XLAT(IFF_MULTICAST),
XLAT(IFF_PORTSEL),
XLAT(IFF_AUTOMEDIA),
- { 0, NULL }
+ XLAT_END
};
static void
static const struct xlat msgflags[] = {
XLAT(RS_HIPRI),
- { 0, NULL },
+ XLAT_END
};
static void
# ifdef MSG_BAND
XLAT(MSG_BAND),
# endif
- { 0, NULL },
+ XLAT_END
};
# ifdef SYS_putpmsg
int
XLAT(POLLHUP),
XLAT(POLLNVAL),
# endif
- { 0, NULL },
+ XLAT_END
};
static int
XLAT(MS_SHARED),
XLAT(MS_ACTIVE),
XLAT(MS_NOUSER),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(MNT_FORCE),
XLAT(MNT_DETACH),
XLAT(MNT_EXPIRE),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(PER_UW7),
XLAT(PER_OSF4),
XLAT(PER_HPUX),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(SYSLOG_ACTION_CONSOLE_LEVEL),
XLAT(SYSLOG_ACTION_SIZE_UNREAD),
XLAT(SYSLOG_ACTION_SIZE_BUFFER),
- { 0, NULL }
+ XLAT_END
};
int
#include <linux/reboot.h>
static const struct xlat bootflags1[] = {
XLAT(LINUX_REBOOT_MAGIC1),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat bootflags2[] = {
XLAT(LINUX_REBOOT_MAGIC2),
XLAT(LINUX_REBOOT_MAGIC2A),
XLAT(LINUX_REBOOT_MAGIC2B),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat bootflags3[] = {
XLAT(LINUX_REBOOT_CMD_CAD_ON),
XLAT(LINUX_REBOOT_CMD_POWER_OFF),
XLAT(LINUX_REBOOT_CMD_RESTART2),
- { 0, NULL },
+ XLAT_END
};
int
#ifdef FLUSH_SCOPE_ALL
XLAT(FLUSH_SCOPE_ALL),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat cacheflush_flags[] = {
#ifdef FLUSH_CACHE_INSN
XLAT(FLUSH_CACHE_INSN),
#endif
- { 0, NULL },
+ XLAT_END
};
int
XLAT(L1_DATA_B_SRAM),
XLAT(L1_DATA_SRAM),
XLAT(L2_SRAM),
- { 0, NULL },
+ XLAT_END
};
int
XLAT(ICACHE),
XLAT(DCACHE),
XLAT(BCACHE),
- { 0, NULL },
+ XLAT_END
};
int
#ifdef CACHEFLUSH_I
XLAT(CACHEFLUSH_I),
#endif
- { 0, NULL },
+ XLAT_END
};
int
#ifdef CAP_SETFCAP
{ 1<<CAP_SETFCAP, "CAP_SETFCAP" },
#endif
- { 0, NULL },
+ XLAT_END
};
#ifndef _LINUX_CAPABILITY_VERSION_1
XLAT(_LINUX_CAPABILITY_VERSION_1),
XLAT(_LINUX_CAPABILITY_VERSION_2),
XLAT(_LINUX_CAPABILITY_VERSION_3),
- { 0, NULL }
+ XLAT_END
};
static void
XLAT(CTL_BUS),
XLAT(CTL_ABI),
XLAT(CTL_CPU),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_kern[] = {
XLAT(KERN_MSGMAX),
XLAT(KERN_MSGMNB),
XLAT(KERN_MSGPOOL),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_vm[] = {
XLAT(VM_UNUSED9),
#endif
XLAT(VM_PAGE_CLUSTER),
- { 0, NULL },
+ XLAT_END
};
static const struct xlat sysctl_net[] = {
XLAT(NET_X25),
XLAT(NET_TR),
XLAT(NET_DECNET),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_core[] = {
XLAT(NET_CORE_MSG_COST),
XLAT(NET_CORE_MSG_BURST),
XLAT(NET_CORE_OPTMEM_MAX),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_unix[] = {
XLAT(NET_UNIX_DESTROY_DELAY),
XLAT(NET_UNIX_DELETE_DELAY),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_ipv4[] = {
XLAT(NET_IPV4_ICMP_ECHOREPLY_RATE),
XLAT(NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES),
XLAT(NET_IPV4_IGMP_MAX_MEMBERSHIPS),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_ipv4_route[] = {
XLAT(NET_IPV4_ROUTE_ERROR_COST),
XLAT(NET_IPV4_ROUTE_ERROR_BURST),
XLAT(NET_IPV4_ROUTE_GC_ELASTICITY),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_ipv4_conf[] = {
XLAT(NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE),
XLAT(NET_IPV4_CONF_BOOTP_RELAY),
XLAT(NET_IPV4_CONF_LOG_MARTIANS),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_ipv6[] = {
XLAT(NET_IPV6_CONF),
XLAT(NET_IPV6_NEIGH),
XLAT(NET_IPV6_ROUTE),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat sysctl_net_ipv6_route[] = {
XLAT(NET_IPV6_ROUTE_GC_TIMEOUT),
XLAT(NET_IPV6_ROUTE_GC_INTERVAL),
XLAT(NET_IPV6_ROUTE_GC_ELASTICITY),
- { 0, NULL }
+ XLAT_END
};
int
XLAT(MIPS_FIXADE),
XLAT(MIPS_RDNVRAM),
XLAT(MIPS_ATOMIC_SET),
- { 0, NULL }
+ XLAT_END
};
int sys_sysmips(struct tcb *tcp)
{ OR1K_ATOMIC_OR, "OR" },
{ OR1K_ATOMIC_UMAX, "UMAX" },
{ OR1K_ATOMIC_UMIN, "UMIN" },
- { 0, NULL }
+ XLAT_END
};
int sys_or1k_atomic(struct tcb *tcp)
XLAT(TCOON),
XLAT(TCIOFF),
XLAT(TCION),
- { 0, NULL },
+ XLAT_END
};
#ifdef TCLFLSH
XLAT(TCIFLUSH),
XLAT(TCOFLUSH),
XLAT(TCIOFLUSH),
- { 0, NULL },
+ XLAT_END
};
#endif
#ifdef EXTB
XLAT(EXTB),
#endif
- { 0, NULL },
+ XLAT_END
};
static const struct xlat modem_flags[] = {
#ifdef TIOCM_DSR
XLAT(TIOCM_DSR),
#endif
- { 0, NULL, },
+ XLAT_END
};
int term_ioctl(struct tcb *tcp, long code, long arg)
XLAT(ITIMER_REAL),
XLAT(ITIMER_VIRTUAL),
XLAT(ITIMER_PROF),
- { 0, NULL },
+ XLAT_END
};
static void
#ifdef ADJ_OFFSET_SS_READ
XLAT(ADJ_OFFSET_SS_READ),
#endif
- { 0, NULL }
+ XLAT_END
};
static const struct xlat adjtimex_status[] = {
#ifdef STA_CLK
XLAT(STA_CLK),
#endif
- { 0, NULL }
+ XLAT_END
};
static const struct xlat adjtimex_state[] = {
#ifdef TIME_ERROR
XLAT(TIME_ERROR),
#endif
- { 0, NULL }
+ XLAT_END
};
#if SUPPORTED_PERSONALITIES > 1
static const struct xlat clockflags[] = {
XLAT(TIMER_ABSTIME),
- { 0, NULL }
+ XLAT_END
};
static const struct xlat clocknames[] = {
#ifdef CLOCK_MONOTONIC_COARSE
XLAT(CLOCK_MONOTONIC_COARSE),
#endif
- { 0, NULL }
+ XLAT_END
};
#ifdef CLOCKID_TO_FD
XLAT(CPUCLOCK_PROF),
XLAT(CPUCLOCK_VIRT),
XLAT(CPUCLOCK_SCHED),
- { 0, NULL }
+ XLAT_END
};
#endif
XLAT(SIGEV_NONE),
XLAT(SIGEV_THREAD),
XLAT(SIGEV_THREAD_ID),
- { 0, NULL }
+ XLAT_END
};
#if SUPPORTED_PERSONALITIES > 1
static const struct xlat timerfdflags[] = {
XLAT(TFD_TIMER_ABSTIME),
- { 0, NULL }
+ XLAT_END
};
int