/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | cflow.c | 49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 50 struct checkpt *pp = (struct checkpt*)shp->jmplist; 67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10)&SH_EXITMASK:shp->oldexit)); 69 if(shp->fn_depth==0 && shp->dot_depth==0 && !sh_isstate(SH_PROFILE)) 71 sh_exit(shp->savexit=n); 87 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 107 if(shp [all...] |
H A D | cd_pwd.c | 57 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 84 oldpwd = (char*)shp->pwd; 85 opwdnod = (shp->subshell?sh_assignok(OLDPWDNOD,1):OLDPWDNOD); 86 pwdnod = (shp->subshell?sh_assignok(PWDNOD,1):PWDNOD); 101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=(CDPNOD)->nvalue.cp)) 105 shp->cdpathlist = (void*)cdpath; 106 cdpath->shp = shp; 202 shp 214 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local [all...] |
H A D | ulimit.c | 73 Shell_t *shp = ((Shbltin_t*)extra)->shp; local 135 if(shp->subshell && !shp->subshare)
|
H A D | whence.c | 55 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 71 shp->xargexit = 1; 89 return(whence(shp,argv, flags)); 98 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 130 return(whence(shp, argv, flags)); 133 static int whence(Shell_t *shp,char **argv, register int flags) argument 167 if((np=nv_search(name,shp->alias_tree,0)) 187 root = (flags&F_FLAG)?shp [all...] |
H A D | getopts.c | 38 Shell_t *shp = *(Shell_t**)(dp+1); local 39 Stk_t *stkp = shp->stk; 47 sfputr(sp,sh_mactry(shp,stkfreeze(stkp,1)),-1); 58 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 69 disc.sh = shp; 91 np = nv_open(argv[1],shp->var_tree,NV_NOASSIGN|NV_VARNAME); 99 argv = shp->st.dolv; 100 argc = shp->st.dolc; 102 opt_info.index = shp [all...] |
H A D | hist.c | 47 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 59 if(!sh_histinit((void*)shp)) 61 hp = shp->hist_ptr; 195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); 205 hist_list(shp->hist_ptr,outfile,hist_tell(shp->hist_ptr,range[flag]),0,arg); 217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) 265 if(shp [all...] |
H A D | poll_solaris.c | 39 #define sh_contexttoshell(context) ((context)?(sh_contexttoshb(context)->shp):(NULL)) 243 Shell_t *shp = sh_contexttoshell(extra); local 287 array_np = nv_open(varname, shp->var_tree, NV_NOFAIL|NV_NOADD); 324 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].fd", varname, subname); 333 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].events", varname, subname); 355 np = nv_open_fmt(shp->var_tree, NV_VARNAME|NV_ARRAY|NV_NOFAIL, "%s", eventarrayname); 369 np = nv_open_fmt(shp->var_tree, NV_NOFAIL, "%s[%s].revents", varname, subname);
|
H A D | regress.c | 125 void sh_regress_init(Shell_t* shp) argument 129 shp->regress = &state; 264 register Shell_t* shp = ((Shbltin_t*)extra)->shp; local
|
H A D | sleep.c | 49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; local 53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF))) 106 shp->lastsig=0; 108 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig) 114 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) 128 Shell_t *shp = &sh; local 132 shp->lastsig = 0; 136 if(!shp->waitevent || (*shp 166 Shell_t *shp = &sh; local [all...] |
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_error.c | 69 smbios_errno(smbios_hdl_t *shp) argument 71 return (shp->sh_err); 75 smb_set_errno(smbios_hdl_t *shp, int error) argument 77 shp->sh_err = error;
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_chassis.c | 48 smbios_hdl_t *shp; local 50 shp = topo_mod_smbios(mod); 51 if (shp == NULL) { 60 rv = smbios_info_common(shp, smb_id, &ip); 66 rv = smbios_info_chassis(shp, smb_id, &ch);
|
H A D | x86pi_hostbridge.c | 244 smbios_hdl_t *shp; local 246 shp = topo_mod_smbios(mod); 247 if (shp == NULL) 265 if (smbios_info_pciexrc(shp, smbc->ids[i].id, &smb_rc) != 0)
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_subr.c | 39 smb_open_error(smbios_hdl_t *shp, int *errp, int err) argument 41 if (shp != NULL) 42 smbios_close(shp); 82 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) argument 86 if (!(shp->sh_flags & SMB_FL_DEBUG))
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | sharetab.c | 61 getshare(FILE *fd, share_t **shp) argument 100 *shp = sh;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | smb_subr.c | 63 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) argument 67 if (!(shp->sh_flags & SMB_FL_DEBUG))
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 89 Shdr *shp; local 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); 97 if (!(shp->sh_flags & SHF_ALLOC)) 99 if (shp->sh_addr != 0) { 105 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; 107 if (shp->sh_addralign > pp->align) 108 pp->align = shp->sh_addralign; 109 pp->size = ALIGN(pp->size, shp->sh_addralign); 110 pp->size += ALIGN(shp->sh_size, 8);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 89 Shdr *shp; local 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); 97 if (!(shp->sh_flags & SHF_ALLOC)) 99 if (shp->sh_addr != 0) { 105 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; 107 if (shp->sh_addralign > pp->align) 108 pp->align = shp->sh_addralign; 109 pp->size = ALIGN(pp->size, shp->sh_addralign); 110 pp->size += ALIGN(shp->sh_size, 8);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | shcomp.c | 73 Shell_t *shp; local 97 shp = sh_init(argc,argv,(Shinit_f)0); 98 shp->shcomp = 1; 131 shp->inlineno = 1; 138 if(t = (Shnode_t*)sh_parse(shp,in,0))
|
/illumos-gate/usr/src/cmd/ksh/builtins/ |
H A D | alias.c | 198 Shell_t *shp; local 217 shp = sh_init(argc+1, xargv, 0); 218 if (!shp) 222 np = nv_open("exitval", shp->var_tree, 0);
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 105 Shdr *shp; local 112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); 113 if (!(shp->sh_flags & SHF_ALLOC)) 115 if (shp->sh_addr != 0) { 121 pp = (shp->sh_flags & SHF_WRITE)? dp : tp; 123 if (shp->sh_addralign > pp->align) 124 pp->align = shp->sh_addralign; 125 pp->size = ALIGN(pp->size, shp->sh_addralign); 126 pp->size += ALIGN(shp->sh_size, 8);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | sharetab.c | 60 getshare(FILE *fd, share_t **shp) argument 100 *shp = sh;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | smb_dev.c | 47 smb_open_error(smbios_hdl_t *shp, int *errp, int err) argument 49 if (shp != NULL) 50 smbios_close(shp); 64 smbios_hdl_t *shp = NULL; local 71 return (smb_open_error(shp, errp, ESMB_INVAL)); 77 return (smb_open_error(shp, errp, ESMB_MAPDEV)); 86 return (smb_open_error(shp, errp, ESMB_NOTFOUND)); 99 return (smb_open_error(shp, errp, ESMB_MAPDEV)); 105 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, &err); 107 if (shp 135 smbios_write(smbios_hdl_t *shp, int fd) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | path.h | 65 Shell_t *shp; member in struct:pathcomp
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | exportlist.c | 77 struct sh_list *shp; local 95 for (shp = share_list; shp; shp = shp->shl_next) { 100 sh = shp->shl_sh;
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 181 struct sctp_hdr *shp; local 189 shp = (struct sctp_hdr *)(mp->b_rptr + off); 190 dport = shp->sh_dport; 191 sport = shp->sh_sport;
|