/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 231 struct memlist *nl; in dr_memlist_coalesce() local 237 nl = mlist->ml_next; in dr_memlist_coalesce() 239 if (nl) { in dr_memlist_coalesce() 240 FREESTRUCT(nl, struct memlist, 1); in dr_memlist_coalesce() 290 struct memlist *ml, *tl, *nl; in dr_memlist_add_span() local 307 nl = GETSTRUCT(struct memlist, 1); in dr_memlist_add_span() 308 nl->ml_address = base; in dr_memlist_add_span() 309 nl->ml_size = len; in dr_memlist_add_span() 310 nl->ml_next = ml; in dr_memlist_add_span() 311 if ((nl->ml_prev = ml->ml_prev) != NULL) in dr_memlist_add_span() [all …]
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 231 struct memlist *nl; in dr_memlist_coalesce() local 237 nl = mlist->ml_next; in dr_memlist_coalesce() 239 if (nl) { in dr_memlist_coalesce() 240 FREESTRUCT(nl, struct memlist, 1); in dr_memlist_coalesce() 289 struct memlist *ml, *tl, *nl; in dr_memlist_add_span() local 306 nl = GETSTRUCT(struct memlist, 1); in dr_memlist_add_span() 307 nl->ml_address = base; in dr_memlist_add_span() 308 nl->ml_size = len; in dr_memlist_add_span() 309 nl->ml_next = ml; in dr_memlist_add_span() 310 if ((nl->ml_prev = ml->ml_prev) != NULL) in dr_memlist_add_span() [all …]
|
/titanic_44/usr/src/cmd/tbl/ |
H A D | t8.c | 20 # define realsplit ((ct=='a'||ct=='n') && table[nl][c].rcol) 38 putline(int i, int nl) in putline() argument 47 if (instead[nl]==0 && fullbot[nl] ==0) in putline() 50 s = table[nl][c].col; in putline() 54 for(ip=nl; ip<nlin; ip=next(ip)) in putline() 64 if (linestop[nl]) in putline() 65 fprintf(tabout, ".mk #%c\n", linestop[nl]+'a'-1); in putline() 66 lf = prev(nl); in putline() 67 if (instead[nl]) in putline() 69 puts(instead[nl]); in putline() [all …]
|
/titanic_44/usr/src/lib/libdevid/ |
H A D | deviceid.c | 136 struct nmlist *nl; in nmlist_add() local 146 for (; (nl = *nlhp) != NULL; nlhp = &nl->nl_next) in nmlist_add() 150 if ((nl = malloc(sizeof (*nl))) == NULL) in nmlist_add() 153 if ((nl->nl_devname = strdup(path)) == NULL) { in nmlist_add() 154 free(nl); in nmlist_add() 157 nl->nl_next = NULL; in nmlist_add() 158 nl->nl_dev = dev; in nmlist_add() 161 *nlhp = nl; in nmlist_add() 162 return (nl); in nmlist_add() 234 struct nmlist *nl; in devid_deviceid_to_nmlist() local [all …]
|
/titanic_44/usr/src/ucblib/libcurses/ |
H A D | newwin.c | 37 #undef nl /* don't need it here, and it interferes */ 44 int i, by, bx, nl, nc; in newwin() local 49 nl = num_lines; in newwin() 52 if (nl == 0) in newwin() 53 nl = LINES - by; in newwin() 56 if ((win = makenew(nl, nc, by, bx)) == NULL) in newwin() 58 if ((win->_firstch = SMALLOC(nl * sizeof (win->_firstch[0]))) == NULL) { in newwin() 63 if ((win->_lastch = SMALLOC(nl * sizeof (win->_lastch[0]))) == NULL) { in newwin() 70 for (i = 0; i < nl; i++) { in newwin() 74 for (i = 0; i < nl; i++) in newwin() [all …]
|
/titanic_44/usr/src/cmd/sgs/prof/common/ |
H A D | lookup.c | 42 nltype *nl = module->nl; in nllookup() local 54 if (keyval < nl[low].value) { in nllookup() 57 (nl[low].value - module->txt_origin); in nllookup() 62 if (keyval >= nl[high].value) { in nllookup() 65 return (&nl[high]); in nllookup() 71 if ((nl[middle].value <= keyval) && in nllookup() 72 (nl[middle + 1].value > keyval)) { in nllookup() 75 (nl[middle + 1].value - module->txt_origin); in nllookup() 78 return (&nl[middle]); in nllookup() 81 if (nl[middle].value > keyval) in nllookup()
|
H A D | rdelf.c | 74 rm_dups(nltype *nl, size_t *nfuncs) in rm_dups() argument 83 if (nl[prev].value < nl[i].value) { in rm_dups() 91 if (nl[prev].info == nl[i].info) { in rm_dups() 92 nl[i].name = NULL; in rm_dups() 96 prev_type = ELF_ST_TYPE(nl[prev].info); in rm_dups() 97 prev_bind = ELF_ST_BIND(nl[prev].info); in rm_dups() 98 cur_type = ELF_ST_TYPE(nl[i].info); in rm_dups() 105 nl[i].name = NULL; in rm_dups() 107 nl[prev].name = NULL; in rm_dups() 118 nl[i].name = NULL; in rm_dups() [all …]
|
H A D | profv.c | 320 compute_times(nltype *nl, profrec_t *psym) in compute_times() argument 332 psym->seconds = (double)nl->nticks; in compute_times() 333 if (nl->ncalls) { in compute_times() 334 psym->msecs_per_call = (double)nl->nticks / in compute_times() 335 (double)nl->ncalls; in compute_times() 339 psym->seconds = (double)nl->nticks / (double)hz; in compute_times() 340 if (nl->ncalls) { in compute_times() 343 (double)nl->ncalls; in compute_times() 350 ((double)nl->nticks / (double)n_pcsamples) * 100; in compute_times() 358 nltype *nl; in collect_profsyms() local [all …]
|
H A D | profv.h | 110 struct nl *nl; /* ptr to module's namelist */ member 126 struct nl { struct 134 typedef struct nl nltype; argument
|
/titanic_44/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.c | 645 name_entry *nl, *next; in sm_try() local 672 while (((nl = next) != NULL) && (!die)) { in sm_try() 674 if (statd_call_statd(nl->name) == 0) { in sm_try() 676 remove_name(nl->name, 1, 0); in sm_try() 679 delete_name(&recov_q.sm_recovhdp, nl->name); in sm_try() 689 "responding\n", nl->name); in sm_try() 775 name_entry *nl; in delete_name() local 777 nl = *namepp; in delete_name() 778 while (nl != NULL) { in delete_name() 779 if (str_cmp_address_specifier(nl->name, name) == 0 || in delete_name() [all …]
|
H A D | sm_proc.c | 587 mon_entry *next, *nl; in delete_onemon() local 591 while ((nl = next) != NULL) { in delete_onemon() 594 str_cmp_unqual_hostname(nl->id.mon_id.mon_name, in delete_onemon() 596 nl_idp = &nl->id.mon_id.my_id; in delete_onemon() 605 (int)nl, mon_name ? in delete_onemon() 611 record_name(nl->id.mon_id.mon_name, 0); in delete_onemon() 613 if (nl->prev != NULL) in delete_onemon() 614 nl->prev->nxt = nl->nxt; in delete_onemon() 616 *monitor_q = nl->nxt; in delete_onemon() 618 if (nl->nxt != NULL) in delete_onemon() [all …]
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 502 __nis_hash_item_mt *nl, **pp; in __nis_remove_item_mt() local 510 while ((nl = *(pp = __find_item_mt(name, table, (int *)0))) != 0) { in __nis_remove_item_mt() 513 if (nl->readers == 0 && nl->writer == 0) in __nis_remove_item_mt() 515 if (nl->writer != 0 && nl->writer_id == mtid) in __nis_remove_item_mt() 517 (void) pthread_cond_wait(&nl->lock, &table->lock); in __nis_remove_item_mt() 520 if (nl == 0) { in __nis_remove_item_mt() 526 *pp = nl->next; in __nis_remove_item_mt() 527 nl->next = 0; in __nis_remove_item_mt() 530 if (nl->prv_item) in __nis_remove_item_mt() 531 nl->prv_item->nxt_item = nl->nxt_item; in __nis_remove_item_mt() [all …]
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | fio.c | 349 int c, sum, nl, len; local 361 nl = 0; 387 nl += 2; 392 nl += 2; 396 nl++; 400 nl += 2; 403 if (nl >= FOBUFSIZ - 1) { 411 if (nl >= FOBUFSIZ || c < 040 || c > 0171) 419 nl += strlen(op); 424 DEBUG(8, "%d,", nl); [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 122 register struct namelist *nl; 126 nl = expand($3, E_VARS); 127 if (nl && nl->n_next != NULL) 129 $1->sc_name = nl ? nl->n_name: NULL; 130 if (nl) 131 free(nl); 146 struct namelist *nl; 154 for (nl = expand(dupnl($2), E_VARS); nl != NULL; 155 nl = nl->n_next) 156 if ((cp = re_comp(nl->n_name)) != NULL) [all …]
|
H A D | lookup.c | 42 register struct namelist *nl; local 58 nl = NULL; 80 if (nl == NULL) 81 value = nl = makenl(cp); 83 nl->n_next = makenl(cp); 84 nl = nl->n_next;
|
H A D | expand.c | 71 register struct namelist *nl, *prev; local 84 for (nl = list; nl != NULL; nl = nl->n_next) 85 for (cp = nl->n_name; *cp; cp++) 102 for (nl = list; nl != NULL; nl = nl->n_next) 103 expstr(nl->n_name); 109 nl = makenl(NULL); 110 nl->n_name = eargv[n]; 112 list = prev = nl; 114 prev->n_next = nl; 115 prev = nl;
|
H A D | main.c | 423 register struct namelist *nl, *prev; local 436 nl = makenl(args[i]); 438 files = prev = nl; 440 prev->n_next = nl; 441 prev = nl; 475 prnames(nl) in prnames() argument 476 register struct namelist *nl; in prnames() 479 while (nl != NULL) { 480 printf("%s ", nl->n_name); 481 nl = nl->n_next;
|
H A D | docmd.c | 755 register struct namelist *nl; local 757 for (nl = list; nl != NULL; nl = nl->n_next) 758 if (strcmp(file, nl->n_name) == 0) 771 register struct namelist *nl; local 779 for (nl = sc->sc_args; nl != NULL; nl = nl->n_next) { 781 if (strcmp(file, nl->n_name) == 0) 785 re_comp(nl->n_name);
|
/titanic_44/usr/src/lib/libkvm/common/ |
H A D | test.c | 59 void tst_nlist(struct nlist nl[]); 72 struct nlist nl[] = { variable 136 tst_nlist(nl); in main() 138 for (nlp = nl; nlp[0].n_type != 0; nlp++) in main() 191 tst_nlist(struct nlist nl[]) in tst_nlist() argument 197 if ((i = kvm_nlist(cookie, nl)) != 0) in tst_nlist() 199 for (i = 0; nl[i].n_name != 0 && nl[i].n_name[0] != '\0'; i++) { in tst_nlist() 206 switch (nl[i].n_type) { in tst_nlist() 229 switch ((unsigned)nl[i].n_scnum) { in tst_nlist() 248 (void) sprintf(strbuf, "unknown (%d)", nl[i].n_scnum); in tst_nlist() [all …]
|
/titanic_44/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 88 #define SYM_VALUE(sym) (nl[(sym)].n_value) 124 struct nlist *nl, *nlptr; variable 339 nl = (struct nlist *)calloc(nlsize, sizeof (struct nlist)); in main() 341 nlptr = nl; in main() 367 nlptr = nl; in main() 386 for (nlptr = &nl[vs]; nlptr != &nl[endnm]; nlptr++) { in main() 498 if (nlptr >= &nl[nlsize]) { in setup() 499 if ((nl = (struct nlist *)realloc(nl, in setup() 504 nlptr = &nl[nlsize]; in setup() 512 idx = nlptr++ - nl; in setup() [all …]
|
/titanic_44/usr/src/lib/libshell/common/features/ |
H A D | math.sh | 101 nl=' 128 echo "#ifdef $v${nl}static $r $L(Sfdouble_t x) { return $f(x) == $v; }${nl}#endif" 129 tab="$tab$nl#ifdef $v$nl$ht\"\\0${R}${a}${name}\",$ht(Math_f)${L},${nl}#endif" 175 do tab="$tab$nl$ht\"\\0${R}${a}${x}\",$ht(Math_f)$f," 178 tab="$tab$nl$ht\"\",$ht$ht(Math_f)0"
|
/titanic_44/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.h | 159 struct nl *arc_parentp; /* pointer to parent's nl entry */ 160 struct nl *arc_childp; /* pointer to child's nl entry */ 204 struct nl *nl; /* ptr to nameslist for this module */ member 205 struct nl *npe; /* virtual end of module's namelist */ 230 struct nl { struct 249 struct nl *cyclehead; /* pointer to head of cycle */ argument 250 struct nl *cnext; /* pointer to next member of cycle */ argument 255 typedef struct nl nltype; argument
|
/titanic_44/usr/src/cmd/line/ |
H A D | line.c | 46 static char nl = '\n'; variable 60 while ((c = readc()) != nl) { in main() 70 (void) write(1, &nl, 1); in main() 83 return (nl); in readc()
|
/titanic_44/usr/src/cmd/lp/lib/forms/ |
H A D | wrform.c | 114 char * nl = strchr(cp, '\n'); in wrform() local 116 if (nl) in wrform() 117 *nl = 0; in wrform() 121 if (nl) in wrform() 122 *nl = '\n'; in wrform() 123 cp = nl; in wrform()
|
/titanic_44/usr/src/uts/common/avs/ns/dsw/ |
H A D | ii_tree.c | 258 ii_nodelink_t nl; in alloc_chunk() local 271 (unsigned char *)&nl, sizeof (nl)); in alloc_chunk() 273 ip->bi_shdfchk = nl.next_chunk; in alloc_chunk() 308 ii_nodelink_t nl; in free_node() local 322 nl.next_chunk = ip->bi_shdfchk; in free_node() 329 (unsigned char *)&nl, sizeof (nl)); in free_node() 353 ii_nodelink_t nl; in ii_free_overflow() local 377 nl.next_chunk = op->ii_freehead; in ii_free_overflow() 381 (unsigned char *)&nl, sizeof (nl)); in ii_free_overflow() 452 ii_nodelink_t nl; in ii_alloc_overflow() local [all …]
|