Lines Matching refs:curr_mach_descrip

78 static machine_descrip_t *curr_mach_descrip;
299 ASSERT((curr_mach_descrip != NULL));
359 if (curr_mach_descrip->va != NULL) {
362 if (HAS_GEN(tgen) && ((curr_mach_descrip->gen == tgen) &&
363 (curr_mach_descrip->size == md_size))) {
370 if (bcmp(curr_mach_descrip->va, tbuf, md_size) != 0) {
383 if (HAS_GEN(tgen) && HAS_GEN(curr_mach_descrip->gen) &&
384 (curr_mach_descrip->gen > tgen)) {
387 tgen, curr_mach_descrip->gen);
392 if (curr_mach_descrip->refcnt == 0) {
395 curr_mach_descrip->gen));
398 ASSERT(curr_mach_descrip->space > 0);
401 (curr_mach_descrip->va, curr_mach_descrip->space);
416 curr_mach_descrip->gen));
418 md_obs_list_add(curr_mach_descrip);
420 curr_mach_descrip = new_mach_descrip();
422 if (curr_mach_descrip == NULL) {
429 curr_mach_descrip->va = tbuf;
430 curr_mach_descrip->gen = tgen;
431 curr_mach_descrip->size = md_size;
432 curr_mach_descrip->space = md_space;
435 dump_buf((uint8_t *)curr_mach_descrip->va, md_size);
512 curr_mach_descrip = new_mach_descrip();
513 if (curr_mach_descrip == NULL)
532 ASSERT((curr_mach_descrip != NULL));
533 ASSERT((curr_mach_descrip->refcnt == 0));
536 destroy_machine_descrip(curr_mach_descrip);
537 curr_mach_descrip = NULL;
553 ASSERT((curr_mach_descrip == NULL &&
558 curr_mach_descrip = new_mach_descrip();
559 if (curr_mach_descrip == NULL)
583 if (curr_mach_descrip != NULL) {
585 mdp = md_init_intern(curr_mach_descrip->va,
586 curr_mach_descrip->memops->meta_allocp,
587 curr_mach_descrip->memops->meta_freep);
590 curr_mach_descrip->refcnt++;
618 if (curr_mach_descrip->gen == mdp->gen) {
619 curr_mach_descrip->refcnt--;
875 if (curr_mach_descrip != NULL)
876 gen = (curr_mach_descrip->gen);