/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 62 dt_module_symhash_insert(dt_module_t *dmp, const char *name, uint_t id) argument 64 dt_sym_t *dsp = &dmp->dm_symchains[dmp->dm_symfree]; 67 assert(dmp->dm_symfree < dmp->dm_nsymelems + 1); 70 h = dt_strtab_hash(name, NULL) % dmp->dm_nsymbuckets; 71 dsp->ds_next = dmp->dm_symbuckets[h]; 72 dmp->dm_symbuckets[h] = dmp->dm_symfree++; 76 dt_module_syminit32(dt_module_t *dmp) argument 126 dt_module_syminit64(dt_module_t *dmp) argument 233 dt_module_symsort32(dt_module_t *dmp) argument 257 dt_module_symsort64(dt_module_t *dmp) argument 305 dt_module_symname32(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 335 dt_module_symname64(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 365 dt_module_symaddr32(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 407 dt_module_symaddr64(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 466 dt_module_t *dmp; local 495 dt_module_t *dmp; local 513 dt_module_load_sect(dtrace_hdl_t *dtp, dt_module_t *dmp, ctf_sect_t *ctsp) argument 558 dt_module_load(dtrace_hdl_t *dtp, dt_module_t *dmp) argument 649 dt_module_getctf(dtrace_hdl_t *dtp, dt_module_t *dmp) argument 719 dt_module_unload(dtrace_hdl_t *dtp, dt_module_t *dmp) argument 785 dt_module_destroy(dtrace_hdl_t *dtp, dt_module_t *dmp) argument 817 dt_module_extern(dtrace_hdl_t *dtp, dt_module_t *dmp, const char *name, const dtrace_typeinfo_t *tip) argument 861 dt_module_modelname(dt_module_t *dmp) argument 887 dt_module_t *dmp; local 1043 dt_module_t *dmp; local 1131 dt_module_t *dmp; local 1165 dt_module_t *dmp; local 1247 dt_module_t *dmp; local 1294 dt_module_t *dmp; local 1372 dt_module_t *dmp; local 1413 dt_module_info(const dt_module_t *dmp, dtrace_objinfo_t *dto) argument 1438 const dt_module_t *dmp = dt_list_next(&dtp->dt_modlist); local 1453 dt_module_t *dmp; local [all...] |
H A D | dt_open.c | 1011 dt_module_t *dmp; local 1335 if ((dmp = dtp->dt_cdefs = dt_module_create(dtp, "C")) == NULL) 1338 if ((dmp->dm_ctfp = ctf_create(&dtp->dt_ctferr)) == NULL) 1342 dmp->dm_name, (void *)dmp->dm_ctfp); 1344 (void) ctf_setmodel(dmp->dm_ctfp, dtp->dt_conf.dtc_ctfmodel); 1345 ctf_setspecific(dmp->dm_ctfp, dmp); 1347 dmp->dm_flags = DT_DM_LOADED; /* fake up loaded bit */ 1348 dmp 1575 dt_module_t *dmp; local [all...] |
H A D | dt_decl.c | 815 dt_module_t *dmp; local 828 dmp = yypcb->pcb_idepth ? dtp->dt_cdefs : dtp->dt_ddefs; 836 (dmp = dt_module_lookup_by_ctf(dtp, ddp->dd_ctfp)) != NULL) { 837 tip->dtt_object = dmp->dm_name; 926 if (tip->dtt_ctfp != dmp->dm_ctfp && 927 tip->dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { 929 tip->dtt_type = ctf_add_type(dmp->dm_ctfp, 931 tip->dtt_ctfp = dmp->dm_ctfp; 950 tip->dtt_object = dmp->dm_name; 951 tip->dtt_ctfp = dmp [all...] |
H A D | dt_print.c | 649 dt_module_t *dmp; local 673 dmp = dt_module_lookup_by_name(dtp, object); 674 if (dmp == NULL || ctf_type_kind(dt_module_getctf(dtp, dmp), 682 pa.pa_ctfp = dt_module_getctf(dtp, dmp);
|
H A D | dt_parser.c | 260 dt_module_t *dmp; local 270 dmp = dtp->dt_cdefs; 272 dmp = dtp->dt_ddefs; 274 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && 275 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { 276 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); 280 ptr = ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, type); 282 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { 283 dtp->dt_ctferr = ctf_errno(dmp 1383 dt_module_t *dmp; local [all...] |
H A D | dt_aggregate.c | 392 dt_module_t *dmp; local 406 for (dmp = dt_list_next(&dtp->dt_modlist); dmp != NULL; 407 dmp = dt_list_next(dmp)) { 408 if (*pc - dmp->dm_text_va < dmp->dm_text_size) { 409 *pc = dmp->dm_text_va;
|
H A D | dt_provider.c | 397 dt_module_t *dmp; local 454 if ((dmp = dt_module_lookup_by_ctf(dtp, 456 prp->pr_argv[i].dtt_object = dmp->dm_name;
|
H A D | dt_cc.c | 702 dt_module_t *dmp; local 705 dmp = dt_module_lookup_by_ctf(dtp, dret->dn_ctfp); 707 n = snprintf(NULL, 0, "%s`%ld", dmp->dm_name, dret->dn_type) + 1; 711 (void) snprintf(sdp->dtsd_strdata, n, "%s`%ld", dmp->dm_name,
|
/freebsd-9.3-release/sys/fs/devfs/ |
H A D | devfs_vnops.c | 189 * On success devfs_populate_vp() returns with dmp->dm_lock held. 195 struct devfs_mount *dmp; local 200 dmp = VFSTODEVFS(vp->v_mount); 203 sx_xlock(&dmp->dm_lock); 204 DEVFS_DMP_HOLD(dmp); 208 devfs_populate(dmp); 210 sx_xunlock(&dmp->dm_lock); 212 sx_xlock(&dmp->dm_lock); 213 if (DEVFS_DMP_DROP(dmp)) { 214 sx_xunlock(&dmp 238 struct devfs_mount *dmp; local 309 devfs_fqpn(char *buf, struct devfs_mount *dmp, struct devfs_dirent *dd, struct componentname *cnp) argument 346 devfs_allocv_drop_refs(int drop_dm_lock, struct devfs_mount *dmp, struct devfs_dirent *de) argument 395 struct devfs_mount *dmp; local 657 struct devfs_mount *dmp; local 843 struct devfs_mount *dmp; local 984 struct devfs_mount *dmp; local 1004 struct devfs_mount *dmp; local 1212 struct devfs_mount *dmp; local 1332 struct devfs_mount *dmp = VFSTODEVFS(vp->v_mount); local 1442 struct devfs_mount *dmp; local 1596 struct devfs_mount *dmp; local [all...] |
H A D | devfs.h | 175 #define DEVFS_DMP_HOLD(dmp) ((dmp)->dm_holdcnt++) 176 #define DEVFS_DMP_DROP(dmp) (--(dmp)->dm_holdcnt == 0)
|
H A D | devfs_vfsops.c | 211 struct devfs_mount *dmp; local 213 dmp = VFSTODEVFS(mp); 214 sx_xlock(&dmp->dm_lock); 215 error = devfs_allocv(dmp->dm_rootdir, mp, LK_EXCLUSIVE, &vp);
|
H A D | devfs_devs.c | 245 devfs_vmkdir(struct devfs_mount *dmp, char *name, int namelen, struct devfs_dirent *dotdot, u_int inode) argument 283 sx_assert(&dmp->dm_lock, SX_XLOCKED); 286 devfs_rules_apply(dmp, dd); 290 mac_devfs_create_directory(dmp->dm_mount, name, namelen, dd);
|
/freebsd-9.3-release/lib/libmp/ |
H A D | mpasbn.c | 224 * Compute qmp=nmp/dmp and rmp=nmp%dmp. 227 _mdiv(const char *msg, const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp, argument 234 BN_ERRCHECK(msg, BN_div(&q, &r, nmp->bn, dmp->bn, c)); 242 mp_mdiv(const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp) argument 249 _mdiv("mdiv", nmp, dmp, qmp, rmp, c); 551 MINT *dmp, *rmp; local 557 dmp = _itom(msg, d); 559 BN_ERRCHECK(msg, BN_div(&q, &r, nmp->bn, dmp->bn, c)); 568 _mfree(msg, dmp); [all...] |