/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_004_pos.ksh | 74 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 D | refreserv_005_pos.ksh | 63 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 D | ib_stats.c | 84 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 D | stats.c | 125 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 D | transport.c | 134 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 D | ib_ring.c | 114 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 D | xenbus_comms.c | 142 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 D | svc-power | 40 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 D | look.c | 161 int avail = WORDSIZE - 1; local 163 while(avail--) { 181 int avail = WORDSIZE - 1; local 198 avail--; 199 if (avail <= 0) {
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/ |
H A D | compress_004_pos.ksh | 84 typeset -i avail=0 115 avail=$(get_prop available $fs) 116 (( blknum = avail / blksize ))
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 74 dlist_t **avail); 87 dlist_t **avail, 414 dlist_t *avail = NULL; /* available slices */ local 415 dlist_t *slices = NULL; /* avail slices of sufficient size */ 424 (error = disks_get_avail_slices(request, disks, &avail)) || 429 dlist_free_items(avail, NULL); 438 dlist_free_items(avail, NULL); 442 if (avail == NULL || dlist_length(avail) == 0) { 458 (error = remove_undersized_slices(unique, &avail)); 681 remove_undersized_slices( dlist_t *unique, dlist_t **avail) argument 853 choose_spare_for_component( devconfig_t *component, dlist_t **all_spares, dlist_t **new_spares, dlist_t **avail, dlist_t *used_hbas, dlist_t *used_disks, uint16_t npaths) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-impl.h | 52 extern int fpc_platform_node_init(dev_info_t *dip, int *avail);
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | memlist_plat.h | 55 extern pgcnt_t size_virtalloc(prom_memlist_t *avail, size_t size);
|
/illumos-gate/usr/src/test/zfs-tests/tests/perf/regression/ |
H A D | random_readwrite.ksh | 45 export TOTAL_SIZE=$(($(get_prop avail $TESTFS) * 3 / 2))
|
H A D | random_writes.ksh | 44 export TOTAL_SIZE=$(($(get_prop avail $TESTFS) * 3 / 2))
|
H A D | sequential_writes.ksh | 44 export TOTAL_SIZE=$(($(get_prop avail $TESTFS) * 3 / 2))
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | dockspace.c | 73 static void warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail, 125 warn(int type, char *name, fsblkcnt_t need, fsblkcnt_t avail, fsblkcnt_t limit) argument 129 logerr(gettext(WRN_NOBLKS), name, avail, (need + limit), limit, local 130 (need + limit - avail)); 132 logerr(gettext(WRN_NOFILES), name, avail, (need + limit), limit, local 133 (need + limit - avail));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 86 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/uts/common/io/audio/impl/ |
H A D | audio_output.c | 224 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/uts/common/io/mac/ |
H A D | mac_ndd.c | 183 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/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 113 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...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 449 "Filesystem avail\n")); 458 "Filesystem kbytes used avail capacity Mounted on\n")); 470 fsblkcnt64_t totalblks, availblks, avail, free, used; local 528 avail = availblks > used ? availblks - used : (fsblkcnt64_t)0; 530 (void) printf("%8lld\n", dbtok(avail, 536 dbtok(avail, (fsblkcnt64_t)sblock.fs_fsize)); 546 t_avail += dbtok(avail, (fsblkcnt64_t)sblock.fs_fsize); 592 fsblkcnt64_t totalblks, avail, free, used, reserved; local 597 avail = fs.f_bavail; 598 reserved = free - avail; [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | expand.c | 46 unsigned int avail = nexpvars; local 58 } else if (i < avail) { 59 avail = i; 64 if (avail == nexpvars) 67 i = avail;
|
/illumos-gate/usr/src/uts/sun4v/io/fpc/ |
H A D | fpc-impl-4v.c | 118 fpc_platform_node_init(dev_info_t *dip, int *avail) argument 190 *avail |= 193 *avail |= JBUS_REGS_AVAIL;
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 544 struct devlks *avail; /* Pointer to empty slot */ local 552 avail = NULL; 567 if (!avail) avail = p; 570 else if (avail) { 577 (void) strcpy(avail->lk_alias, p->lk_alias); 578 avail->lk_key = p->lk_key; 579 avail++;
|