Home
last modified time | relevance | path

Searched refs:nused (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/sys/uvm/
Duvm_pdaemon.c549 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/
Dtsort.c121 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/
Dzio_checksum.c322 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/
Ddwp.cc1162 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/
Dexec_elf.c838 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/
Dvirtio.c615 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/
Dpointer-query.cc1568 unsigned nused = 0, nrefs = 0; in dump() local
1576 ++nused; in dump()
1594 nidxs, nused, in dump()
/netbsd/src/external/gpl3/binutils/dist/binutils/
Ddwarf.c10951 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 …]
DChangeLog283 allocation when nused is large and ncols is zero.
/netbsd/src/external/gpl3/binutils/dist/
DChangeLog.git62656 …* dwarf.c (process_cu_tu_index): Prevent excessive memory allocation when nused is large and ncols…