Searched refs:np (Results 1 - 25 of 167) sorted by relevance

1234567

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_replace.c41 mdname_t *np,
52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
55 if (metachkmeta(np, ep) != 0)
57 if ((miscname = metagetmiscname(np, ep)) == NULL)
62 return (meta_raid_replace(sp, np, oldnp, newnp, options, ep));
64 return (meta_mirror_replace(sp, np, oldnp, newnp, options, ep));
66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev),
67 np->cname));
77 mdname_t *np,
87 assert(sp->setno == MD_MIN2SET(meta_getminor(np
39 meta_replace_byname( mdsetname_t *sp, mdname_t *np, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument
75 meta_enable_byname( mdsetname_t *sp, mdname_t *np, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_reset.c40 mdname_t *np,
50 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
52 if ((miscname = metagetmiscname(np, ep)) == NULL)
54 if (meta_isopen(sp, np, ep, options) != 0) {
55 return (mdmderror(ep, MDE_IS_OPEN, meta_getminor(np->dev),
56 np->cname));
60 mir.mnum = meta_getminor(np->dev);
62 if (metaioctl(MD_IOCRESET, &mir, &mir.mde, np->cname) != 0)
69 (void) meta_update_devtree(meta_getminor(np->dev));
116 mdname_t *np,
38 meta_reset( mdsetname_t *sp, mdname_t *np, mdcmdopts_t options, md_error_t *ep ) argument
114 meta_reset_by_name( mdsetname_t *sp, mdname_t *np, mdcmdopts_t options, md_error_t *ep ) argument
[all...]
H A Dmeta_userflags.c41 mdname_t *np,
50 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
52 if ((mdp = meta_get_unit(sp, np, ep)) == NULL)
66 mdname_t *np,
76 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
79 if (metachkmeta(np, ep) != 0)
83 if ((miscname = metagetmiscname(np, ep)) == NULL)
89 msu.mnum = meta_getminor(np->dev);
91 if (metaioctl(MD_IOCSET_FLAGS, &msu, &msu.mde, np->cname) != 0)
95 meta_invalidate_name(np);
39 meta_getuserflags( mdsetname_t *sp, mdname_t *np, uint_t *userflags, md_error_t *ep ) argument
64 meta_setuserflags( mdsetname_t *sp, mdname_t *np, uint_t userflags, md_error_t *ep ) argument
[all...]
H A Dmeta_devstamp.c46 mdname_t *np; local
48 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL)
52 if ((fd = open(np->rname, O_RDONLY | O_NDELAY, 0)) < 0)
53 return (mdsyserror(ep, errno, np->cname));
56 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1) {
86 mdname_t *np; local
88 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL)
92 if ((fd = open(np->rname, O_RDWR | O_NDELAY, 0)) < 0)
93 return (mdsyserror(ep, errno, np->cname));
95 if (meta_getvtoc(fd, np
[all...]
H A Dmeta_resync.c42 mdname_t *np,
52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
55 if (metachkmeta(np, ep) != 0)
57 if ((miscname = metagetmiscname(np, ep)) == NULL)
62 return (meta_raid_resync(sp, np, size, ep));
64 return (meta_mirror_resync(sp, np, size, ep, cmd));
66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev),
67 np->cname));
40 meta_resync_byname( mdsetname_t *sp, mdname_t *np, daddr_t size, md_error_t *ep, md_resync_cmd_t cmd ) argument
H A Dmeta_nameinfo.c52 mdname_t *np,
60 if (metaismeta(np))
61 return (metasetnosetname(MD_MIN2SET(meta_getminor(np->dev)),
65 if (meta_is_drive_in_anyset(np->drivenamep, &sp, bypass_daemon,
246 ctlr_cache_t *cp, *np; local
248 for (cp = ctlr_cache, np = NULL; cp != NULL; cp = np) {
249 np = cp->ctlr_nx;
261 getdrvnode(mdname_t *np, md_error_t *ep) argument
267 if ((devicespath = metagetdevicesname(np, e
51 metagetset( mdname_t *np, int bypass_daemon, md_error_t *ep ) argument
303 meta_load_dl(mdname_t *np, md_error_t *ep) argument
350 meta_match_names(mdname_t *np, struct dk_cinfo *cp, mdcinfo_t *mdcp, md_error_t *ep) argument
370 meta_match_enclosure(mdname_t *np, mdcinfo_t *mdcp, md_error_t *ep) argument
410 meta_cinfo_to_md(mdname_t *np, struct dk_cinfo *cp, mdcinfo_t *mdcp, md_error_t *ep) argument
487 metagetvtoc( mdname_t *np, int nocache, uint_t *partnop, md_error_t *ep ) argument
723 metasetvtoc( mdname_t *np, md_error_t *ep ) argument
783 metagetgeom( mdname_t *np, md_error_t *ep ) argument
794 metagetcinfo( mdname_t *np, md_error_t *ep ) argument
838 metagetpartno( mdname_t *np, md_error_t *ep ) argument
856 metagetsize( mdname_t *np, md_error_t *ep ) argument
874 metagetlabel( mdname_t *np, md_error_t *ep ) argument
892 mddb_getendblk( mdsetname_t *sp, mdname_t *np, diskaddr_t *endblkp, md_error_t *ep ) argument
938 metagetend( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
963 metahasmddb( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
981 metagetstart( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
1023 metagetdevicesname( mdname_t *np, md_error_t *ep ) argument
1058 metagetmiscname( mdname_t *np, md_error_t *ep ) argument
1089 meta_get_mdunit( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
1196 meta_get_unit( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
1232 meta_isopen( mdsetname_t *sp, mdname_t *np, md_error_t *ep, mdcmdopts_t options ) argument
[all...]
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_node.c36 ses_node_t *np; local
38 for (np = sp->ss_root->sn_first_child; np != NULL;
39 np = np->sn_next_sibling) {
40 ASSERT(np->sn_type == SES_NODE_ENCLOSURE);
41 if (np->sn_enc_num == number)
42 return ((ses_node_t *)np);
59 ses_node_teardown(ses_node_t *np) argument
63 if (np
77 ses_node_t *np; local
138 ses_node_t *np, *pnp, *cnp, *root; local
323 ses_fill_tree(ses_node_t *np) argument
357 ses_node_sibling(ses_node_t *np) argument
363 ses_node_prev_sibling(ses_node_t *np) argument
369 ses_node_parent(ses_node_t *np) argument
375 ses_node_child(ses_node_t *np) argument
381 ses_node_type(ses_node_t *np) argument
387 ses_node_snapshot(ses_node_t *np) argument
393 ses_node_target(ses_node_t *np) argument
399 ses_node_props(ses_node_t *np) argument
410 ses_node_id(ses_node_t *np) argument
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc130 db_index_entry_p np, next_np, *hp; local
132 for (np = this; np != NULL; np = next_np) {
133 next_np = np->next;
134 hp = &new_tab[np->hashval % hashsize];
135 np->next = *hp;
136 *hp = np;
145 db_index_entry_p np; local
147 for (np
168 db_index_entry_p np; local
235 db_index_entry_p np, dp; local
335 db_index_entry *np; local
345 db_index_entry *np; local
[all...]
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dgetline.c31 getline(char** sp, size_t* np, Sfio_t* f) argument
33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f))
35 return getdelim(sp, np, '\n', f);
H A D_stdfun.c57 static void* np; local
72 if (!np && !(np = dlopen("/sys/msvcrt.dll", 0)))
74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
/osnet-11/usr/src/lib/libcmd/common/
H A Dexpr.c141 #define numeric(np) ((np)->type&T_NUM)
185 static int getnode(State_t* state, Node_t *np) argument
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0;
208 np->type = T_NUM;
217 np->num = strlen(cp);
218 np->type = T_NUM;
225 if (!(np->str = *state->arglist++))
227 np->type = T_STR;
260 np
294 expr_cond(State_t* state, Node_t *np) argument
345 expr_mult(State_t* state, Node_t *np) argument
374 expr_add(State_t* state, Node_t *np) argument
394 expr_cmp(State_t* state, Node_t *np) argument
462 expr_and(State_t* state, Node_t *np) argument
478 expr_or(State_t* state, Node_t *np) argument
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppcontext.c39 struct ppcontext* np = (struct ppcontext*)context; local
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
55 if (np)
57 free(np);
58 np = 0;
63 if (np) memcpy(_PP_CONTEXT_BASE_, np, sizeof(struct ppcontext));
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dname.c44 offsetof(struct Namref,np),sizeof(struct Namval_t*),sizeof(struct Namref)
98 Namval_t *np; member in struct:Namcache::Cache_entry
144 void sh_envput(Env_t* ep,Namval_t *np) argument
147 Namarr_t *ap = nv_arrayptr(np);
152 nv_putsub(np,"0",0L);
153 else if(!(val=nv_getsub(np)) || strcmp(val,"0"))
156 if(!(val = nv_getval(np)))
158 stakputs(nv_name(np));
210 Namval_t *nv_addnode(Namval_t* np, int remove) argument
216 if(sp->numnodes==0 && !nv_isnull(np)
297 register Namval_t *np, *mp; local
719 register Namval_t *np=0, *nq=0; local
1188 nv_delete(Namval_t* np, Dt_t *root, int flags) argument
1252 register Namval_t *np=0; local
1500 nv_putval(register Namval_t *np, const char *string, int flags) argument
1999 staknam(register Namval_t *np, char *value) argument
2017 attstore(register Namval_t *np, void *data) argument
2040 attstore(register Namval_t *np, void *data) argument
2075 pushnam(Namval_t *np, void *data) argument
2155 register Namval_t *np = (Namval_t*)arg; local
2249 sh_envnolocal(register Namval_t *np, void *data) argument
2291 nv_close(Namval_t *np) argument
2298 register Namval_t *np,*nq, *npnext; local
2351 _nv_unset(register Namval_t *np,int flags) argument
2467 sh_scoped(Shell_t *shp, register Namval_t *np) argument
2481 register Namval_t *np; local
2513 Namval_t *np; member in struct:optimize
2518 optimize_clear(Namval_t* np, Namfun_t *fp) argument
2533 put_optimize(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
2539 clone_optimize(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
2546 nv_optimize(Namval_t *np) argument
2624 nv_getval(register Namval_t *np) argument
2748 nv_getnum(register Namval_t *np) argument
2834 nv_newattr(register Namval_t *np, unsigned newatts, int size) argument
2977 register Namval_t *np; local
3009 register Namval_t *np; local
3025 register Namval_t *np; local
3079 nv_rename(register Namval_t *np, int flags) argument
3200 nv_setref(register Namval_t *np, Dt_t *hp, int flags) argument
3380 nv_unref(register Namval_t *np) argument
3441 Namval_t *np = (Namval_t*)obj; local
3453 nv_name(register Namval_t *np) argument
3540 nv_context(Namval_t *np) argument
3547 DISABLE(register Namval_t *np) argument
3553 nv_setsize(register Namval_t *np, int size) argument
3561 nv_shell(Namval_t *np) argument
3574 nv_unset(register Namval_t *np) argument
[all...]
H A Dnvdisc.c47 char *nv_getv(Namval_t *np, register Namfun_t *nfp) argument
58 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
62 cp = (*fp->disc->getval)(np,fp);
65 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp));
71 cp = nv_getval(np);
79 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) argument
92 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER))
94 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
126 nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp) argument
182 Namval_t *np; member in struct:blocked
197 block_info(Namval_t *np, struct blocked *pp) argument
231 chktfree(register Namval_t *np, register struct vardisc *vp) argument
251 assign(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument
368 lookup(Namval_t *np, int type, Sfdouble_t *dp,Namfun_t *handle) argument
426 lookups(Namval_t *np, Namfun_t *handle) argument
431 lookupn(Namval_t *np, Namfun_t *handle) argument
446 nv_setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
556 setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
603 putdisc(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
649 nv_adddisc(Namval_t *np, const char **names, Namval_t **funs) argument
682 nv_disc(register Namval_t *np, register Namfun_t* fp, int mode) argument
764 nv_hasdisc(Namval_t *np, const Namdisc_t *dp) argument
781 put_notify(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
794 nv_unsetnotify(Namval_t *np, char **addr) argument
811 nv_setnotify(Namval_t *np, char **addr) argument
825 register Namval_t *np = newof(0,Namval_t,1,s=strlen(name)+1); local
838 num_clone(register Namval_t *np, void *val) argument
873 clone_all_disc( Namval_t *np, Namval_t *mp, int flags) argument
905 nv_clone(Namval_t *np, Namval_t *mp, int flags) argument
985 clone_getv(Namval_t *np, Namfun_t *handle) argument
990 clone_getn(Namval_t *np, Namfun_t *handle) argument
995 clone_putv(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument
1017 Namval_t *np; local
1028 dtinsert(nv_dict(sh.namespace),np); local
1035 register Namval_t *np; local
1086 Namval_t *np, *nq; local
1160 register Namval_t *np, *nq=0; local
1225 nv_stack(register Namval_t *np, register Namfun_t* fp) argument
1238 next_table(register Namval_t* np, Dt_t *root,Namfun_t *fp) argument
1247 create_table(Namval_t *np,const char *name,int flags,Namfun_t *fp) argument
1254 clone_table(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
1272 put_table(register Namval_t* np, const char* val, int flags, Namfun_t* fp) argument
1298 get_table(Namval_t *np, Namfun_t *fp) argument
1338 nv_parent(Namval_t *np) argument
1346 nv_dict(Namval_t* np) argument
1366 nv_istable(Namval_t *np) argument
1374 nv_mount(Namval_t *np, const char *name, Dt_t *dict) argument
1414 nv_hasget(Namval_t *np) argument
[all...]
H A Dnvtree.c56 static int read_tree(Namval_t* np, Sfio_t *iop, int n, Namfun_t *dp) argument
65 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0);
73 static Namval_t *create_tree(Namval_t *np,const char *name,int flag,Namfun_t *dp) argument
81 if(np=(*fp->disc->createf)(np,name,flag,fp))
83 return(np);
86 return((flag&NV_NOADD)?0:np);
89 static Namfun_t *clone_tree(Namval_t *np, Namval_t *mp, int flags, Namfun_t *fp){ argument
91 if ((flags&NV_MOVE) && nv_type(np))
96 walk_tree(np,m
135 nextdisc(Namval_t *np) argument
148 nv_diropen(Namval_t *np,const char *name) argument
280 register Namval_t *np, *last_table; local
381 outtype(Namval_t *np, Namfun_t *fp, Sfio_t* out, const char *prefix) argument
413 nv_attribute(register Namval_t *np,Sfio_t *out,char *prefix,int noname) argument
576 nv_outnode(Namval_t *np, Sfio_t* out, int indent, int special) argument
688 register Namval_t *np, *nq; local
832 Namval_t *np,*tp; local
871 Namval_t *np = nv_open(arg,wp->root,NV_VARNAME|NV_NOADD|NV_NOASSIGN|wp->noscope); local
943 walk_tree(register Namval_t *np, Namval_t *xp, int flags) argument
1060 nv_isvtree(Namval_t *np) argument
1070 nv_getvtree(register Namval_t *np, Namfun_t *fp) argument
1094 put_tree(register Namval_t *np, const char *val, int flags,Namfun_t *fp) argument
1135 nv_setvtree(register Namval_t *np) argument
[all...]
H A Darray.c79 static Namarr_t *array_scope(Namval_t *np, Namarr_t *ap, int flags) argument
120 static int array_unscope(Namval_t *np,Namarr_t *ap) argument
126 (*ap->fun)(np, NIL(char*), NV_AFREE);
127 if((fp = nv_disc(np,(Namfun_t*)ap,NV_POP)) && !(fp->nofree&1))
129 nv_delete(np,(Dt_t*)0,0);
138 static int array_covered(Namval_t *np, struct index_array *ap) argument
153 static void array_setptr(register Namval_t *np, struct index_array *old, struct index_array *new) argument
155 register Namfun_t **fp = &np->nvfun;
184 int array_maxindex(Namval_t *np) argument
186 register struct index_array *ap = (struct index_array*)nv_arrayptr(np);
194 array_getup(Namval_t *np, Namarr_t *arp, int update) argument
242 nv_arrayisset(Namval_t *np, Namarr_t *arp) argument
268 array_find(Namval_t *np,Namarr_t *arp, int flag) argument
392 nv_arraysettype(Namval_t *np, Namval_t *tp, const char *sub, int flags) argument
436 array_clone(Namval_t *np, Namval_t *mp, int flags, Namfun_t *fp) argument
549 array_getval(Namval_t *np, Namfun_t *disc) argument
576 array_getnum(Namval_t *np, Namfun_t *disc) argument
593 array_putval(Namval_t *np, const char *string, int flags, Namfun_t *dp) argument
756 array_copytree(Namval_t *np, Namval_t *mp) argument
779 array_grow(Namval_t *np, register struct index_array *arp,int maxi) argument
853 nv_atypeindex(Namval_t *np, const char *tname) argument
880 nv_arrayptr(register Namval_t *np) argument
891 nv_changearray(Namval_t *np, void *(*fun)(Namval_t*,const char*,int)) argument
937 nv_setarray(Namval_t *np, void *(*fun)(Namval_t*,const char*,int)) argument
985 nv_arraychild(Namval_t *np, Namval_t *nq, int c) argument
1033 nv_nextsub(Namval_t *np) argument
1129 nv_putsub(Namval_t *np,register char *sp,register long mode) argument
1301 nv_arrfixed(Namval_t *np, Sfio_t *out, int flag, char *dim) argument
1326 array_fixed_setdata(Namval_t *np,Namarr_t* ap,struct fixed_array* fp) argument
1335 array_fixed_init(Namval_t *np, char *sub, char *cp) argument
1384 array_fixed(Namval_t *np, char *sub, char *cp,int mode) argument
1438 nv_endsubscript(Namval_t *np, register char *cp, int mode) argument
1499 nv_opensub(Namval_t* np) argument
1538 nv_getsub(Namval_t* np) argument
1568 nv_aindex(register Namval_t* np) argument
1587 nv_aimax(register Namval_t* np) argument
1605 nv_associative(register Namval_t *np,const char *sp,int mode) argument
1748 nv_setvec(register Namval_t *np,int append,register int argc,register char *argv[]) argument
[all...]
H A Darith.c60 static Namval_t *scope(register Namval_t *np,register struct lval *lvalue,int assign) argument
63 register char *sub=0, *cp=(char*)np;
78 if((!(np = nv_open(cp,shp->var_tree,assign|NV_VARNAME|NV_NOADD|NV_NOFAIL)) || nv_isnull(np)) && sh_macfun(shp,cp, offset = staktell()))
85 if(!np && assign)
86 np = nv_open(cp,shp->var_tree,assign|NV_VARNAME);
88 if(!np)
95 cp = (char*)np;
97 else if(assign==NV_ASSIGN && nv_isnull(np) && !nv_isattr(np, ~(NV_MINIMA
200 register Namval_t *np = (Namval_t*)(lvalue->value); local
220 register Namval_t *np; local
245 Namval_t *np; local
413 register Namval_t *np = (Namval_t*)(lvalue->value); local
[all...]
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_list.c135 uu_list_node_impl_t *np = (uu_list_node_impl_t *)np_arg; local
138 uintptr_t offset = (uintptr_t)np - (uintptr_t)base;
139 if (offset + sizeof (*np) > pp->ulp_objsize) {
142 base, (void *)np, (void *)pp, pp->ulp_name,
148 base, (void *)np, (void *)pp, pp->ulp_name,
152 np->uln_next = POOL_TO_MARKER(pp);
153 np->uln_prev = NULL;
159 uu_list_node_impl_t *np = (uu_list_node_impl_t *)np_arg; local
162 if (np->uln_next == NULL &&
163 np
263 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, uu_list_node_impl_t *next) argument
294 uu_list_node_impl_t *np; local
319 uu_list_node_impl_t *np; local
350 uu_list_node_impl_t *np = INDEX_TO_NODE(idx); local
375 uu_list_node_impl_t *np = INDEX_TO_NODE(idx); local
429 uu_list_node_impl_t *np = wp->ulw_next_result; local
479 uu_list_node_impl_t *np = list_walk_advance(wp, lp); local
497 uu_list_node_impl_t *np; local
542 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, elem); local
600 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, target); local
626 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, target); local
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtypeset.c183 Namval_t *np = nv_search((char*)PATHNOD,tdata.sh->var_tree,HASH_BUCKET); local
184 nv_putval(np,nv_getval(np),NV_RDONLY);
436 static void print_value(Sfio_t *iop, Namval_t *np, struct tdata *tp) argument
440 if(nv_isnull(np))
442 if(!np->nvflag)
446 else if(nv_istable(np))
448 Dt_t *root = nv_dict(np);
449 name = nv_name(np);
466 sfputr(iop,nv_name(np),afla
515 register Namval_t *np; local
894 register Namval_t *np; local
1076 register Namval_t *np; local
1197 print_namval(Sfio_t *file,register Namval_t *np,register int flag, struct tdata *tp) argument
1324 print_attribute(register Namval_t *np,void *data) argument
1338 register Namval_t *np; local
1386 pushname(Namval_t *np,void *data) argument
[all...]
H A Dshiocmd_solaris.c48 static char *get_time(Namval_t* np, Namfun_t* nfp) argument
51 time_t t = nv_getn(np,nfp);
57 static void put_time(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
77 nv_putv(np, (char*)&t,NV_INTEGER, nfp);
83 nv_putv(np, val, flag, nfp);
87 static Namval_t *create_time(Namval_t *np, const char *name, int flags, Namfun_t *nfp) argument
106 static Namval_t *make_time(Namval_t* np) argument
109 char *name = nv_name(np);
117 nv_stack(np,&dp->fun);
118 return(np);
124 get_mode(Namval_t* np, Namfun_t* nfp) argument
130 put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
162 make_mode(Namval_t* np) argument
224 sh_newnode(register Shfield_t *fp, Namval_t *np) argument
241 fieldcreate(Namval_t *np, const char *name, int flags, Namfun_t *nfp) argument
263 Namval_t *np, **nodes= (Namval_t**)(sp+1); local
327 walk_class(register Namval_t *np, int dlete, struct dcclass *dcp) argument
347 get_classval(Namval_t* np, Namfun_t* nfp) argument
352 put_classval(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
375 mkclass(Namval_t *np, Shclass_t *sp) argument
492 register Namval_t *np; local
663 register Namval_t *np; local
739 register Namval_t *np; local
814 register Namval_t *np; local
[all...]
H A Denum.c99 Namval_t *np; local
103 np = *(Namval_t**)(fp+1);
104 ep = (struct Enum*)np->nvfun;
123 static Namfun_t *clone_enum(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
131 static void put_enum(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
138 nv_disc(np,&ep->hdr,NV_POP);
141 nv_putv(np, val, flags,fp);
146 nv_putv(np,val,flags,fp);
157 nv_putv(np, (char*)&i, NV_UINT16, fp);
162 if(nv_isattr(np,NV_NOFRE
166 get_enum(register Namval_t* np, Namfun_t *fp) argument
177 get_nenum(register Namval_t* np, Namfun_t *fp) argument
191 Namval_t *np, *tp; local
198 Namval_t *np; member in struct:__anon2503
[all...]
/osnet-11/usr/src/lib/scsi/plugins/ses/SUN/common/
H A Dsun_element.c60 elem_parse_sd(ses_plugin_t *spp, ses_node_t *np) argument
64 nvlist_t *nvl = ses_node_props(np);
70 ses_node_snapshot(np), SES2_DIAGPAGE_ENCLOSURE_CTL_STATUS,
71 np, &len)) == NULL)
94 elem_parse_descr(ses_plugin_t *sp, ses_node_t *np) argument
98 nvlist_t *props = ses_node_props(np);
101 if ((desc = ses_plugin_page_lookup(sp, ses_node_snapshot(np),
102 SES2_DIAGPAGE_ELEMENT_DESC, np, &len)) == NULL)
112 sun_fill_element_node(ses_plugin_t *sp, ses_node_t *np) argument
114 ses_snap_t *snap = ses_node_snapshot(np);
[all...]
/osnet-11/usr/src/lib/scsi/plugins/ses/LSILOGIC-SASX28-A.0/common/
H A Dlsilogic.c37 lsilogic_parse_node(ses_plugin_t *sp, ses_node_t *np) argument
42 if (ses_node_type(np) != SES_NODE_ENCLOSURE)
45 props = ses_node_props(np);
/osnet-11/usr/src/lib/scsi/plugins/ses/SUN-SAS2-X16DBP/common/
H A Dsun_sas2_x16dbp.c37 sun_sas2_x16dbp_parse_node(ses_plugin_t *sp, ses_node_t *np) argument
42 if (ses_node_type(np) != SES_NODE_ENCLOSURE)
45 props = ses_node_props(np);
/osnet-11/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/
H A Dloki.c35 sun_loki_fix_bay(ses_plugin_t *sp, ses_node_t *np) argument
41 nvlist_t *props = ses_node_props(np);
53 if ((dep = ses_plugin_page_lookup(sp, ses_node_snapshot(np),
54 SES2_DIAGPAGE_ADDL_ELEM_STATUS, np, &len)) == NULL)
70 sun_loki_parse_node(ses_plugin_t *sp, ses_node_t *np) argument
73 nvlist_t *props = ses_node_props(np);
86 if (ses_node_type(np) != SES_NODE_ENCLOSURE &&
87 ses_node_type(np) != SES_NODE_ELEMENT)
90 if (ses_node_type(np) == SES_NODE_ELEMENT) {
95 return (sun_loki_fix_bay(sp, np));
[all...]

Completed in 53 milliseconds

1234567