Searched refs:first (Results 276 - 300 of 539) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c825 /* move cursor to start of first line */
1184 int ed_setcursor(register Edit_t *ep,genchar *physical,register int old,register int new,int first) argument
1192 if(first < 0)
1194 first = 0;
1261 if(!ep->e_crlf || bs || (2*delta <= ((old-first)+(newpos.line?0:ep->e_plen))) )
1272 first = 1+(newpos.line*ep->e_winsz - ep->e_plen);
1275 old = first;
1276 delta = new-first;
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c102 uint64_t *desc, *prev, *first; local
158 * However, we do not want to link the first one to the previous
170 * For the first WQE on a new chain we need "prev" to point
254 * If this is not the first descriptor on the current
257 * "first" and "first_sz" respectively) and continue.
274 first = desc;
324 tavor_wqe_mlx_linknext(NULL, first, first_sz,
328 first, first_sz, qp->qp_sq_lastwqeaddr,
369 (uint32_t)((uintptr_t)first - qp->qp_desc_off),
399 uint64_t *desc, *prev, *first; local
654 uint64_t *desc, *prev, *first, *last_wqe_addr; local
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c99 * OR the second set into the first set.
171 * This is called from the first worker thread to encounter one of
259 int first; local
612 while (i < ngrab) { /* grab first process */
769 first = created? FALSE : TRUE;
773 first = FALSE;
775 main_thread(first);
783 main_thread(int first) argument
802 primary_lwp = (first && Pstate(Proc) == PS_STOP)?
871 int first local
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c211 xfs_sharelist_t *item = NULL, *first = NULL, *last; local
214 first = NULL;
225 if (first == NULL) {
226 first = item;
243 } else if (first == NULL) {
244 first = item;
303 first = fix_notice(first);
304 return (first);
356 list = item->next; /* this must be the first on
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObjectUtil.c360 /* Object is the first one in the list. */
369 /* Object is not the first one in the list. */
385 * maximum threshold MAX_OBJ_TO_BE_FREED, it will free the first
397 if (obj_delay_freed.first == NULL) {
399 obj_delay_freed.first = objp;
407 * Free the first object in the list only if
411 tmp = obj_delay_freed.first->next;
412 free(obj_delay_freed.first);
413 obj_delay_freed.first = tmp;
521 /* Remove the object from the session's object list first
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c613 char *src, *first, **destp; local
620 first = NULL;
624 if (devpath(&first, src, &upval))
626 pmreq.pmreq_kept = first;
653 free(first);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dthread.c393 int first; local
398 * screen. If we are not printing our first set of data, and
404 if (first) { \
405 first = FALSE; \
442 first = TRUE;
487 first = TRUE;
992 " - for the very first kthread (sched/1)\n");
/illumos-gate/usr/src/uts/common/os/
H A Dtask.c588 proc_t *first, *prev; local
598 first = tk->tk_memb_list;
599 prev = first->p_taskprev;
600 first->p_taskprev = p;
601 p->p_tasknext = first;
817 * task_join() contains the actions that must be executed when the first
851 * we need to change it. We first get a reference to the current
853 * with an updated project id. Finally we install it, first
855 * acquired the lock the first time and later we release the
H A Dtimers.c219 hrtime_t ts, first, interval, remain; local
251 first = tv2hrt(&aitv.it_value);
254 if ((ts = gethrtime()) < first) {
256 * We haven't gone off for the first time; the time
257 * remaining is simply the first time we will go
260 remain = first - ts;
276 remain = interval - ((ts - first) % interval);
373 * effect is the same as if it got here first, finished,
986 * it might first appear -- don't try this at home.
1063 * The first thin
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvpm.c349 struct vpmap *vpm, *first; local
372 * first see if the allocq toggled.
446 * on the first try.
448 first = vpm;
456 if ((vpm = vpm->vpm_next) == first) {
487 * from its freelist. If vpm is the first one in
490 if (first == vpm) {
491 ASSERT(first == allocq->vpmq_free);
1004 * the first page till the start offset if requested(zerostart).
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1111 /* check for first cmsg or this is another cmsg to be appended */
1171 struct rdsv3_scatterlist *s, *first; local
1180 s = first = &scat[0];
1181 ASSERT(first->mihdl == NULL);
1202 &iov_attr, (ibt_all_wr_t *)&swr, &first->mihdl);
1210 s = first;
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c1967 boolean_t first; local
2204 first = B_TRUE;
2220 if (first)
2221 first = B_FALSE;
2284 if (argc == 0 && first)
2733 * If it's the first time, or verbose mode, print the header.
2787 boolean_t first = B_TRUE; local
2793 if (first && cb->cb_verbose) {
2801 if (!first)
2804 first
2839 boolean_t first = B_TRUE; local
3098 boolean_t first = B_TRUE; local
4965 boolean_t first; member in struct:hist_cbdata
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.c323 struct tbl_node *first_tbl; /* first table parsed */
327 struct eqn_node *first_eqn; /* first equation parsed */
778 * being, which simply keys on the first character, which must
921 if (man->first != NULL)
922 roff_node_delete(man, man->first);
937 man->first = mandoc_calloc(1, sizeof(*man->first));
938 man->first->type = ROFFT_ROOT;
939 man->last = man->first;
1190 if (man->first
2944 const char *p, *first, *second; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c520 int n, l, first = 1; local
575 (dstp - msg) < 0x4000 && first) {
578 first = 0;
818 /* Recurse to get rest of name done first. */
916 *\li dnptrs is the pointer to the first name on the list,
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c72 * The conversion stops at the end of string or the first WEOF.
119 * The conversion stops at the end of string or the first WEOF. Return the
192 * If 0 < n, set a new multibyte string and convert the first character,
408 /* Find spacing character and place in as first element. */
451 * Return the first column of a multi-column character, in window.
494 int first, width; local
496 first = __m_cc_first(w, y, x);
499 return first + width == x + 1;
539 /* Write the first column of the character. */
554 /* Mark this as the first colum
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c254 int first = B_TRUE; local
313 if (!first || mode == NEVER)
316 first = B_FALSE;
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dascii_strcasecmp.s117 ! The first part of this algorithm walks through the beginning of
312 srl %g1, 24, %i2 ! first byte of mismatching word in s2
313 srl %i3, 24, %i1 ! first byte of mismatching word in s1
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dascii_strcasecmp.s117 ! The first part of this algorithm walks through the beginning of
313 srl %g1, 24, %i2 ! first byte of mismatching word in s2
314 srl %i3, 24, %i1 ! first byte of mismatching word in s1
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c265 * fcntl with F_DUPFD returns first available >= arg3
334 static int first = 1; local
338 * If this is the first time in, then l_name is the app
342 if (first && bindfrom_list == NULL) {
344 first = 0;
/illumos-gate/usr/src/cmd/od/
H A Dod.c547 boolean_t first = B_TRUE; local
869 if ((!first) && (buffer.navail >= blocksize) && (!doall)) {
893 first = B_FALSE;
/illumos-gate/usr/src/cmd/pgstat/
H A Dpgstat.pl34 use List::Util qw(first max min);
177 # By default 'depth-first' is used
967 return first { $arg eq $_ } @$list if $strict;
968 return first { $arg =~ m/$_/i } @$list;
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/
H A Dmdb_ds.c368 int first = 1; local
394 mdb_printf("%s%s", (first ? "" : "\n "),
396 first = 0;
/illumos-gate/usr/src/cmd/bnu/
H A Duux.c323 * remote name is first to know that
956 static int first = 1; local
959 if (first) {
960 first = 0;
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c244 * The first function that a new thread runs on entry from user land.
252 int first = 1; local
318 if (first) {
319 first = 0;
413 /* try and reuse a thread first */
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c384 * the first invocation.
911 * Call devfs_clean first
1025 char *first = strchr(apid_n, ','); local
1028 second = first ? strchr(first + 1, ',') : NULL;
1029 if (first != NULL && second == NULL) {
1031 } else if (first != NULL && second != NULL) {
1093 /* Get a count of HCAs, first. */
1279 /* Check first, if we have already seen this IOC? */
1773 char *first; local
[all...]

Completed in 182 milliseconds

<<11121314151617181920>>