/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | alarm.c | 37 struct itimerval it, oitv; local 38 struct itimerval *itp = ⁢
|
H A D | _sprintf_sup.c | 249 int iz, it; local 253 for (it = 0; it <= iz; it++) { 254 pb->bsignificand[2 * (iz - it)] = pu->significand[it] & 0xffff; 255 pb->bsignificand[2 * (iz - it) + 1] = pu->significand[it] >> 16; 260 for (it = 1; it < p [all...] |
/illumos-gate/usr/src/cmd/lms/ |
H A D | ProtocolCompat.cpp | 122 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); local 123 if (it != _openChannels.end()) { 124 _closeMChannel(it->second); 125 _openChannels.erase(it); 137 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); local 138 if (it != _openChannels.end()) { 139 PRINT("[Compat]sending %d bytes from HECI connection %d to socket %d\n", ntohs(msg->DataLength), msg->ConnectionId, it->second->GetSocket()); 140 if (-1 == _send(it->second->GetSocket(), (char *)msg->Data, ntohs(msg->DataLength), error)) { 142 _closeMChannel(it->second); 143 _openChannels.erase(it); [all...] |
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | terminit.c | 90 set_item_term(MENU *m, PTF_void it) argument 93 SIterm(m) = it; 95 SIterm(Dfl_Menu) = it;
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | getlist.c | 51 listofnames *it; local 59 it = (listofnames *) malloc(sizeof (listofnames)); 60 if (it == NULL) { 64 it->name = copy; 65 it->nextname = NULL; 66 return (it);
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Statistic.java | 40 * object. The Statistic has no notion of the source of the data, it 108 public AggregateStatistic getSnapshotForInterval(Iterator it, argument 113 * A basic Statistic implementation which makes it easy to derive 285 public AggregateStatistic getSnapshotForInterval(Iterator it, argument 292 while (it.hasNext()) { 293 DoubleStatistic s = (DoubleStatistic) it.next(); 373 public AggregateStatistic getSnapshotForInterval(Iterator it, argument 379 while (it.hasNext()) { 380 LongStatistic s = (LongStatistic) it.next(); 460 public AggregateStatistic getSnapshotForInterval(Iterator it, argument [all...] |
H A D | StatisticList.java | 130 * @param it An iterator over the contained elements to be 135 private AggregateStatistic getSnapshot(Iterator it) argument 138 return (getSnapshotForInterval(it, null, null)); 161 * @param it An iterator over the contained elements to be 168 private AggregateStatistic getSnapshotForInterval(Iterator it, argument 172 return (f.getSnapshotForInterval(it, start, end)); 422 * listener object is invoked, and the StatisticEvent is passed to it. 526 Iterator it; 529 it = statistics.iterator(); 530 while (it [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_realtime.c | 75 itimer_t *it = (itimer_t *)arg; local 76 timeout_id_t *tidp = it->it_arg; 79 proc_t *p = it->it_proc; 85 it->it_fire(it); 86 val = &it->it_itime.it_value; 87 interval = &it->it_itime.it_interval; 100 * current time and add the interval; it would lead to 138 *tidp = realtime_timeout(clock_realtime_fire, it, ticks); 149 itimer_t *it local 175 clock_realtime_timer_create(itimer_t *it, void (*fire)(itimer_t *)) argument 184 clock_realtime_timer_settime(itimer_t *it, int flags, const struct itimerspec *when) argument 248 clock_realtime_timer_gettime(itimer_t *it, struct itimerspec *when) argument 279 clock_realtime_timer_delete(itimer_t *it) argument 302 clock_realtime_timer_lwpbind(itimer_t *it) argument [all...] |
H A D | clock_highres.c | 69 clock_highres_timer_create(itimer_t *it, void (*fire)(itimer_t *)) argument 78 it->it_arg = NULL; 82 it->it_arg = kmem_zalloc(sizeof (cyclic_id_t), KM_SLEEP); 83 it->it_fire = fire; 91 itimer_t *it = (itimer_t *)arg; local 92 hrtime_t *addr = &it->it_hrtime; 99 it->it_fire(it); 103 clock_highres_timer_settime(itimer_t *it, int flags, argument 106 cyclic_id_t cyc, *cycp = it 227 clock_highres_timer_gettime(itimer_t *it, struct itimerspec *when) argument 294 clock_highres_timer_delete(itimer_t *it) argument 319 clock_highres_timer_lwpbind(itimer_t *it) argument [all...] |
H A D | panic.c | 30 * When the operating system detects that it is in an invalid state, a panic 34 * making it part of the crash dump), synchronizing the file systems to 59 * code it attempts to set each trigger; if it fails it moves on to the 63 * the loser look ahead to see if any other triggers are set; if not, it 65 * are panicking, it is not possible to know this with absolute certainty. 71 * or dump is not making progress, it will invoke panic() to force a timeout. 192 * panic subsystem that it should not attempt an initial debug_enter. 238 kthread_t *it local [all...] |
H A D | timer.c | 51 * may _only_ be tuned in /etc/system or by patching the kernel binary; it 58 * ITLK_REMOVE bit; it's up to callers to look at this if they need to 59 * care. p_lock must be held on entry; it may be dropped and reaquired, 62 * Note that timer_create() doesn't call timer_lock(); it creates timers 66 timer_lock(proc_t *p, itimer_t *it) argument 70 while (it->it_lock & ITLK_LOCKED) { 71 it->it_blockers++; 72 cv_wait(&it->it_cv, &p->p_lock); 73 it->it_blockers--; 76 it 85 timer_unlock(proc_t *p, itimer_t *it) argument 106 timer_delete_locked(proc_t *p, timer_t tid, itimer_t *it) argument 202 itimer_t **itp, *it; local 236 timer_release(proc_t *p, itimer_t *it) argument 249 timer_delete_grabbed(proc_t *p, timer_t tid, itimer_t *it) argument 392 itimer_t *it = (itimer_t *)sigq->sq_backptr; local 411 timer_fire(itimer_t *it) argument 475 itimer_t *it, **itp; local 720 itimer_t *it; local 755 itimer_t *it; local 796 itimer_t *it; local 811 itimer_t *it; local 838 itimer_t *it, **itp; local 882 itimer_t *it, **itp; local 937 itimer_t *it = arg; local 975 itimer_t *it; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 135 * locked the table, lock it. If the table already is 142 /* Already locked; find out if it's us */ 193 * Leave traverser_id as it is, so that it 207 * traversing the table, leave it locked. 236 __nis_hash_item_mt *it, **pp; local 248 for (pp = &table->keys[key]; (it = *pp) != 0; pp = &it->next) { 249 if (strcmp(name, it->name) == 0) { 363 * There's a writer, but it' 692 __nis_hash_item_mt *it; local [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 13 * This program is free software; you can redistribute it and/or modify 14 * it under the terms of the GNU General Public License as published by 18 * This program is distributed in the hope that it will be useful, 226 LibHalPropertySetIterator it; local 239 for(libhal_psi_init(&it, props); libhal_psi_has_more(&it); libhal_psi_next(&it)) { 240 type = libhal_psi_get_type(&it); 244 libhal_psi_get_key(&it), 245 libhal_psi_get_string(&it) [all...] |
H A D | lshal.c | 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 16 * This program is distributed in the hope that it will be useful, 93 LibHalPropertySetIterator it; local 111 for (libhal_psi_init (&it, props); libhal_psi_has_more (&it); libhal_psi_next (&it)) { 112 type = libhal_psi_get_type (&it); 116 libhal_psi_get_key (&it), 117 libhal_psi_get_string (&it)); [all...] |
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 166 /* insert into pending list by it original IPL */ 221 /* mark it as idle */ 230 kthread_t *t, *volatile it; local 248 it = cpu->cpu_intr_thread; 249 ASSERT(it != NULL); 250 cpu->cpu_intr_thread = it->t_link; 267 it->t_lwp = t->t_lwp; 268 it->t_state = TS_ONPROC; 273 * Set interrupted thread's T_SP because if it is the idle thread, 280 it 303 kthread_t *t, *it; local 610 kthread_t *t, *volatile it; local 678 kthread_t *t, *it = cpu->cpu_thread; local [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 483 const zprop_index_t *it = p->pd_table; local 486 for (j = 0; it[j].pi_name; j++) { 488 it[j].pi_name, 489 Py_BuildValue("K", it[j].pi_value));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/ |
H A D | stmf_sbd.c | 397 sbd_it_data_t it; local 402 if (mdb_vread(&it, sizeof (sbd_it_data_t), addr) == -1) { 406 wsp->walk_addr = (uintptr_t)it.sbd_it_next; 407 return (wsp->walk_callback(addr, &it, wsp->walk_cbdata)); 411 stmf_sbd_it_cb(uintptr_t addr, const sbd_it_data_t *it, stmf_sbd_cb_t *cb_st) argument 422 mdb_printf("\tSession ID: 0x%0-lx\n", it->sbd_it_session_id); 425 it->sbd_it_flags); 426 mdb_printf("\tPGR Key: %-p\n", it->pgr_key_ptr); 622 { "stmf_sbd_it", "walk the sbd_it_data for the given it list",
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_drv.c | 51 * connected to it. 397 /* Create the device node if it doesn't exist. */ 467 /* Check whether it has already been initialized. */ 660 acpidev_class_list_t *it; local 700 for (it = *(infop->awi_class_list); it != NULL; it = it->acl_next) { 701 if (it->acl_class->adc_pre_probe == NULL) { 704 infop->awi_class_curr = it [all...] |
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara2.c | 121 * Initialize the cpu_hwcap_flags for N2 and VF if it is not already 387 mem_node_iterator_t *it = cookie; local 392 if (it == ((mem_node_iterator_t *)(-1))) { 394 } else if (it != NULL) { 395 ASSERT(pfn >= it->mi_mblock_base && pfn <= it->mi_mblock_end); 396 pfn = pfn + it->mi_ra_to_pa; 480 (((pfn) & it->mi_mnode_pfn_mask) >> it->mi_mnode_pfn_shift) 487 mem_node_iterator_t *it local 686 mem_node_iterator_t it; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | timerfd.c | 57 itimer_t *it = &state->tfd_itimer; local 61 while (it->it_lock & ITLK_LOCKED) { 62 it->it_blockers++; 63 cv_wait(&it->it_cv, &state->tfd_lock); 64 it->it_blockers--; 67 it->it_lock |= ITLK_LOCKED; 71 return (it); 75 timerfd_itimer_unlock(timerfd_state_t *state, itimer_t *it) argument 77 VERIFY(it == &state->tfd_itimer); 78 VERIFY(it 91 timerfd_fire(itimer_t *it) argument 256 itimer_t *it; local 397 itimer_t *it; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access.c | 228 * The mapping failed and will fail again if it is 389 * we can recover it from the hash table. This makes hard work but 404 __nis_hash_item_mt *it; local 437 for (it = ldapMappingList.keys[i]; NULL != it; it = it->next) { 439 if ((target_len + domain_len + 1) > strlen(it->name)) 441 if (0 != strncmp(it->name, target, target_len)) 445 if (strlen(domain) >= strlen(it 972 __nis_hash_item_mt *it; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 550 tree_name(const char *s, enum itertype it, const char *file, int line) argument 559 ret->u.name.it = it; 562 if (it == IT_ENAME) { 611 ret->u.name.it = IT_NONE; 862 * it to an explicit iterator by 892 * the name makes it impossible to 898 (pnp->u.name.it == IT_HORIZONTAL) ? 1036 * we add it to the global lut and start lutp 1324 * tree because it i [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_pgr.c | 82 static void sbd_pgr_do_reserve(sbd_pgr_t *, sbd_pgr_key_t *, sbd_it_data_t *it, 239 #define PGR_RESERVATION_HOLDER(pgr, key, it) ( \ 242 ((key)->pgr_key_it) && ((key)->pgr_key_it == (it)))) 556 sbd_it_data_t *it; local 560 for (it = slu->sl_it_list; it != NULL; it = it->sbd_it_next) { 561 it->pgr_key_ptr = NULL; 595 sbd_it_data_t *it; local 636 sbd_it_data_t *it; local 671 sbd_it_data_t *it; local 692 sbd_it_data_t *it; local 748 sbd_pgr_initialize_it(scsi_task_t *task, sbd_it_data_t *it) argument 819 sbd_it_data_t *it = (sbd_it_data_t *)task->task_lu_itl_handle; local 961 sbd_it_data_t *it = task->task_lu_itl_handle; local 1237 sbd_it_data_t *it = task->task_lu_itl_handle; local 1407 sbd_pgr_do_register(sbd_lu_t *slu, sbd_it_data_t *it, scsi_devid_desc_t *lpt, stmf_remote_port_t *rpt, uint8_t keyflag, uint64_t svc_key) argument 1447 sbd_pgr_do_unregister(sbd_lu_t *slu, sbd_it_data_t *it, sbd_pgr_key_t *key) argument 1465 sbd_it_data_t *it = task->task_lu_itl_handle; local 1507 sbd_pgr_do_reserve(sbd_pgr_t *pgr, sbd_pgr_key_t *key, sbd_it_data_t *it, stmf_scsi_session_t *ses, scsi_cdb_prout_t *pr_out) argument 1545 sbd_it_data_t *it = task->task_lu_itl_handle; local 1568 sbd_pgr_do_release(sbd_lu_t *slu, sbd_it_data_t *it, uint8_t ua_condition) argument 1589 sbd_it_data_t *it = task->task_lu_itl_handle; local 1622 sbd_it_data_t *it = task->task_lu_itl_handle; local 1741 sbd_it_data_t *it = task->task_lu_itl_handle; local 1854 sbd_it_data_t *it; local [all...] |
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_impl.c | 134 * in FFP we just don't know it yet -- to address this we 338 * just treat it as a normal PDU event. Client 452 idm_transport_t *it; local 456 it = &idm_transport_list[type]; 458 if ((it->it_ops != NULL) && (it->it_type == tt)) 461 ASSERT(it->it_type == tt); 462 if (it->it_type != tt) 474 ic->ic_transport_ops = it->it_ops; 530 idm_transport_t *it; local 562 idm_transport_t *it; local 610 idm_transport_t *it; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | intr.c | 42 * long time on i86pc the 8259A was the only way to handle interrupts and it 91 * programming it through a series of wrmsrs. This has important semantic 109 * splr() to raise the priority level and splx() to lower it. One should not 114 * LOCK_LEVEL (0xa on i86pc). If a thread is above LOCK_LEVEL it _must_ not 129 * driver that interacts with the 8259A and 8254. In general, it is not used 135 * pcplusmp driver because it gives us much more flexibility with respect to 159 * is through the cli and sti instructions. These clear the IF flag and set it, 167 * will either deliver it immediately (if interrupts are not in progress) or it 168 * will deliver it onc 707 kthread_t *t, *volatile it; local 774 kthread_t *it = cpu->cpu_thread; /* curthread */ local 944 kthread_t *t, *volatile it; local 1052 kthread_t *t, *it; local 1110 intr_passivate( kthread_t *it, kthread_t *t) argument [all...] |