Home
last modified time | relevance | path

Searched full:it (Results 1 – 25 of 5661) sorted by relevance

12345678910>>...227

/illumos-gate/usr/src/uts/common/os/
H A Dtimer.c52 * may _only_ be tuned in /etc/system or by patching the kernel binary; it
58 * timer_lock() locks the specified interval timer. It doesn't look at the
59 * ITLK_REMOVE bit; it's up to callers to look at this if they need to
60 * care. p_lock must be held on entry; it may be dropped and reaquired,
63 * Note that timer_create() doesn't call timer_lock(); it creates timers
67 timer_lock(proc_t *p, itimer_t *it) in timer_lock() argument
71 while (it->it_lock & ITLK_LOCKED) { in timer_lock()
72 it->it_blockers++; in timer_lock()
73 cv_wait(&it->it_cv, &p->p_lock); in timer_lock()
74 it->it_blockers--; in timer_lock()
[all …]
H A Dclock_realtime.c75 itimer_t *it = (itimer_t *)arg; in clock_realtime_fire() local
76 timeout_id_t *tidp = it->it_arg; in clock_realtime_fire()
79 proc_t *p = it->it_proc; in clock_realtime_fire()
85 it->it_fire(it); in clock_realtime_fire()
86 val = &it->it_itime.it_value; in clock_realtime_fire()
87 interval = &it->it_itime.it_interval; in clock_realtime_fire()
100 * current time and add the interval; it would lead to in clock_realtime_fire()
138 *tidp = realtime_timeout(clock_realtime_fire, it, ticks); in clock_realtime_fire()
149 itimer_t *it = (itimer_t *)arg; in clock_realtime_fire_first() local
151 timespec_t *val = &it->it_itime.it_value; in clock_realtime_fire_first()
[all …]
H A Dclock_highres.c72 clock_highres_timer_create(itimer_t *it, void (*fire)(itimer_t *)) in clock_highres_timer_create() argument
74 it->it_arg = kmem_zalloc(sizeof (cyclic_id_t), KM_SLEEP); in clock_highres_timer_create()
75 it->it_fire = fire; in clock_highres_timer_create()
83 itimer_t *it = (itimer_t *)arg; in clock_highres_fire() local
84 hrtime_t *addr = &it->it_hrtime; in clock_highres_fire()
91 it->it_fire(it); in clock_highres_fire()
95 clock_highres_timer_settime(itimer_t *it, int flags, in clock_highres_timer_settime() argument
98 cyclic_id_t cyc, *cycp = it->it_arg; in clock_highres_timer_settime()
154 it->it_itime.it_interval.tv_sec == 0 && in clock_highres_timer_settime()
155 it->it_itime.it_interval.tv_nsec == 0 && in clock_highres_timer_settime()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtimerfd.c57 itimer_t *it = &state->tfd_itimer; in timerfd_itimer_lock() local
61 while (it->it_lock & ITLK_LOCKED) { in timerfd_itimer_lock()
62 it->it_blockers++; in timerfd_itimer_lock()
63 cv_wait(&it->it_cv, &state->tfd_lock); in timerfd_itimer_lock()
64 it->it_blockers--; in timerfd_itimer_lock()
67 it->it_lock |= ITLK_LOCKED; in timerfd_itimer_lock()
71 return (it); in timerfd_itimer_lock()
75 timerfd_itimer_unlock(timerfd_state_t *state, itimer_t *it) in timerfd_itimer_unlock() argument
77 VERIFY(it == &state->tfd_itimer); in timerfd_itimer_unlock()
78 VERIFY(it->it_lock & ITLK_LOCKED); in timerfd_itimer_unlock()
[all …]
/illumos-gate/usr/src/man/man9e/
H A Dmc_tx.9e90 prepare it for being transmitted on the wire.
91 The driver may opt to copy those resources to a DMA buffer or it may bind them.
97 As it processes each frame in the chain, if the device driver has
102 flags, it must check whether either apply for the given frame using the
110 For each frame that the device driver processes it is responsible for
111 doing one of three things with it:
126 framework, then it must call
129 If it does not, the memory associated with them will be leaked.
131 it should not free the message block until after it is guaranteed that the frame
133 If the message block was copied to a DMA buffer, then it is allowed to call
[all …]
H A Dusba_hcdi.9e74 When a USB 3.0 device is plugged into a USB 2.0 port or hub, then it will report
75 its version as USB 2.1, to indicate that it is actually a USB 3.0 device.
78 operations vector, it helps to understand how USB devices are organized
121 on it, and receives periodic updates whenever there is information available.
128 A device may describe an interval as 10ms at which point it will read or
129 write the next batch of data every 10ms and transform it for the user.
172 work necessary to allow the client device driver to access it.
173 Once the pipe is open, it either makes one-shot transfers specific to the
174 transfer type or it starts performing a periodic poll of an endpoint.
209 To initialize a device driver with the USBA, it must first call
[all …]
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_provider.h36 * succeeds, then it should proceed to fill out the registration and then call,
37 * libvarpd_plugin_register() with it. Regardless of whether it succeeds or
38 * fails, it should call libvarpd_plugin_free(). In the case of failure, there
43 * of the operations it defined in the operation vector may be called and
44 * therefore it is recommended that any other required initialization should be
47 * At this time, once a plugin is loaded, it will not be unloaded. Therefore,
68 * consider vxlan, it requires an IP and a port; while a hypothetical nvgre,
71 * A plugin is allowed to describe which of these fields that it supports and
72 * given which encapsulation plugin it is paired with, it can support a varying
74 * It has a notion of a destination port and a destination IP. If it is paired
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Doverlay_plugin.h30 * In it's _init(9E) routine, it must register itself with the overlay
31 * subsystem. To do this, it allocates an overlay_plugin_register_t via
32 * overlay_plugin_alloc(), that it then * fills out with various required
34 * overlay_plugin_register(). If that succeeds, it should then call
35 * mod_install(9F). If the mod_install(9F) fails, then it should call
36 * overlay_plugin_unregister(). Regardless of success or failure, it should call
41 * called first. It may return an error, such as EBUSY. In such cases, it should
42 * be returned as the return status of _fini(9E). This is quite necessary, it
43 * ensures that if the module is in use it doesn't get unloaded out from under
44 * us the broader subsystem while it's still in use. A driver can use that to
[all …]
/illumos-gate/usr/src/man/man9f/
H A Dmac_hcksum_get.9f50 The value or a pointer to it that contains the offset from the L3
53 The value or a pointer to it that contains the offset from the L3 header
58 The value or a pointer to it that contains the offset from the L3
61 The value or a pointer to it that contains the actual value of the
76 When a device driver indicates that it supports the
80 entry point, then it is responsible for calling these functions
88 In other words, it only works on entries where it is the first of many possible
100 When a device driver is receiving data, it is its responsibility to
102 checksum information when it has indicated that it supports the
118 correct and that the networking stack does not need to verify it.
[all …]
/illumos-gate/usr/src/man/man3c/
H A Dgetutent.3c82 database. If the database is not already open, it opens it. If it reaches the
83 end of the database, it fails.
86 \fButmp\fR database until it finds an entry with a \fBut_type\fR matching
93 reached without a match, it fails.
96 \fButmp\fR database until it finds an entry of the type \fBLOGIN_PROCESS\fR or
98 of database is reached without a match, it fails.
101 the \fButmp\fR database. It uses \fBgetutid()\fR to search forward for the
102 proper place if it finds that it is not already at the proper place. It is
106 entry, it will add a new entry to the end of the database. It returns a
116 reset should be done before each search for a new entry if it is desired that
[all …]
H A Dgetutxent.3c112 database. If the database is not already open, it opens it. If it reaches the
113 end of the database, it fails.
117 \fButmpx\fR database until it finds an entry with a \fBut_type\fR matching
124 reached without a match, it fails.
128 \fButmpx\fR database until it finds an entry of the type \fBLOGIN_PROCESS\fR or
131 without a match, it fails.
135 the \fButmpx\fR database. It uses \fBgetutxid()\fR to search forward for the
136 proper place if it finds that it is not already at the proper place. It is
140 matching slot for the new entry, it will add a new entry to the end of the
141 database. It returns a pointer to the \fButmpx\fR structure. When called by a
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c83 static void sbd_pgr_do_reserve(sbd_pgr_t *, sbd_pgr_key_t *, sbd_it_data_t *it,
214 /* Commands allowed for registered IT nexues but not reservation holder */
241 #define PGR_RESERVATION_HOLDER(pgr, key, it) ( \ argument
244 ((key)->pgr_key_it) && ((key)->pgr_key_it == (it))))
583 sbd_it_data_t *it; in sbd_pgr_keylist_dealloc() local
587 for (it = slu->sl_it_list; it != NULL; it = it->sbd_it_next) { in sbd_pgr_keylist_dealloc()
588 it->pgr_key_ptr = NULL; in sbd_pgr_keylist_dealloc()
623 sbd_it_data_t *it; in sbd_pgr_remove_key() local
629 for (it = slu->sl_it_list; it != NULL; it = it->sbd_it_next) { in sbd_pgr_remove_key()
630 if (it->pgr_key_ptr == key) in sbd_pgr_remove_key()
[all …]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A DLICENSE.txt149 of this license document, but changing it is not allowed.
154 freedom to share and change it. By contrast, the GNU General Public
159 using it. (Some other Free Software Foundation software is covered by
160 the GNU Library General Public License instead.) You can apply it to
166 this service if you wish), that you receive source code or can get it
167 if you want it, that you can change the software or use pieces of it
173 distribute copies of the software, or if you modify it.
195 program proprietary. To prevent this, we have made it clear that any
205 a notice placed by the copyright holder saying it may be distributed
209 that is to say, a work containing the Program or a portion of it,
[all …]
/illumos-gate/usr/src/lib/libbrand/dtd/
H A Dbrand.dtd.139 containing a temporary config.xml file the zone. It should return 0
43 It has no attributes.
63 It has no attributes.
79 It has no attributes.
91 It has no attributes.
103 If this programs succeeds it should not generate any output.
113 It has no attributes.
124 If the program succeeds, then it should not generate output.
125 If the program returns an error, then the output it generates will be
148 brand boot program was invoked. It is also possible that if the zone
[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 in cpu_setup()
387 mem_node_iterator_t *it = cookie; in page_pfn_2_color_cpu() local
392 if (it == ((mem_node_iterator_t *)(-1))) { in page_pfn_2_color_cpu()
394 } else if (it != NULL) { in page_pfn_2_color_cpu()
395 ASSERT(pfn >= it->mi_mblock_base && pfn <= it->mi_mblock_end); in page_pfn_2_color_cpu()
396 pfn = pfn + it->mi_ra_to_pa; in page_pfn_2_color_cpu()
480 (((pfn) & it->mi_mnode_pfn_mask) >> it->mi_mnode_pfn_shift)
487 mem_node_iterator_t *it = cookie; in page_next_pfn_for_color_cpu() local
494 ASSERT(pfn >= it->mi_mblock_base && pfn <= it->mi_mblock_end); in page_next_pfn_for_color_cpu()
497 if (it->mi_init) { in page_next_pfn_for_color_cpu()
[all …]
/illumos-gate/usr/src/lib/librstp/common/
H A DCOPYING7 of this license document, but changing it is not allowed.
9 [This is the first released version of the Lesser GPL. It also counts
16 freedom to share and change it. By contrast, the GNU General Public
22 Free Software Foundation and other authors who decide to use it. You
23 can use it too, but we suggest you first think carefully about whether
31 it if you want it; that you can change the software and use pieces of
32 it in new free programs; and that you are informed that you can do
38 you if you distribute copies of the library or if you modify it.
46 it. And you must show them these terms so they know their rights.
52 To protect each distributor, we want to make it very clear that
[all …]
/illumos-gate/usr/src/grub/grub-0.97/
H A DCOPYING7 of this license document, but changing it is not allowed.
12 freedom to share and change it. By contrast, the GNU General Public
17 using it. (Some other Free Software Foundation software is covered by
18 the GNU Library General Public License instead.) You can apply it to
24 this service if you wish), that you receive source code or can get it
25 if you want it, that you can change the software or use pieces of it
31 distribute copies of the software, or if you modify it.
53 program proprietary. To prevent this, we have made it clear that any
63 a notice placed by the copyright holder saying it may be distributed
67 that is to say, a work containing the Program or a portion of it,
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A DGPL-27 of this license document, but changing it is not allowed.
12 freedom to share and change it. By contrast, the GNU General Public
17 using it. (Some other Free Software Foundation software is covered by
18 the GNU Lesser General Public License instead.) You can apply it to
24 this service if you wish), that you receive source code or can get it
25 if you want it, that you can change the software or use pieces of it
31 distribute copies of the software, or if you modify it.
53 program proprietary. To prevent this, we have made it clear that any
63 a notice placed by the copyright holder saying it may be distributed
67 that is to say, a work containing the Program or a portion of it,
[all …]
H A DREADME13 Sparse is a semantic parser of source files: it's neither a compiler
14 (although it could be used as a front-end for one) nor is it a
15 preprocessor (although it contains as a part of it a preprocessing
18 It is meant to be a small - and simple - library. Scanty and meager,
19 and partly because of that easy to use. It has one mission in life:
21 analysis. It's not a tokenizer, nor is it some generic context-free
22 parser. In fact, context (semantics) is what it's all about - figuring
26 And no, it doesn't use lex and yacc (or flex and bison). In my personal
45 correctly), but it will not have calculated what the details of the
66 funtion takes a pointer to a symbol_list and does whatever it likes with it.
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A DCOPYING7 of this license document, but changing it is not allowed.
12 freedom to share and change it. By contrast, the GNU General Public
17 using it. (Some other Free Software Foundation software is covered by
18 the GNU Library General Public License instead.) You can apply it to
24 this service if you wish), that you receive source code or can get it
25 if you want it, that you can change the software or use pieces of it
31 distribute copies of the software, or if you modify it.
53 program proprietary. To prevent this, we have made it clear that any
63 a notice placed by the copyright holder saying it may be distributed
67 that is to say, a work containing the Program or a portion of it,
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A DTHIRDPARTYLICENSE10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
65 including commercial applications, and to alter it and redistribute it
91 This program is free software; you can redistribute it and/or
92 modify it under the terms of the GNU General Public License
101 of this license document, but changing it is not allowed.
106 freedom to share and change it. By contrast, the GNU General Public
111 using it. (Some other Free Software Foundation software is covered by
112 the GNU Library General Public License instead.) You can apply it to
118 this service if you wish), that you receive source code or can get it
[all …]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c169 /* insert into pending list by it original IPL */ in apix_add_pending_hardint()
224 /* mark it as idle */ in apix_dispatch_pending_autovect()
233 kthread_t *t, *volatile it; in apix_do_softint_prolog() local
251 it = cpu->cpu_intr_thread; in apix_do_softint_prolog()
252 ASSERT(it != NULL); in apix_do_softint_prolog()
253 cpu->cpu_intr_thread = it->t_link; in apix_do_softint_prolog()
270 it->t_lwp = t->t_lwp; in apix_do_softint_prolog()
271 it->t_state = TS_ONPROC; in apix_do_softint_prolog()
276 * Set interrupted thread's T_SP because if it is the idle thread, in apix_do_softint_prolog()
283 it->t_intr = t; in apix_do_softint_prolog()
[all …]
/illumos-gate/usr/src/man/man3nsl/
H A Dxdr_simple.3nsl128 that any buffers passed to the \fBXDR\fR routines must be properly aligned. It
139 \fB1\fR or \fB0\fR. This routine returns \fBTRUE\fR if it succeeds, \fBFALSE\fR
150 representations. This routine returns \fBTRUE\fR if it succeeds, \fBFALSE\fR
152 For arrays of characters, it is worthwhile to consider \fBxdr_bytes()\fR,
163 their external representations. This routine returns \fBTRUE\fR if it succeeds,
174 external representations. This routine returns \fBTRUE\fR if it succeeds,
185 representations. This routine returns \fBTRUE\fR if it succeeds, \fBFALSE\fR
197 Note: the pointer passed to this routine is not freed, but what it points to is
208 their external representations. This routine returns \fBTRUE\fR if it succeeds,
219 representations. This routine returns \fBTRUE\fR if it succeeds, \fBFALSE\fR
[all …]
H A Dsecure_rpc.3nsl140 \fBauthdes_getucred()\fR function returns \fB1\fR if it succeeds, \fB0\fR if it
186 encryption of credentials. If \fIckey\fR is supplied, it is used for
189 If \fBauthdes_seccreate()\fR fails, it returns \fINULL.\fR
199 caller in the fixed-length array \fIname\fR. The function returns \fB1\fR if it
200 succeeds and \fB0\fR if it fails.
210 system independent netname. The function returns \fB1\fR if it succeeds and
211 \fB0\fR if it fails. The \fBhost2netname()\fR function is the inverse of the
214 is \fINULL\fR, it defaults to that machine itself. If \fIdomain\fR is
249 key registered for the UID, it falls back to using the secret key for the
253 returns \fB0\fR if it succeeds, \fB\(mi1\fR if it fails.
[all …]
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Dsparse-README.txt12 Sparse is a semantic parser of source files: it's neither a compiler
13 (although it could be used as a front-end for one) nor is it a
14 preprocessor (although it contains as a part of it a preprocessing
17 It is meant to be a small - and simple - library. Scanty and meager,
18 and partly because of that easy to use. It has one mission in life:
20 analysis. It's not a tokenizer, nor is it some generic context-free
21 parser. In fact, context (semantics) is what it's all about - figuring
25 And no, it doesn't use lex and yacc (or flex and bison). In my personal
44 correctly), but it will not have calculated what the details of the
65 funtion takes a pointer to a symbol_list and does whatever it likes with it.
[all …]

12345678910>>...227