/netbsd-current/lib/libutil/compat/ |
H A D | compat_logoutx.c | 58 struct utmpx *utp, ut; local 60 if ((utp = getutxline(&ut)) == NULL) { 64 utp->ut_type = type; 66 utp->ut_exit.e_exit = (uint16_t)WEXITSTATUS(status); 68 utp->ut_exit.e_termination = (uint16_t)WTERMSIG(status); 69 (void)gettimeofday(&utp->ut_tv, NULL); 70 (void)pututxline(utp);
|
/netbsd-current/lib/libutil/ |
H A D | logoutx.c | 58 struct utmpx *utp, ut; local 60 if ((utp = getutxline(&ut)) == NULL) { 64 utp->ut_type = type; 66 utp->ut_exit.e_exit = (uint16_t)WEXITSTATUS(status); 68 utp->ut_exit.e_termination = (uint16_t)WTERMSIG(status); 69 (void)gettimeofday(&utp->ut_tv, NULL); 70 (void)pututxline(utp);
|
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcsd/ |
H A D | platform.c | 117 struct utmpx ut, *utp = NULL; local 125 utp = getutxid(&ut); 126 if (utp->ut_type == RUN_LVL && 127 sscanf(utp->ut_line, "run-level %c", &runlevel) != 1)
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | tracefile.c | 67 struct uploaded_tp *uploaded_tps = NULL, *utp; local 125 for (utp = uploaded_tps; utp; utp = utp->next) 126 target_get_tracepoint_status (NULL, utp); 128 for (utp = uploaded_tps; utp; utp = utp [all...] |
H A D | tracefile-tfile.c | 72 struct uploaded_tp *utp) override; 254 struct uploaded_tp *utp) 261 utp->number, phex_nz (utp->addr, sizeof (utp->addr)), 262 (utp->enabled ? 'E' : 'D'), utp->step, utp->pass); 263 if (utp->type == bp_fast_tracepoint) 264 fprintf (writer->fp, ":F%x", utp 253 tfile_write_uploaded_tp(struct trace_file_writer *self, struct uploaded_tp *utp) argument 641 get_tracepoint_status(struct breakpoint *tp, struct uploaded_tp *utp) argument [all...] |
H A D | tracepoint.c | 2992 struct uploaded_tp *utp; local 2994 for (utp = *utpp; utp; utp = utp->next) 2995 if (utp->number == num && utp->addr == addr) 2996 return utp; 2998 utp = new uploaded_tp; 2999 utp 3072 find_matching_tracepoint_location(struct uploaded_tp *utp) argument 3106 struct uploaded_tp *utp; local 3432 parse_tracepoint_status(const char *p, struct breakpoint *bp, struct uploaded_tp *utp) argument 3464 struct uploaded_tp *utp = NULL; local [all...] |
H A D | tracectf.c | 1069 struct uploaded_tp *utp = NULL; local 1086 utp = get_uploaded_tp (int32, u64, uploaded_tps); 1088 SET_INT32_FIELD (event, scope, utp, enabled); 1089 SET_INT32_FIELD (event, scope, utp, step); 1090 SET_INT32_FIELD (event, scope, utp, pass); 1091 SET_INT32_FIELD (event, scope, utp, hit_count); 1092 SET_ENUM_FIELD (event, scope, utp, enum bptype, type); 1095 SET_ARRAY_FIELD (event, scope, utp, cmd_num, cmd_strings); 1097 SET_ARRAY_FIELD (event, scope, utp, action_num, actions); 1099 SET_ARRAY_FIELD (event, scope, utp, step_action_nu [all...] |
H A D | tracepoint.h | 378 struct uploaded_tp *utp); 391 extern struct tracepoint *create_tracepoint_from_upload (struct uploaded_tp *utp);
|
H A D | target.h | 1015 struct uploaded_tp *utp) 2267 #define target_get_tracepoint_status(tp,utp) \ 2268 (current_top_target ()->get_tracepoint_status) (tp, utp)
|
H A D | breakpoint.c | 14640 create_tracepoint_from_upload (struct uploaded_tp *utp) 14646 if (utp->at_string) 14647 addr_str = utp->at_string.get (); 14656 utp->number); 14657 xsnprintf (small_buf, sizeof (small_buf), "*%s", hex_string (utp->addr)); 14662 if (utp->cond && !utp->cond_string) 14665 utp->number); 14671 utp->cond_string.get (), -1, addr_str, 14674 utp 14626 create_tracepoint_from_upload(struct uploaded_tp *utp) argument [all...] |
H A D | remote.c | 614 void get_tracepoint_status (struct breakpoint *tp, struct uploaded_tp *utp) 13295 struct uploaded_tp *utp) 13320 parse_tracepoint_status (reply + 1, bp, utp); 13324 else if (utp) 13326 utp->hit_count = 0; 13327 utp->traceframe_usage = 0; 13328 xsnprintf (rs->buf.data (), size, "qTP:%x:%s", utp->number, 13329 phex_nz (utp->addr, 0)); 13335 parse_tracepoint_status (reply + 1, bp, utp); 13279 get_tracepoint_status(struct breakpoint *bp, struct uploaded_tp *utp) argument
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | tracefile.c | 68 struct uploaded_tp *uploaded_tps = NULL, *utp; local 126 for (utp = uploaded_tps; utp; utp = utp->next) 127 target_get_tracepoint_status (NULL, utp); 129 for (utp = uploaded_tps; utp; utp = utp [all...] |
H A D | tracefile-tfile.c | 72 struct uploaded_tp *utp) override; 254 struct uploaded_tp *utp) 261 utp->number, phex_nz (utp->addr, sizeof (utp->addr)), 262 (utp->enabled ? 'E' : 'D'), utp->step, utp->pass); 263 if (utp->type == bp_fast_tracepoint) 264 fprintf (writer->fp, ":F%x", utp 253 tfile_write_uploaded_tp(struct trace_file_writer *self, struct uploaded_tp *utp) argument 641 get_tracepoint_status(struct breakpoint *tp, struct uploaded_tp *utp) argument [all...] |
H A D | tracepoint.c | 2967 struct uploaded_tp *utp; local 2969 for (utp = *utpp; utp; utp = utp->next) 2970 if (utp->number == num && utp->addr == addr) 2971 return utp; 2973 utp = new uploaded_tp; 2974 utp 3047 find_matching_tracepoint_location(struct uploaded_tp *utp) argument 3081 struct uploaded_tp *utp; local 3407 parse_tracepoint_status(const char *p, struct breakpoint *bp, struct uploaded_tp *utp) argument 3439 struct uploaded_tp *utp = NULL; local [all...] |
H A D | tracectf.c | 1069 struct uploaded_tp *utp = NULL; local 1086 utp = get_uploaded_tp (int32, u64, uploaded_tps); 1088 SET_INT32_FIELD (event, scope, utp, enabled); 1089 SET_INT32_FIELD (event, scope, utp, step); 1090 SET_INT32_FIELD (event, scope, utp, pass); 1091 SET_INT32_FIELD (event, scope, utp, hit_count); 1092 SET_ENUM_FIELD (event, scope, utp, enum bptype, type); 1095 SET_ARRAY_FIELD (event, scope, utp, cmd_num, cmd_strings); 1097 SET_ARRAY_FIELD (event, scope, utp, action_num, actions); 1099 SET_ARRAY_FIELD (event, scope, utp, step_action_nu [all...] |
H A D | tracepoint.h | 373 struct uploaded_tp *utp); 386 extern struct tracepoint *create_tracepoint_from_upload (struct uploaded_tp *utp);
|
H A D | breakpoint.c | 13822 create_tracepoint_from_upload (struct uploaded_tp *utp) 13828 if (utp->at_string) 13829 addr_str = utp->at_string.get (); 13838 utp->number); 13839 xsnprintf (small_buf, sizeof (small_buf), "*%s", hex_string (utp->addr)); 13844 if (utp->cond && !utp->cond_string) 13847 utp->number); 13853 utp->cond_string.get (), -1, addr_str, 13857 utp 13808 create_tracepoint_from_upload(struct uploaded_tp *utp) argument [all...] |
H A D | target.h | 1044 struct uploaded_tp *utp) 2260 extern void target_get_tracepoint_status (breakpoint *tp, uploaded_tp *utp);
|
H A D | remote.c | 610 void get_tracepoint_status (struct breakpoint *tp, struct uploaded_tp *utp) 13563 struct uploaded_tp *utp) 13587 parse_tracepoint_status (reply + 1, bp, utp); 13591 else if (utp) 13593 utp->hit_count = 0; 13594 utp->traceframe_usage = 0; 13595 xsnprintf (rs->buf.data (), size, "qTP:%x:%s", utp->number, 13596 phex_nz (utp->addr, 0)); 13602 parse_tracepoint_status (reply + 1, bp, utp);
|
H A D | target.c | 671 target_get_tracepoint_status (breakpoint *tp, uploaded_tp *utp) argument 673 return current_inferior ()->top_target ()->get_tracepoint_status (tp, utp);
|
/netbsd-current/sys/dev/pci/ |
H A D | if_tlp_pci.c | 1239 int auibnc = 0, utp = 0; local 1255 utp = 1; 1270 if (utp != 0 && auibnc == 0) 1272 else if (utp == 0 && auibnc != 0)
|
/netbsd-current/usr.bin/xlint/lint1/ |
H A D | tree.c | 3542 union_contains(const type_t *utp, const type_t *mtp) argument 3544 for (const sym_t *mem = utp->u.sou->sou_first_member;
|