/illumos-gate/usr/src/cmd/dtrace/demo/sched/ |
H A D | whopreempt.d | 29 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 D | disp.h | 142 extern void preempt(void);
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | rwlock.c | 170 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 D | sema.c | 177 preempt(self); 272 preempt(self); 339 preempt(self);
|
H A D | synch.c | 460 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 D | ncadoorhdr.h | 234 uint8_t preempt; /* preempt subsequent upcall */ member in struct:nca_io2_s
|
H A D | nca.h | 799 ((io)->preempt ? 0x04000000 : 0) | \
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | panic.c | 220 char preempt = t->t_preempt; local 298 panic_preempt = preempt;
|
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 237 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 D | interrupt.s | 648 ! 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 D | disp.c | 660 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 D | trap.c | 1581 * 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 D | trap.c | 1549 * 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 D | nca.c | 340 YESNO(io2.first), YESNO(io2.nocache), YESNO(io2.preempt),
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | syscall.c | 803 * 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 D | syscall.c | 713 * 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 D | thr_uberdata.h | 592 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 D | spitfire_copy.s | 727 ! Attempt to preempt
|