Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 25 of 61) sorted by relevance

123

/netbsd-src/sbin/swapctl/
H A Dswaplist.c66 int64_t totalsize, totalinuse; in list_swap() local
122 totalsize = totalinuse = ncounted = 0; in list_swap()
129 totalsize += size; in list_swap()
166 if ((humanize_number(szbuf, sizeof(szbuf), (dbtoqb(totalsize)), in list_swap()
173 (long)(dbtoqb(totalsize) / blocksize), in list_swap()
179 if ((humanize_number(szbuf, sizeof(szbuf), (dbtoqb(totalsize)), in list_swap()
185 if ((humanize_number(avbuf, sizeof(avbuf), (dbtoqb(totalsize-totalinuse)), in list_swap()
193 (long)(dbtoqb(totalsize) / blocksize), suff, in list_swap()
195 (long)(dbtoqb(totalsize - totalinuse) / blocksize), suff); in list_swap()
199 if ((humanize_number(szbuf, sizeof(szbuf), (dbtoqb(totalsize)), in list_swap()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dfloatformat.c199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, in mant_bits_set()
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double()
524 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dfloatformat.c204 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
206 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
303 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
305 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
341 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
365 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
373 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
434 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, in mant_bits_set()
503 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double()
529 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dfloatformat.c199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
298 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
300 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
336 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
360 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
368 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
429 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, in mant_bits_set()
498 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double()
524 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dfloatformat.c188 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
190 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
303 top_exp = get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
305 bot_exp = get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
341 if (get_field (ufrom + 8, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
365 return !get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
373 if (get_field (ufrom, hfmt->byteorder, hfmt->totalsize, in floatformat_ibm_long_double_is_valid()
417 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, in mant_bits_set()
486 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double()
512 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dxvasprintf.c43 size_t totalsize; in xstrcat() local
48 totalsize = 0; in xstrcat()
53 totalsize = xsum (totalsize, strlen (next)); in xstrcat()
60 if (totalsize == SIZE_MAX || totalsize > INT_MAX) in xstrcat()
67 result = (char *) xmalloc (totalsize + 1); in xstrcat()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dxvasprintf.c43 size_t totalsize; in xstrcat() local
48 totalsize = 0; in xstrcat()
53 totalsize = xsum (totalsize, strlen (next)); in xstrcat()
60 if (totalsize == SIZE_MAX || totalsize > INT_MAX) in xstrcat()
67 result = (char *) xmalloc (totalsize + 1); in xstrcat()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dcpu.c489 int totalsize = 0; in cpu_attach() local
588 totalsize = icachesize; in cpu_attach()
589 if (totalsize == 0) in cpu_attach()
590 totalsize = l * in cpu_attach()
593 cachesize = totalsize / cpu_icache_associativity(node); in cpu_attach()
597 if (totalsize > 0) { in cpu_attach()
599 (long)totalsize/1024, in cpu_attach()
603 ci->ci_cacheinfo.c_itotalsize = totalsize; in cpu_attach()
617 totalsize = dcachesize; in cpu_attach()
618 if (totalsize == 0) in cpu_attach()
[all …]
/netbsd-src/external/gpl2/dtc/dist/
H A Dflattree.c337 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
378 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
384 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
392 padlen = FDTALIGN2(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
393 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
396 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
398 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
801 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
842 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
843 if (totalsize < FDT_V1_SIZE) in dt_from_blob()
[all …]
H A Dfdtdump.c59 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); in dump_blob() local
72 totalsize, totalsize); in dump_blob()
H A Dutil.c295 int totalsize; in utilfdt_write_err() local
306 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
309 while (offset < totalsize) { in utilfdt_write_err()
310 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
/netbsd-src/sys/external/bsd/libfdt/dist/
H A Dfdt.c22 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local
38 if (totalsize < INT32_MAX) in fdt_ro_probe_()
39 return totalsize; in fdt_ro_probe_()
44 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument
46 return (off >= hdrsize) && (off <= totalsize); in check_off_()
49 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument
52 if (!check_off_(hdrsize, totalsize, base)) in check_block_()
56 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
/netbsd-src/sys/lib/libz/
H A Dzalloc.c44 unsigned int totalsize; in zcalloc() local
46 totalsize = items * size; in zcalloc()
47 opaque = alloc(totalsize); in zcalloc()
49 memset(opaque, 0, totalsize); in zcalloc()
/netbsd-src/sys/external/bsd/common/include/linux/
H A Doverflow.h70 size_t arraysize, totalsize; in __struct_size() local
75 if (check_add_overflow(basesize, arraysize, &totalsize)) in __struct_size()
77 return totalsize; in __struct_size()
/netbsd-src/usr.sbin/bootp/common/
H A Dhash.c78 unsigned totalsize; in hash_Init() local
81 totalsize = sizeof(hash_tbl) in hash_Init()
83 hashtblptr = (hash_tbl *) malloc(totalsize); in hash_Init()
85 bzero((char *) hashtblptr, totalsize); in hash_Init()
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dpylibfdt_tests.py286 self.assertEquals(self.fdt.totalsize(), len(self.fdt._fdt))
298 orig_size = self.fdt.totalsize()
301 self.assertEquals(orig_size, self.fdt.totalsize())
303 self.assertTrue(self.fdt.totalsize() < orig_size)
304 self.assertEquals(self.fdt.totalsize(), len(self.fdt.as_bytearray()))
396 self.assertEquals(128, fdt.totalsize())
401 self.assertEquals(128, fdt.totalsize())
403 self.assertEquals(256, fdt.totalsize())
405 self.assertTrue(fdt.totalsize() < 128)
422 self.fdt.resize(self.fdt.totalsize() + 50)
[all …]
/netbsd-src/sys/arch/x86/x86/
H A Didentcpu_subr.c171 int type, level, ways, partitions, linesize, sets, totalsize; in cpu_dcp_cacheinfo() local
215 totalsize = ways * partitions * linesize * sets; in cpu_dcp_cacheinfo()
216 ci->ci_cinfo[caitype].cai_totalsize = totalsize; in cpu_dcp_cacheinfo()
/netbsd-src/sys/arch/netwinder/netwinder/
H A Dnetwinder_machdep.c593 size_t totalsize = (uintptr_t) _end - KERNEL_BASE; in initarm() local
597 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
600 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
608 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/iq80321/
H A Diq80321_machdep.c575 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
579 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
587 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/iq80310/
H A Diq80310_machdep.c549 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
553 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
561 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/hdl_g/
H A Dhdlg_machdep.c429 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
433 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
441 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/npwr_fc/
H A Dnpwr_fc_machdep.c558 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
562 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
570 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/adi_brh/
H A Dbrh_machdep.c546 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
550 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
558 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/ixdp425/
H A Dixdp425_machdep.c557 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
561 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
569 physical_start + logical, totalsize - textsize, in initarm()
/netbsd-src/sys/arch/evbarm/ixm1200/
H A Dixm1200_machdep.c504 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local
508 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm()
516 physical_start + logical, totalsize - textsize, in initarm()

123