/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | loadaccess.c | 123 nlist; in _loadaccess() local 148 for (nlist = 0; fdgets(buf, BUFSIZ, fd); ) { in _loadaccess() 155 if (nlist >= nalloc) { in _loadaccess() 167 list[nlist] = Strdup(buf); /* if fail, minor problem */ in _loadaccess() 168 list[++nlist] = 0; in _loadaccess() 185 if (nlist != nalloc) { in _loadaccess() 188 (nlist + 1) * sizeof(char *) in _loadaccess() 195 list[nlist] = 0; in _loadaccess()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 1033 char *str, *olist = 0, *nlist = (char *)list; in expand_paths() local 1037 for (str = nlist; *nlist || fnull; str = nlist) { in expand_paths() 1043 if (*nlist == ';') in expand_paths() 1044 ++nlist, ++str; in expand_paths() 1045 if ((*nlist == ':') || fnull) { in expand_paths() 1047 fnull = !(fnull || *(nlist + 1)); in expand_paths() 1049 if (*nlist) in expand_paths() 1050 nlist++; in expand_paths() 1070 while (*nlist && (*nlist != ':') && (*nlist != ';')) { in expand_paths() 1071 if (*nlist == '/') in expand_paths() [all …]
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | pile.c | 20 int bi, hi, i, gap, h, b, nlist, nlist2, mid; in lpile() local 28 nlist = p2 - p1; in lpile() 29 nlist2 = (nlist+1)/2; in lpile() 34 eht[yyval] = h + (nlist-1)*gap; in lpile() 39 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]] in lpile() 42 ebase[yyval] = (nlist%2) ? b + ebase[lp[mid]] in lpile()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 73 struct nd_addrlist *nlist = NULL; in rtime_tli() local 96 if (netdir_getbyname(nconf, &rpcbind_hs, &nlist)) in rtime_tli() 105 tu_data.addr = *nlist->n_addrs; in rtime_tli() 132 sndcall.addr = *nlist->n_addrs; in rtime_tli() 157 if (nlist) in rtime_tli() 158 netdir_free((char *)nlist, ND_ADDRLIST); in rtime_tli()
|
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 58 _elf_nlist(int fd, struct nlist * list) in _elf_nlist() 91 struct nlist *p; in _elf_nlist() 120 nlist(const char * name, struct nlist * list) in nlist() function 122 register struct nlist *p; in nlist()
|
/illumos-gate/usr/src/head/ |
H A D | nlist.h | 36 struct nlist { struct 45 extern int nlist(const char *, struct nlist *); argument
|
H A D | config_admin.h | 196 struct cfga_list_data **ap_id_list, int *nlist, const char *options, 215 cfga_err_t config_list(struct cfga_stat_data **ap_di_list, int *nlist,
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | dockdeps.c | 66 static int nlist; variable 159 } while (++i < nlist); in dockdeps() 259 if (nlist) { in prereq() 264 for (i = 0; i < nlist; i++) { in prereq() 316 for (i = 0; i < nlist; i++) { in getaline() 329 nlist = 0; in getaline() 370 nlist++; in getaline() 431 } while (++i < nlist); in ckpreq()
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 81 static int _elf_nlist(int, struct nlist *); 86 static int _coff_nlist(int, struct nlist *); 93 nlist(const char *name, struct nlist *list) in nlist() function 95 struct nlist *p; in nlist() 141 _elf_nlist(int fd, struct nlist *list) in _elf_nlist() 154 struct nlist *inl; in _elf_nlist() 242 struct nlist *p; in _elf_nlist() 356 _coff_nlist(int fd, struct nlist *list) in _coff_nlist() 366 struct nlist *p, *inl; in _coff_nlist()
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.h | 90 struct nlist { struct 94 struct nlist *next; argument 152 extern struct nlist **hshtab; 154 extern struct nlist *lookup();
|
H A D | m4.c | 163 struct nlist *macadd; /* temp variable */ in main() 459 hshtab = xcalloc(hshsize, sizeof (struct nlist *)); in initalloc() 483 struct nlist *np; in install() 506 struct nlist * 510 struct nlist *np; in lookup() 511 static struct nlist nodef; in lookup() 531 struct nlist *sp; in expand() 533 sp = (struct nlist *)a1[-1]; in expand()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 82 cfga_list_data_t **list_array, int *nlist, int flag) in config_list_ext_poll() argument 93 nlist, NULL, NULL, NULL, flag))) { in config_list_ext_poll() 131 int nlist; in adjust_dynamic_ap() local 159 if (config_list_ext_poll(1, ap_path, &list_array, &nlist, 0) in adjust_dynamic_ap() 163 dm_assert(nlist == 1); in adjust_dynamic_ap() 187 int rv, nlist; in disk_ap_state_to_hotplug_state() local 202 rv = config_list_ext_poll(1, ap_path, &list_array, &nlist, in disk_ap_state_to_hotplug_state() 217 rv = config_list_ext_poll(1, ap_path, &list_array, &nlist, in disk_ap_state_to_hotplug_state() 227 dm_assert(nlist == 1); in disk_ap_state_to_hotplug_state()
|
/illumos-gate/usr/src/boot/include/ |
H A D | nlist.h | 46 int nlist(const char *, struct nlist *);
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 122 struct nlist *nl, *nlptr; 337 nl = (struct nlist *)calloc(nlsize, sizeof (struct nlist)); in main() 497 if ((nl = (struct nlist *)realloc(nl, in setup() 498 (nlsize + EXPAND) * sizeof (struct nlist))) == NULL) { in setup() 775 struct nlist *p; in getnlist() 777 nlist(os, nl); in getnlist()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | names.c | 55 static struct name *gexpand(struct name *nlist, struct grouphead *gh, 444 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int arg_ntype) in gexpand() argument 456 return (nlist); in gexpand() 466 nlist = gexpand(nlist, ngh, metoo, ntype); in gexpand() 481 nlist = put(nlist, np); in gexpand() 484 return (nlist); in gexpand()
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | dcs.c | 99 static rdr_list_t *generate_sort_order(cfga_list_data_t *listp, int nlist); 1365 &ap_ids, op_data->nlist, op_data->options, op_data->listopts, in dcs_list_ext() 1389 filter_list_data(op_data->permissions, op_data->nlist, ap_ids); in dcs_list_ext() 1392 if ((cfga_status == CFGA_OK) && (*op_data->nlist == 0)) { in dcs_list_ext() 1400 *op_data->nlist); in dcs_list_ext() 1409 *op_data->nlist = 0; in dcs_list_ext() 2126 generate_sort_order(cfga_list_data_t *listp, int nlist) in generate_sort_order() argument 2136 if (nlist <= 0) { in generate_sort_order() 2141 datalp = (rdr_list_t *)malloc(nlist * sizeof (rdr_list_t)); in generate_sort_order() 2149 for (curr_ap = 0; curr_ap < nlist; curr_ap++) { in generate_sort_order() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 63 lock_vec(lt, locker, flags, list, nlist, elistp) in lock_vec() argument 66 int nlist; 70 locker, NULL, flags, list, nlist, elistp)); 74 lock_tvec(lt, txn, flags, list, nlist, elistp) in lock_tvec() argument 78 int nlist; 82 txn->txnid, txn, flags, list, nlist, elistp)); 86 __lock_vec_internal(lt, locker, txn, flags, list, nlist, elistp) in __lock_vec_internal() argument 91 int nlist; 113 for (i = 0; i < nlist && ret == 0; i++) {
|
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 186 int nlist; in pushbutton_event() local 190 rv = config_list_ext(1, &ap_id, &stat, &nlist, in pushbutton_event() 196 assert(nlist == 1); in pushbutton_event()
|
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | test.c | 57 void tst_nlist(struct nlist nl[]); 70 struct nlist nl[] = { 85 struct nlist *nlp; in main() 189 tst_nlist(struct nlist nl[]) in tst_nlist()
|
H A D | kvm.c | 68 static int kvm_nlist_core(kvm_t *kd, struct nlist nl[], const char *err); 94 struct nlist nl[3] = { { "kas" }, { "practive" }, { "" } }; in kvm_open() 214 kvm_nlist(kvm_t *kd, struct nlist nl[]) in kvm_nlist() 216 return (nlist(kd->kvm_namelist, nl)); in kvm_nlist() 226 kvm_nlist_core(kvm_t *kd, struct nlist nl[], const char *err) in kvm_nlist_core()
|
/illumos-gate/usr/src/cmd/sgs/libelf/ |
H A D | Makefile.com | 47 MISCOBJS= String.o args.o demangle.o nlist.o \ 49 MISCOBJS64= nlist.o
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 139 int nlist; /* number of slot */ in scf_get_slotinfo() local 145 rv = config_list_ext(1, (char *const *)&ap_pid, &stat, &nlist, NULL, in scf_get_slotinfo() 152 assert(nlist == 1); in scf_get_slotinfo()
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 497 int nlist = 0; in main() local 579 &nlist, plat_opts, prefilt_optp, &estrp, in main() 587 &list_array, &nlist, plat_opts, prefilt_optp, in main() 596 (argc - optind), &argv[optind], list_array, nlist, in main() 1637 int nlist, in do_config_list() argument 1745 assert(nlist != 0); in do_config_list() 1747 out_array = config_calloc_check(nlist, sizeof (*out_array)); in do_config_list() 1755 for (i = 0; i < nlist; i++) { in do_config_list() 1764 arg_got_resp(&arg_array[i], out_array, nlist, dyn_exp); in do_config_list() 1771 for (i = 0; i < nlist; i++) { in do_config_list() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_util.c | 586 ndmpd_save_nlist_v2(ndmpd_session_t *session, ndmp_name *nlist, in ndmpd_save_nlist_v2() argument 602 namebuf = ndmp_malloc(strlen(nlist[i].name) + 1); in ndmpd_save_nlist_v2() 606 destbuf = ndmp_malloc(strlen(nlist[i].dest) + 1); in ndmpd_save_nlist_v2() 611 (void) strlcpy(namebuf, nlist[i].name, in ndmpd_save_nlist_v2() 612 strlen(nlist[i].name) + 1); in ndmpd_save_nlist_v2() 613 (void) strlcpy(destbuf, nlist[i].dest, in ndmpd_save_nlist_v2() 614 strlen(nlist[i].dest) + 1); in ndmpd_save_nlist_v2() 618 session->ns_data.dd_nlist[i].ssid = nlist[i].ssid; in ndmpd_save_nlist_v2() 619 session->ns_data.dd_nlist[i].fh_info = nlist[i].fh_info; in ndmpd_save_nlist_v2() 701 ndmpd_save_nlist_v3(ndmpd_session_t *session, ndmp_name_v3 *nlist, in ndmpd_save_nlist_v3() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_sg.c | 1036 ilbd_namelist_t *nlist; in ilbd_retrieve_names() local 1047 nlist = (ilbd_namelist_t *)&((ilb_comm_t *)rbuf)->ic_data; in ilbd_retrieve_names() 1048 nlist->ilbl_count = 0; in ilbd_retrieve_names() 1058 (void) strlcpy(nlist->ilbl_name[nlist->ilbl_count++], in ilbd_retrieve_names() 1071 (void) strlcpy(nlist->ilbl_name[nlist->ilbl_count++], in ilbd_retrieve_names() 1083 (void) strlcpy(nlist->ilbl_name[nlist->ilbl_count++], in ilbd_retrieve_names() 1093 *rbufsz += nlist->ilbl_count * sizeof (ilbd_name_t); in ilbd_retrieve_names()
|