/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 245 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 D | virtio_blk.c | 452 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 D | ASTVector.h | 182 /// 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 D | string.cpp | 392 s.resize(s.capacity()); 407 s.resize(s.capacity()); 419 s.resize(s.capacity());
|
/freebsd-10.2-release/usr.bin/mkimg/ |
H A D | mkimg.c | 63 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 D | biz31.c | 214 * 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 D | directives.c | 224 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 D | macro.c | 1026 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 D | Program.inc | 54 buffer.capacity(), buffer.data(), NULL); 61 } while (len > buffer.capacity());
|
/freebsd-10.2-release/contrib/unbound/ldns/ |
H A D | sbuffer.h | 144 * 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 D | buffer.h | 92 * 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 D | option-o.t | 21 expect_fl ${ZPOOL} create -o capacity=0% ${name0} ${disk0}
|
/freebsd-10.2-release/sys/dev/hptmv/ |
H A D | gui_lib.c | 531 /* 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 D | ioctl.c | 743 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 D | stl_bvector.h | 532 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 D | dictionary.c | 163 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 D | UniqueCStringMap.h | 315 if (m_map.size() < m_map.capacity())
|
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | Symtab.h | 86 if (m_symbols.capacity() > m_symbols.size())
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 183 /// 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 D | mmcreg.h | 405 uint64_t capacity; member in struct:mmc_csd
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 256 llvm::errs() << "\n Predefines Buffer: " << Predefines.capacity(); 280 + Predefines.capacity() /* Predefines buffer. */
|
/freebsd-10.2-release/contrib/llvm/lib/Support/Unix/ |
H A D | Path.inc | 322 if (::getcwd(result.data(), result.capacity()) == 0) { 327 result.reserve(result.capacity() * 2);
|
/freebsd-10.2-release/sys/dev/hpt27xx/ |
H A D | him.h | 201 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG
|
/freebsd-10.2-release/sys/dev/hptnr/ |
H A D | him.h | 199 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG
|
/freebsd-10.2-release/sys/dev/hptrr/ |
H A D | him.h | 172 HPT_U64 capacity; member in struct:_HIM_DEVICE_CONFIG
|