Searched defs:sz (Results 201 - 225 of 529) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c453 arraysize(char *sz, declaration *dc, int elsize) argument
473 if (sz != NULL) {
475 slen = strlen(sz);
489 tmp = realloc(sz, tlen);
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_response.c128 size_t sz = sizeof (struct smf_uuid_cache) + local
131 fmd_buf_write(hdl, NULL, UUID_CACHE_BUFNAME, uuid_cache, sz);
191 size_t sz = fmd_buf_size(hdl, NULL, UUID_CACHE_BUFNAME); local
193 if (sz == 0)
196 uuid_cache = fmd_hdl_alloc(hdl, sz, FMD_SLEEP);
197 fmd_buf_read(hdl, NULL, UUID_CACHE_BUFNAME, uuid_cache, sz);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c667 int sz; local
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c344 check_string(uintptr_t loc, uint32_t len, uint32_t sz) argument
348 if (len == 0 || len > sz || ptr[len - 1] != 0 || strlen(ptr) != len - 1)
362 uint32_t sz, len; local
373 sz = cmds->rptc_size;
376 sz -= REP_PROTOCOL_TRANSACTION_CMD_MIN_SIZE;
379 if (len <= 1 || !check_string(loc, len, sz)) {
386 sz -= len;
391 while (sz > 0) {
392 if (sz < sizeof (uint32_t))
399 sz
463 uint32_t sz; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_log.c143 int sz = sizeof (logr_pri_names) / sizeof (logr_pri_names[0]); local
151 for (i = 0; i < sz; i++) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c654 int sz; local
696 sz = MIN((quri->path.ep - quri->path.cp), MAX_URL_LEN);
697 if ((wp + sz + 1) >= pep) goto full;
698 bcopy(quri->path.cp, wp, sz);
699 wp += sz;
701 sz++;
702 req->request_url_len = sz;
704 off += sz;
736 sz = pep - wp;
737 bzero(wp, sz);
[all...]
H A Dnl7curi.h114 size_t sz; /* Size of data */ member in struct:uri_rd_s
186 (rdp)->sz = size; \
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c202 uint32_t blkno, sz; local
525 &blkno, &sz, 1, 0)) != 0) {
528 ip->i_lbr += sz;
529 if (sz == 0) {
534 error = ud_zero_it(ip, blkno, sz);
537 acount = sz << l2b;
552 if (sz == blkcount) {
572 if (sz < blkcount) {
574 ip, i, sz << l2b)) != 0) {
1016 uint32_t blkno, sz; local
1098 uint32_t blkno, sz, prox, mext_sz; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_ibt.c312 uint_t sz; local
332 ret = ibt_alloc_cq(info->ti_hca, &cq_attr, &info->ti_cq_hdl, &sz);
342 info->ti_cq_sz = sz;
343 info->ti_wc = kmem_zalloc(sizeof (ibt_wc_t) * sz, KM_SLEEP);
/illumos-gate/usr/src/uts/common/os/
H A Dkiconv.c198 int8_t sz; local
247 sz = u8_number_of_bytes[*ib];
248 if (sz <= 0) {
275 if (sz == 1) {
284 if ((ibtail - ib) < sz) {
298 for (i = 1; i < sz; i++) {
370 int8_t sz; local
415 sz = u8_number_of_bytes[to_u8_tbl[(ulong_t)kcd][k].u8[0]];
418 * If sz <= 0, that means we don't have any assigned character
423 if (sz <
466 int8_t sz; local
646 int8_t sz; local
[all...]
H A Dpg.c797 int i, sz; local
802 sz = GROUP_SIZE(grp);
803 for (i = 0; i < sz; i++) {
818 int i, sz; local
823 sz = GROUP_SIZE(grp);
824 for (i = 0; i < sz; i++) {
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc_v4l2.c758 uint32_t w, h, diff, sz, i; local
774 sz = min(w, width) * min(h, height);
775 sz = (w * h + width * height - sz * 2);
776 if (sz < diff) {
778 diff = sz;
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_sc.c125 int8_t sz; local
193 sz = gbk_to_utf8(gb_val, ob, obtail, &ret_val, isgbk4);
194 if (sz < 0) {
199 ob += sz;
223 int8_t sz; local
293 sz = gbk_to_utf8(gb_val, ob, obtail, &ret_val, isgbk4);
294 if (sz < 0) {
299 ob += sz;
355 int8_t sz; local
411 sz
442 int8_t sz; local
543 int8_t sz; local
627 int8_t sz; local
701 int8_t sz; local
744 int8_t sz; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_rxdring.c964 uint_t sz = 0; local
1003 sz += mblk_sz;
1007 if (sz >= bytes_to_pickup) {
1031 DTRACE_PROBE2(vgen_poll_bytes, vgen_ldc_t *, ldcp, uint_t, sz);
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c196 uint32_t sz = pcmu_rp->pci_size_low; local
204 sz = sz ? MIN(sz, PCI_CONF_HDR_SIZE) : PCI_CONF_HDR_SIZE;
207 reg_end = reg_begin + sz - 1;
229 new_rp->regspec_size = sz;
232 n, new_rp->regspec_bustype, new_rp->regspec_addr, sz);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nlm.c314 #define roundup(sz) ((sz / 4 + (sz % 4 > 0)) * 4)
324 int sz = getxdr_u_long(); local
326 xdr_skip(roundup(sz));
333 int i, l, sz; local
337 sz = getxdr_u_long();
338 for (i = 0; i < sz; i += 4) {
350 int sz, chunk; local
355 sz
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c59 make_lower(char *out, size_t sz) argument
61 while (*out != 0 && sz > 0) {
65 sz--;
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfmal.c97 int hx, hy, hz, ex, ey, ez, exy, sxy, sz, e, ibit; local
448 sz = zz.i[0] & 0x80000000;
495 e = sxy; sxy = sz; sz = e;
593 if (sxy ^ sz) {
765 if (sz)
789 zz.i[0] = sz | 0x7fff0000;
792 zz.i[0] = sz | 0x7ffeffff;
797 zz.i[0] = sz | (ez << 16) | z0;
882 int ex, ey, ez, exy, sxy, sz, local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pvn.c1114 size_t sz, xlen; local
1131 sz = (pl != NULL) ? PAGESIZE : 0;
1141 sz = plsz - (o - off);
1143 err = (*getpage)(vp, o, xlen, protp, ppp, sz, seg, addr,
1169 ssize_t sz; local
1192 sz = plsz;
1205 sz -= PAGESIZE;
1206 } while (sz > 0 && pp != NULL);
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dsimulator.c79 int sz, nf = 0, ltlend = 0; local
118 case 0: sz = 4;
122 sz = 4; /* ldfsr/stfsr */
124 sz = 8; /* ldxfsr/stxfsr */
128 case 2: sz = 16;
130 case 3: sz = 8;
137 if ((sz > 4) && (fsrflg == 0)) {
141 if ((sz == 16) && ((rd & 0x1) != 0))
151 sz = 4; break;
156 sz
1317 int sz; local
1423 int sz = 0; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c409 size_t sz; local
437 if (nvlist_size(attr, &sz, NV_ENCODE_NATIVE) != 0) {
442 cdp = fmd_hdl_zalloc(hdl, sizeof (*cdp) + sz, FMD_SLEEP);
446 cdp->scd_nvlbufsz = sz;
453 cdp, sizeof (*cdp) + sz)) == NULL) {
456 fmd_hdl_free(hdl, cdp, sizeof (*cdp) + sz);
476 (void) nvlist_pack(attr, &fmribuf, &sz, NV_ENCODE_NATIVE, 0);
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c368 size_t sz; local
387 sz = strlcat(buf, pathp, bufsize);
388 assert(sz < bufsize);
402 sz = strlcat(buf, sibuf, bufsize);
403 assert(sz < bufsize);
413 sz = strlcat(buf, pathp, bufsize);
414 assert(sz < bufsize);
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c168 size_t sz; local
190 sz = PRIV_PRPRIV_SIZE(ppriv);
197 if ((sz & 3) || ppriv->pr_nsets == 0 ||
198 sz / ppriv->pr_nsets < ppriv->pr_setsize ||
199 ppriv->pr_infosize > sz || sz > 1024 * 1024) {
202 command, arg, (long)sz);
233 x = (char *)ppriv + sz - ppriv->pr_infosize;
234 while (x < (char *)ppriv + sz) {
494 int sz local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c87 size_t sz; local
92 sz = sizeof (acpidev_phys_spec_t) *
94 kmem_free(rhdl->acpidev_regp, sz);
97 sz = sizeof (acpidev_ranges_t) *
99 kmem_free(rhdl->acpidev_rangep, sz);
102 sz = sizeof (acpidev_bus_range_t) *
104 kmem_free(rhdl->acpidev_busp, sz);
113 size_t sz; local
120 sz = sizeof (*regp) * rhdl->acpidev_reg_max;
121 regp = kmem_zalloc(sz, KM_SLEE
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmmd.c168 uint_t i = 0, j = 0, k = 0, sz = 0; local
182 sz = MBLKL(&mp);
185 k += sz; /* total bytes */
189 mdb_printf("Header:\t\t\t%-4d% buffer,\t%-12d bytes\n", i, sz);
191 for (i = 0, sz = 0; i < mmd->mmd_pbuf_cnt; i++) {
198 sz += MBLKL(&mp);
201 k += sz; /* total bytes */
204 mdb_printf("%<u>Payload:\t\t%-4d buffers,\t%-12d bytes%</u>\n", i, sz);
498 uint_t sz, uint_t ql_off)
510 qwp->qw_data = sz >
497 mmdq_walk_init(mdb_walk_state_t *wsp, char *name, uintptr_t qh, uint_t sz, uint_t ql_off) argument
[all...]

Completed in 128 milliseconds

1234567891011>>