Searched refs:capacity (Results 26 - 50 of 75) sorted by relevance

123

/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_disk.c245 vdev_disk_get_space(vdev_t *vd, uint64_t capacity, uint_t blksz) argument
265 if (capacity > efi_altern_lba)
266 avail_space = (capacity - efi_altern_lba) * blksz;
301 uint64_t capacity = 0, blksz = 0, pbsize; local
532 capacity = dkmext->dki_capacity - 1;
540 capacity = dkm->dki_capacity - 1;
562 *max_psize += vdev_disk_get_space(vd, capacity, blksz);
563 zfs_dbgmsg("capacity change: vdev %s, psize %llu, "
/freebsd-10.2-release/sys/dev/virtio/block/
H A Dvirtio_blk.c452 uint64_t capacity; local
459 capacity = blkcfg.capacity * 512;
461 if (sc->vtblk_disk->d_mediasize != capacity)
462 vtblk_resize_disk(sc, capacity);
681 dp->d_mediasize = blkcfg->capacity * 512;
1108 /* The capacity is always available. */
1110 capacity), &blkcfg->capacity, sizeof(blkcfg->capacity));
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTVector.h182 /// capacity - Return the total number of elements in the currently allocated
184 size_t capacity() const { return this->capacity_ptr() - Begin; } function in class:clang::ASTVector
351 if (this->capacity() < N)
385 size_t CurCapacity = this->capacity();
/freebsd-10.2-release/contrib/libc++/src/
H A Dstring.cpp392 s.resize(s.capacity());
407 s.resize(s.capacity());
419 s.resize(s.capacity());
/freebsd-10.2-release/usr.bin/mkimg/
H A Dmkimg.c63 static uint64_t capacity; variable
152 fprintf(stderr, "\t-c <num>\t- capacity (in bytes) of the disk\n");
400 capsz = (capacity + secsz - 1) / secsz;
498 error = parse_uint64(&capacity, 1, OFF_MAX, optarg);
500 errc(EX_DATAERR, error, "capacity in bytes");
580 if (nparts == 0 && capacity == 0)
/freebsd-10.2-release/usr.bin/tip/libacu/
H A Dbiz31.c214 * the bizcomp in sync. If you don't have the capacity or nread
221 struct capacity b;
/freebsd-10.2-release/contrib/gcclibs/libcpp/
H A Ddirectives.c224 size_t capacity = 8; local
227 buf = XNEWVEC (const cpp_token *, capacity);
244 if (c + 1 >= capacity)
246 capacity *= 2;
247 buf = XRESIZEVEC (const cpp_token *, buf, capacity);
624 size_t len, total_len = 0, capacity = 1024; local
628 buffer = XNEWVEC (char, capacity);
642 if (total_len + len > capacity)
644 capacity = (capacity
[all...]
H A Dmacro.c1026 unsigned int capacity; local
1037 capacity = 256;
1038 arg->expanded = XNEWVEC (const cpp_token *, capacity);
1045 if (arg->expanded_count + 1 >= capacity)
1047 capacity *= 2;
1049 capacity);
/freebsd-10.2-release/contrib/llvm/lib/Support/Windows/
H A DProgram.inc54 buffer.capacity(), buffer.data(), NULL);
61 } while (len > buffer.capacity());
/freebsd-10.2-release/contrib/unbound/ldns/
H A Dsbuffer.h144 * creates a new buffer with the specified capacity.
146 * \param[in] capacity the size (in bytes) to allocate for the buffer
149 sldns_buffer *sldns_buffer_new(size_t capacity);
173 * is set to the capacity and the position is set to 0.
290 * changes the buffer's capacity. The data is reallocated so any
292 * to the buffer's new capacity.
294 * \param[in] capacity the capacity to use
297 int sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity);
301 * capacity i
[all...]
/freebsd-10.2-release/contrib/ldns/ldns/
H A Dbuffer.h92 * creates a new buffer with the specified capacity.
94 * \param[in] capacity the size (in bytes) to allocate for the buffer
97 ldns_buffer *ldns_buffer_new(size_t capacity);
112 * is set to the capacity and the position is set to 0.
229 * changes the buffer's capacity. The data is reallocated so any
231 * to the buffer's new capacity.
233 * \param[in] capacity the capacity to use
236 bool ldns_buffer_set_capacity(ldns_buffer *buffer, size_t capacity);
240 * capacity i
[all...]
/freebsd-10.2-release/tools/regression/zfs/zpool/create/
H A Doption-o.t21 expect_fl ${ZPOOL} create -o capacity=0% ${name0} ${disk0}
/freebsd-10.2-release/sys/dev/hptmv/
H A Dgui_lib.c531 /* report real capacity to be compatible with old arrays */
556 /* report real capacity to be compatible with old arrays */
567 LBA_T capacity = MAX_LBA_T; local
755 if(pArray->u.array.pMember[i]->VDeviceCapacity < capacity)
756 capacity = pArray->u.array.pMember[i]->VDeviceCapacity;
758 capacity -= 10;
760 capacity &= ~(pArray->u.array.bStripeWitch - 1);
761 /* shrink member capacity for RAID 1/0 */
764 pArray->u.array.pMember[i]->VDeviceCapacity = capacity;
765 pArray->VDeviceCapacity = capacity * pArra
[all...]
H A Dioctl.c743 ULONG capacity = pArray->VDeviceCapacity / (pArray->u.array.bArnMember-1); local
753 pArray->u.array.RebuildSectors>=capacity)
828 if (capacity - pArray->u.array.RebuildSectors < pCmd->uCmd.R1Control.nSectors)
829 pCmd->uCmd.R1Control.nSectors = capacity - pArray->u.array.RebuildSectors;
881 if(pArray->u.array.RebuildSectors < capacity)
/freebsd-10.2-release/contrib/libstdc++/include/bits/
H A Dstl_bvector.h532 if (__x.size() > capacity())
603 capacity() const function in class:vector
647 if (this->capacity() < __n)
919 if (capacity() - size() >= __n)
963 if (capacity() - size() >= __n)
/freebsd-10.2-release/contrib/gdb/gdb/
H A Ddictionary.c163 int capacity; member in struct:dictionary_linear_expandable
200 (d)->data.linear_expandable.capacity
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DUniqueCStringMap.h315 if (m_map.size() < m_map.capacity())
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DSymtab.h86 if (m_symbols.capacity() > m_symbols.size())
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Analysis/Support/
H A DBumpVector.h183 /// capacity - Return the total number of elements in the currently allocated
185 size_t capacity() const { return Capacity - Begin; } function in class:clang::BumpVector
/freebsd-10.2-release/sys/dev/mmc/
H A Dmmcreg.h405 uint64_t capacity; member in struct:mmc_csd
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessor.cpp256 llvm::errs() << "\n Predefines Buffer: " << Predefines.capacity();
280 + Predefines.capacity() /* Predefines buffer. */
/freebsd-10.2-release/contrib/llvm/lib/Support/Unix/
H A DPath.inc322 if (::getcwd(result.data(), result.capacity()) == 0) {
327 result.reserve(result.capacity() * 2);
/freebsd-10.2-release/sys/dev/hpt27xx/
H A Dhim.h201 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG
/freebsd-10.2-release/sys/dev/hptnr/
H A Dhim.h199 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG
/freebsd-10.2-release/sys/dev/hptrr/
H A Dhim.h172 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG

Completed in 343 milliseconds

123