/openbsd-current/sys/dev/dt/ |
H A D | dt_prov_kprobe.c | 36 int dt_prov_kprobe_alloc(struct dt_probe *dtp, struct dt_softc *sc, 39 int dt_prov_kprobe_dealloc(struct dt_probe *dtp, struct dt_softc *sc, 46 struct dt_probe* dtp; member in struct:kprobe_probe 120 struct dt_probe *dtp; local 190 dtp = dt_dev_alloc_probe(name, KPROBE_ENTRY, &dt_prov_kprobe); 191 if (dtp == NULL) 197 kprobe_dtp->dtp = dtp; 199 dtp->dtp_addr = inst; 200 dtp 245 dt_prov_kprobe_alloc(struct dt_probe *dtp, struct dt_softc *sc, struct dt_pcb_list *plist, struct dtioc_req *dtrq) argument 272 dt_prov_kprobe_dealloc(struct dt_probe *dtp, struct dt_softc *sc, struct dtioc_req *dtrq) argument 308 struct dt_probe *dtp; local 414 struct dt_probe *dtp; local 438 struct dt_probe *dtp; local [all...] |
H A D | dt_prov_syscall.c | 52 struct dt_probe *dtp; local 56 dtps_entry = mallocarray(dtps_nsysent, sizeof(dtp), M_DT, 60 dtps_return = mallocarray(dtps_nsysent, sizeof(dtp), M_DT, 63 free(dtps_entry, M_DT, dtps_nsysent * sizeof(dtp)); 76 dtp = dt_dev_alloc_probe(sysnb, "entry", &dt_prov_syscall); 77 if (dtp == NULL) { 81 dtp->dtp_nargs = sysent[i].sy_narg; 82 dtp->dtp_sysnum = i; 83 dtps_entry[i] = dtp; 84 dt_dev_register_probe(dtp); 99 dt_prov_syscall_alloc(struct dt_probe *dtp, struct dt_softc *sc, struct dt_pcb_list *plist, struct dtioc_req *dtrq) argument 122 struct dt_probe *dtp; local 165 struct dt_probe *dtp; local [all...] |
H A D | dt_dev.c | 354 struct dt_probe *dtp; local 364 SIMPLEQ_FOREACH(dtp, &dt_probe_list, dtp_next) { 370 info.dtpi_pbn = dtp->dtp_pbn; 371 info.dtpi_nargs = dtp->dtp_nargs; 372 strlcpy(info.dtpi_prov, dtp->dtp_prov->dtpv_name, 374 strlcpy(info.dtpi_func, dtp->dtp_func, sizeof(info.dtpi_func)); 375 strlcpy(info.dtpi_name, dtp->dtp_name, sizeof(info.dtpi_name)); 390 struct dt_probe *dtp; local 399 SIMPLEQ_FOREACH(dtp, &dt_probe_list, dtp_next) { 400 if (pbn == dtp 469 struct dt_probe *dtp = dp->dp_dtp; local 505 struct dt_probe *dtp = dp->dp_dtp; local 528 struct dt_probe *dtp; local 555 struct dt_probe *dtp; local 616 struct dt_probe *dtp; local 633 dt_dev_register_probe(struct dt_probe *dtp) argument 642 dt_pcb_alloc(struct dt_probe *dtp, struct dt_softc *sc) argument [all...] |
H A D | dt_prov_profile.c | 67 dt_prov_profile_alloc(struct dt_probe *dtp, struct dt_softc *sc, argument 76 KASSERT(dtp == dtpp_profile || dtp == dtpp_interval); 82 if (!CPU_IS_PRIMARY(ci) && (dtp == dtpp_interval)) 85 dp = dt_pcb_alloc(dtp, sc);
|
H A D | dtvar.h | 202 * M dtp mutex 311 struct dt_probe *dtp = &_DT_STATIC_P(func, name); \ 314 __predict_false(dtp->dtp_recording)) { \ 315 struct dt_provider *dtpv = dtp->dtp_prov; \ 317 dtpv->dtpv_enter(dtpv, dtp, args); \ 329 struct dt_probe *dtp = _DT_INDEX_P(func)[index]; \ 331 if(__predict_false(dtp->dtp_recording)) { \ 332 struct dt_provider *dtpv = dtp->dtp_prov; \ 334 dtpv->dtpv_enter(dtpv, dtp, args); \
|
H A D | dt_prov_static.c | 177 dt_prov_static_alloc(struct dt_probe *dtp, struct dt_softc *sc, argument 184 dp = dt_pcb_alloc(dtp, sc); 197 struct dt_probe *dtp; local 204 dtp = va_arg(ap, struct dt_probe *); 205 for (i = 0; i < dtp->dtp_nargs; i++) { 210 KASSERT(dtpv == dtp->dtp_prov); 213 SMR_SLIST_FOREACH(dp, &dtp->dtp_pcbs, dp_pnext) {
|
/openbsd-current/sys/msdosfs/ |
H A D | direntry.h | 125 void unix2dostime(struct timespec *tsp, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
|
H A D | msdosfs_conv.c | 98 unix2dostime(struct timespec *tsp, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp) argument 161 if (dtp != NULL) 162 *dtp = lastdtime;
|
/openbsd-current/usr.sbin/makefs/msdos/ |
H A D | direntry.h | 125 u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
|
H A D | msdosfs_conv.c | 95 u_int16_t *dtp, u_int8_t *dhp) 159 if (dtp != NULL) 160 *dtp = lastdtime; 94 unix2dostime(const struct timespec *tsp, int minuteswest, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp) argument
|