return printxvals(val, dflt, x, NULL);
}
-static inline int
-printxval_long(const struct xlat *x, const unsigned long val, const char *dflt)
-{
- return printxvals(val, dflt, x, NULL);
-}
-
static inline void
tprint_iov(struct tcb *tcp, kernel_ureg_t len, kernel_ureg_t addr,
enum iov_decode decode_iov)
break;
case F_SETLEASE:
tprints(", ");
- printxval_long(lockfcmds, tcp->u_arg[2], "F_???");
+ printxval64(lockfcmds, tcp->u_arg[2], "F_???");
break;
case F_ADD_SEALS:
tprints(", ");
case MTDFILEMODE:
tprints(", ");
- printxval_long(mtd_file_mode_options, arg, "MTD_FILE_MODE_???");
+ printxval64(mtd_file_mode_options, arg, "MTD_FILE_MODE_???");
break;
case MEMGETBADBLOCK:
{
printaddr(tcp->u_arg[0]);
tprintf(", %lu, ", tcp->u_arg[1]);
- printxval_long(policies, tcp->u_arg[2], "MPOL_???");
+ printxval64(policies, tcp->u_arg[2], "MPOL_???");
tprints(", ");
print_nodemask(tcp, tcp->u_arg[3], tcp->u_arg[4]);
tprintf(", %lu, ", tcp->u_arg[4]);
SYS_FUNC(or1k_atomic)
{
- printxval_long(atomic_ops, tcp->u_arg[0], "???");
+ printxval64(atomic_ops, tcp->u_arg[0], "???");
switch(tcp->u_arg[0]) {
case OR1K_ATOMIC_SWAP:
tprintf(", 0x%lx, 0x%lx", tcp->u_arg[1], tcp->u_arg[2]);
SYS_FUNC(sysmips)
{
- printxval_long(sysmips_operations, tcp->u_arg[0], "???");
+ printxval64(sysmips_operations, tcp->u_arg[0], "???");
tprints(", ");
switch (tcp->u_arg[0]) {
/* ioctls with a direct decodable arg */
case TCXONC:
tprints(", ");
- printxval_long(tcxonc_options, arg, "TC???");
+ printxval64(tcxonc_options, arg, "TC???");
break;
case TCFLSH:
tprints(", ");
- printxval_long(tcflsh_options, arg, "TC???");
+ printxval64(tcflsh_options, arg, "TC???");
break;
case TCSBRK:
case TCSBRKP: