/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ArrayRecycler.h | 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop() 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop() 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push() 67 /// The size of an allocated array is represented by a Capacity instance. 71 class Capacity { 73 explicit Capacity(uint8_t idx) : Index(idx) {} in Capacity() function 76 Capacity() : Index(0) {} in Capacity() function 78 /// Get the capacity of an array that can hold at least N elements. 79 static Capacity get(size_t N) { in get() 80 return Capacity(N ? Log2_64_Ceil(N) : 0); in get() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | cpu-capacity.txt | 2 ARM CPUs capacity bindings 15 2 - CPU capacity definition 18 CPU capacity is a number that provides the scheduler information about CPUs 27 final capacity should, however, be: 43 3 - capacity-dmips-mhz 46 capacity-dmips-mhz is an optional cpu node [1] property: u32 value 47 representing CPU capacity expressed in normalized DMIPS/MHz. At boot time, the 48 maximum frequency available to the cpu is then used to calculate the capacity 51 capacity-dmips-mhz property is all-or-nothing: if it is specified for a cpu 53 fall back to the default capacity value for every CPU. If cpufreq is not [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cpu/ |
H A D | cpu-capacity.txt | 2 CPU capacity bindings 15 2 - CPU capacity definition 18 CPU capacity is a number that provides the scheduler information about CPUs 27 final capacity should, however, be: 43 3 - capacity-dmips-mhz 46 capacity-dmips-mhz is an optional cpu node [1] property: u32 value 47 representing CPU capacity expressed in normalized DMIPS/MHz. At boot time, the 48 maximum frequency available to the cpu is then used to calculate the capacity 51 capacity-dmips-mhz property is all-or-nothing: if it is specified for a cpu 53 fall back to the default capacity value for every CPU. If cpufreq is not [all …]
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_iobuf.c | 59 size_t capacity; /**< capacity of @p buf */ member 67 * buffer of @p size and @p capacity. in BHND_NVRAM_IOPS_DEFN() 72 * If @p capacity is less than @p size, a capacity of @p size will be used. in BHND_NVRAM_IOPS_DEFN() 75 * @param capacity The total capacity of the I/O context buffer; in BHND_NVRAM_IOPS_DEFN() 77 * @p capacity via bhnd_nvram_io_setsize(). in BHND_NVRAM_IOPS_DEFN() 81 * @retval NULL the requested @p capacity is less than in BHND_NVRAM_IOPS_DEFN() 85 bhnd_nvram_iobuf_empty(size_t size, size_t capacity) in BHND_NVRAM_IOPS_DEFN() 91 /* Sanity check the capacity */ in BHND_NVRAM_IOPS_DEFN() 92 if (size > capacity) in BHND_NVRAM_IOPS_DEFN() 95 /* Would sizeof(iobuf)+capacity overflow? */ in BHND_NVRAM_IOPS_DEFN() [all …]
|
H A D | bhnd_nvram_ioptr.c | 58 size_t capacity; /**< capacity at @p ptr */ member 74 * @param capacity The maximum number of bytes that may be mapped in BHND_NVRAM_IOPS_DEFN() 80 * @retval NULL the requested @p capacity is less than @p size. in BHND_NVRAM_IOPS_DEFN() 83 bhnd_nvram_ioptr_new(const void *ptr, size_t size, size_t capacity, in BHND_NVRAM_IOPS_DEFN() 88 /* Sanity check the capacity */ in BHND_NVRAM_IOPS_DEFN() 89 if (size > capacity) in BHND_NVRAM_IOPS_DEFN() 100 ioptr->capacity = capacity; in BHND_NVRAM_IOPS_DEFN() 128 /* Can't exceed the actual capacity */ in bhnd_nvram_ioptr_setsize() 129 if (size > ioptr->capacity) in bhnd_nvram_ioptr_setsize()
|
/freebsd/sys/dev/acpica/ |
H A D | acpiio.h | 56 #define ACPI_BIF_UNITS_MW 0 /* Capacity in mWh, rate in mW. */ 57 #define ACPI_BIF_UNITS_MA 1 /* Capacity in mAh, rate in mA. */ 58 uint32_t dcap; /* Design Capacity */ 59 uint32_t lfcap; /* Last Full capacity */ 62 uint32_t wcap; /* WARN capacity */ 63 uint32_t lcap; /* Low capacity */ 79 #define ACPI_BIX_UNITS_MW 0 /* Capacity in mWh, rate in mW. */ 80 #define ACPI_BIX_UNITS_MA 1 /* Capacity in mAh, rate in mA. */ 81 uint32_t dcap; /* Design Capacity */ 82 uint32_t lfcap; /* Last Full capacity */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 57 "1 byte elements have word-sized type for size and capacity"); 63 std::string Reason = "SmallVector unable to grow. Requested capacity (" + in report_size_overflow() 74 /// Report that this vector is already at maximum capacity. Throws 79 "SmallVector capacity unable to grow. Already at maximum size " + in report_at_maximum_capacity() 93 // Ensure we can fit the new capacity. in getNewCapacity() 94 // This is only going to be applicable when the capacity is 32 bit. in getNewCapacity() 100 // default MinSize of 0, but the current capacity cannot be increased. in getNewCapacity() 101 // This is only going to be applicable when the capacity is 32 bit. in getNewCapacity() 105 // In theory 2*capacity can overflow if the capacity i in getNewCapacity() [all...] |
/freebsd/share/man/man4/ |
H A D | acpi_battery.4 | 73 Battery capacity in percent, 136 capacity and charge rate encoded in the following: 146 Note that capacity is expressed in mWh or mAh, 150 The Battery's design capacity, 151 which is the nominal capacity of a new battery. 156 Predicted battery capacity when fully charged. 168 Design capacity of warning. 169 When a discharging battery device reaches this capacity, 172 Design capacity of low. 177 approximately equal to the value of Design Capacity. [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | HashTable.h | 102 support::ulittle32_t Capacity; member 112 explicit HashTable(uint32_t Capacity) { in HashTable() argument 113 Buckets.resize(Capacity); in HashTable() 120 if (H->Capacity == 0) in load() 122 "Invalid Hash Table Capacity"); in load() 123 if (H->Size > maxLoad(H->Capacity)) in load() 127 Buckets.resize(H->Capacity); in load() 183 H.Capacity = capacity(); in commit() 209 uint32_t capacity() const { return Buckets.size(); } in capacity() function 219 uint32_t H = Traits.hashLookupKey(K) % capacity(); in find_as() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 88 : Data(Dat), Size(Sz), Capacity(Cp) {} in Data() 90 : Data(Cp == 0 ? nullptr : A.allocateT<T>(Cp)), Capacity(Cp) {} in SimpleArray() 94 : Data(A.Data), Size(A.Size), Capacity(A.Capacity) { in SimpleArray() 97 A.Capacity = 0; in SimpleArray() 104 Capacity = RHS.Capacity; 107 RHS.Size = RHS.Capacity = 0; 114 if (Ncp <= Capacity) in reserve() 118 Capacity = Ncp; in reserve() 124 if (Capacity == 0) in reserveCheck() 126 else if (Size + N < Capacity) in reserveCheck() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | battery.yaml | 64 description: battery design capacity 99 ocv-capacity-celsius: 102 for each of the battery capacity lookup table. 126 '^ocv-capacity-table-[0-9]+$': 130 of the battery and corresponding battery capacity percent, which is used 131 to look up battery capacity according to current OCV value. And the open 137 - description: battery capacity percent 162 ocv-capacity-celsius = <(-10) 0 10>; 164 ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>; 166 ocv-capacity-table-1 = <4200000 100>, <4185000 95>, <4113000 90>; [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTVector.h | 40 llvm::PointerIntPair<T *, 1, bool> Capacity; variable 47 bool getTag() const { return Capacity.getInt(); } in getTag() 48 void setTag(bool B) { Capacity.setInt(B); } in setTag() 52 ASTVector() : Capacity(nullptr, false) {} in ASTVector() 54 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { in ASTVector() 56 O.Capacity.setPointer(nullptr); in ASTVector() 57 O.Capacity.setInt(false); in ASTVector() 60 ASTVector(const ASTContext &C, unsigned N) : Capacity(nullptr, false) { in ASTVector() 71 swap(Capacity, O.Capacity); 178 /// capacity - Return the total number of elements in the currently allocated [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | mem_map.h | 34 MemMapDefault(uptr Base, uptr Capacity) : Base(Base), Capacity(Capacity) {} 46 uptr getCapacityImpl() { return Capacity; } 52 uptr Capacity = 0; 68 uptr getCapacityImpl() { return Capacity; } 72 uptr Capacity = 0; 33 MemMapDefault(uptr Base,uptr Capacity) MemMapDefault() argument 51 uptr Capacity = 0; global() variable 71 uptr Capacity = 0; global() variable
|
H A D | mem_map.cpp | 23 Capacity = Size; in mapImpl() 28 if (Size == Capacity) { in unmapImpl() 29 Base = MappedBase = Capacity = 0; in unmapImpl() 35 Capacity -= Size; in unmapImpl() 61 ::scudo::unmap(reinterpret_cast<void *>(Base), Capacity, UNMAP_ALL, &Data); in releaseImpl() 72 Capacity = Size; in createImpl()
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5422-cpus.dtsi | 65 capacity-dmips-mhz = <539>; 78 capacity-dmips-mhz = <539>; 91 capacity-dmips-mhz = <539>; 104 capacity-dmips-mhz = <539>; 117 capacity-dmips-mhz = <1024>; 130 capacity-dmips-mhz = <1024>; 143 capacity-dmips-mhz = <1024>; 156 capacity-dmips-mhz = <1024>;
|
H A D | exynos5420-cpus.dtsi | 66 capacity-dmips-mhz = <1024>; 78 capacity-dmips-mhz = <1024>; 90 capacity-dmips-mhz = <1024>; 102 capacity-dmips-mhz = <1024>; 114 capacity-dmips-mhz = <539>; 126 capacity-dmips-mhz = <539>; 138 capacity-dmips-mhz = <539>; 150 capacity-dmips-mhz = <539>;
|
/freebsd/contrib/unbound/sldns/ |
H A D | sbuffer.c | 19 sldns_buffer_new(size_t capacity) in sldns_buffer_new() argument 27 buffer->_data = (uint8_t *) malloc(capacity); in sldns_buffer_new() 34 buffer->_limit = buffer->_capacity = capacity; in sldns_buffer_new() 74 sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity) in sldns_buffer_set_capacity() argument 79 assert(buffer->_position <= capacity && !buffer->_fixed); in sldns_buffer_set_capacity() 81 data = (uint8_t *) realloc(buffer->_data, capacity); in sldns_buffer_set_capacity() 87 buffer->_limit = buffer->_capacity = capacity; in sldns_buffer_set_capacity()
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_hs.c | 91 unsigned long capacity; member 114 if (i->offset >= map->capacity) in _ck_hs_next() 130 } while (++i->offset < map->capacity); in _ck_hs_next() 230 map->capacity = n_entries; in ck_hs_map_create() 255 ck_hs_reset_size(struct ck_hs *hs, unsigned long capacity) in ck_hs_reset_size() argument 260 map = ck_hs_map_create(hs, capacity); in ck_hs_reset_size() 275 return ck_hs_reset_size(hs, previous->capacity); in ck_hs_reset() 334 unsigned long capacity) in ck_hs_grow() argument 342 if (map->capacity > capacity) in ck_hs_grow() 345 update = ck_hs_map_create(hs, capacity); in ck_hs_grow() [all …]
|
H A D | ck_ht.c | 88 CK_HT_TYPE capacity; member 170 map->capacity = n_entries; in ck_ht_map_create() 171 map->step = ck_cc_ffsll(map->capacity); in ck_ht_map_create() 172 map->mask = map->capacity - 1; in ck_ht_map_create() 393 memset(map->probe_bound, 0, sizeof(CK_HT_WORD) * map->capacity); in ck_ht_gc() 402 size = sizeof(CK_HT_WORD) * map->capacity; in ck_ht_gc() 413 for (i = 0; i < map->capacity; i++) { in ck_ht_gc() 484 for (i = 0; i < map->capacity; i++) in ck_ht_gc() 616 if (i->offset >= map->capacity) in ck_ht_next() 623 } while (++i->offset < map->capacity); in ck_ht_next() [all …]
|
/freebsd/contrib/ldns/ |
H A D | buffer.c | 16 ldns_buffer_new(size_t capacity) in ldns_buffer_new() argument 24 buffer->_data = (uint8_t *) LDNS_XMALLOC(uint8_t, capacity); in ldns_buffer_new() 31 buffer->_limit = buffer->_capacity = capacity; in ldns_buffer_new() 60 ldns_buffer_set_capacity(ldns_buffer *buffer, size_t capacity) in ldns_buffer_set_capacity() argument 65 assert(buffer->_position <= capacity); in ldns_buffer_set_capacity() 68 data = (uint8_t *) LDNS_XREALLOC(buffer->_data, uint8_t, capacity); in ldns_buffer_set_capacity() 74 buffer->_limit = buffer->_capacity = capacity; in ldns_buffer_set_capacity()
|
/freebsd/sys/contrib/device-tree/src/arm64/amlogic/ |
H A D | meson-gxm.dtsi | 46 capacity-dmips-mhz = <1024>; 50 capacity-dmips-mhz = <1024>; 54 capacity-dmips-mhz = <1024>; 58 capacity-dmips-mhz = <1024>; 66 capacity-dmips-mhz = <1024>; 77 capacity-dmips-mhz = <1024>; 88 capacity-dmips-mhz = <1024>; 99 capacity-dmips-mhz = <1024>;
|
H A D | meson-g12b.dtsi | 51 capacity-dmips-mhz = <592>; 61 capacity-dmips-mhz = <592>; 71 capacity-dmips-mhz = <1024>; 81 capacity-dmips-mhz = <1024>; 91 capacity-dmips-mhz = <1024>; 101 capacity-dmips-mhz = <1024>;
|
/freebsd/tools/tools/nanobsd/ |
H A D | FlashDevice.sub | 51 echo "Unknown Hitachi Flash capacity" 65 echo "Unknown Integral i-Pro Flash capacity" 79 echo "Unknown Kodak Flash capacity" 94 echo "Unknown Memory Corp Flash capacity" 151 echo "Unknown Sandisk Flash capacity" 169 echo "Unknown SiliconSystems Flash capacity" 182 echo "Unknown Soekris Flash capacity" 200 echo "Unknown Transcend Flash capacity"
|
/freebsd/sbin/camcontrol/ |
H A D | depop.c | 39 * their health, whether they are in service, how much capacity the element is 97 printf("Elem ID * Health Capacity\n"); in depop_list() 103 uint64_t cap = scsi_8btou64(dtor_ptr[i].capacity); in depop_list() 117 int timeout, int verbosemode __unused, uint32_t elem, uint64_t capacity) in depop_remove() argument 131 capacity, in depop_remove() 208 uint64_t capacity = 0; in depop() local 213 capacity = strtoumax(optarg, &endptr, 0); in depop() 215 warnx("Invalid capacity: %s", optarg); in depop() 273 if (elem == 0 && capacity == 0) { in depop() 279 verbosemode, elem, capacity); in depop()
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sdm660.dtsi | 90 capacity-dmips-mhz = <1024>; 96 capacity-dmips-mhz = <1024>; 102 capacity-dmips-mhz = <1024>; 108 capacity-dmips-mhz = <1024>; 114 capacity-dmips-mhz = <640>; 120 capacity-dmips-mhz = <640>; 126 capacity-dmips-mhz = <640>; 132 capacity-dmips-mhz = <640>;
|