/external/strace/xlat/ |
D | Makemodule.am | 1 …xlat/access_flags.in xlat/addrfams.in xlat/adjtimex_modes.in xlat/adjtimex_state.in xlat/adjtimex_… 2 …xlat/access_flags.h xlat/addrfams.h xlat/adjtimex_modes.h xlat/adjtimex_state.h xlat/adjtimex_stat… 3 $(top_srcdir)/xlat/access_flags.h: $(top_srcdir)/xlat/access_flags.in $(top_srcdir)/xlat/gen.sh 4 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@ 5 $(top_srcdir)/xlat/addrfams.h: $(top_srcdir)/xlat/addrfams.in $(top_srcdir)/xlat/gen.sh 6 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@ 7 $(top_srcdir)/xlat/adjtimex_modes.h: $(top_srcdir)/xlat/adjtimex_modes.in $(top_srcdir)/xlat/gen.sh 8 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@ 9 $(top_srcdir)/xlat/adjtimex_state.h: $(top_srcdir)/xlat/adjtimex_state.in $(top_srcdir)/xlat/gen.sh 10 $(AM_V_GEN)$(top_srcdir)/xlat/gen.sh $< $@ [all …]
|
/external/strace/ |
D | mpers_xlat.h | 1 extern const struct xlat block_ioctl_cmds[]; 2 extern const struct xlat blkpg_ops[]; 3 extern const struct xlat btrfs_balance_args[]; 4 extern const struct xlat btrfs_balance_ctl_cmds[]; 5 extern const struct xlat btrfs_balance_flags[]; 6 extern const struct xlat btrfs_balance_state[]; 7 extern const struct xlat btrfs_compress_types[]; 8 extern const struct xlat btrfs_cont_reading_from_srcdev_mode[]; 9 extern const struct xlat btrfs_defrag_flags[]; 10 extern const struct xlat btrfs_dev_replace_cmds[]; [all …]
|
D | xlat.c | 74 xlookup(const struct xlat *xlat, const uint64_t val) in xlookup() argument 76 static const struct xlat *pos; in xlookup() 78 if (xlat) in xlookup() 79 pos = xlat; in xlookup() 91 const uint64_t val2 = ((const struct xlat *) b)->val; in xlat_bsearch_compare() 96 xlat_search(const struct xlat *xlat, const size_t nmemb, const uint64_t val) in xlat_search() argument 98 static const struct xlat *pos; in xlat_search() 101 if (xlat) { in xlat_search() 102 pos = xlat; in xlat_search() 106 const struct xlat *e = in xlat_search() [all …]
|
D | dyxlat.c | 32 struct xlat *xlat; member 35 #define MARK_END(xlat) \ argument 37 (xlat).val = 0; \ 38 (xlat).str = 0; \ 48 dyxlat->xlat = xgrowarray(NULL, &dyxlat->allocated, sizeof(struct xlat)); in dyxlat_alloc() 49 MARK_END(dyxlat->xlat[0]); in dyxlat_alloc() 60 free((void *) dyxlat->xlat[i].str); in dyxlat_free() 61 dyxlat->xlat[i].str = NULL; in dyxlat_free() 64 free(dyxlat->xlat); in dyxlat_free() 65 dyxlat->xlat = NULL; in dyxlat_free() [all …]
|
D | Makefile.in | 142 DIST_COMMON = $(srcdir)/xlat/Makemodule.am $(srcdir)/scno.am \ 378 wait.c xattr.c xfs_quota_stat.h xlat.c xlat.h xmalloc.c \ 500 strace-xlat.$(OBJEXT) strace-xmalloc.$(OBJEXT) \ 845 XLAT_INPUT_FILES = xlat/access_flags.in xlat/addrfams.in \ 846 xlat/adjtimex_modes.in xlat/adjtimex_state.in \ 847 xlat/adjtimex_status.in xlat/advise.in xlat/af_packet_types.in \ 848 xlat/af_packet_versions.in xlat/aio_cmds.in xlat/archvals.in \ 849 xlat/arp_hardware_types.in xlat/at_flags.in \ 850 xlat/at_statx_sync_types.in xlat/atomic_ops.in \ 851 xlat/audit_arch.in xlat/ax25_protocols.in xlat/baud_options.in \ [all …]
|
D | defs.h | 308 extern const struct xlat addrfams[]; 311 extern const struct xlat arp_hardware_types[]; 315 extern const struct xlat at_flags[]; 316 extern const struct xlat clocknames[]; 317 extern const struct xlat dirent_types[]; 320 extern const struct xlat ethernet_protocols[]; 325 extern const struct xlat inet_protocols[]; 329 extern const struct xlat evdev_abs[]; 333 extern const struct xlat evdev_ev[]; 334 extern const struct xlat iffflags[]; [all …]
|
D | netlink.c | 103 const struct xlat *xlats = netlink_protocols; in get_fd_nl_family() 117 decode_nlmsg_type_default(struct tcb *tcp, const struct xlat *const xlat, in decode_nlmsg_type_default() argument 121 printxval(xlat, type, dflt); in decode_nlmsg_type_default() 125 decode_nlmsg_type_generic(struct tcb *tcp, const struct xlat *const xlat, in decode_nlmsg_type_generic() argument 133 const struct xlat *const xlat; member 165 decode_nlmsg_type_netfilter(struct tcb *tcp, const struct xlat *const xlat, in decode_nlmsg_type_netfilter() argument 183 printxval(xlat, subsys_id, dflt); in decode_nlmsg_type_netfilter() 187 printxval(nf_nlmsg_types[subsys_id].xlat, in decode_nlmsg_type_netfilter() 193 typedef void (*nlmsg_types_decoder_t)(struct tcb *, const struct xlat *, 199 const struct xlat *const xlat; member [all …]
|
/external/strace/tests-m32/ |
D | printflags.c | 37 printflags(const struct xlat *xlat, unsigned long long flags, in printflags() argument 40 if (flags == 0 && xlat->val == 0 && xlat->str) { in printflags() 41 fputs(xlat->str, stdout); in printflags() 47 for (n = 0; xlat->str; xlat++) { in printflags() 48 if (xlat->val && (flags & xlat->val) == xlat->val) { in printflags() 53 fputs(xlat->str, stdout); in printflags() 54 flags &= ~xlat->val; in printflags()
|
D | xgetrlimit.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 75 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 80 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 83 " = 0\n", STR_GETRLIMIT, xlat->str, in main()
|
D | setrlimit.c | 41 const struct xlat *xlat; in main() local 43 for (xlat = resources; xlat->str; ++xlat) { in main() 44 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 46 printf("setrlimit(%s, NULL) = %s\n", xlat->str, sprintrc(rc)); in main() 57 xlat->str, in main()
|
D | prlimit64.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 79 (unsigned) pid, xlat->str, in main()
|
D | printxval.c | 37 printxval(const struct xlat *xlat, unsigned long long val, in printxval() argument 40 for (; xlat->str; xlat++) { in printxval() 41 if (xlat->val == val) { in printxval() 42 fputs(xlat->str, stdout); in printxval()
|
D | socketcall.c | 43 xlookup_uint(const struct xlat *xlat, const unsigned int val) in xlookup_uint() argument 45 for (; xlat->str != NULL; xlat++) in xlookup_uint() 46 if (xlat->val == val) in xlookup_uint() 47 return xlat->str; in xlookup_uint()
|
/external/strace/tests/ |
D | printflags.c | 37 printflags(const struct xlat *xlat, unsigned long long flags, in printflags() argument 40 if (flags == 0 && xlat->val == 0 && xlat->str) { in printflags() 41 fputs(xlat->str, stdout); in printflags() 47 for (n = 0; xlat->str; xlat++) { in printflags() 48 if (xlat->val && (flags & xlat->val) == xlat->val) { in printflags() 53 fputs(xlat->str, stdout); in printflags() 54 flags &= ~xlat->val; in printflags()
|
D | xgetrlimit.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 75 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 80 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 83 " = 0\n", STR_GETRLIMIT, xlat->str, in main()
|
D | setrlimit.c | 41 const struct xlat *xlat; in main() local 43 for (xlat = resources; xlat->str; ++xlat) { in main() 44 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 46 printf("setrlimit(%s, NULL) = %s\n", xlat->str, sprintrc(rc)); in main() 57 xlat->str, in main()
|
D | prlimit64.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 79 (unsigned) pid, xlat->str, in main()
|
D | printxval.c | 37 printxval(const struct xlat *xlat, unsigned long long val, in printxval() argument 40 for (; xlat->str; xlat++) { in printxval() 41 if (xlat->val == val) { in printxval() 42 fputs(xlat->str, stdout); in printxval()
|
D | socketcall.c | 43 xlookup_uint(const struct xlat *xlat, const unsigned int val) in xlookup_uint() argument 45 for (; xlat->str != NULL; xlat++) in xlookup_uint() 46 if (xlat->val == val) in xlookup_uint() 47 return xlat->str; in xlookup_uint()
|
/external/strace/tests-mx32/ |
D | printflags.c | 37 printflags(const struct xlat *xlat, unsigned long long flags, in printflags() argument 40 if (flags == 0 && xlat->val == 0 && xlat->str) { in printflags() 41 fputs(xlat->str, stdout); in printflags() 47 for (n = 0; xlat->str; xlat++) { in printflags() 48 if (xlat->val && (flags & xlat->val) == xlat->val) { in printflags() 53 fputs(xlat->str, stdout); in printflags() 54 flags &= ~xlat->val; in printflags()
|
D | xgetrlimit.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 75 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 80 STR_GETRLIMIT, xlat->str, rc, errno2name()); in main() 83 " = 0\n", STR_GETRLIMIT, xlat->str, in main()
|
D | setrlimit.c | 41 const struct xlat *xlat; in main() local 43 for (xlat = resources; xlat->str; ++xlat) { in main() 44 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 46 printf("setrlimit(%s, NULL) = %s\n", xlat->str, sprintrc(rc)); in main() 57 xlat->str, in main()
|
D | prlimit64.c | 67 const struct xlat *xlat; in main() local 69 for (xlat = resources; xlat->str; ++xlat) { in main() 70 unsigned long res = 0xfacefeed00000000ULL | xlat->val; in main() 74 (unsigned) pid, xlat->str, rlimit, in main() 79 (unsigned) pid, xlat->str, in main()
|
D | printxval.c | 37 printxval(const struct xlat *xlat, unsigned long long val, in printxval() argument 40 for (; xlat->str; xlat++) { in printxval() 41 if (xlat->val == val) { in printxval() 42 fputs(xlat->str, stdout); in printxval()
|
D | socketcall.c | 43 xlookup_uint(const struct xlat *xlat, const unsigned int val) in xlookup_uint() argument 45 for (; xlat->str != NULL; xlat++) in xlookup_uint() 46 if (xlat->val == val) in xlookup_uint() 47 return xlat->str; in xlookup_uint()
|