Searched refs:nused (Results 1 – 10 of 10) sorted by relevance
| /netbsd/src/sys/uvm/ |
| D | uvm_pdaemon.c | 549 int nused; in swapcluster_flush() local 559 nused = swc->swc_nused; in swapcluster_flush() 567 if (nused < nallocated) { in swapcluster_flush() 571 uvm_swap_free(slot + nused, nallocated - nused); in swapcluster_flush() 578 if (nused > 0) { in swapcluster_flush() 580 uvm_pageout_start(nused); in swapcluster_flush() 581 error = uvm_swap_put(slot, swc->swc_pages, nused, 0); in swapcluster_flush()
|
| /netbsd/src/usr.bin/tsort/ |
| D | tsort.c | 121 size_t bsize, nused; in main() local 170 nused = 0; in main() 174 b->b_buf[nused++] = (char)c; in main() 175 if (nused == bsize) in main() 180 b->b_buf[nused] = '\0'; in main()
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| D | zio_checksum.c | 322 uint64_t nused; in zio_checksum_error_impl() local 326 nused = zilc->zc_nused; in zio_checksum_error_impl() 328 nused = BSWAP_64(zilc->zc_nused); in zio_checksum_error_impl() 332 if (nused > size) in zio_checksum_error_impl() 335 size = P2ROUNDUP_TYPED(nused, ZIL_MIN_BLKSZ, uint64_t); in zio_checksum_error_impl()
|
| /netbsd/src/external/gpl3/binutils/dist/gold/ |
| D | dwp.cc | 1162 unsigned int nused = in sized_read_unit_index() local 1165 if (ncols == 0 || nused == 0) in sized_read_unit_index() 1178 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); in sized_read_unit_index() 1179 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); in sized_read_unit_index() 1304 unsigned int nused = in sized_verify_dwo_list() local 1307 if (ncols == 0 || nused == 0) in sized_verify_dwo_list() 1318 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); in sized_verify_dwo_list() 1319 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); in sized_verify_dwo_list() 1974 const unsigned int nused = index.hash_table_used_slots(); in write_index() local 1999 elfcpp::Swap_unaligned<32, big_endian>::writeval(p, nused); in write_index()
|
| /netbsd/src/sys/kern/ |
| D | exec_elf.c | 838 u_int nused = epp->ep_vmcmds.evs_used; in exec_elf_makecmds() local 845 if (epp->ep_vmcmds.evs_used == nused) { in exec_elf_makecmds() 853 ap->arg_interp = epp->ep_vmcmds.evs_cmds[nused].ev_addr; in exec_elf_makecmds()
|
| /netbsd/src/sys/dev/pci/ |
| D | virtio.c | 615 uint16_t idx, nused; in virtio_postpone_intr() local 624 nused = (uint16_t) in virtio_postpone_intr() 626 KASSERT(nused <= vq->vq_num); in virtio_postpone_intr() 628 return nslots < nused; in virtio_postpone_intr()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | pointer-query.cc | 1568 unsigned nused = 0, nrefs = 0; in dump() local 1576 ++nused; in dump() 1594 nidxs, nused, in dump()
|
| /netbsd/src/external/gpl3/binutils/dist/binutils/ |
| D | dwarf.c | 10951 unsigned int nused; in process_cu_tu_index() local 10976 SAFE_BYTE_GET_AND_INC (nused, phash, 4, limit); in process_cu_tu_index() 10989 printf (_(" Number of used entries: %u\n"), nused); in process_cu_tu_index() 11063 unsigned char *psizes = poffsets + (size_t) nused * ncols * 4; in process_cu_tu_index() 11075 if (nused == -1u in process_cu_tu_index() 11077 || _mul_overflow ((size_t) nused + 1, temp, &total) in process_cu_tu_index() 11080 || _mul_overflow ((size_t) nused + 1, 4, &total) in process_cu_tu_index() 11098 tu_count = nused; in process_cu_tu_index() 11099 tu_sets = xcalloc2 (nused, sizeof (struct cu_tu_set)); in process_cu_tu_index() 11104 cu_count = nused; in process_cu_tu_index() [all …]
|
| D | ChangeLog | 283 allocation when nused is large and ncols is zero.
|
| /netbsd/src/external/gpl3/binutils/dist/ |
| D | ChangeLog.git | 62656 …* dwarf.c (process_cu_tu_index): Prevent excessive memory allocation when nused is large and ncols…
|