Home
last modified time | relevance | path

Searched refs:new_count (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/x86/isa/
H A Dclock.c328 int new_count, new_mode; in set_i8254_freq() local
334 new_count = 0x10000; in set_i8254_freq()
336 new_count = -1; in set_i8254_freq()
338 new_count = min(((uint64_t)i8254_freq * period + in set_i8254_freq()
341 if (new_count == timer0_period) in set_i8254_freq()
343 i8254_max_count = ((new_count & ~0xffff) != 0) ? 0xffff : new_count; in set_i8254_freq()
344 timer0_period = (mode == MODE_PERIODIC) ? new_count : -1; in set_i8254_freq()
355 outb(TIMER_CNTR0, new_count & 0xff); in set_i8254_freq()
356 outb(TIMER_CNTR0, new_count >> 8); in set_i8254_freq()
359 if (new_count < 256 && timer0_last < 256) { in set_i8254_freq()
[all …]
/freebsd/contrib/pf/libevent/
H A Dpoll.c270 int new_count; in poll_add() local
272 new_count = 32; in poll_add()
274 new_count = pop->fd_count * 2; in poll_add()
275 while (new_count <= ev->ev_fd) in poll_add()
276 new_count *= 2; in poll_add()
278 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add()
285 0, sizeof(int)*(new_count - pop->fd_count)); in poll_add()
286 pop->fd_count = new_count; in poll_add()
/freebsd/lib/libc/stdlib/
H A Dhsearch_r.c77 size_t hash, index, i, old_hash, old_count, new_count; in hsearch_r() local
113 new_count = (hsearch->index_mask + 1) * 2; in hsearch_r()
114 new_entries = calloc(new_count, sizeof(ENTRY)); in hsearch_r()
118 hsearch->index_mask = new_count - 1; in hsearch_r()
/freebsd/contrib/lutok/
H A Dtest_utils.hpp132 unsigned int new_count = _state.get_top(); in ~stack_balance_checker() local
133 if (_old_count != new_count) in ~stack_balance_checker()
/freebsd/contrib/one-true-awk/
H A Db.c149 int i, new_count; in resize_state() local
154 new_count = state + 10; /* needs to be tuned */ in resize_state()
156 p = (gtt *) realloc(f->gototab, new_count * sizeof(gtt)); in resize_state()
161 p2 = (uschar *) realloc(f->out, new_count * sizeof(f->out[0])); in resize_state()
166 p3 = (int **) realloc(f->posns, new_count * sizeof(f->posns[0])); in resize_state()
171 for (i = f->state_count; i < new_count; ++i) { in resize_state()
180 f->state_count = new_count; in resize_state()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c1326 int new_count, new_bytes; in zfs_acl_chmod() local
1337 new_count = new_bytes = 0; in zfs_acl_chmod()
1349 new_count++; in zfs_acl_chmod()
1355 new_count++; in zfs_acl_chmod()
1361 new_count++; in zfs_acl_chmod()
1422 new_count++; in zfs_acl_chmod()
1431 new_count += 3; in zfs_acl_chmod()
1434 aclp->z_acl_count = new_count; in zfs_acl_chmod()
1436 newnode->z_ace_count = new_count; in zfs_acl_chmod()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_acl.c1511 int new_count, new_bytes; in zfs_acl_chmod() local
1521 new_count = new_bytes = 0; in zfs_acl_chmod()
1531 new_count++; in zfs_acl_chmod()
1537 new_count++; in zfs_acl_chmod()
1543 new_count++; in zfs_acl_chmod()
1605 new_count++; in zfs_acl_chmod()
1614 new_count += 3; in zfs_acl_chmod()
1617 aclp->z_acl_count = new_count; in zfs_acl_chmod()
1619 newnode->z_ace_count = new_count; in zfs_acl_chmod()
/freebsd/sys/dev/nvmf/controller/
H A Dctl_frontend_nvmf.c129 u_int i, new_count; in nvmft_lun_enable() local
140 new_count = np->num_ns + 1; in nvmft_lun_enable()
142 new_ns = mallocarray(new_count, sizeof(*new_ns), M_NVMFT, in nvmft_lun_enable()
145 if (np->num_ns + 1 <= new_count) in nvmft_lun_enable()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObject.h897 void Clear(size_t new_count = 0) {
899 m_children_count = new_count;
/freebsd/sys/dev/pci/
H A Dpci_pci.c388 int i, new_count; in pcib_alloc_nonisa_ranges() local
391 new_count = 0; in pcib_alloc_nonisa_ranges()
392 pcib_walk_nonisa_ranges(start, end, count_ranges, &new_count); in pcib_alloc_nonisa_ranges()
395 as.res = malloc(sizeof(struct resource *) * new_count, M_DEVBUF, in pcib_alloc_nonisa_ranges()
408 KASSERT(as.count == new_count, ("%s: count mismatch", __func__)); in pcib_alloc_nonisa_ranges()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp1066 size_t new_count = comp_unit.GetNumFunctions(); in ParseFunctions() local
1067 lldbassert(new_count >= count); in ParseFunctions()
1068 return new_count - count; in ParseFunctions()
1801 const size_t new_count = GetTypeList().GetSize(); in ParseTypes() local
1805 return new_count - old_count; in ParseTypes()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_indirect.c491 uint64_t new_count = in spa_condense_indirect_complete_sync() local
534 (u_longlong_t)new_count, (u_longlong_t)old_count); in spa_condense_indirect_complete_sync()