Lines Matching refs:ops

226 	tnf_ops_t	*ops;  in _tnf_fork_thread_setup()  local
236 ops = tnf_get_ops(); in _tnf_fork_thread_setup()
237 if (!ops) in _tnf_fork_thread_setup()
240 ops->schedule.record_p = 0; in _tnf_fork_thread_setup()
401 tnf_ops_t *ops; in _tnf_resume_ret() local
409 ops = tnf_get_ops(); in _tnf_resume_ret()
410 if (ops) { in _tnf_resume_ret()
416 if (ops->schedule.lwpid != _lwp_self()) in _tnf_resume_ret()
417 ops->schedule.record_p = 0; in _tnf_resume_ret()
542 tnf_ops_t ops; /* allocated on stack */ in probestart() local
568 (void) memset(&ops, 0, sizeof (ops)); /* zero ops */ in probestart()
569 ops.mode = TNF_ALLOC_REUSABLE; in probestart()
570 ops.alloc = tnfw_b_alloc; in probestart()
571 ops.commit = tnfw_b_xcommit; in probestart()
572 ops.rollback = tnfw_b_xabort; in probestart()
581 if (thr_probe_setup != 0) thr_probe_setup(&ops); in probestart()
617 tnf_ops_t *ops; in tnf_thread_disable() local
625 ops = thr_probe_getfunc_addr(); in tnf_thread_disable()
627 if (ops != NULL) { in tnf_thread_disable()
629 tnfw_b_release_block(&ops->wcb); in tnf_thread_disable()
633 (void) thr_setspecific(tpd_key, ops); in tnf_thread_disable()
639 ops = tnf_probe_getfunc(); in tnf_thread_disable()
640 if (ops != NULL) { in tnf_thread_disable()
644 stashed_tpd = ops; in tnf_thread_disable()
655 tnf_ops_t *ops; in tnf_thread_enable() local
660 ops = pthread_getspecific(tpd_key); in tnf_thread_enable()
661 if (ops) in tnf_thread_enable()
662 thr_probe_setup(ops); in tnf_thread_enable()
666 ops = stashed_tpd; in tnf_thread_enable()
667 if (ops) in tnf_thread_enable()
668 probe_setup(ops); in tnf_thread_enable()
680 tnf_ops_t *ops; in common_fork() local
696 ops = tnf_get_ops(); in common_fork()
697 if (ops == NULL) { in common_fork()
704 ops = pthread_getspecific(tpd_key); in common_fork()
707 ops = stashed_tpd; in common_fork()
716 if (ops) { in common_fork()
718 ops->busy = 1; in common_fork()
720 metatag_data->tag_desc(ops, metatag_data); in common_fork()
722 (void) ops->commit(&(ops->wcb)); in common_fork()
723 ops->busy = 0; in common_fork()