Searched defs:it (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dalarm.c37 struct itimerval it, oitv; local
38 struct itimerval *itp = ⁢
H A D_sprintf_sup.c249 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/lib/libeti/menu/common/
H A Dterminit.c90 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 Dgetlist.c51 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 DStatistic.java40 * 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 DStatisticList.java130 * @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 Dclock_realtime.c75 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 Dclock_highres.c69 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 Dtimer.c51 * 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...]
H A Dpanic.c31 * When the operating system detects that it is in an invalid state, a panic
35 * making it part of the crash dump), synchronizing the file systems to
60 * code it attempts to set each trigger; if it fails it moves on to the
64 * the loser look ahead to see if any other triggers are set; if not, it
66 * are panicking, it is not possible to know this with absolute certainty.
72 * or dump is not making progress, it will invoke panic() to force a timeout.
193 * panic subsystem that it should not attempt an initial debug_enter.
238 kthread_t *it local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c135 * 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...]
H A Dldap_nisdbquery.c71 * it here just in case. This means we usually waste a byte for
152 item *it; local
161 it = buildItem(old->components.components_val[i].index_value->
166 if (it == 0) {
172 new->components.components_val[i].index_value = it;
335 * above, so it is in fact equivalent to case (4).
843 * still go through the rest of the array, so that it's
974 /* If no previous value, add it */
1050 * array. On exit, it holds the number of (db_query *)'s in the return
/illumos-gate/usr/src/cmd/hal/tools/
H A Dlshal.c11 * 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...]
H A Dhal-device.c13 * 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...]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c169 /* insert into pending list by it original IPL */
224 /* mark it as idle */
233 kthread_t *t, *volatile it; local
251 it = cpu->cpu_intr_thread;
252 ASSERT(it != NULL);
253 cpu->cpu_intr_thread = it->t_link;
270 it->t_lwp = t->t_lwp;
271 it->t_state = TS_ONPROC;
276 * Set interrupted thread's T_SP because if it is the idle thread,
283 it
307 kthread_t *t, *it; local
627 kthread_t *t, *volatile it; local
696 kthread_t *t, *it = cpu->cpu_thread; local
[all...]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara2.c121 * 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/lib/pyzfs/common/
H A Dioctl.c496 const zprop_index_t *it = p->pd_table; local
499 for (j = 0; it[j].pi_name; j++) {
501 it[j].pi_name,
502 Py_BuildValue("K", it[j].pi_value));
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_drv.c52 * connected to it.
413 /* Create the device node if it doesn't exist. */
483 /* Check whether it has already been initialized. */
676 acpidev_class_list_t *it; local
716 for (it = *(infop->awi_class_list); it != NULL; it = it->acl_next) {
717 if (it->acl_class->adc_pre_probe == NULL) {
720 infop->awi_class_curr = it
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c397 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/common/io/
H A Dtimerfd.c57 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/cmd/fm/eversholt/common/
H A Dtree.c550 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/lib/libscf/common/
H A Dnotify_params.c235 * Add a pg if it does not exist, or get it if it exists.
945 scf_iter_t *it = scf_iter_create(h); local
966 if (val == NULL || it == NULL)
981 if (scf_iter_property_values(it, prop) != 0) {
985 while ((err = scf_iter_next_value(it, val)) == 1) {
989 /* set initial size or double it */
1018 scf_iter_destroy(it);
1195 * If the transition set is invalid, it return
1399 scf_iter_t *it = scf_iter_create(h); local
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c228 * The mapping failed and will fail again if it is
390 * we can recover it from the hash table. This makes hard work but
405 __nis_hash_item_mt *it; local
438 for (it = ldapMappingList.keys[i]; NULL != it; it = it->next) {
440 if ((target_len + domain_len + 1) > strlen(it->name))
442 if (0 != strncmp(it->name, target, target_len))
446 if (strlen(domain) >= strlen(it
973 __nis_hash_item_mt *it; local
[all...]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_impl.c134 * 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 Dintr.c42 * 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
723 kthread_t *t, *volatile it; local
792 kthread_t *it = cpu->cpu_thread; /* curthread */ local
963 kthread_t *t, *volatile it; local
1072 kthread_t *t, *it; local
1132 intr_passivate( kthread_t *it, kthread_t *t) argument
[all...]

Completed in 326 milliseconds

12