Searched defs:wsize (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/boot/lib/libc/string/
H A Dbcopy.c47 #define wsize sizeof(word) macro
48 #define wmask (wsize - 1)
95 if ((t ^ (uintptr_t)dst) & wmask || length < wsize)
98 t = wsize - (t & wmask);
105 t = length / wsize;
106 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
113 * (t&wmask) bytes to align, not wsize-(t&wmask).
119 if ((t ^ (uintptr_t)dst) & wmask || length <= wsize)
126 t = length / wsize;
[all...]
H A Dmemset.c43 #define wsize sizeof(u_int) macro
44 #define wmask (wsize - 1)
86 if (length < 3 * wsize) {
107 t = wsize - t;
115 t = length / wsize;
118 dst += wsize;
/illumos-gate/usr/src/cmd/refer/
H A Drefer7.c105 int wsize = 50; local
110 wref = (int *)calloc((unsigned)wsize, (unsigned)sizeof (int));
132 if ((++wcnt > wsize) && ((wref = realloc(wref,
133 (wsize += 50) * sizeof (int))) == NULL)) {
/illumos-gate/usr/src/uts/common/zmod/
H A Dinffast.c82 unsigned wsize; /* window size or zero if not using window */ local
85 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
109 wsize = state->wsize;
198 from += wsize - op;
208 from += wsize + write - op;
H A Dinflate.h91 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
H A Ddeflate.c1278 uInt wsize = s->w_size; local
1286 more = wsize;
1299 if (s->strstart >= wsize+MAX_DIST(s)) {
1301 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1302 s->match_start -= wsize;
1303 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1304 s->block_start -= (long) wsize;
1317 *p = (Pos)(m >= wsize ? m-wsize
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A Dinffast.c80 unsigned wsize; /* window size or zero if not using window */ local
83 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
107 wsize = state->wsize;
218 from += wsize - op;
228 from += wsize + wnext - op;
H A Dinflate.h93 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
H A Ddeflate.c1396 uInt wsize = s->w_size; local
1406 more = wsize;
1419 if (s->strstart >= wsize+MAX_DIST(s)) {
1421 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1422 s->match_start -= wsize;
1423 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1424 s->block_start -= (long) wsize;
1436 *p = (Pos)(m >= wsize ? m-wsize
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dmount.h77 int wsize; /* write size in bytes */ member in struct:nfs_args
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c80 int wsize; /* write size in bytes */ member in struct:nfsarg
148 na->wsize = nfsa->wsize;
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c556 unsigned int wsize; local
600 wsize = xdr_getpos(&xdrs);
605 (void) write(lbp->fd, buffer, wsize);
609 bcopy(buffer, (void *)lbp->mmap_addr, wsize); local
610 (void) msync((void *)lbp->mmap_addr, wsize, MS_SYNC);
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_cache.c435 nsc_cache_sizes(int *asize, int *wsize) argument
437 return (_nsc_call_io(_I(sizes), (blind_t)asize, (blind_t)wsize, 0));
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c189 read_device_wwn(scsi_link_t *slink, char *wwnp, int wsize) argument
198 (void) memset(wwnp, 0, wsize);
230 snprintf_wwn(wwnp, wsize, designator_data);
249 (void) snprintf(wwnp, wsize, "%.*s",
/illumos-gate/usr/src/uts/common/nfs/
H A Dmount.h75 int wsize; /* write size in bytes */ member in struct:nfs_args
111 int32_t wsize; /* write size in bytes */ member in struct:nfs_args32
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c1317 _sd_cache_sizes(int *asize, int *wsize) argument
1322 *wsize = 0;
1331 *wsize += (safestore_config.ssc_wsize);
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c2328 nsc_size_t wsize; local
2388 wsize = min((nsc_size_t)len, mfba);
2390 vector[0].sv_len = FBA_SIZE(wsize);
2396 ret = nsc_alloc_buf(RDC_U_FD(krdc), pos, wsize,
2403 ret, pos, wsize);
2413 "length %" NSC_SZFMT, ret, pos, wsize);
2417 pos += wsize;
2418 len -= wsize;
2419 daddr += FBA_SIZE(wsize);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c2182 int fldsize, wsize = ed_window(); local
2199 if(i < wsize)
2200 ncol = wsize/i;
2211 fldsize = (wsize/ncol)-(ndigits+LBLSIZ);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c548 uint32_t wsize; local
570 wsize = (bsize > 4) ? (bsize >> 2) : 1;
579 for (i = 0; i < wsize; i++) {
585 offset += (wsize << 2);
591 if (wsize < DMP_VPD_DUMP_WCOUNT) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c1115 uInt wsize = s->w_size; local
1122 more = wsize;
1132 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1137 zmemcpy((charf *)s->window, (charf *)s->window+wsize,
1138 (unsigned)wsize);
1139 s->match_start -= wsize;
1140 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1142 s->block_start -= (long) wsize;
1151 *p = (Pos)(m >= wsize ? m-wsize
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c3348 int wsize; local
3352 wsize = size;
3354 wsize = sbsize;
3372 n = write(fso, bf, wsize);
3380 if (n != wsize) {
3389 bf += wsize;
3390 size -= wsize;
3391 if (size < wsize)
3392 wsize = size;
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c1574 int asize = 0, wsize; local
1577 (void) nsc_cache_sizes(&asize, &wsize);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c1727 uInt wsize = s->w_size; local
1735 more = wsize;
1751 } else if (s->strstart >= wsize+MAX_DIST(s)) {
1753 Assert(wsize+wsize <= s->window_size, "wsize*2");
1754 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1755 s->match_start -= wsize;
1757 s->strstart -= wsize;
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c4297 uint64_t txg, object, count, wsize, wc, zl_wsize, zl_wc; local
4326 wsize = sizeof (txg);
4330 wsize = 1;
4362 ASSERT3U(wsize, ==, zl_wsize);
4370 error = zap_lookup(os, object, name, wsize, wc, data);
4382 error = zap_add(os, object, name, wsize, wc, data, tx);
4387 VERIFY(zap_update(os, object, name, wsize, wc, data, tx) == 0);

Completed in 148 milliseconds