Searched refs:it (Results 1 - 25 of 226) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/os/
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 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...]
/illumos-gate/usr/src/uts/common/sys/
H A Dtime_impl.h102 #define ITIMERSPEC32_TO_ITIMERSPEC(it, it32) { \
103 TIMESPEC32_TO_TIMESPEC(&(it)->it_interval, &(it32)->it_interval); \
104 TIMESPEC32_TO_TIMESPEC(&(it)->it_value, &(it32)->it_value); \
107 #define ITIMERSPEC_TO_ITIMERSPEC32(it32, it) { \
108 TIMESPEC_TO_TIMESPEC32(&(it32)->it_interval, &(it)->it_interval); \
109 TIMESPEC_TO_TIMESPEC32(&(it32)->it_value, &(it)->it_value); \
112 #define ITIMERSPEC_OVERFLOW(it) \
113 (TIMESPEC_OVERFLOW(&(it)->it_interval) && \
114 TIMESPEC_OVERFLOW(&(it)->it_value))
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dstrchr.s33 cmpb %sil,%dl / find it?
35 testb %dl,%dl / is it null?
39 cmpb %sil,%dl / find it?
41 testb %dl,%dl / is it null?
45 cmpb %sil,%dl / find it?
47 testb %dl,%dl / is it null?
51 cmpb %sil,%dl / find it?
54 testb %dl,%dl / is it null?
H A Dwschr.s46 cmpl %esi,%edx / find it?
48 testl %edx,%edx / is it null?
52 cmpl %esi,%edx / find it?
54 testl %edx,%edx / is it null?
58 cmpl %esi,%edx / find it?
60 testl %edx,%edx / is it null?
64 cmpl %esi,%edx / find it?
67 testl %edx,%edx / is it null?
H A Dlock.s43 / - clear lock and force it to appear unlocked in memory.
H A Dmemccpy.s39 cmpb %dh,%dl / is it the byte sought?
46 cmpb %dh,%dl / is it the byte sought?
53 cmpb %dh,%dl / is it the byte sought?
62 cmpb %dh,%dl / is it the byte sought?
/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/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/cmd/lms/
H A DProtocolCompat.cpp122 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...]
H A DProtocol.cpp168 ChannelMap::iterator it = _openChannels.begin(); local
169 for (; it != _openChannels.end(); it++) {
170 if (it->second->GetSocket() == s) {
171 return it->second;
175 ChannelMap::iterator it = _openChannels.find(s); local
176 if (it != _openChannels.end()) {
177 return it->second;
210 ChannelMap::iterator it = _openChannels.begin(); local
212 for (; it !
222 PortMap::iterator it = _openPorts.begin(); local
279 PortMap::iterator it = _openPorts.find(port); local
421 PortMap::iterator it = _openPorts.find(port); local
497 PortMap::iterator it = _openPorts.begin(); local
513 ChannelMap::iterator it = _openChannels.begin(); local
563 PortMap::iterator it = _openPorts.begin(); local
673 ChannelMap::iterator it = _openChannels.begin(); local
705 PortMap::iterator it = _openPorts.find(p->GetPort()); local
936 ChannelMap::iterator it = _openChannels.find(chOpenSuccMsg->RecipientChannel); local
986 ChannelMap::iterator it = _openChannels.find(channelWindowMessage->RecipientChannel); local
1158 PortMap::iterator it = _openPorts.find(tcpFwdCnclMsg->Port); local
1293 ChannelMap::iterator it = _openChannels.find(chFailMsg->RecipientChannel); local
1310 ChannelMap::iterator it = _openChannels.find(chClMsg->RecipientChannel); local
1343 ChannelMap::iterator it = _openChannels.find(chDMsg->RecipientChannel); local
1550 std::list<std::string>::const_iterator it = _AMTDNSSuffixes.begin(); 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/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/lib/libc/i386/gen/
H A Dwschr.s47 cmpl %ecx,%edx / find it?
49 testl %edx,%edx / is it null?
53 cmpl %ecx,%edx / find it?
55 testl %edx,%edx / is it null?
59 cmpl %ecx,%edx / find it?
61 testl %edx,%edx / is it null?
65 cmpl %ecx,%edx / find it?
68 testl %edx,%edx / is it null?
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrcmp.s54 ! If it is not, it attempts to align it and then checks the
55 ! alignment of the destination string. If it is possible to
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.chill.ksh40 * NOTES: This test does no verification - it's not possible. So,
41 * we just run this and make sure it runs.
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c82 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/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/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
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...]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c166 /* 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/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DDecisionHistory.java532 Iterator it = decisions.keySet().iterator();
533 while (it.hasNext()) {
534 String dk = (String)it.next();
557 for (Iterator it = resourcesAwaitingImprovement.
558 keySet().iterator(); it.hasNext(); ) {
559 Resource res = (Resource)it.next();
576 it.remove();
587 ListIterator it = decisionList.listIterator(0);
588 while (it.hasNext()) {
589 decision = (Decision)it
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
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...]
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...]

Completed in 128 milliseconds

12345678910