/netbsd-current/sys/arch/amd64/stand/prekern/ |
H A D | prng.c | 56 size_t nused; member in struct:__anon8 201 rng.nused = 0; 211 if (rng.nused + sz > RNGDATA_SIZE) { 213 consumed = RNGDATA_SIZE - rng.nused; 214 memcpy(ptr, &rng.data[rng.nused], consumed); 220 memcpy(ptr + consumed, &rng.data[rng.nused], 223 rng.nused += (sz - consumed); 225 memcpy(ptr, &rng.data[rng.nused], sz); 226 rng.nused += sz;
|
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zio_checksum.c | 322 uint64_t nused; local 326 nused = zilc->zc_nused; 328 nused = BSWAP_64(zilc->zc_nused); 332 if (nused > size) 335 size = P2ROUNDUP_TYPED(nused, ZIL_MIN_BLKSZ, uint64_t);
|
/netbsd-current/usr.bin/tsort/ |
H A D | tsort.c | 121 size_t bsize, nused; local 170 nused = 0; 174 b->b_buf[nused++] = (char)c; 175 if (nused == bsize) 180 b->b_buf[nused] = '\0';
|
/netbsd-current/sys/uvm/ |
H A D | uvm_pdaemon.c | 549 int nused; local 559 nused = swc->swc_nused; 567 if (nused < nallocated) { 571 uvm_swap_free(slot + nused, nallocated - nused); 578 if (nused > 0) { 580 uvm_pageout_start(nused); 581 error = uvm_swap_put(slot, swc->swc_pages, nused, 0);
|
/netbsd-current/sys/arch/aarch64/aarch64/ |
H A D | db_machdep.c | 885 unsigned int i, nused; local 887 for (nused = 0, i = 0; i <= max_breakpoint; i++) { 896 nused++; 899 db_printf("breakpoint used %d/%d\n", nused, max_breakpoint + 1); 906 unsigned int i, nused; local 908 for (nused = 0, i = 0; i <= max_watchpoint; i++) { 930 nused++; 933 db_printf("watchpoint used %d/%d\n", nused, max_watchpoint + 1);
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | name.c | 1066 unsigned int tlen, nrem, nused, digits = 0, labels, tused; local 1115 nused = 0; 1137 nused++; 1151 nused++; 1170 offsets[labels] = nused; 1175 nused++; 1192 nused++; 1218 nused++; 1246 nused++; 1271 offsets[labels] = nused; 1752 unsigned int nused, labels, n, nmax; local [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/gold/ |
H A D | dwp.cc | 1162 unsigned int nused = local 1165 if (ncols == 0 || nused == 0) 1178 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1179 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1304 unsigned int nused = local 1307 if (ncols == 0 || nused == 0) 1318 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1319 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1974 const unsigned int nused = index.hash_table_used_slots(); local 1999 elfcpp::Swap_unaligned<32, big_endian>::writeval(p, nused); [all...] |
/netbsd-current/external/gpl3/binutils/dist/gold/ |
H A D | dwp.cc | 1162 unsigned int nused = local 1165 if (ncols == 0 || nused == 0) 1178 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1179 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1304 unsigned int nused = local 1307 if (ncols == 0 || nused == 0) 1318 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1319 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1974 const unsigned int nused = index.hash_table_used_slots(); local 1999 elfcpp::Swap_unaligned<32, big_endian>::writeval(p, nused); [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gold/ |
H A D | dwp.cc | 1162 unsigned int nused = local 1165 if (ncols == 0 || nused == 0) 1178 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1179 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1304 unsigned int nused = local 1307 if (ncols == 0 || nused == 0) 1318 const unsigned char* psizes = poffsets + nused * ncols * sizeof(uint32_t); 1319 const unsigned char* pend = psizes + nused * ncols * sizeof(uint32_t); 1974 const unsigned int nused = index.hash_table_used_slots(); local 1999 elfcpp::Swap_unaligned<32, big_endian>::writeval(p, nused); [all...] |
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | name.c | 1066 unsigned int tlen, nrem, nused, digits = 0, labels, tused; local 1115 nused = 0; 1137 nused++; 1151 nused++; 1170 offsets[labels] = nused; 1175 nused++; 1192 nused++; 1218 nused++; 1246 nused++; 1270 offsets[labels] = nused; [all...] |
/netbsd-current/sys/kern/ |
H A D | exec_elf.c | 835 u_int nused = epp->ep_vmcmds.evs_used; local 842 if (epp->ep_vmcmds.evs_used == nused) { 850 ap->arg_interp = epp->ep_vmcmds.evs_cmds[nused].ev_addr;
|
/netbsd-current/sys/dev/pci/ |
H A D | virtio.c | 615 uint16_t idx, nused; local 624 nused = (uint16_t) 626 KASSERT(nused <= vq->vq_num); 628 return nslots < nused;
|
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | pointer-query.cc | 1568 unsigned nused = 0, nrefs = 0; 1576 ++nused; 1594 nidxs, nused,
|
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | dwarf.c | 9527 unsigned int nused; local 9552 SAFE_BYTE_GET (nused, phdr + 8, 4, limit); 9566 printf (_(" Number of used entries: %u\n"), nused); 9641 unsigned char *psizes = poffsets + (size_t) nused * ncols * 4; 9642 unsigned char *pend = psizes + (size_t) nused * ncols * 4; 9652 with overlarge ncols or nused values. */ 9655 || (size_t) nused * ncols * 4 / ((size_t) ncols * 4) != nused 9675 tu_count = nused; 9676 tu_sets = xcalloc2 (nused, sizeo [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | dwarf.c | 9746 unsigned int nused; local 9771 SAFE_BYTE_GET (nused, phdr + 8, 4, limit); 9785 printf (_(" Number of used entries: %u\n"), nused); 9860 unsigned char *psizes = poffsets + (size_t) nused * ncols * 4; 9861 unsigned char *pend = psizes + (size_t) nused * ncols * 4; 9871 with overlarge ncols or nused values. */ 9874 || (size_t) nused * ncols * 4 / ((size_t) ncols * 4) != nused 9894 tu_count = nused; 9895 tu_sets = xcalloc2 (nused, sizeo [all...] |
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | dwarf.c | 10787 unsigned int nused; local 10812 SAFE_BYTE_GET_AND_INC (nused, phash, 4, limit); 10825 printf (_(" Number of used entries: %u\n"), nused); 10897 unsigned char *psizes = poffsets + (size_t) nused * ncols * 4; 10908 with overlarge ncols or nused values. */ 10909 if (nused == -1u 10911 || _mul_overflow ((size_t) nused + 1, temp, &total) 10929 tu_count = nused; 10930 tu_sets = xcalloc2 (nused, sizeof (struct cu_tu_set)); 10935 cu_count = nused; [all...] |