Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 25 of 150) sorted by relevance

123456

/titanic_52/usr/src/uts/sun4u/ngdr/io/
H A Ddr_util.c231 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 in dr_memlist_add_span()
376 struct memlist *nl; dr_memlist_del_span() local
417 struct memlist *ml, *tl, *nl; dr_memlist_cat_span() local
[all...]
/titanic_52/usr/src/uts/i86pc/io/dr/
H A Ddr_util.c231 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 in dr_memlist_add_span()
377 struct memlist *nl; dr_memlist_del_span() local
418 struct memlist *ml, *tl, *nl; dr_memlist_cat_span() local
[all...]
/titanic_52/usr/src/cmd/tbl/
H A Dt8.c20 # define realsplit ((ct=='a'||ct=='n') && table[nl][c].rcol)
35 * nl: line number for finding data usually identical
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()
[all...]
/titanic_52/usr/src/lib/libdevid/
H A Ddeviceid.c136 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()
234 struct nmlist *nl; devid_deviceid_to_nmlist() local
[all...]
/titanic_52/usr/src/ucblib/libcurses/
H A Dnewwin.c37 #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; in newwin()
98 int by, bx, nl, nc; subwin() local
158 int by, bx, nl, nc; makenew() local
[all...]
/titanic_52/usr/src/cmd/sgs/prof/common/
H A Dlookup.c42 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[middl in nllookup()
[all...]
H A Drdelf.c74 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[ in rm_dups()
218 nltype *nl, *npe; fetch_symtab() local
[all...]
H A Dprofv.c320 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
416 nltype *nl; assign_pcsamples() local
513 nltype *nl; process_cgraph() local
[all...]
H A Dprofv.h110 struct nl *nl; /* ptr to module's namelist */ member
111 size_t nfuncs; /* number of functions in `nl' */
126 struct nl { struct
134 typedef struct nl nltype; argument
/titanic_52/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c645 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 in delete_name()
801 name_entry *nl; find_name() local
1177 name_entry *nl; record_name() local
1402 name_entry *nl, *next; sm_crash() local
1514 name_entry *nl; pr_name() local
[all...]
H A Dsm_proc.c587 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()
612 /* if nl is not the first entry on list */ in delete_onemon()
613 if (nl->prev != NULL) in delete_onemon()
614 nl->prev->nxt = nl in delete_onemon()
844 mon_entry *nl; pr_mon() local
[all...]
/titanic_52/usr/src/lib/libnisdb/
H A Dnis_hashitem.c502 __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()
525 /* Remove nl from the hash chain */ in __nis_remove_item_mt()
526 *pp = nl in __nis_remove_item_mt()
[all...]
/titanic_52/usr/src/cmd/bnu/
H A Dfio.c349 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);
436 int sum, len, nl; global() local
[all...]
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y122 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
480 register struct namelist *nl; global() local
[all...]
H A Dlookup.c42 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 Dexpand.c71 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
[all...]
H A Dmain.c423 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
[all...]
H A Ddocmd.c755 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
[all...]
/titanic_52/usr/src/lib/libkvm/common/
H A Dtest.c59 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
196 printf("kvm_nlist([nl])\n"); in tst_nlist()
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[ in tst_nlist()
[all...]
/titanic_52/usr/src/cmd/sysdef/
H A Dsysdef.c88 #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()
[all...]
/titanic_52/usr/src/cmd/sgs/gprof/common/
H A Dgprof.h159 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 *cnex argument
253 ncallersnl global() argument
255 childrennl global() argument
[all...]
/titanic_52/usr/src/cmd/line/
H A Dline.c46 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_52/usr/src/uts/common/avs/ns/dsw/
H A Dii_tree.c258 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 in ii_free_overflow()
452 ii_nodelink_t nl; ii_alloc_overflow() local
[all...]
/titanic_52/usr/src/cmd/lp/lib/forms/
H A Dwrform.c114 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_52/usr/src/cmd/ipf/tools/
H A Dipmon.c727 struct natlog *nl; local
734 nl = (struct natlog *)((char *)ipl + sizeof(*ipl));
746 (void) sprintf(t, ".%-.6ld @%hd ", ipl->ipl_usec, nl->nlg_rule + 1);
749 if (nl->nlg_type == NL_NEWMAP)
751 else if (nl->nlg_type == NL_NEWRDR)
753 else if (nl->nlg_type == NL_FLUSH)
755 else if (nl->nlg_type == NL_EXPIRE)
757 else if (nl->nlg_type == NL_NEWBIMAP)
759 else if (nl->nlg_type == NL_NEWBLOCK)
761 else if (nl
[all...]

123456