/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 588 Shell_t *shp = ep->sh; local 598 if(!(shp->sigflag[SIGWINCH]&SH_SIGFAULT)) 601 shp->sigflag[SIGWINCH] |= SH_SIGFAULT; 603 pp = shp->st.trapcom[SIGWINCH]; 604 shp->st.trapcom[SIGWINCH] = 0; 606 shp->st.trapcom[SIGWINCH] = pp; 612 if(!(last = shp->prompt)) 614 shp->prompt = 0; 618 if(shp->hist_ptr) 620 register History_t *hp = shp 804 Shell_t *shp = ep->sh; local 1548 Shell_t *shp = ep->sh; local 1586 ed_open(Shell_t *shp) argument [all...] |
H A D | history.c | 180 Shell_t *shp = (Shell_t*)hp->histshell; local 199 if(shp->euserid >=id1 && shp->euserid <= id2) 201 if(shp->userid >=id1 && shp->userid <= id2) 230 Shell_t *shp = (Shell_t*)sh_context; local 239 if(shp->hist_ptr=hist_ptr) 256 shp->hist_ptr = hist_ptr = hp; 293 if(shp->userid) 315 shp 412 Shell_t *shp = (Shell_t*)hp->histshell; local 803 Shell_t *shp = (Shell_t*)hp->histshell; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 182 void job_chldtrap(Shell_t *shp, const char *trap, int unpost) argument 188 shp->sigflag[SIGCHLD] &= ~SH_SIGTRAP; 189 trapnote = shp->trapnote; 190 shp->trapnote = 0; 197 bckpid = shp->bckpid; 198 oldexit = shp->savexit; 199 shp->bckpid = pw->p_pid; 200 shp->savexit = pw->p_exit; 202 shp->savexit |= SH_EXITSIG; 206 shp 467 job_init(Shell_t *shp, int lflag) argument 611 job_close(Shell_t* shp) argument [all...] |
H A D | lex.c | 141 register Shell_t *shp = lp->sh; local 142 register Stk_t *stkp = shp->stk; 173 sfprintf(lp->kiatmp,"p;%..64d;v;%..64d;%d;%d;r;\n",lp->current,r,shp->inlineno,shp->inlineno); 184 register Shell_t *shp = lp->sh; local 185 register Sfio_t *log= shp->funlog; 186 Stk_t *stkp = shp->stk; 191 if(sh_isstate(SH_HISTORY) && shp->hist_ptr) 192 log = shp->hist_ptr->histfp; 203 sfwrite(shp 286 Shell_t *shp = lp->sh; local 315 register Shell_t *shp = lp->sh; local 1985 register Shell_t *shp = lp->sh; local 2045 sh_endword(Shell_t *shp,int mode) argument [all...] |
H A D | nvdisc.c | 1210 Shell_t *shp; member in struct:table 1226 tp->shp->last_table = np; 1365 tp->shp = sh_getinterp();
|
H A D | nvtype.c | 784 Shell_t *shp = sh_getinterp(); local 794 mp = nv_search("typeset",shp->bltin_tree,0); 799 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) 800 nv_delete(bp,shp->fun_tree,0);
|
H A D | parse.c | 321 void *sh_parse(Shell_t *shp, Sfio_t *iop, int flag) argument 324 Lex_t *lexp = (Lex_t*)shp->lex_context; 327 int sav_prompt = shp->nextprompt; 328 if(shp->binscript && (sffileno(iop)==shp->infd || (flag&SH_FUNEVAL))) 329 return((void*)sh_trestore(shp,iop)); 331 shp->st.staklist = 0; 333 lexp->inlineno = shp->inlineno; 334 lexp->firstline = shp->st.firstline; 335 shp 440 sh_freeup(Shell_t *shp) argument 717 Shell_t *shp = lexp->sh; local [all...] |
H A D | path.c | 233 Shell_t *shp = &sh; local 234 if(shp->pwd) 235 return((char*)shp->pwd); 279 shp->pwd = (char*)(PWDNOD->nvalue.cp); 405 first = (pp->flags&PATH_CDPATH)?pp->shp->cdpathlist:path_get(""); 440 ppnext->shp = pp->shp; 473 static Pathcomp_t* defpath_init(Shell_t *shp) argument 476 if(shp->defpathlist = (void*)pp) 477 pp->shp 481 path_init(Shell_t *shp) argument 512 register Shell_t *shp = &sh; local 538 Shell_t *shp; local 629 funload(Shell_t *shp,int fno, const char *name) argument 682 Shell_t *shp = &sh; local 758 Shell_t *shp = &sh; local 969 Shell_t *shp = &sh; local 1013 Shell_t *shp = sh_getinterp(); local 1225 exscript(Shell_t *shp,register char *path,register char *argv[],char **envp) argument 1694 Shell_t *shp = &sh; local [all...] |
H A D | init.c | 208 Shell_t *shp = nv_shell(np); local 209 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD))) 211 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD))))) 235 Shell_t *shp = nv_shell(np); local 236 void *histopen = shp->hist_ptr; 244 hist_close(shp->hist_ptr); 250 sh_histinit(shp); 259 Shell_t *shp = nv_shell(np); local 260 shp->st.opterror = shp 284 Shell_t *shp = nv_shell(np); local 329 Shell_t *shp = nv_shell(np); local 361 Shell_t *shp = nv_shell(np); local 463 Shell_t *shp; local 486 register Shell_t *shp = nv_shell(np); local 565 Shell_t *shp = nv_shell(np); local 649 Shell_t *shp = nv_shell(np); local 673 Shell_t *shp = nv_shell(np); local 683 Shell_t *shp = nv_shell(np); local 1025 Shell_t *shp = &sh; local 1345 Shell_t *shp = &sh; local 1456 Shell_t *shp = sp->sh; local 1489 Shell_t *shp = sh_getinterp(); local 1505 stat_init(Shell_t *shp) argument 1536 nv_init(Shell_t *shp) argument 1660 inittree(Shell_t *shp,const struct shtable2 *name_vals) argument 1719 env_init(Shell_t *shp) argument [all...] |
H A D | io.c | 385 void sh_ioinit(Shell_t *shp) argument 391 n = shp->lim.open_max+2; 393 n = shp->lim.open_max; 395 shp->fdstatus = (unsigned char*)malloc((unsigned)n); 396 memset((char*)shp->fdstatus,0,n); 397 shp->fdptrs = (int**)malloc(n*sizeof(int*)); 398 memset((char*)shp->fdptrs,0,n*sizeof(int*)); 399 shp->sftable = (Sfio_t**)malloc(n*sizeof(Sfio_t*)); 400 memset((char*)shp->sftable,0,n*sizeof(Sfio_t*)); 401 shp 468 sh_iostream(Shell_t *shp, register int fd) argument 540 io_preserve(Shell_t* shp, register Sfio_t *sp, register int f2) argument 578 sh_iorenumber(Shell_t *shp, register int f1,register int f2) argument 667 Shell_t *shp = &sh; local 836 io_patseek(Shell_t *shp, regex_t *rp, Sfio_t* sp, int flags) argument 873 file_offset(Shell_t *shp, int fn, char *fname) argument 960 sh_redirect(Shell_t *shp,struct ionod *iop, int flag) argument 1351 io_heredoc(Shell_t *shp,register struct ionod *iop, const char *name, int traceon) argument 1419 sh_iosave(Shell_t *shp, register int origfd, int oldtop, char *name) argument 1503 sh_iounsave(Shell_t* shp) argument 1522 sh_iorestore(Shell_t *shp, int last, int jmpval) argument 1589 Shell_t *shp = &sh; local 1794 sh_iocheckfd(Shell_t *shp, register int fd) argument 1861 Shell_t *shp = &sh; local 1948 Shell_t *shp = &sh; local 2112 subopen(Shell_t *shp,Sfio_t* sp, off_t offset, long size) argument 2178 Shell_t *shp = &sh; local 2329 Shell_t *shp = &sh; local 2382 Shell_t *shp = &sh; local 2400 Shell_t *shp = &sh; local [all...] |
H A D | macro.c | 59 Shell_t *shp; /* pointer to shell interpreter */ member in struct:_mac_ 114 void *sh_macopen(Shell_t *shp) argument 118 mp->shp = shp; 125 char *sh_mactry(Shell_t *shp,register char *string) argument 130 int savexit = shp->savexit; 135 string = sh_mactrim(shp,string,0); 137 shp->savexit = savexit; 150 char *sh_mactrim(Shell_t *shp, char *str, register int mode) argument 152 register Mac_t *mp = (Mac_t*)shp 192 sh_macexpand(Shell_t* shp, register struct argnod *argp, struct argnod **arghead,int flag) argument 258 sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument 402 sh_macpat(Shell_t *shp,register struct argnod *arg, int flags) argument 849 getdolarg(Shell_t *shp, int n, int *size) argument 904 prefix(Shell_t *shp, char *id) argument 972 sh_macfun(Shell_t *shp, const char *name, int offset) argument 2416 Shell_t *shp = ((Shbltin_t*)context)->shp; local 2428 tilde_expand2(Shell_t *shp, register int offset) argument 2480 sh_tilde(Shell_t *shp,register const char *string) argument 2517 special(Shell_t *shp,register int c) argument [all...] |
H A D | name.c | 288 Shell_t *shp = &sh; local 291 char *trap=shp->st.trap[SH_DEBUGTRAP]; 292 char *prefix = shp->prefix; 303 shtp.previous = shp->mktype; 304 shp->mktype=(void*)&shtp; 314 if(shp->prefix) 321 shp->used_pos = 0; 324 shp->prefix = 0; 325 cp = sh_mactrim(shp,arg->argval,(flags&NV_NOREF)?-3:-1); 326 shp 687 Shell_t *shp = &sh; local 1117 Shell_t *shp = &sh; local 1958 Shell_t *shp = sh_getinterp(); local 2047 sh_scope(Shell_t *shp, struct argnod *envlist, int fun) argument 2122 table_unset(Shell_t *shp, register Dt_t *root, int flags, Dt_t *oroot) argument 2185 Shell_t *shp = &sh; local 2290 sh_scoped(Shell_t *shp, register Namval_t *np) argument 2414 sh_optclear(Shell_t *shp, void *old) argument 2902 Shell_t *shp = &sh; local 2985 Shell_t *shp = &sh; local 3103 sh_unscope(Shell_t *shp) argument [all...] |
H A D | xec.c | 105 static int p_time(Shell_t *shp, Sfio_t *out, const char *format, clock_t *tm) argument 110 Stk_t *stkp = shp->stk; 395 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const argv[], int flags) argument 397 Stk_t *stkp=shp->stk; 405 if(shp->indebug) 407 shp->indebug = 1; 438 shp->st.lineno = error_info.line; 439 level = shp->fn_depth+shp->dot_depth; 444 savst = shp 467 Shell_t *shp = sh_getinterp(); local 531 pipe_exec(Shell_t* shp,int pv[], Shnode_t *t, int errorflg) argument 611 set_instance(Shell_t *shp,Namval_t *nq, Namval_t *node, struct Namref *nr) argument 655 register Shell_t *shp = &sh; local 2300 Shell_t *shp = &sh; local 2375 Shell_t *shp = &sh; local 2555 register Shell_t *shp = &sh; local 2693 sh_funct(Shell_t *shp,Namval_t *np,int argn, char *argv[],struct argnod *envlist,int execflg) argument 2753 Shell_t *shp = &sh; local 2827 coproc_init(Shell_t *shp, int pipes[]) argument 2976 sh_ntfork(Shell_t *shp,const Shnode_t *t,char *argv[],int *jobid,int flag) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 460 Elf32_Shdr *shp; local 503 shp = &elf_file.shdr[ESHDR_SHSTRTAB]; 504 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */ 505 shp->sh_type = SHT_STRTAB; 506 shp->sh_offset = off; 507 shp->sh_size = sizeof (DTRACE_SHSTRTAB32); 508 shp->sh_addralign = sizeof (char); 509 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 8); 511 shp 597 Elf64_Shdr *shp; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 51 GElf_Shdr *shp; local 75 shp = &gsp->gs_shdr; 76 gsp->gs_name = (const char *)shstr->gs_data + shp->sh_name; 78 if (shp->sh_name >= shstr->gs_shdr.sh_size) { 80 IOP_NAME(gf->gf_io), i, shp->sh_name); 84 if (shp->sh_type == SHT_PROGBITS && (shp->sh_flags & SHF_ALLOC)) 109 shp = &gsp->gs_shdr; 111 if ((shp->sh_type == SHT_PROGBITS) && 112 (shp 232 caddr_t shdrs, shp; local [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio.c | 1558 nxge_share_handle_t *shp; local 1576 shp = &nxge->shares[vr->region]; 1577 shp->nxgep = nxge; 1578 shp->index = vr->region; 1579 shp->vrp = (void *)vr; 1580 shp->tmap = shp->rmap = 0; /* to be assigned by ms_sbind */ 1581 shp->rxgroup = 0; /* to be assigned by ms_sadd */ 1582 shp->active = B_FALSE; /* not bound yet */ 1584 *shandle = (mac_share_handle_t)shp; 1594 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local 1620 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local 1659 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local 1755 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local 1783 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local 1838 nxge_share_handle_t *shp = (nxge_share_handle_t *)shandle; local [all...] |
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.c | 276 sdhost_t *shp; local 297 shp = kmem_zalloc(sizeof (*shp), KM_SLEEP); 298 ddi_set_driver_private(dip, shp); 304 shp->sh_slots[i].ss_num = -1; 311 shp->sh_dmaattr.dma_attr_version = DMA_ATTR_V0; 312 shp->sh_dmaattr.dma_attr_addr_lo = 0; 313 shp->sh_dmaattr.dma_attr_addr_hi = 0xffffffffU; 314 shp->sh_dmaattr.dma_attr_count_max = 0xffffffffU; 315 shp 435 sdhost_t *shp; local 483 sdhost_t *shp; local 502 sdhost_t *shp; local 524 sdhost_t *shp; local 688 sdhost_setup_intr(dev_info_t *dip, sdhost_t *shp) argument 1009 sdhost_t *shp = (void *)arg1; local 1024 sdhost_init_slot(dev_info_t *dip, sdhost_t *shp, int num, int bar) argument 1219 sdhost_uninit_slot(sdhost_t *shp, int num) argument [all...] |
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 182 smb_cnttypes(smbios_hdl_t *shp, int type) argument 184 const smb_struct_t *sp = shp->sh_structs; 185 int nstructs = shp->sh_nstructs; 197 smb_strcnt(smbios_hdl_t *shp, smbs_cnt_t *stype) argument 199 const smb_struct_t *sp = shp->sh_structs; 200 int nstructs = shp->sh_nstructs; 218 rc = smbios_info_bboard(shp, 264 smb_bb_contains(smbios_hdl_t *shp, smbs_cnt_t *stype) argument 277 (void) smbios_info_bboard(shp, stype->ids[cnt]->id, &smb_bb); 288 rc = smbios_info_contains(shp, styp 332 fm_smb_check(smbios_hdl_t *shp) argument 536 smbios_hdl_t *shp; local 597 find_matching_apic(smbios_hdl_t *shp, uint16_t proc_id, uint_t strand_apicid) argument 636 find_matching_proc(smbios_hdl_t *shp, uint_t strand_apicid, uint16_t bb_id, uint16_t proc_hdl, int is_proc) argument 725 get_chassis_inst(smbios_hdl_t *shp, uint16_t *chassis_inst, uint16_t bb_id, int *chcnt) argument 772 smb_get_bb_fmri(smbios_hdl_t *shp, nvlist_t *fmri, uint_t parent, smbs_cnt_t *bbstypes) argument 902 smbios_hdl_t *shp; local 988 smbios_hdl_t *shp; local 1033 smbios_hdl_t *shp; local 1079 smbios_hdl_t *shp; local [all...] |
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_info.c | 36 * stp = smb_lookup_type(shp, foo); 226 smbios_info_smbios(smbios_hdl_t *shp, smbios_entry_t *ep) argument 228 bcopy(&shp->sh_ent, ep, sizeof (smbios_entry_t)); 237 smbios_info_common(smbios_hdl_t *shp, id_t id, smbios_info_t *ip) argument 239 const smb_struct_t *stp = smb_lookup_id(shp, id); 290 return (n ? 0 : smb_set_errno(shp, ESMB_NOINFO)); 300 smbios_info_contains(smbios_hdl_t *shp, id_t id, uint_t idc, id_t *idv) argument 302 const smb_struct_t *stp = smb_lookup_id(shp, id); 318 return (smb_set_errno(shp, ESMB_TYPE)); 331 return (smb_set_errno(shp, ESMB_INVA 338 smbios_info_bios(smbios_hdl_t *shp, smbios_bios_t *bp) argument 386 smbios_info_system(smbios_hdl_t *shp, smbios_system_t *sip) argument 407 smbios_info_bboard(smbios_hdl_t *shp, id_t id, smbios_bboard_t *bbp) argument 430 smbios_info_chassis(smbios_hdl_t *shp, id_t id, smbios_chassis_t *chp) argument 470 smbios_info_processor(smbios_hdl_t *shp, id_t id, smbios_processor_t *pp) argument 516 smbios_info_cache(smbios_hdl_t *shp, id_t id, smbios_cache_t *cap) argument 552 smbios_info_port(smbios_hdl_t *shp, id_t id, smbios_port_t *pop) argument 577 smbios_info_slot(smbios_hdl_t *shp, id_t id, smbios_slot_t *sp) argument 607 smbios_info_obdevs_ext(smbios_hdl_t *shp, id_t id, smbios_obdev_ext_t *oep) argument 632 smbios_info_obdevs(smbios_hdl_t *shp, id_t id, int obc, smbios_obdev_t *obp) argument 664 smbios_info_strtab(smbios_hdl_t *shp, id_t id, int argc, const char *argv[]) argument 688 smbios_info_lang(smbios_hdl_t *shp, smbios_lang_t *lp) argument 707 smbios_info_eventlog(smbios_hdl_t *shp, smbios_evlog_t *evp) argument 744 smbios_info_memarray(smbios_hdl_t *shp, id_t id, smbios_memarray_t *map) argument 775 smbios_info_memarrmap(smbios_hdl_t *shp, id_t id, smbios_memarrmap_t *map) argument 805 smbios_info_memdevice(smbios_hdl_t *shp, id_t id, smbios_memdevice_t *mdp) argument 860 smbios_info_memdevmap(smbios_hdl_t *shp, id_t id, smbios_memdevmap_t *mdp) argument 893 smbios_info_hwsec(smbios_hdl_t *shp, smbios_hwsec_t *hsp) argument 913 smbios_info_boot(smbios_hdl_t *shp, smbios_boot_t *bp) argument 931 smbios_info_ipmi(smbios_hdl_t *shp, smbios_ipmi_t *ip) argument 987 smbios_has_oemstr(smbios_hdl_t *shp, const char *oemstr) argument 1031 smb_get_sn(smbios_hdl_t *shp, const char **psnp, const char **csnp) argument 1068 smbios_psn(smbios_hdl_t *shp) argument 1076 smbios_csn(smbios_hdl_t *shp) argument 1084 smbios_info_extprocessor(smbios_hdl_t *shp, id_t id, smbios_processor_ext_t *epp) argument 1108 smbios_info_extport(smbios_hdl_t *shp, id_t id, smbios_port_ext_t *eportp) argument 1132 smbios_info_pciexrc(smbios_hdl_t *shp, id_t id, smbios_pciexrc_t *rcp) argument 1154 smbios_info_extmemarray(smbios_hdl_t *shp, id_t id, smbios_memarray_ext_t *emap) argument 1176 smbios_info_extmemdevice(smbios_hdl_t *shp, id_t id, smbios_memdevice_ext_t *emdp) argument [all...] |
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 145 check_oem(smbios_hdl_t *shp) argument 154 rv = smbios_lookup_type(shp, SMB_TYPE_OEMSTR, &s); 161 cnt = smbios_info_strtab(shp, oem_id, 0, NULL); 164 (void) smbios_info_strtab(shp, oem_id, cnt, oem_str); 178 print_smbios(smbios_hdl_t *shp, FILE *fp) argument 183 smbios_info_smbios(shp, &ep); 232 print_bios(smbios_hdl_t *shp, FILE *fp) argument 236 (void) smbios_info_bios(shp, &b); 275 print_system(smbios_hdl_t *shp, FILE *fp) argument 280 (void) smbios_info_system(shp, 298 print_bboard(smbios_hdl_t *shp, id_t id, FILE *fp) argument 334 print_chassis(smbios_hdl_t *shp, id_t id, FILE *fp) argument 394 print_processor(smbios_hdl_t *shp, id_t id, FILE *fp) argument 504 print_cache(smbios_hdl_t *shp, id_t id, FILE *fp) argument 550 print_port(smbios_hdl_t *shp, id_t id, FILE *fp) argument 570 print_slot(smbios_hdl_t *shp, id_t id, FILE *fp) argument 610 print_obdevs_ext(smbios_hdl_t *shp, id_t id, FILE *fp) argument 636 print_obdevs(smbios_hdl_t *shp, id_t id, FILE *fp) argument 650 print_strtab(smbios_hdl_t *shp, id_t id, FILE *fp) argument 664 print_lang(smbios_hdl_t *shp, id_t id, FILE *fp) argument 680 print_evlog(smbios_hdl_t *shp, id_t id, FILE *fp) argument 767 print_memarray(smbios_hdl_t *shp, id_t id, FILE *fp) argument 789 print_memdevice(smbios_hdl_t *shp, id_t id, FILE *fp) argument 879 print_memarrmap(smbios_hdl_t *shp, id_t id, FILE *fp) argument 893 print_memdevmap(smbios_hdl_t *shp, id_t id, FILE *fp) argument 911 print_hwsec(smbios_hdl_t *shp, FILE *fp) argument 928 print_boot(smbios_hdl_t *shp, FILE *fp) argument 944 print_ipmi(smbios_hdl_t *shp, FILE *fp) argument 967 print_extprocessor(smbios_hdl_t *shp, id_t id, FILE *fp) argument 988 print_extport(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1005 print_pciexrc(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1019 print_extmemarray(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1034 print_extmemdevice(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1054 print_struct(smbios_hdl_t *shp, const smbios_struct_t *sp, void *fp) argument 1271 smbios_hdl_t *shp; local [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 1752 GElf_Shdr *shp = &cp->c_shdr; local 1754 if (shp->sh_type == SHT_SYMTAB || shp->sh_type == SHT_DYNSYM) { 1755 sym_tbl_t *symp = shp->sh_type == SHT_SYMTAB ? 1772 shp->sh_size / shp->sh_entsize; 1774 cache[shp->sh_link].c_data->d_buf; 1776 cache[shp->sh_link].c_data->d_size; 1778 symp->sym_strhdr = cache[shp->sh_link].c_shdr; 1783 } else if (shp [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 225 smbios_hdl_t *shp; local 281 if ((shp = smbios_open(NULL, 288 if ((id = smbios_info_system(shp, &sys)) == SMB_ERR) { 290 smbios_close(shp); 293 if (smbios_info_common(shp, id, &info) == SMB_ERR) { 295 smbios_close(shp); 300 smbios_close(shp);
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/ |
H A D | mdb_kb.c | 967 Shdr *shp; local 1011 shp = &hdr->kh_shdr[XKB_SHDR_SYMTAB]; 1012 shp->sh_name = 1; /* xkb_shstrtab[1] = ".symtab" */ 1013 shp->sh_type = SHT_SYMTAB; 1014 shp->sh_offset = sizeof (xkb_namelist_t); 1015 shp->sh_size = sizes[XKB_WALK_LOCAL] + sizes[XKB_WALK_GLOBAL]; 1016 shp->sh_link = XKB_SHDR_STRTAB; 1017 shp->sh_info = sizes[XKB_WALK_LOCAL] / sizeof (Sym); 1018 shp->sh_addralign = sizeof (Addr); 1019 shp [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 1052 dr_handle_t *shp = hp; local 1056 devset = shp->h_devset; 1101 shp->h_devset = devset; 2115 dr_handle_t *shp; local 2132 shp = hp; 2133 devset = shp->h_devset;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 1443 sbd_priv_handle_t *shp; local 1454 shp = kmem_zalloc(sizeof (sbd_priv_handle_t), KM_SLEEP); 1455 shp->sh_arg = (void *)arg; 1457 hp = MACHHD2HD(shp); 1459 ep = &shp->sh_err; 1469 shp->sh_next = sbp->sb_handle; 1470 sbp->sb_handle = shp; 1509 sbd_priv_handle_t *shp, **shpp; local 1518 shp = HD2MACHHD(hp); 1524 for (shpp = &sbp->sb_handle; (*shpp) && ((*shpp) != shp); 1844 sbd_priv_handle_t *shp = HD2MACHHD(hp); local 1983 sbd_priv_handle_t *shp = HD2MACHHD(hp); local 3344 sbd_priv_handle_t *shp = HD2MACHHD(hp); local 4274 sbd_priv_handle_t *shp = HD2MACHHD(hp); local 4295 sbd_priv_handle_t *shp = HD2MACHHD(hp); local [all...] |