Searched refs:dof (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddrti.c90 dof_hdr_t *dof = &__SUNW_dof; local
123 if (dof->dofh_ident[DOF_ID_MAG0] != DOF_MAG_MAG0 ||
124 dof->dofh_ident[DOF_ID_MAG1] != DOF_MAG_MAG1 ||
125 dof->dofh_ident[DOF_ID_MAG2] != DOF_MAG_MAG2 ||
126 dof->dofh_ident[DOF_ID_MAG3] != DOF_MAG_MAG3) {
133 dh.dofhp_dof = (uintptr_t)dof;
166 dprintf(1, "DTrace ioctl failed for DOF at %p", dof);
168 dprintf(1, "DTrace ioctl succeeded for DOF at %p\n", dof);
H A Ddt_link.c109 prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf32_t *dep) argument
127 dofs = (dof_sec_t *)((char *)dof + dof->dofh_secoff);
133 for (i = 0; i < dof->dofh_secnum; i++) {
138 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset);
141 strtab = (char *)dof + s->dofs_offset;
147 dofr = (dof_relodesc_t *)((char *)dof + s->dofs_offset);
196 for (i = 0; i < dof->dofh_secnum; i++) {
201 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset);
204 strtab = (char *)dof
289 prepare_elf64(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf64_t *dep) argument
453 dump_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, int fd) argument
590 dump_elf64(dtrace_hdl_t *dtp, const dof_hdr_t *dof, int fd) argument
1469 dof_hdr_t *dof; local
[all...]
H A Ddt_dof.c641 dt_buf_t dof; local
889 dt_buf_create(dtp, &dof, "dof", h.dofh_filesz);
891 dt_buf_write(dtp, &dof, &h, sizeof (h), sizeof (uint64_t));
892 dt_buf_concat(dtp, &dof, &ddo->ddo_secs, sizeof (uint64_t));
893 dt_buf_concat(dtp, &dof, &ddo->ddo_ldata, sizeof (uint64_t));
894 dt_buf_concat(dtp, &dof, &ddo->ddo_strs, sizeof (char));
895 dt_buf_concat(dtp, &dof, &ddo->ddo_udata, sizeof (uint64_t));
897 return (dt_buf_claim(dtp, &dof));
901 dtrace_dof_destroy(dtrace_hdl_t *dtp, void *dof) argument
909 dof_hdr_t *dof; local
[all...]
H A Ddt_work.c191 void *dof; local
209 if ((dof = dtrace_getopt_dof(dtp)) == NULL)
212 err = dt_ioctl(dtp, DTRACEIOC_ENABLE, dof);
213 dtrace_dof_destroy(dtp, dof);
H A Ddt_options.c350 else if (strcasecmp(arg, "dof") == 0)
846 dof_hdr_t hdr, *dof; local
864 dof = alloca(hdr.dofh_loadsz);
865 bzero(dof, sizeof (dof_hdr_t));
866 dof->dofh_loadsz = hdr.dofh_loadsz;
871 if (dt_ioctl(dtp, DTRACEIOC_DOFGET, dof) == -1)
874 for (i = 0; i < dof->dofh_secnum; i++) {
875 sec = (dof_sec_t *)(uintptr_t)((uintptr_t)dof +
876 dof->dofh_secoff + i * dof
[all...]
H A Ddt_program.c157 void *dof; local
162 if ((dof = dtrace_dof_create(dtp, pgp, DTRACE_D_STRIP)) == NULL)
165 n = dt_ioctl(dtp, DTRACEIOC_ENABLE, dof);
166 dtrace_dof_destroy(dtp, dof);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c161 unsigned char *dof, *copy; local
185 dof = dtrace_dof_create(dtp, pgp, 0);
186 len = ((dof_hdr_t *)dof)->dofh_loadsz;
192 bcopy(dof, copy, len);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/
H A Ddtrace.c7938 dof_hdr_t *dof = (dof_hdr_t *)daddr; local
7953 str_sec = (dof_sec_t *)(uintptr_t)(daddr + dof->dofh_secoff +
7954 provider->dofpv_strtab * dof->dofh_secsize);
7955 prb_sec = (dof_sec_t *)(uintptr_t)(daddr + dof->dofh_secoff +
7956 provider->dofpv_probes * dof->dofh_secsize);
7957 arg_sec = (dof_sec_t *)(uintptr_t)(daddr + dof->dofh_secoff +
7958 provider->dofpv_prargs * dof->dofh_secsize);
7959 off_sec = (dof_sec_t *)(uintptr_t)(daddr + dof->dofh_secoff +
7960 provider->dofpv_proffs * dof->dofh_secsize);
7970 if (dof
8023 dof_hdr_t *dof = (dof_hdr_t *)daddr; local
8052 dof_hdr_t *dof = (dof_hdr_t *)daddr; local
8080 dof_hdr_t *dof = (dof_hdr_t *)daddr; local
11405 dtrace_dof_error(dof_hdr_t *dof, const char *str) argument
11423 dof_hdr_t *dof; local
11481 dof_hdr_t hdr, *dof; local
11529 dof_hdr_t *dof; local
11572 dtrace_dof_destroy(dof_hdr_t *dof) argument
11584 dtrace_dof_sect(dof_hdr_t *dof, uint32_t type, dof_secidx_t i) argument
11608 dtrace_dof_probedesc(dof_hdr_t *dof, dof_sec_t *sec, dtrace_probedesc_t *desc) argument
11677 dtrace_dof_difo(dof_hdr_t *dof, dof_sec_t *sec, dtrace_vstate_t *vstate, cred_t *cr) argument
11851 dtrace_dof_predicate(dof_hdr_t *dof, dof_sec_t *sec, dtrace_vstate_t *vstate, cred_t *cr) argument
11863 dtrace_dof_actdesc(dof_hdr_t *dof, dof_sec_t *sec, dtrace_vstate_t *vstate, cred_t *cr) argument
11991 dtrace_dof_ecbdesc(dof_hdr_t *dof, dof_sec_t *sec, dtrace_vstate_t *vstate, cred_t *cr) argument
12060 dtrace_dof_relocate(dof_hdr_t *dof, dof_sec_t *sec, uint64_t ubase) argument
12129 dtrace_dof_slurp(dof_hdr_t *dof, dtrace_vstate_t *vstate, cred_t *cr, dtrace_enabling_t **enabp, uint64_t ubase, int noprobes) argument
12325 dtrace_dof_options(dof_hdr_t *dof, dtrace_state_t *state) argument
13483 dof_hdr_t *dof; local
14067 dof_hdr_t *dof; local
14078 dtrace_helper_provider_validate(dof_hdr_t *dof, dof_sec_t *sec) argument
14291 dtrace_helper_slurp(dof_hdr_t *dof, dof_helper_t *dhp) argument
15207 dof_hdr_t *dof = dtrace_dof_copyin(arg, &rval); local
15478 dof_hdr_t *dof; local
15733 dof_hdr_t hdr, *dof; local
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/
H A Ddtrace.c405 len = strlen("dof-data-");
408 if (strncmp(&buf[i], "dof-data-", len) != 0)
685 anon_prog(const dtrace_cmd_t *dcp, dof_hdr_t *dof, int n) argument
689 if (dof == NULL)
692 p = (uchar_t *)dof;
693 q = p + dof->dofh_loadsz;
695 oprintf("dof-data-%d=0x%x", n, *p++);
701 dtrace_dof_destroy(g_dtp, dof);

Completed in 126 milliseconds