Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/os/
H A Dconsole.c258 int busy, spl; in console_putmsg() local
267 busy = console_hold(); in console_putmsg()
268 spl = console_enter(busy); in console_putmsg()
272 console_exit(busy, spl); in console_putmsg()
284 int busy, spl; in console_vprintf() local
296 busy = console_hold(); in console_vprintf()
297 spl = console_enter(busy); in console_vprintf()
301 console_exit(busy, spl); in console_vprintf()
327 int busy, spl; in console_puts() local
329 busy = console_hold(); in console_puts()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtest4.c37 int busy; /* True if this thread is in use */ member
133 if( threadset[i].busy ){ in tcl_thread_create()
137 threadset[i].busy = 1; in tcl_thread_create()
146 threadset[i].busy = 0; in tcl_thread_create()
180 if( !threadset[i].busy ){ in tcl_thread_wait()
200 p->busy = 0; in stop_thread()
224 if( threadset[i].busy ) stop_thread(&threadset[i]); in tcl_thread_halt()
229 if( !threadset[i].busy ){ in tcl_thread_halt()
260 if( !threadset[i].busy ){ in tcl_thread_argc()
292 if( !threadset[i].busy ){ in tcl_thread_argv()
[all …]
H A Dmain.c82 assert( db->init.busy ); in sqliteInitCallback()
320 assert( db->init.busy ); in sqliteInitOne()
382 if( db->init.busy ) return SQLITE_OK; in sqliteInit()
385 db->init.busy = 1; in sqliteInit()
405 db->init.busy = 0; in sqliteInit()
702 if( !db->init.busy ){ in sqlite_compile()
724 assert( (db->flags & SQLITE_Initialized)!=0 || db->init.busy ); in sqlite_compile()
729 if( db->xTrace && !db->init.busy ){ in sqlite_compile()
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Despi.c50 int busy; in tricn_write() local
59 busy = t1_wait_op_done(adapter, A_ESPI_GOSTAT, F_ESPI_CMD_BUSY, 0, in tricn_write()
62 if (busy) in tricn_write()
65 return busy; in tricn_write()
72 int busy, attempts = TRICN_CMD_ATTEMPTS;
84 busy = status & F_ESPI_CMD_BUSY;
85 } while (busy && --attempts);
87 if (busy)
91 return busy;
H A Dtp.c416 int busy = 0; in t1_tp_reset() local
426 busy = t1_wait_op_done(adapter, A_TP_RESET, F_CM_MEMMGR_INIT, in t1_tp_reset()
430 if (!busy) in t1_tp_reset()
435 return busy; in t1_tp_reset()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c160 fp->busy = FC_R_INIT; in fcode_interpreter()
196 while (fp->busy != FC_R_DONE) in fcode_interpreter()
240 if (fp->busy == FC_R_INIT) { in fcode_timer()
243 fp->busy = FC_R_DONE; in fcode_timer()
254 fp->busy = FC_R_DONE; in fcode_timer()
289 if (fp->busy == FC_R_INIT) { in fc_get_request()
290 fp->busy = FC_R_BUSY; in fc_get_request()
313 ASSERT(fp->busy == FC_R_BUSY); in fc_finish_request()
316 fp->busy = FC_R_DONE; in fc_finish_request()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dlock.test171 # tries to start a transaction, we get a busy callback.
179 db2 busy callback
190 db2 busy callback
201 db2 busy callback
207 # In this test, the 3rd invocation of the busy callback causes
219 db2 busy callback
233 db2 busy callback
240 # Test the built-in busy timeout handler
263 # Make sure the busy handler and error messages work when
285 db2 busy callback
/illumos-gate/usr/src/uts/common/io/
H A Dpshot.c665 pshot->busy = 0; in pshot_attach()
1153 ++(pshot->busy); in pshot_ctl()
1159 pshot->busy); in pshot_ctl()
1179 ASSERT(pshot->busy > 0); in pshot_ctl()
1180 --pshot->busy; in pshot_ctl()
1186 pshot->busy); in pshot_ctl()
1234 ++(pshot->busy); in pshot_ctl()
1240 pshot->busy); in pshot_ctl()
1255 ASSERT(pshot->busy > 0); in pshot_ctl()
1256 --pshot->busy; in pshot_ctl()
[all …]
H A Dgen_drv.c68 int busy[COMPONENTS]; /* busy state */ member
356 dstatep->busy[0] = 0; in gen_attach()
357 dstatep->busy[1] = 0; in gen_attach()
1013 ++dstatep->busy[0]; in gen_ioctl()
1015 " busy=%d", nodename, instance, dstatep->busy[0])); in gen_ioctl()
1027 state = dstatep->busy[0]; in gen_ioctl()
1048 if (dstatep->busy[0] > 0) { in gen_ioctl()
1049 --dstatep->busy[0]; in gen_ioctl()
1052 dstatep->busy[0])); in gen_ioctl()
/illumos-gate/usr/src/cmd/sh/
H A Dblok.c43 #define busy(x) (Rcheat((x)->word) & BUSY) macro
84 if (!busy(p)) { in alloc()
85 while (!busy(q = p->word)) in alloc()
228 if (busy(p)) in chkbptr()
258 if (busy(p)) in chkmem()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/threadname/
H A Dtst.threadname.c44 busy() in busy() function
81 busy(); in thread()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_add.c224 if (!MEM_BOARD_VISIBLE(board) || mem_info->busy || in ac_add_memory()
238 mem_info->busy = TRUE; in ac_add_memory()
247 mem_info->busy = FALSE; in ac_add_memory()
H A Dac_del.c504 if (!MEM_BOARD_VISIBLE(board) || mem_info->busy || in ac_del_memory()
521 mem_info->busy = TRUE; in ac_del_memory()
541 ASSERT(mem_info->busy != FALSE); in ac_del_memory()
543 mem_info->busy = FALSE; in ac_del_memory()
564 ASSERT(mem_info->busy != FALSE); in ac_del_memory()
566 mem_info->busy = FALSE; in ac_del_memory()
H A Dac_stat.c120 statp->busy = (mem_info->busy != FALSE); in ac_mem_stat()
189 stat32p->busy = statp->busy; in ac_mem_stat()
/illumos-gate/usr/src/uts/sun4/os/
H A Dprom_subr.c381 console_enter(int busy) in console_enter() argument
385 if (busy && panicstr == NULL) { in console_enter()
395 console_exit(int busy, int spl) in console_exit() argument
397 if (busy && panicstr == NULL) { in console_exit()
/illumos-gate/usr/src/tools/smatch/src/
H A Dexample.c101 unsigned busy:16, member
385 if (reg->busy) in flush_reg()
386 output_comment(state, "reg %s flushed while busy is %d!", reg->name, reg->busy); in flush_reg()
507 if (!reg->busy) { in target_reg()
532 …t_comment(state, "found pseudo %s in reg %s (busy=%d)", show_pseudo(pseudo), reg->name, reg->busy); in find_in_reg()
666 if (src->busy == 1 && src->dead == 1) in copy_reg()
693 op->reg->busy--; in put_operand()
698 op->base->busy--; in put_operand()
700 op->index->busy--; in put_operand()
719 op->reg->busy++; in get_register_operand()
[all …]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c98 int busy = 0; /* number of busy loops */ in __call_labeld() local
263 if (errno == EAGAIN && busy++ < 10) { in __call_labeld()
271 (void) printf("door_call failed EAGAIN # %d\n", busy); in __call_labeld()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_script.sh32 th_manage $1 getstate | read path state busy
37 th_manage $1 getstate | read path state busy
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c92 ssize_t busy; /* amount in use */ member
127 sprintf(mesg, "Busy: %10d\n", mmdc->mmvm->busy); write(fd, mesg, strlen(mesg)); in _vmmdump()
214 mmvm->busy = 0; in mminit()
320 { mmvm->busy = nsize;
326 { if(mmvm->busy == 0 )
327 { mmvm->busy = nsize;
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah.c158 int lo, busy, nack, shipped = 0; in send_mondo_set() local
211 busy = nack = 0; in send_mondo_set()
264 "" PRIx64 " cpuids:", nack, busy, idsr); in send_mondo_set()
329 busy++; in send_mondo_set()
349 busy = 0; in send_mondo_set()
H A Dus3_jalapeno.c180 int lo, busy, nack, shipped = 0; in send_mondo_set() local
211 busy = nack = 0; in send_mondo_set()
259 "" PRIx64 " cpuids:", nack, busy, idsr); in send_mondo_set()
274 busy++; in send_mondo_set()
294 busy = 0; in send_mondo_set()
H A Dopl_olympus.c332 int lo, busy, nack, shipped = 0; local
398 busy = nack = 0;
423 nack, busy, idsr);
446 busy++;
496 busy++;
516 busy = 0;
675 int busy, nack; local
683 busy = nack = 0;
703 "[%d NACK %d BUSY]", cpuid, nack, busy);
707 busy++;
[all …]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DPoold.java728 boolean busy = true; in initialize()
729 while (busy && shouldRun.get()) { in initialize()
730 busy = false; in initialize()
758 busy = true; in initialize()
779 busy = true; in initialize()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c1575 cfga_busy_t busy; in do_stat_fc_dev() local
1601 busy = ((dctl_state & DEVICE_BUSY) == DEVICE_BUSY) ? 1 : 0; in do_stat_fc_dev()
1603 busy = 0; in do_stat_fc_dev()
1691 lap->listp->ldata.ap_busy = busy; in do_stat_fc_dev()
1716 matchldp->ldata.ap_busy = busy; in do_stat_fc_dev()
1876 clp->ap_busy = busy; in do_stat_fc_dev()
2134 cfga_busy_t busy; in stat_path_info_FCP_dev() local
2292 busy = ((dctl_state & DEVICE_BUSY) in stat_path_info_FCP_dev()
2295 busy = 0; in stat_path_info_FCP_dev()
2297 clp->ap_busy = busy; in stat_path_info_FCP_dev()
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dac.h337 uint_t busy; /* add/delete in progress */ member
360 uint_t busy; /* add/delete in progress */ member
453 int busy; /* A bank is in transition */ member

12345