| /freebsd-13.1/contrib/kyua/utils/ |
| H A D | units.cpp | 46 _count(0) in bytes() 55 _count(count_) in bytes() 115 if (_count >= TB) { in format() 116 return F("%.2sT") % (static_cast< float >(_count) / TB); in format() 117 } else if (_count >= GB) { in format() 118 return F("%.2sG") % (static_cast< float >(_count) / GB); in format() 119 } else if (_count >= MB) { in format() 120 return F("%.2sM") % (static_cast< float >(_count) / MB); in format() 121 } else if (_count >= KB) { in format() 124 return F("%s") % _count; in format() [all …]
|
| H A D | units.hpp | 76 uint64_t _count; member in utils::units::bytes
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | sem_new.c | 135 sem->_kern._count = (u_int32_t)value; in _sem_init() 219 tmp._kern._count = value; in _sem_open() 334 *sval = (int)USEM_COUNT(sem->_kern._count); in _sem_getvalue() 384 while (USEM_COUNT(val = sem->_kern._count) > 0) { in _sem_trywait() 385 if (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1)) in _sem_trywait() 404 while (USEM_COUNT(val = sem->_kern._count) > 0) { in _sem_clockwait_np() 405 if (atomic_cmpset_acq_int(&sem->_kern._count, val, in _sem_clockwait_np() 463 count = sem->_kern._count; in _sem_post() 468 } while (!atomic_cmpset_rel_int(&sem->_kern._count, count, count + 1)); in _sem_post()
|
| /freebsd-13.1/sys/sys/ |
| H A D | _umtx.h | 70 volatile __uint32_t _count; member 75 volatile __uint32_t _count; /* Waiters flag in high bit. */ member
|
| H A D | linker.h | 164 void *_start, void *_stop, int *_count);
|
| H A D | acl.h | 396 acl_t acl_init(int _count);
|
| /freebsd-13.1/sys/dev/bhnd/tools/ |
| H A D | nvram_map_gen.awk | 1151 _count = get(bind, p_count) 1165 if (_count == 1) { 1182 } else if (_count > 1) { 1236 _count = 1 1285 _count = get(bind, p_count) 1318 while (_count > 0) { 1319 if (_count > 1 && _count <= SPROM_OP_IMM_MAX && 1326 _count -= _count 1328 } else if (_count > 1) { 1340 _count -= _written [all …]
|
| /freebsd-13.1/contrib/elftoolchain/libelf/ |
| H A D | libelf.h | 231 size_t elf32_fsize(Elf_Type _type, size_t _count, 238 Elf32_Phdr *elf32_newphdr(Elf *_elf, size_t _count); 245 size_t elf64_fsize(Elf_Type _type, size_t _count, 252 Elf64_Phdr *elf64_newphdr(Elf *_elf, size_t _count);
|
| H A D | gelf.h | 75 size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count,
|
| H A D | _libelf.h | 232 void *_libelf_newphdr(Elf *_e, int _elfclass, size_t _count);
|
| /freebsd-13.1/contrib/libucl/uthash/ |
| H A D | uthash.h | 282 unsigned _count, _bkt_count; \ 286 _count = 0; \ 300 _count += _bkt_count; \ 306 if (_count != (head)->hh.tbl->num_items) { \ 308 (head)->hh.tbl->num_items, _count ); \ 311 _count = 0; \ 315 _count++; \ 324 if (_count != (head)->hh.tbl->num_items) { \ 326 (head)->hh.tbl->num_items, _count ); \
|
| /freebsd-13.1/sys/dev/etherswitch/arswitch/ |
| H A D | arswitchreg.h | 45 #define BITM(_count) ((1UL << (_count)) - 1) argument 46 #define BITS(_shift, _count) (BITM(_count) << (_shift)) argument
|
| /freebsd-13.1/contrib/elftoolchain/common/ |
| H A D | uthash.h | 266 unsigned _count, _bkt_count; \ 270 _count = 0; \ 284 _count += _bkt_count; \ 290 if (_count != (head)->hh.tbl->num_items) { \ 292 (head)->hh.tbl->num_items, _count ); \ 295 _count = 0; \ 299 _count++; \ 308 if (_count != (head)->hh.tbl->num_items) { \ 310 (head)->hh.tbl->num_items, _count ); \
|
| /freebsd-13.1/sys/dev/hwpmc/ |
| H A D | hwpmc_beri.h | 39 static inline uint64_t statcounters_get_##name##_count(void) \
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | atomic.c | 68 __c11_atomic_store((_Atomic(uint32_t) *)&l->_count, 1, __ATOMIC_RELEASE); in unlock() 75 while (!__c11_atomic_compare_exchange_weak((_Atomic(uint32_t) *)&l->_count, in lock()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | file.h | 337 uint32_t _count; /* repeat/line count */ member 342 #define str_range _u._s._count
|
| /freebsd-13.1/sys/kern/ |
| H A D | bus_if.m | 288 * @param _count hint at the size of range required - pass @c 1 304 rman_res_t _count; 558 * to start at @p _start and to include @p _count indices in its 566 * @param _count the size of the resource range 574 rman_res_t _count; 589 * @param _count the address of a location to receive the size
|
| H A D | kern_umtx.c | 3552 rv1 = fueword32(&sem->_count, &count); in do_sem_wait() 3652 rv = fueword32(&sem->_count, &count); in do_sem2_wait() 3672 rv = casueword32(&sem->_count, 0, &count, USEM_HAS_WAITERS); in do_sem2_wait() 3737 rv = fueword32(&sem->_count, &count); in do_sem2_wake() 3739 rv = casueword32(&sem->_count, count, &count, in do_sem2_wake()
|
| /freebsd-13.1/tools/test/netfibs/ |
| H A D | forwarding.sh | 597 local _n _reply _line _edge _type _fib _count _rc _ec _status 627 while read _fib _count; do 630 if test ${_count} -gt 0; then 642 ${_count} ${_rc} ${_em}
|