Searched refs:thr (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/osfmk/vm/
H A Dpmap.h332 #define PMAP_ACTIVATE_USER(thr, cpu)
334 #define PMAP_ACTIVATE_USER(thr, cpu) { \
337 pmap = (thr)->map->pmap; \
339 PMAP_ACTIVATE(pmap, (thr), (cpu)); \
346 #define PMAP_DEACTIVATE_USER(thr, cpu)
348 #define PMAP_DEACTIVATE_USER(thr, cpu) { \
351 pmap = (thr)->map->pmap; \
353 PMAP_DEACTIVATE(pmap, (thr), (cpu)); \
/darwin-on-arm/xnu/osfmk/kern/
H A Dkalloc.c114 thread_t thr = current_thread(); local
118 ledger_debit(thr->t_ledger, task_ledgers.tkm_shared, bytes);
121 (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
128 thread_t thr = current_thread(); local
132 ledger_credit(thr->t_ledger, task_ledgers.tkm_shared, bytes);
135 (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
H A Dzalloc.c1971 thread_t thr = current_thread(); local
1977 ledger_credit(thr->t_ledger, task_ledgers.tkm_private, sz);
1979 ledger_credit(thr->t_ledger, task_ledgers.tkm_shared, sz);
1981 if ((task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
2253 thread_t thr = current_thread(); local
2259 ledger_debit(thr->t_ledger, task_ledgers.tkm_private, sz);
2261 ledger_debit(thr->t_ledger, task_ledgers.tkm_shared, sz);
2263 if ((task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c354 thread_t thr = vfs_context_thread(ap->a_context); local
358 if (thr == NULL)
361 uu = get_bsdthread_info(thr);
/darwin-on-arm/xnu/osfmk/i386/
H A Dpmap_internal.h859 thread_t thr = current_thread(); local
866 (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
873 thread_t thr = current_thread(); local
880 (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_sig.c1657 get_signalthread(proc_t p, int signum, thread_t * thr) argument
1665 *thr = THREAD_NULL;
1671 *thr = sig_thread;
1682 *thr = uth->uu_context.vc_thread;
1689 if (get_signalact(p->task, thr, 1) == KERN_SUCCESS) {
/darwin-on-arm/xnu/osfmk/arm/
H A Dpmap.c654 thread_t thr = current_thread(); local
660 if (pt_fake_zone_index != -1 && (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
666 thread_t thr = current_thread(); local
672 if (pt_fake_zone_index != -1 && (task = thr->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c392 pthread_t thr; local
440 res = pthread_create(&thr, NULL, execute_action, (void*) &test->t_helpthreadact);
478 res2 = pthread_join(thr, (void**)&status);
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c1726 thread_t thr; local
1729 thr = vfs_context_thread (ctx);
1732 if (thr && proc) {
1733 ut = get_bsdthread_info (thr);
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace.c457 uint64_t thr = (uintptr_t)current_thread(); \
459 (where) = ((thr + DIF_VARIABLE_MAX) & \
466 uint64_t thr = (uintptr_t)current_thread(); \
469 (where) = (((thr << 32 | pid) + DIF_VARIABLE_MAX) & \

Completed in 190 milliseconds