| /netbsd/src/sbin/swapctl/ |
| D | swaplist.c | 66 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/ |
| D | floatformat.c | 199 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/gdb/dist/libiberty/ |
| D | floatformat.c | 199 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() 520 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | floatformat.c | 204 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/sys/arch/sparc64/sparc64/ |
| D | cpu.c | 489 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/distrib/utils/embedded/conf/ |
| D | x86.conf | 18 local totalsize=$(( ${size} / 512 )) 21 local asize=$(( ${totalsize} - ${aoffset} )) 27 local cylinders=$(( ${totalsize} / ${spc} )) 39 total sectors: ${totalsize} 51 c: ${totalsize} 0 unused 0 0 # 52 d: ${totalsize} 0 unused 0 0 #
|
| D | riscv.conf | 24 local totalsize=$(( ${size} / 512 )) 30 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} )) 37 local cylinders=$(( ${totalsize} / ${spc} )) 49 total sectors: ${totalsize} 61 c: ${totalsize} 0 unused 0 0 #
|
| D | evbarm.conf | 26 local totalsize=$(( ${size} / 512 )) 32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} )) 39 local cylinders=$(( ${totalsize} / ${spc} )) 51 total sectors: ${totalsize} 63 c: ${totalsize} 0 unused 0 0 #
|
| D | evbppc.conf | 26 local totalsize=$(( ${size} / 512 )) 32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} )) 39 local cylinders=$(( ${totalsize} / ${spc} )) 51 total sectors: ${totalsize} 63 c: ${totalsize} 0 unused 0 0 #
|
| D | evbmips.conf | 26 local totalsize=$(( ${size} / 512 )) 32 local asize=$(( ${totalsize} - ${bootsize} - ${bootoffset} )) 39 local cylinders=$(( ${totalsize} / ${spc} )) 51 total sectors: ${totalsize} 63 c: ${totalsize} 0 unused 0 0 #
|
| /netbsd/src/sys/lib/libz/ |
| D | zalloc.c | 44 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/external/gpl3/gdb/dist/gdb/ |
| D | target-float.c | 92 return ((fmt->totalsize + FLOATFORMAT_CHAR_BIT - 1) in floatformat_totalsize_bytes() 129 words = fmt->totalsize / FLOATFORMAT_CHAR_BIT; in floatformat_normalize_byteorder() 306 gdb_assert (fmt->totalsize in floatformat_is_negative() 319 return get_field (uval, order, fmt->totalsize, fmt->sign_start, 1); in floatformat_is_negative() 336 gdb_assert (fmt->totalsize in floatformat_classify() 351 exponent = get_field (uval, order, fmt->totalsize, fmt->exp_start, in floatformat_classify() 362 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits); in floatformat_classify() 426 gdb_assert (fmt->totalsize in floatformat_mantissa() 454 mant = get_field (uval, order, fmt->totalsize, mant_off, mant_bits); in floatformat_mantissa() 463 mant = get_field (uval, order, fmt->totalsize, mant_off, 32); in floatformat_mantissa() [all …]
|
| /netbsd/src/sys/external/bsd/common/include/linux/ |
| D | overflow.h | 70 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/ |
| D | hash.c | 78 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/sys/arch/x86/x86/ |
| D | identcpu_subr.c | 220 int type, level, ways, partitions, linesize, sets, totalsize; in cpu_dcp_cacheinfo() local 264 totalsize = ways * partitions * linesize * sets; in cpu_dcp_cacheinfo() 265 ci->ci_cinfo[caitype].cai_totalsize = totalsize; in cpu_dcp_cacheinfo()
|
| /netbsd/src/sys/arch/netwinder/netwinder/ |
| D | netwinder_machdep.c | 593 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/npwr_fc/ |
| D | npwr_fc_machdep.c | 558 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/iq80310/ |
| D | iq80310_machdep.c | 549 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/iq80321/ |
| D | iq80321_machdep.c | 575 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/adi_brh/ |
| D | brh_machdep.c | 546 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/hdl_g/ |
| D | hdlg_machdep.c | 429 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/ixdp425/ |
| D | ixdp425_machdep.c | 557 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/ |
| D | ixm1200_machdep.c | 504 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()
|
| /netbsd/src/sys/arch/epoc32/epoc32/ |
| D | machdep.c | 306 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local 312 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm() 313 datasize = totalsize - textsize; /* data and bss */ in initarm()
|
| /netbsd/src/sys/arch/evbarm/nslu2/ |
| D | nslu2_machdep.c | 615 size_t totalsize = (uintptr_t) _end - KERNEL_TEXT_BASE; in initarm() local 619 totalsize = (totalsize + PGOFSET) & ~PGOFSET; in initarm() 627 physical_start + logical, totalsize - textsize, in initarm()
|