Home
last modified time | relevance | path

Searched refs:asz (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c464 #define CMI_PCII_MATCH(ent, b, d, f, r, asz) \ argument
467 (ent)->pcii_asize == (asz))
488 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz)) in pcii_addent()
500 hep->pcii_asize = asz; in pcii_addent()
530 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz)) { in pcii_lookup()
542 pcii_rment(int bus, int dev, int func, int reg, int asz) in pcii_rment() argument
551 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz)) { in pcii_rment()
1901 pcii_lookup(bus, dev, func, reg, asz, &val)) { in cmi_pci_get_cmn()
1912 switch (asz) { in cmi_pci_get_cmn()
1988 pcii_rment(bus, dev, func, reg, asz); in cmi_pci_put_cmn()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Devchannels.c1930 size_t asz = 0; in sysevent_evc_publish() local
1950 if ((err = nvlist_size(attr, &asz, NV_ENCODE_NATIVE)) != 0) { in sysevent_evc_publish()
1954 evp = sysevent_evc_alloc(class, subclass, pub, pub_sz, asz, km_flags); in sysevent_evc_publish()
1966 err = nvlist_pack(attr, &patt, &asz, NV_ENCODE_NATIVE, in sysevent_evc_publish()
2094 size_t asz; in sysevent_evc_event_attr() local
2098 asz = *plsize = SE_SIZE(ev) - aoff; in sysevent_evc_event_attr()
2099 return (asz ? attrp : NULL); in sysevent_evc_event_attr()
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c478 callback(void *cookie, char *argp, size_t asz, door_desc_t *dp, uint_t ndesc) in callback() argument
483 if (asz < sizeof (pfexec_arg_t) || pap->pfa_vers != PFEXEC_ARG_VERS) { in callback()
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.c1252 size_t asz; /* length of the replacement */ in roff_expand() local
1562 asz = 0; in roff_expand()
1565 asz++; /* blank */ in roff_expand()
1567 asz += 2; /* quotes */ in roff_expand()
1568 asz += strlen(ctx->argv[npos]); in roff_expand()
1570 if (asz != 3) { in roff_expand()
1572 if (asz < 3) in roff_expand()
1573 memmove(stesc + asz, stesc + 3, rsz); in roff_expand()
1574 buf->sz += asz - 3; in roff_expand()
1579 if (asz > 3) in roff_expand()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c490 pkg_door_srv(void *cookie, char *argp, size_t asz, door_desc_t *dp, in pkg_door_srv() argument
503 if (asz < sizeof (pkgcmd_t)) { in pkg_door_srv()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c1160 size_t asz, bsz; in type_equals() local
1170 (asz = mdb_ctf_type_size(a)) == -1UL || in type_equals()
1174 asz != bsz || akind != bkind) { in type_equals()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c1793 uint32_t sz, minsz, xd_sz, asz; in stmf_ic_rx_scsi_data() local
1839 asz = xd_sz + sizeof (*xd) - 4; in stmf_ic_rx_scsi_data()
1840 xd = (stmf_xfer_data_t *)kmem_zalloc(asz, KM_NOSLEEP); in stmf_ic_rx_scsi_data()
1848 xd->alloc_size = asz; in stmf_ic_rx_scsi_data()
5927 uint32_t sz, asz, nports = 0, nports_standby = 0; in stmf_prepare_tpgs_data() local
5971 asz = sizeof (*xd) + sz - 4; in stmf_prepare_tpgs_data()
5972 xd = (stmf_xfer_data_t *)kmem_zalloc(asz, KM_NOSLEEP); in stmf_prepare_tpgs_data()
5977 xd->alloc_size = asz; in stmf_prepare_tpgs_data()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c2279 int asz; in sbd_import_lu() local
2339 asz = strlen(ilu->ilu_meta_fname) + 1; in sbd_import_lu()
2342 sizeof (sbd_lu_t) + sizeof (sbd_pgr_t) + asz, 0); in sbd_import_lu()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c8759 int asz; in read_xattr_hdr() local
8834 asz = strlen(xattrapath); in read_xattr_hdr()
8835 if ((asz + parentfilelen + 2) < namelen) { in read_xattr_hdr()
8845 xattrapath[asz] = '/'; in read_xattr_hdr()