Searched refs:avail (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_004_pos.ksh74 typeset -i avail
75 avail=$(get_prop avail $subfs)
76 log_must zfs set refreservation=$avail $subfs
79 log_must mkfile $avail $mntpnt/$TESTFILE
82 ((exceed = avail + 1))
84 log_mustnot mkfile $avail $mntpnt/$TESTFILE
H A Drefreserv_005_pos.ksh63 avail=$(get_prop mountpoint $vol)
64 log_mustnot zfs set refreservation=$avail $vol
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_stats.c84 unsigned int avail)
92 RDSV3_DPRINTF4("rdsv3_ib_stats_info_copy", "iter: %p, avail: %d",
93 iter, avail);
95 if (avail < ARRAY_SIZE(rdsv3_ib_stat_names))
109 "Return: iter: %p, avail: %d", iter, avail);
83 rdsv3_ib_stats_info_copy(struct rdsv3_info_iterator *iter, unsigned int avail) argument
H A Dstats.c125 unsigned int avail; local
127 avail = len / sizeof (struct rds_info_counter);
129 if (avail < ARRAY_SIZE(rdsv3_stat_names)) {
130 avail = 0;
147 avail -= ARRAY_SIZE(rdsv3_stat_names);
151 lens->nr = rdsv3_trans_stats_info_copy(iter, avail) +
H A Dtransport.c134 unsigned int avail)
148 part = trans->stats_info_copy(iter, avail);
149 avail -= min(avail, part);
133 rdsv3_trans_stats_info_copy(struct rdsv3_info_iterator *iter, unsigned int avail) argument
H A Dib_ring.c114 uint32_t ret = 0, avail; local
116 avail = ring->w_nr - __rdsv3_ib_ring_used(ring);
120 ring->w_alloc_ptr, avail);
122 if (val && avail) {
123 ret = min(val, avail);
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c142 unsigned int avail; local
165 dst = get_output_chunk(cons, prod, (char *)intf->req, &avail);
166 if (avail == 0)
168 if (avail > len)
169 avail = len;
171 (void) memcpy(dst, data, avail);
172 data = (void *)((uintptr_t)data + avail);
173 len -= avail;
177 intf->req_prod += avail;
195 unsigned int avail; local
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dsvc-power40 avail=0 # Free blocks in current filesystem
51 while read device kbytes used avail capacity filesys; do
54 if [ $avail -gt $max_avail ]; then
55 max_avail=$avail
/illumos-gate/usr/src/cmd/look/
H A Dlook.c159 int avail = WORDSIZE - 1; local
161 while(avail--) {
179 int avail = WORDSIZE - 1; local
196 avail--;
197 if (avail <= 0) {
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/
H A Dcompress_004_pos.ksh84 typeset -i avail=0
115 avail=$(get_prop available $fs)
116 (( blknum = avail / blksize ))
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.h52 extern int fpc_platform_node_init(dev_info_t *dip, int *avail);
/illumos-gate/usr/src/uts/sun4/sys/
H A Dmemlist_plat.h55 extern pgcnt_t size_virtalloc(prom_memlist_t *avail, size_t size);
/illumos-gate/usr/src/test/zfs-tests/tests/perf/regression/
H A Drandom_readwrite.ksh52 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Drandom_writes_zil.ksh39 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Drandom_reads.ksh52 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Drandom_readwrite_fixed.ksh41 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Drandom_writes.ksh51 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Dsequential_reads.ksh52 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
H A Dsequential_writes.ksh51 export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c54 char used[6], avail[6]; local
61 "used avail read write read write read write cksum\n");
86 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail));
103 vs->vs_space ? 6 : 0, vs->vs_space ? avail : "",
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c77 static void warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail,
129 warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail, fsblkcnt_t limit) argument
133 logerr(gettext(WRN_NOBLKS), name, avail, (need + limit), limit, local
134 (need + limit - avail));
136 logerr(gettext(WRN_NOFILES), name, avail, (need + limit), limit, local
137 (need + limit - avail));
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c183 mac_ndd_get_ioctl(mac_impl_t *mip, mblk_t *mp, int avail, int *rval) argument
197 if (mp->b_cont == NULL || avail < 2)
200 mp1 = allocb(avail, BPRI_HI); /* the returned buffer */
213 if (size_out > avail) {
221 excess = size_out - avail;
293 (void) snprintf(valp, avail, "%d", new_value);
303 MAC_PROP_PRIVATE, avail - 2, mp1->b_rptr);
308 size_out += strnlen((const char *)mp1->b_rptr, avail);
327 mac_ndd_set_ioctl(mac_impl_t *mip, mblk_t *mp, int avail, int *rval) argument
340 if (avail
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_output.c224 uint_t avail; local
239 avail = sp->s_head - sp->s_tail;
242 count = min(avail, fragfr);
265 count = min(avail, fragfr);
289 int avail; local
314 if ((avail = sp->s_cnv_cnt) == 0) {
317 avail = sp->s_cnv_cnt;
325 used = min(avail, need);
351 } while (need && avail);
353 if (avail
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c86 umastat_cpu_avail(uintptr_t addr, const umem_cpu_cache_t *ccp, int *avail) argument
89 *avail += ccp->cc_rounds;
91 *avail += ccp->cc_prounds;
107 umastat_slab_avail(uintptr_t addr, const umem_slab_t *sp, int *avail) argument
109 *avail += sp->slab_chunks - sp->slab_refcnt;
221 int avail, alloc, total, nptc = 0; local
232 avail = cp->cache_full.ml_total * magsize;
236 (void) mdb_pwalk("umem_cpu_cache", cpu_avail, &avail, addr);
237 (void) mdb_pwalk("umem_slab_partial", slab_avail, &avail, addr);
270 mdb_printf((dfp++)->fmt, total - avail);
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c113 UINT32 avail, max; local
121 TSS_TPMCAP_PROP_CONTEXTS, &avail, sizeof (avail)))
123 (void) printf(gettext("\tContexts: %d/%d available\n"), avail, max);
129 TSS_TPMCAP_PROP_SESSIONS, &avail, sizeof (avail)))
131 (void) printf(gettext("\tSessions: %d/%d available\n"), avail, max);
137 TSS_TPMCAP_PROP_AUTHSESSIONS, &avail, sizeof (avail)))
140 avail, ma
[all...]

Completed in 187 milliseconds

12345