Searched refs:preempt (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dwhopreempt.d29 sched:::preempt
31 self->preempt = 1;
35 /self->preempt/
37 self->preempt = 0;
41 /self->preempt/
44 * If we were told to preempt ourselves, see who we ended up giving
49 self->preempt = 0;
/illumos-gate/usr/src/uts/common/sys/
H A Ddisp.h142 extern void preempt(void);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Drwlock.c170 preempt(self);
195 preempt(self);
293 preempt(self);
297 preempt(self);
314 preempt(self);
318 preempt(self);
339 preempt(self);
343 preempt(self);
360 preempt(self);
364 preempt(sel
[all...]
H A Dsema.c177 preempt(self);
272 preempt(self);
339 preempt(self);
H A Dsynch.c460 preempt(self);
1165 * no_preempt()/preempt() must be used in pairs but can be nested.
1177 * Save the pre-existing preempt value.
1189 preempt(ulwp_t *self) function
1197 * Restore the pre-existing preempt value.
1219 * If a call to preempt() would cause the current thread to yield or to
1223 * of some of the tests in preempt(), above. This is a statistical
1689 preempt(curthread);
1723 preempt(self);
1752 preempt(sel
[all...]
/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncadoorhdr.h234 uint8_t preempt; /* preempt subsequent upcall */ member in struct:nca_io2_s
H A Dnca.h799 ((io)->preempt ? 0x04000000 : 0) | \
/illumos-gate/usr/src/uts/common/os/
H A Dpanic.c220 char preempt = t->t_preempt; local
298 panic_preempt = preempt;
/illumos-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c237 err_exit("duplicate '-o preempt' option");
366 err_exit("duplicate '-o preempt' option");
750 * by 'preempt' and 'accept', and the mask 'modify_mask' will be updated
760 str2opt(char *opts, uint32_t *modify_mask, boolean_t *preempt, argument
768 "preempt",
783 *preempt = (opt == o_preempt);
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s648 ! by preempt()ing ourselves, which will bubble up the t_intr chain
650 ! preempt itself allowing the interrupt processing to resume. Finally,
653 ! If our CPU is quiesced, we cannot preempt because the idle thread
658 ! algorithm. Just check for cpu_kprunrun, and if set then preempt.
662 lduh [%o2 + CPU_FLAGS], %o5 ! don't preempt if quiesced
672 bl,a,pt %xcc, 1f ! no preempt if < INTRCNT_LIMIT
677 ! CPU_STATS_ADDQ(cp, sys, intrunpin, 1). Then call preempt.
689 brz,pt %o5, 1f ! don't preempt unless kprunrun
691 ! Time to call preempt
693 call preempt
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Ddisp.c660 preempt() function
687 DTRACE_SCHED(preempt);
1413 * motion CPU relies on this when forcing a preempt).
1787 * preempt.
1791 * set cpu_kprunrun; this ensures preempt() will be called. Since SDC
1792 * calls cpu_surrender() very often, we only preempt if there is anyone
1834 * to do preempt() (unless we're already in trap or post_syscall,
2369 * to preempt the current thread to run the enqueued thread while
2372 * cpu_resched() tries to preempt the wrong thread and the
/illumos-gate/usr/src/uts/sun4/os/
H A Dtrap.c1581 * Set state to LWP_USER here so preempt won't give us a kernel
1597 preempt();
1812 * preempt the running kernel thread.
1877 * We can't preempt this thread if it is at
1897 preempt();
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtrap.c1549 * Set state to LWP_USER here so preempt won't give us a kernel
1566 preempt();
1598 * kernel preemption: forced rescheduling, preempt the running kernel thread.
1666 * We can't preempt this thread if it is at
1676 * Can't preempt while running with ints disabled
1687 preempt();
/illumos-gate/usr/src/cmd/mdb/common/modules/nca/
H A Dnca.c340 YESNO(io2.first), YESNO(io2.nocache), YESNO(io2.preempt),
/illumos-gate/usr/src/uts/sparc/os/
H A Dsyscall.c803 * Set state to LWP_USER here so preempt won't give us a kernel
822 preempt();
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dsyscall.c713 * Set state to LWP_USER here so preempt won't give us a kernel
732 preempt();
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_uberdata.h592 short ul_preempt; /* no_preempt()/preempt() */
593 short ul_savpreempt; /* pre-existing preempt value */
1057 short ul_preempt; /* no_preempt()/preempt() */
1058 short ul_savpreempt; /* pre-existing preempt value */
1436 extern void preempt(ulwp_t *);
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dspitfire_copy.s727 ! Attempt to preempt

Completed in 657 milliseconds