Searched defs:nlp (Results 1 - 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_raid_resync.c89 mdnamelist_t *nlp = NULL; local
97 if (meta_get_raid_names(sp, &nlp, 0, ep) < 0)
107 if (nlp != NULL)
108 metafreenamelist(nlp);
117 for (p = nlp; (p != NULL); p = p->next) {
125 if (nlp != NULL)
126 metafreenamelist(nlp);
H A Dmeta_namespace.c693 mdnamelist_t *nlp,
706 for (p = nlp; (p != NULL); p = p->next) {
691 del_key_names( mdsetname_t *sp, mdnamelist_t *nlp, md_error_t *ep ) argument
H A Dmeta_getdevs.c248 mdnamelist_t *nlp, *np; local
274 nlp = NULL;
275 if (meta_get_stripe_names(sp, &nlp, 0, ep) < 0)
277 for (np = nlp; (np != NULL); np = np->next) {
281 metafreenamelist(nlp);
287 nlp = NULL;
288 if (meta_get_mirror_names(sp, &nlp, 0, ep) < 0)
290 for (np = nlp; (np != NULL); np = np->next) {
294 metafreenamelist(nlp);
300 nlp
[all...]
H A Dmeta_set_drv.c862 mdnamelist_t *nlp; local
875 nlp = NULL;
876 (void) metanamelist_append(&nlp, np);
878 if (meta_db_detach(sp, nlp,
882 metafreenamelist(nlp);
1226 mdnamelist_t *nlp; local
1530 nlp = NULL;
1545 (void) metanamelist_append(&nlp, np);
1551 if (nlp != NULL) {
1552 if (meta_db_detach(sp, nlp,
1970 mdnamelist_t *nlp; local
[all...]
H A Dmeta_set_tkr.c521 mdnamelist_t *nlp = NULL; local
980 if (meta_getalldevs(sp, &nlp, FALSE, ep) != 0) {
981 metafreenamelist(nlp);
985 metafreenamelist(nlp);
/illumos-gate/usr/src/lib/lvm/libpreen/common/
H A Dmdpreen.c145 mdnamelist_t *nlp = NULL; /* list of real devices */ local
231 if (meta_getdevs(sp, namep, &nlp, ep) != 0) {
242 for (p = nlp; (p != NULL); p = p->next) {
335 metafreenamelist(nlp);
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c237 nltype *nlp; local
249 for (nlp = mi->nl; nlp < mi->npe; nlp++) {
253 if (nlp->cyclehead == nlp && nlp->cnext != 0) {
277 for (nlp = mi->nl; nlp < mi->npe; nlp
[all...]
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetainterfaces.c332 mdnamelist_t *nlp = NULL; local
358 if ((meta_getdevs(sp, namep, &nlp, ep)) < 0) {
361 metafreenamelist(nlp);
368 for (p = nlp, cnt = 0; p != NULL; p = p->next, cnt++)
381 metafreenamelist(nlp);
386 for (p = nlp, cnt = 0; p != NULL; p = p->next, cnt++) {
415 metafreenamelist(nlp);
/illumos-gate/usr/src/lib/libkvm/common/
H A Dtest.c87 struct nlist *nlp; local
138 for (nlp = nl; nlp[0].n_type != 0; nlp++)
139 tst_read(nlp[0].n_value, &xx, sizeof (xx));
/illumos-gate/usr/src/cmd/refer/
H A Dglue5.c131 char *nlp; local
137 nlp = p;
196 fprintf(stderr, "found, p %o nlp %o ccount %d buf %o buf[2*BUFSIZ] %o\n",
197 p, nlp, ccount, buf, buf+2*BUFSIZ);
226 fprintf(stderr, "p %o nlp %o buf %o\n", p, nlp, buf);
227 if (p > nlp)
228 {write(2, "XX\n", 3); write(2, nlp, p-nlp); write(2, "XX\n", 3); }
230 if (p > nlp) writ
[all...]
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetahs.c58 mdnamelist_t *nlp = NULL; local
65 if (meta_hsp_print(sp, hspnp, &nlp, NULL, stdout, options, ep) != 0)
107 mdnamelist_t *nlp = NULL; local
147 if (metanamelist(spp, &nlp, argc, argv,
156 if (meta_hs_add(*spp, hspnp, nlp, options, ep) != 0)
165 if (nlp != NULL)
166 metafreenamelist(nlp);
183 mdnamelist_t *nlp = NULL; local
220 if (metanamelist(spp, &nlp, argc, argv,
230 if (meta_hs_delete(*spp, hspnp, nlp, option
271 mdnamelist_t *nlp = NULL; local
[all...]
H A Dmetadb.c70 mdnamelist_t **nlp,
80 return (metanamelist_append(nlp, np));
86 mdnamelist_t **nlp,
149 if (make_dbname(sp, nlp, token, ep) == NULL) {
150 metafreenamelist(*nlp);
151 *nlp = NULL;
161 return (*nlp);
68 make_dbname( mdsetname_t *sp, mdnamelist_t **nlp, char *name, md_error_t *ep ) argument
84 get_dbnames_fromfile( mdsetname_t *sp, mdnamelist_t **nlp, char *tabname, int *dbsize, int *dbcnt, int *default_size, md_error_t *ep ) argument
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_mark.c63 * mp_nlp: pointer to the nlp.
177 * nlp (input) - pointer to the nlp structure
185 traverse(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, argument
191 if (!session || !nlp || !ftp) {
196 nlp->nlp_backup_path);
201 if (!session->ns_data.dd_abort && !NLP_ISSET(nlp,
205 nlp->nlp_backup_path);
208 (void) dbm_setone(nlp->nlp_bkmap, (u_longlong_t)ROOT_INODE);
212 "\"%s\" traversed in %u sec", nlp
258 ndmp_lbr_params_t *nlp; local
407 mark_inodes_v2(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, char *path) argument
486 create_allset_bitmap(ndmp_lbr_params_t *nlp) argument
523 mark_common_v2(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
570 mark_tar_inodes_v2(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
597 mark_dump_inodes_v2(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
617 ndmpd_mark_inodes_v2(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
655 ndmp_lbr_params_t *nlp; local
680 mark_tokv3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, char *path) argument
742 ndmp_lbr_params_t *nlp; local
833 mark_lbrv3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, char *path) argument
888 mark_levelv3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp, char *path) argument
951 mark_commonv3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
995 mark_tar_inodesv3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
1022 ndmpd_mark_inodes_v3(ndmpd_session_t *session, ndmp_lbr_params_t *nlp) argument
[all...]
H A Dndmpd_connect.c546 ndmp_lbr_params_t *nlp; local
551 if ((nlp = ndmp_get_nlp(session)) == NULL)
568 (void) mutex_lock(&nlp->nlp_mtx);
571 (void) cond_broadcast(&nlp->nlp_cv);
572 (void) mutex_unlock(&nlp->nlp_mtx);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dispq.c60 fmd_dispqlist_t *dlp, *nlp; local
64 for (dlp = dep->dq_list; dlp != NULL; dlp = nlp) {
65 nlp = dlp->dq_next;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dalias.c746 register char *nlp; local
748 nlp = &p[strlen(p)];
749 if (nlp > p && nlp[-1] == '\n')
750 *--nlp = '\0';
773 p = nlp;
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_subr.c557 lnode_t *tlp, *nlp; local
559 for (tlp = oldtable[i].lh_chain; tlp != NULL; tlp = nlp) {
562 nlp = tlp->lo_next;
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_util.c349 struct memlist *ml, *tl, *nlp; local
358 for (tl = ml = mlist; ml; tl = ml, ml = nlp) {
361 nlp = ml->ml_next;
384 if ((nl->ml_next = nlp) != NULL)
385 nlp->ml_prev = nl;
388 nlp = nl;
393 if ((mlist = nlp) != NULL)
394 nlp->ml_prev = NULL;
398 ml = nlp;
400 if ((tl->ml_next = nlp) !
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_util.c348 struct memlist *ml, *tl, *nlp; local
357 for (tl = ml = mlist; ml; tl = ml, ml = nlp) {
360 nlp = ml->ml_next;
383 if ((nl->ml_next = nlp) != NULL)
384 nlp->ml_prev = nl;
387 nlp = nl;
392 if ((mlist = nlp) != NULL)
393 nlp->ml_prev = NULL;
397 ml = nlp;
399 if ((tl->ml_next = nlp) !
[all...]
/illumos-gate/usr/src/cmd/lvm/md_monitord/
H A Dprobedev.c60 mdnamelist_t *nlp; local
67 nlp = NULL;
68 (void) metanamelist_append(&nlp, hsp->hsnamep);
83 if (meta_hs_delete(sp, hspnp, nlp, 0, &e) != NULL) {
104 md_probe_ioctl(mdnamelist_t *nlp, int ndevs, char *drvname, boolean_e verbose) argument
138 for (p = nlp, i = 0; p; p = p->next, i++) {
158 * - remove p from nlp list
167 mdnamelist_t *p, *prevp, *nlp; local
171 nlp = *newlpp;
176 p->next = nlp;
352 mdnamelist_t *nlp, *toplp; local
383 mdnamelist_t *nlp, *toplp; local
422 mdnamelist_t *nlp, *toplp; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_clock.c280 NODELIST *nlp; local
317 nlp = (NODELIST *)cp->nodeq.q_first;
319 while (nlp) {
322 iocbq = (IOCBQ *)nlp->nlp_ptx[channelno].q_first;
333 nlp->nlp_ptx[channelno].q_last =
338 nlp->nlp_ptx[channelno].
345 nlp->nlp_ptx[channelno].q_cnt--;
381 iocbq = (IOCBQ *)nlp->nlp_tx[channelno].q_first;
392 nlp->nlp_tx[channelno].q_last =
397 nlp
671 NODELIST *nlp; local
931 NODELIST *nlp; local
1327 NODELIST *nlp; local
[all...]
H A Demlxs_node.c230 NODELIST *nlp; local
307 nlp = port->node_table[i];
308 while (nlp != NULL) {
309 if ((nlp->nlp_fcp_info & NLP_FCP_2_DEVICE) &&
310 (nlp->nlp_flag[hba->channel_fcp] &
316 nlp = nlp->nlp_list_next;
430 NODELIST *nlp; local
435 nlp = port->node_table[i];
436 while (nlp !
478 NODELIST *nlp; local
558 NODELIST *nlp; local
587 NODELIST *nlp; local
640 NODELIST *nlp; local
685 NODELIST *nlp; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c69 static void free_names(mdnamelist_t *nlp);
84 static void (*mdl_metafreenamelist)(mdnamelist_t *nlp);
265 md_replicalist_t *nlp; local
267 for (nlp = replica_list; nlp != NULL; nlp = nlp->rl_next) {
268 if (new_entry(nlp->rl_repp->r_namep->bname, "mdb",
269 nlp->rl_repp->r_namep->cname, sp)) {
284 mdnamelist_t *nlp; local
299 mdnamelist_t *nlp; local
333 mdnamelist_t *nlp; local
377 mdnamelist_t *nlp; local
407 mdnamelist_t *nlp; local
483 free_names(mdnamelist_t *nlp) argument
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c272 int *nlp; /* pointer to library counter */ local
283 nlp = (int *)arg;
284 (*nlp)++;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c142 char buf[1024], *bp, *nlp, *ebp; local
159 if ((nlp = strchr(bp, '\n')) == NULL)
160 nlp = ebp;
161 if (nlp > bp) {
162 *nlp = '\0';
165 bp = nlp + 1;

Completed in 101 milliseconds

123