/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfrd.c | 41 for(p = _Sfpool.next; p; p = p->next) in _sfwrsync() 45 if(!SFFROZEN(f) && f->next > f->data && in _sfwrsync() 54 if(!SFFROZEN(f) && f->next > f->data && in _sfwrsync() 88 if(f->next < f->endb) 92 { f->endb = f->next = f->endr = f->data; 142 { n += f->endb - f->next; 150 else f->here -= f->endb-f->next; 193 f->next = f->data+a; 204 memcpy(buf,f->next,n); 205 f->next += n; [all …]
|
H A D | sfread.c | 57 { if(((uchar*)buf + f->val) != f->next && 64 { if((uchar*)buf != f->next) 75 f->next += n; 91 if((r = f->endb - f->next) > 0) /* has buffered data */ 94 if(s != f->next) 95 memcpy(s, f->next, r); 96 f->next += r; 105 { f->next = f->endb = f->data;
|
H A D | sfungetc.c | 69 if(f->next > f->data && f->next[-1] == (uchar)c) 70 { f->next -= 1; 87 if(f->next == f->data) 100 f->next = data+16; 104 *--f->next = (uchar)c;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_parse.c | 177 told = t->next; in linked2hash() 179 t->next = tlist; in linked2hash() 181 t->next = 0; in linked2hash() 188 told = t->next; in linked2hash() 189 t->next = 0; in linked2hash() 275 x->next = 0; in linked2hash() 303 for (p = t; p->next != 0; p = p->next); in linked2hash() 304 p->next = x; in linked2hash() 343 while (p->next != 0) { in dbids2objs() 344 p = p->next; in dbids2objs() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdgrp.c | 451 if (prev) prev->next = member; in mkdgrptabent() 453 member->next = NULL; in mkdgrptabent() 548 if ((mem = mem->next) != NULL) *p++ = ','; in _putdgrptabrec() 637 while (pm->next) pm = pm->next; in _adddgrptabrec() 640 pm->next = new->membership; in _adddgrptabrec() 643 for (pm = ent->membership; pm; pm = pm->next) { in _adddgrptabrec() 645 while ((rm = qm->next) != NULL) { in _adddgrptabrec() 647 qm->next = rm->next; in _adddgrptabrec() 842 if (prev) prev->next = pm->next; in _rmdgrpmems() 843 else ent->membership = pm->next; in _rmdgrpmems() [all …]
|
H A D | ckitem.c | 270 chp = chp->next; 289 chp = chp->next; 335 chp = chp->next; 418 base = base->next; 421 last->next = chp; 435 base = base->next; 438 chp->next = last->next; 439 last->next = chp; 463 (void) next(NULL); 488 next(menup->choice) : chp->next); [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 350 intr_vec_t *iv, *next, *prev; in intr_dequeue_req() local 363 next = mcpu->intr_head[pil]; in intr_dequeue_req() 366 while (next != NULL) { in intr_dequeue_req() 367 if (next == iv) in intr_dequeue_req() 369 prev = next; in intr_dequeue_req() 370 next = IV_GET_PIL_NEXT(next, cpu_id); in intr_dequeue_req() 373 if (next != NULL) { in intr_dequeue_req() 464 new->next = NULL; in intr_dist_add_list() 469 pptr = &iptr->next, iptr = iptr->next) { in intr_dist_add_list() 507 iptr != NULL; vect = &iptr->next, iptr = iptr->next) { in intr_dist_rem_list() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 90 for (d = g_shared_trees; d; d = d->next) { \ 189 d->next = NULL; in profile_make_prf_data() 298 data->next = g_shared_trees; in profile_open_file() 581 g_shared_trees = data->next; in profile_free_file_data() 583 prf_data_t prev, next; in profile_free_file_data() local 585 next = prev->next; in profile_free_file_data() 586 while (next) { in profile_free_file_data() 587 if (next == data) { in profile_free_file_data() 588 prev->next = next->next; in profile_free_file_data() 591 prev = next; in profile_free_file_data() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | stack.c | 60 b->next = 0; in stackalloc() 78 b = p->next; in stackfree() 119 if (b->next) b = b->next; in stackpush() 122 if (!(b->next = newof(0, struct stackblock, 1, 0))) in stackpush() 124 b = b->next; in stackpush() 128 b->next = 0; in stackpush()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_all.c | 125 ctid_t next; in ctfs_adir_do_readdir() local 131 next = contract_lookup(zuniqid, *offp); in ctfs_adir_do_readdir() 133 if (next == -1) { in ctfs_adir_do_readdir() 138 odp->d_ino = CTFS_INO_CT_LINK(next); in ctfs_adir_do_readdir() 139 numtos(next, odp->d_name); in ctfs_adir_do_readdir() 140 *offp = next; in ctfs_adir_do_readdir() 141 *nextp = next + 1; in ctfs_adir_do_readdir()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1buf.h | 9 char *base, *bound, *next; member 32 : ((buf)->bound - (buf)->next + 1)) 59 #define asn1buf_len(buf) ((buf)->next - (buf)->base) 154 *(buf->next) = (char)o; in asn1buf_insert_octet() 155 (buf->next)++; in asn1buf_insert_octet() 186 (((buf)->next > (buf)->bound) \ 188 : ((*(o) = (asn1_octet)(*(((buf)->next)++))),0))
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | history.c | 50 tail->next = h; in addcmd() 51 h->next = 0; in addcmd() 56 h->next = h->previous = 0; in addcmd() 85 if (current->next) /* stay on first item */ in nextcmd() 86 return (current = current->next); in nextcmd()
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | reverse.c | 163 struct bf *next; member 199 tl = enomem ? tl->next : mark; in r_buf() 202 tl->next = mark; in r_buf() 204 mark->prev->next = tl; in r_buf() 208 mark->next = mark->prev = mark; in r_buf() 255 for (tr = tl->next; tr->len; tr = tr->next) { in r_buf() 266 tl = tl->next; in r_buf() 271 while ((tl = tl->next)->len) { in r_buf()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | printlist.c | 57 slp->next = listp->next; in addlist() 59 listp->next = slp; in addlist() 67 for (slp = listp->next; slp; slp = slp->next) { in onlist()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.c | 52 struct iexpr *next; /* next entry in hash bucket */ member 193 return (iexpr_cmp(np1->u.name.next, np2->u.name.next)); in iexpr_cmp() 238 for (cp = bucketp; cp != NULL; cp = cp->next) in iexpr() 249 cp->next = bucketp; in iexpr() 266 for (cp = Cache[idx]; cp != NULL; cp = cp->next) { in iexpr_free() 273 Cache[idx] = cp->next; in iexpr_free() 275 prevcp->next = cp->next; in iexpr_free() 293 for (; cp != NULL; cp = cp->next) in iexpr_cached() 316 ncp = cp->next; in iexpr_fini()
|
/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo.h | 76 struct _tgtPortWWNList *next; member 82 struct _portList *next; member 93 struct _discoveredDevice *next; member 105 struct targetPortMappingData *next; member 114 struct targetPortConfig *next; member 121 struct targetPortList *next; member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | fgets.c | 43 if((p = f->endb - (ps = f->next)) <= 0 ) in _stdgets() 57 ps = f->next+p; in _stdgets() 62 p = ps-f->next; in _stdgets() 71 { f->next[p-1] = c; in _stdgets() 72 if((ps-f->next) >= p) in _stdgets() 79 f->next = ps; in _stdgets()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | eptstat.c | 83 for (pinfo = entry->pinfo; pinfo; pinfo = pinfo->next) { in eptstat() 102 myparent->next = me->next; in eptstat() 104 entry->pinfo = me->next; in eptstat() 122 me->next = (struct pinfo *)NULL; in eptstat() 142 last->next = me; /* add to end */ in eptstat()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_princ.c | 41 register char *next; in krb5_build_principal_va() local 64 for (i = 0, next = va_arg(ap, char *); in krb5_build_principal_va() 65 next; in krb5_build_principal_va() 66 next = va_arg(ap, char *), i++) { in krb5_build_principal_va() 84 data[i].length = strlen(next); in krb5_build_principal_va() 85 data[i].data = strdup(next); in krb5_build_principal_va()
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | remote.c | 181 static char *next; in getremote() local 190 next = DV; in getremote() 197 if (next == NOSTR) in getremote() 199 if ((cp = strchr(next, ',')) == NULL) { in getremote() 200 DV = next; in getremote() 201 next = NOSTR; in getremote() 204 DV = next; in getremote() 205 next = cp; in getremote()
|
/illumos-gate/usr/src/lib/libeti/panel/common/ |
H A D | top.c | 62 obs = obs -> next; in top_panel() 64 prev_obs->next = tmp->next; in top_panel() 65 tmp->next = prev_obs; in top_panel() 67 prev_obs->next = in top_panel()
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.h | 81 struct enumval_list *next; member 101 struct decl_list *next; member 116 struct case_list *next; member 141 struct proc_list *next; member 149 struct version_list *next; member 180 struct bas_type *next; member
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_util.c | 69 pcur->next = ptmp; in dup_mechlist() 70 pcur = pcur->next; in dup_mechlist() 72 plist = plist->next; in dup_mechlist() 94 plist = plist->next; in get_mech_count() 356 pcur = pcur->next; in build_entrylist() 622 phead->next = pcur->next; in enable_mechs() 632 ptr = ptr->next; in enable_mechs() 929 ptr = ptr->next; in print_mechlist() 1241 pptr->next = ptr->next; in filter_mechlist() 1247 ptr = ptr->next; in filter_mechlist() [all …]
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 103 next->ulp_prev = pp; in uu_list_pool_create() 183 uu_list_t *lp, *next, *prev; in uu_list_create() local 220 next = &pp->ulp_null_list; in uu_list_create() 265 uu_list_node_impl_t *next) in list_insert() argument 268 if (next->uln_prev != prev || prev->uln_next != next) in list_insert() 284 np->uln_next = next; in list_insert() 286 next->uln_prev = np; in list_insert() 402 uu_list_walk_t *next, *prev; in list_walk_init() local 424 next->ulw_prev = wp; in list_walk_init() 433 uu_list_node_impl_t *next; in list_walk_advance() local [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 180 ef->cache.next = NULL; in new_ExpandFile() 694 if(!cache->next) { in ef_open_dir() 704 node->next = NULL; in ef_open_dir() 730 node = cache->next; in ef_open_dir() 742 cache->next = node->next; in ef_open_dir() 744 node->prev->next = node->next; in ef_open_dir() 746 cache->head = node->next; in ef_open_dir() 747 if(node->next) in ef_open_dir() 782 node->next = NULL; in ef_close_dir() 788 if(!cache->next) in ef_close_dir() [all …]
|