| /onnv-gate/usr/src/uts/common/io/scsi/targets/ |
| H A D | ses_sen.c | 123 char rqbuf[SENSE_LENGTH], *sdata; in sen_rdstat() local 130 sdata = kmem_alloc(SENPGINSIZE, slpflag); in sen_rdstat() 131 if (sdata == NULL) in sen_rdstat() 137 lp->uscsi_bufaddr = sdata; in sen_rdstat() 144 kmem_free(sdata, SENPGINSIZE); in sen_rdstat() 151 kmem_free(sdata, SENPGINSIZE); in sen_rdstat() 158 if (sdata[10] & 0x80) in sen_rdstat() 179 if (sdata[i] & 0x80) { in sen_rdstat() 191 if (sdata[i] & 0x40) { in sen_rdstat() 211 if ((sdata[i] & 0x80) == 0) { in sen_rdstat() [all …]
|
| H A D | ses_safte.c | 106 char rqbuf[SENSE_LENGTH], *sdata; in _NOTE() local 114 sdata = kmem_alloc(SCRATCH, KM_SLEEP); in _NOTE() 115 if (sdata == NULL) in _NOTE() 121 lp->uscsi_bufaddr = sdata; in _NOTE() 129 kmem_free(sdata, SCRATCH); in _NOTE() 136 kmem_free(sdata, SCRATCH); in _NOTE() 140 "%d Nspkrs %d", sdata[0], sdata[1], sdata[2], sdata[3], sdata[4], in _NOTE() 141 sdata[5]); in _NOTE() 144 cfg->Nfans = sdata[0]; in _NOTE() 145 cfg->Npwr = sdata[1]; in _NOTE() [all …]
|
| H A D | ses_ses.c | 229 char storage[SCSZ], *sdata; in ses_getconfig() local 239 sdata = kmem_alloc(SCSZ, KM_SLEEP); in ses_getconfig() 240 if (sdata == NULL) in ses_getconfig() 246 lp->uscsi_bufaddr = sdata; in ses_getconfig() 254 kmem_free(sdata, SCSZ); in ses_getconfig() 259 if (ses_cfghdr((uchar_t *)sdata, amt, &cf)) { in ses_getconfig() 261 kmem_free(sdata, SCSZ); in ses_getconfig() 266 kmem_free(sdata, SCSZ); in ses_getconfig() 285 if (ses_enchdr((uchar_t *)sdata, amt, i, &hd)) { in ses_getconfig() 288 kmem_free(sdata, SCSZ); in ses_getconfig() [all …]
|
| /onnv-gate/usr/src/common/crypto/fips/ |
| H A D | fips_addchecksum.c | 54 Elf_Data *sdata; in add_fips_section() local 85 if ((sdata = elf_getdata(scn, NULL)) == NULL) { in add_fips_section() 88 if (sdata->d_size < SHA1_DIGEST_LENGTH) { in add_fips_section() 90 sdata->d_size = SHA1_DIGEST_LENGTH; in add_fips_section() 91 sdata->d_buf = newbuf; in add_fips_section() 93 (void) elf_flagdata(sdata, ELF_C_SET, ELF_F_DIRTY); in add_fips_section() 138 if ((sdata = elf_newdata(fips_scn)) == NULL) { in add_fips_section() 141 if (sdata->d_size < SHA1_DIGEST_LENGTH) { in add_fips_section() 143 sdata->d_size = SHA1_DIGEST_LENGTH; in add_fips_section() 144 sdata->d_buf = newbuf; in add_fips_section() [all …]
|
| /onnv-gate/usr/src/cmd/oplhpd/ |
| H A D | scf_notify.c | 382 scf_slotinfo_t sdata; in notify_scf_of_hotplug() local 475 (void) strlcpy(sdata.ap_id, ap_id, sizeof (sdata.ap_id)); in notify_scf_of_hotplug() 477 sdata.vflag = (uint8_t)0x80; in notify_scf_of_hotplug() 478 sdata.r_state = (uint32_t)r_state; in notify_scf_of_hotplug() 479 sdata.o_state = (uint32_t)o_state; in notify_scf_of_hotplug() 480 sdata.tstamp = (uint64_t)sec; in notify_scf_of_hotplug() 481 (void) strlcpy(sdata.dev_name, dev_name, sizeof (dev_name)); in notify_scf_of_hotplug() 482 (void) strlcpy(sdata.dev_model, dev_model, sizeof (sdata.dev_model)); in notify_scf_of_hotplug() 484 (void) memcpy((void *)&(scfdata.buf), (void *)&sdata, in notify_scf_of_hotplug()
|
| /onnv-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_client_secinfo.c | 187 sec_data_t *sdata; in secinfo_create() local 211 sdata = kmem_alloc(sizeof (sec_data_t) * seccnt, KM_SLEEP); in secinfo_create() 218 sdata[scnt].flags = 0; in secinfo_create() 219 sdata[scnt].rpcflavor = val->flavor; in secinfo_create() 237 sdata[scnt].data = (caddr_t)data; in secinfo_create() 238 sdata[scnt].secmod = in secinfo_create() 244 sdata[scnt] = *svp->sv_dhsec; in secinfo_create() 251 sdata[scnt].secmod = val->flavor; in secinfo_create() 252 sdata[scnt].data = NULL; in secinfo_create() 261 sinfo->sdata = sdata; in secinfo_create() [all …]
|
| /onnv-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_reparse.c | 152 char *stype, *sdata; in smb_reparse_svcget() local 165 if ((rc = nvpair_value_string(nvp, &sdata)) != 0) in smb_reparse_svcget() 169 if ((*svcdata = strdup(sdata)) == NULL) in smb_reparse_svcget()
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/ |
| H A D | Text.cxx | 62 addSimple(TextItem::sdata, Location(origin, 0)); in addSdata() 97 case TextItem::sdata: in tokenize() 310 case TextItem::sdata: in normalizedLength() 331 case TextItem::sdata: in fixedEqual() 338 || text.items_[j].type == TextItem::sdata) in fixedEqual() 352 || text.items_[j].type == TextItem::sdata) in fixedEqual() 367 case TextItem::sdata: in fixedEqual()
|
| H A D | GenericEventHandler.cxx | 193 app_->sdata(appEvent); in sdataEntity() 586 case TextItem::sdata: in setAttributes() 604 case TextItem::sdata: in setAttributes() 609 if (type != TextItem::sdata) { in setAttributes() 673 case Entity::sdata: in setEntity() 674 to.dataType = SGMLApplication::Entity::sdata; in setEntity()
|
| H A D | SGMLApplication.cxx | 45 void SGMLApplication::sdata(const SdataEvent &) in sdata() function in SGMLApplication
|
| /onnv-gate/usr/src/cmd/dis/ |
| H A D | dis_target.c | 612 dis_scn_t sdata; in dis_tgt_section_iter() local 619 if (gelf_getshdr(scn, &sdata.ds_shdr) == NULL) { in dis_tgt_section_iter() 625 if ((sdata.ds_name = elf_strptr(tgt->dt_elf, tgt->dt_shstrndx, in dis_tgt_section_iter() 626 sdata.ds_shdr.sh_name)) == NULL) { in dis_tgt_section_iter() 632 if ((sdata.ds_data = elf_getdata(scn, NULL)) == NULL) { in dis_tgt_section_iter() 634 tgt->dt_filename, sdata.ds_name); in dis_tgt_section_iter() 638 func(tgt, &sdata, data); in dis_tgt_section_iter()
|
| /onnv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
| H A D | dr.c | 205 char *sdata; in add_devinfo_props() local 208 len = di_prop_strings(di_prop, &sdata); in add_devinfo_props() 216 strlen(sdata) + 1, di_val, in add_devinfo_props() 219 &propinfo, sdata, NULL); in add_devinfo_props() 222 sdata, len); in add_devinfo_props()
|
| /onnv-gate/usr/src/uts/common/avs/ns/unistat/ |
| H A D | spcs_s_k.c | 239 (void) strcpy(&(p->sdata[p->scount]), string); in add_item() 398 sizeof (kstatus->sdata) + sizeof (kstatus->tdata)), mode); in scopyout() 401 (void) ddi_copyout((void *)kstatus->sdata, (void *) ustatus->sdata, in scopyout() 402 (kstatus->scount * sizeof (kstatus->sdata[0])), mode); in scopyout() 864 (char *)(p->sdata + in spcs_s_asynch_status()
|
| H A D | spcs_s_impl.h | 248 char sdata[SPCS_S_SDSIZE]; /* the supplemental string data pool. */ member
|
| /onnv-gate/usr/src/tools/ctf/cvt/ |
| H A D | output.c | 454 Elf_Data *sdata, *ddata; in write_file() local 570 if ((sdata = elf_getdata(sscn, NULL)) == NULL) in write_file() 574 bcopy(sdata, ddata, sizeof (Elf_Data)); in write_file() 581 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size); in write_file() 598 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size); in write_file()
|
| /onnv-gate/usr/src/cmd/man/src/util/ |
| H A D | sgml2roff.sh | 90 -c$TPTFILES/roff.cmap -s$TPTFILES/roff.sdata -t$TPTFILES/docbook-to-man.ts
|
| H A D | Makefile | 76 roff.sdata
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/generic/ |
| H A D | SGMLApplication.h | 56 enum DataType { sgml, cdata, sdata, ndata, subdoc, pi }; enumerator 280 virtual void sdata(const SdataEvent &);
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/nsgmls/ |
| H A D | SgmlsEventHandler.cxx | 307 case TextItem::sdata: in attributes() 394 case Entity::sdata: in defineEntity() 422 case Entity::sdata: in defineExternalDataEntity() 455 case Entity::sdata: in defineInternalEntity()
|
| /onnv-gate/usr/src/cmd/man/src/util/instant.src/ |
| H A D | util.c | 608 char c, *sdata, *cp; in OutputString() local 647 sdata = s; in OutputString() 660 cp = LookupSDATA(sdata); in OutputString() 666 fputs(sdata, fp); in OutputString()
|
| /onnv-gate/usr/src/cmd/pools/poolstat/ |
| H A D | sa_kstat.c | 51 typedef struct sdata { struct 56 struct sdata *sd_next; argument
|
| /onnv-gate/usr/src/cmd/picl/plugins/common/devtree/ |
| H A D | picldevtree.c | 995 char *sdata, int len) in add_strings_prop() argument 999 PICL_PTYPE_CHARSTRING, PICL_READ, strlen(sdata) + 1, di_val, in add_strings_prop() 1001 (void) ptree_create_and_add_prop(nodeh, &propinfo, sdata, NULL); in add_strings_prop() 1003 (void) add_string_list_prop(nodeh, di_val, sdata, len); in add_strings_prop() 1131 char *sdata; in add_di_path_prop() local 1151 len = di_path_prop_strings(di_path_prop, &sdata); in add_di_path_prop() 1154 add_strings_prop(nodeh, propinfo, di_val, sdata, len); in add_di_path_prop() 1166 len = di_path_prop_strings(di_path_prop, &sdata); in add_di_path_prop() 1167 if ((len > 0) && (sdata[0] != 0)) { in add_di_path_prop() 1168 add_strings_prop(nodeh, propinfo, di_val, sdata, in add_di_path_prop() [all …]
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/ |
| H A D | EntityDecl.h | 26 enum DataType { sgmlText, pi, cdata, sdata, ndata, subdoc }; enumerator
|
| /onnv-gate/usr/src/lib/libunistat/common/ |
| H A D | spcs_s_u.c | 162 sp[s] = (char *)(p->sdata + p->idata[idx+s].su.offset); in spcs_s_string()
|
| /onnv-gate/usr/src/cmd/fs.d/cachefs/cfsd/ |
| H A D | cfsd_kmod.h | 110 void *sdata, int slen, void *rdata, int rlen);
|