Searched refs:_count (Results 1 - 16 of 16) sorted by path

/freebsd-11-stable/contrib/bmake/
H A Dbuf.h98 int _count = ++(bp)->count; \
100 if (__predict_false(_count >= (bp)->size)) \
102 _ptr = (bp)->buffer + _count; \
/freebsd-11-stable/contrib/elftoolchain/common/
H A Duthash.h266 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-11-stable/contrib/libucl/uthash/
H A Duthash.h282 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-11-stable/lib/libc/gen/
H A Dsem_new.c133 sem->_kern._count = (u_int32_t)value;
217 tmp._kern._count = value;
332 *sval = (int)USEM_COUNT(sem->_kern._count);
382 while (USEM_COUNT(val = sem->_kern._count) > 0) {
383 if (atomic_cmpset_acq_int(&sem->_kern._count, val, val - 1))
402 while (USEM_COUNT(val = sem->_kern._count) > 0) {
403 if (atomic_cmpset_acq_int(&sem->_kern._count, val,
461 count = sem->_kern._count;
466 } while (!atomic_cmpset_rel_int(&sem->_kern._count, count, count + 1));
/freebsd-11-stable/sys/dev/etherswitch/arswitch/
H A Darswitchreg.h43 #define BITM(_count) ((1UL << (_count)) - 1)
44 #define BITS(_shift, _count) (BITM(_count) << (_shift))
/freebsd-11-stable/sys/dev/scd/
H A Dscdvar.h59 #define SCD_READ_MULTI(_sc, _reg, _addr, _count) \
60 bus_read_multi_1(_sc->port, _reg, _addr, _count)
/freebsd-11-stable/sys/sys/
H A D_umtx.h64 volatile __uint32_t _count; member in struct:_usem
69 volatile __uint32_t _count; /* Waiters flag in high bit. */ member in struct:_usem2
H A Dacl.h394 acl_t acl_init(int _count);
H A Dlinker.h154 void *_start, void *_stop, int *_count);
/freebsd-11-stable/tools/test/netfibs/
H A Dforwarding.sh597 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}
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A D_libelf.h232 void *_libelf_newphdr(Elf *_e, int _elfclass, size_t _count);
H A Dgelf.h75 size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count,
H A Dlibelf.h231 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);
/freebsd-11-stable/contrib/file/src/
H A Dfile.h327 uint32_t _count; /* repeat/line count */ member in struct:magic::__anon7::__anon8
332 #define str_range _u._s._count
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Datomic.c61 __c11_atomic_store((_Atomic(uint32_t) *)&l->_count, 1, __ATOMIC_RELEASE);
68 while (!__c11_atomic_compare_exchange_weak((_Atomic(uint32_t) *)&l->_count,
/freebsd-11-stable/sys/kern/
H A Dkern_umtx.c3126 rv = fueword32(&sem->_count, &count);
3215 rv = fueword32(&sem->_count, &count);
3235 rv = casueword32(&sem->_count, 0, &count, USEM_HAS_WAITERS);
3293 * flag in _count.
3297 rv = fueword32(&sem->_count, &count);
3299 rv = casueword32(&sem->_count, count, &count,

Completed in 403 milliseconds