Home
last modified time | relevance | path

Searched refs:wsize (Results 1 – 25 of 32) sorted by relevance

12

/titanic_41/usr/src/cmd/fs.d/cachefs/fsck/
H A Ddlog_ck.c264 int fd, rc, wsize; in create_mapfile() local
273 wsize = (size > sizeof (buffy)) ? sizeof (buffy) : size; in create_mapfile()
274 if (write(fd, buffy, wsize) != wsize) { in create_mapfile()
280 size -= wsize; in create_mapfile()
/titanic_41/usr/src/uts/common/zmod/
H A Dinflate.c125 state->wsize = 0;
348 if (state->wsize == 0) {
349 state->wsize = 1U << state->wbits;
356 if (copy >= state->wsize) {
357 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize);
359 state->whave = state->wsize;
362 dist = state->wsize - state->write;
369 state->whave = state->wsize;
373 if (state->write == state->wsize) state->write = 0;
374 if (state->whave < state->wsize) state->whave += dist;
[all …]
H A Dinffast.c82 unsigned wsize; /* window size or zero if not using window */ local
109 wsize = state->wsize;
198 from += wsize - op;
208 from += wsize + write - op;
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 : NIL);
1320 n = wsize;
1325 *p = (Pos)(m >= wsize ? m-wsize : NIL);
[all …]
H A Dinflate.h91 unsigned wsize; /* window size or zero if not using window */ member
/titanic_41/usr/src/cmd/refer/
H A Drefer7.c105 int wsize = 50; in recopy() local
110 wref = (int *)calloc((unsigned)wsize, (unsigned)sizeof (int)); in recopy()
132 if ((++wcnt > wsize) && ((wref = realloc(wref, in recopy()
133 (wsize += 50) * sizeof (int))) == NULL)) { in recopy()
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c80 int wsize; /* write size in bytes */ member
148 na->wsize = nfsa->wsize; in mount()
/titanic_41/usr/src/uts/common/nfs/
H A Dmount.h75 int wsize; /* write size in bytes */ member
111 int32_t wsize; /* write size in bytes */ member
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c189 read_device_wwn(scsi_link_t *slink, char *wwnp, int wsize) in read_device_wwn() argument
198 (void) memset(wwnp, 0, wsize); in read_device_wwn()
230 snprintf_wwn(wwnp, wsize, designator_data); in read_device_wwn()
249 (void) snprintf(wwnp, wsize, "%.*s", in read_device_wwn()
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c556 unsigned int wsize; in nfslog_rewrite_bufheader() local
600 wsize = xdr_getpos(&xdrs); in nfslog_rewrite_bufheader()
605 (void) write(lbp->fd, buffer, wsize); in nfslog_rewrite_bufheader()
609 bcopy(buffer, (void *)lbp->mmap_addr, wsize); in nfslog_rewrite_bufheader()
610 (void) msync((void *)lbp->mmap_addr, wsize, MS_SYNC); in nfslog_rewrite_bufheader()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.h54 extern int _sd_cache_sizes(int *asize, int *wsize);
H A Dsd_misc.c1317 _sd_cache_sizes(int *asize, int *wsize) in _sd_cache_sizes() argument
1322 *wsize = 0; in _sd_cache_sizes()
1331 *wsize += (safestore_config.ssc_wsize); in _sd_cache_sizes()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dmount.h77 int wsize; /* write size in bytes */ member
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_common.c156 if (STRUCT_FGET(args, wsize) <= 0) in nfs4_setopts()
158 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs4_setopts()
H A Dnfs_common.c523 if (STRUCT_FGET(args, wsize) <= 0) in nfs_setopts()
525 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs_setopts()
H A Dnfs_vfsops.c285 nargs->wsize = STRUCT_FGET(args, wsize); in nfs_copyin()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_parse.c1318 parse_nfs(mapname, me, fsw, fswq, lp, lq, wsize) in parse_nfs() argument
1321 int wsize;
1346 if (getword(w, wq, lp, lq, ' ', wsize) == -1)
1536 if (getword(w, wq, lp, lq, ' ', wsize) == -1)
1551 parse_special(me, w, wq, lp, lq, wsize) in parse_special() argument
1554 int wsize;
1591 if (getword(w, wq, lp, lq, ' ', wsize) == -1)
/titanic_41/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;
1758 s->block_start -= (long)wsize;
1774 *p = (Pos)(m >= wsize ? m-wsize : NIL);
1777 n = wsize;
[all …]
/titanic_41/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 : NIL);
1154 n = wsize;
[all …]
/titanic_41/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_cache.c435 nsc_cache_sizes(int *asize, int *wsize) in nsc_cache_sizes() argument
437 return (_nsc_call_io(_I(sizes), (blind_t)asize, (blind_t)wsize, 0)); in nsc_cache_sizes()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c2328 nsc_size_t wsize; in rdc_writemaxfba() local
2388 wsize = min((nsc_size_t)len, mfba); in rdc_writemaxfba()
2390 vector[0].sv_len = FBA_SIZE(wsize); in rdc_writemaxfba()
2396 ret = nsc_alloc_buf(RDC_U_FD(krdc), pos, wsize, in rdc_writemaxfba()
2403 ret, pos, wsize); in rdc_writemaxfba()
2413 "length %" NSC_SZFMT, ret, pos, wsize); in rdc_writemaxfba()
2417 pos += wsize; in rdc_writemaxfba()
2418 len -= wsize; in rdc_writemaxfba()
2419 daddr += FBA_SIZE(wsize); in rdc_writemaxfba()
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c3348 int wsize; in wtfs_breakup() local
3352 wsize = size; in wtfs_breakup()
3354 wsize = sbsize; in wtfs_breakup()
3372 n = write(fso, bf, wsize); in wtfs_breakup()
3380 if (n != wsize) { in wtfs_breakup()
3389 bf += wsize; in wtfs_breakup()
3390 size -= wsize; in wtfs_breakup()
3391 if (size < wsize) in wtfs_breakup()
3392 wsize = size; in wtfs_breakup()
/titanic_41/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c1074 if (convert_int(&args->wsize, val) != 0) in set_args()
2559 if (args->wsize == 0 || args->wsize > tinfo.tsdu - NFS_RPC_HDR) in getaddr_nfs()
2560 args->wsize = tinfo.tsdu - NFS_RPC_HDR; in getaddr_nfs()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c2182 int fldsize, wsize = ed_window(); in sh_menu() local
2199 if(i < wsize) in sh_menu()
2200 ncol = wsize/i; in sh_menu()
2211 fldsize = (wsize/ncol)-(ndigits+LBLSIZ); in sh_menu()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c4286 uint64_t txg, object, count, wsize, wc, zl_wsize, zl_wc; in ztest_zap_parallel() local
4315 wsize = sizeof (txg); in ztest_zap_parallel()
4319 wsize = 1; in ztest_zap_parallel()
4351 ASSERT3U(wsize, ==, zl_wsize); in ztest_zap_parallel()
4359 error = zap_lookup(os, object, name, wsize, wc, data); in ztest_zap_parallel()
4371 error = zap_add(os, object, name, wsize, wc, data, tx); in ztest_zap_parallel()
4376 VERIFY(zap_update(os, object, name, wsize, wc, data, tx) == 0); in ztest_zap_parallel()

12