/netbsd/sys/kern/ |
H A D | subr_hash.c | 59 size_t esize; in hash_list_size() local 63 esize = sizeof(*hashtbl_list); in hash_list_size() 66 esize = sizeof(*hashtbl_pslist); in hash_list_size() 69 esize = sizeof(*hashtbl_slist); in hash_list_size() 72 esize = sizeof(*hashtbl_tailq); in hash_list_size() 77 return esize; in hash_list_size() 94 size_t esize; in hashinit() local 104 esize = hash_list_size(htype); in hashinit() 106 p = kmem_alloc(hashsize * esize, waitok ? KM_SLEEP : KM_NOSLEEP); in hashinit() 142 const size_t esize = hash_list_size(htype); in hashdone() local [all …]
|
/netbsd/external/gpl3/gcc/dist/libquadmath/printf/ |
H A D | mul_n.c | 128 mp_size_t esize = size - 1; /* even size */ local 131 MPN_MUL_N_RECURSE (prodp, up, vp, esize, tspace); 132 cy_limb = mpn_addmul_1 (prodp + esize, up, esize, vp[esize]); 133 prodp[esize + esize] = cy_limb; 134 cy_limb = mpn_addmul_1 (prodp + esize, vp, size, up[esize]); 136 prodp[esize + size] = cy_limb;
|
/netbsd/external/gpl3/gcc.old/dist/libquadmath/printf/ |
H A D | mul_n.c | 128 mp_size_t esize = size - 1; /* even size */ local 131 MPN_MUL_N_RECURSE (prodp, up, vp, esize, tspace); 132 cy_limb = mpn_addmul_1 (prodp + esize, up, esize, vp[esize]); 133 prodp[esize + esize] = cy_limb; 134 cy_limb = mpn_addmul_1 (prodp + esize, vp, size, up[esize]); 136 prodp[esize + size] = cy_limb;
|
/netbsd/sys/dev/ieee1394/ |
H A D | fwdma.h | 56 bus_size_t esize; member 66 int offset = am->esize * index; in fwdma_v_addr() 75 int offset = am->esize * index; in fwdma_bus_addr() 86 off = (am->esize * start) % am->ssize; in fwdma_sync_multiseg() 87 eoff = (am->esize * end) % am->ssize; in fwdma_sync_multiseg() 88 seg = &am->seg[am->esize * start / am->ssize]; in fwdma_sync_multiseg() 89 eseg = &am->seg[am->esize * end / am->ssize]; in fwdma_sync_multiseg() 105 off, eoff - off + am->esize, op); in fwdma_sync_multiseg()
|
H A D | fwdma.c | 149 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, int esize, int n, in fwdma_malloc_multiseg() argument 158 if (esize > PAGE_SIZE) { in fwdma_malloc_multiseg() 160 esize = ssize = roundup2(esize, PAGE_SIZE); in fwdma_malloc_multiseg() 164 ssize = rounddown(PAGE_SIZE, esize); in fwdma_malloc_multiseg() 165 nseg = howmany(n, ssize / esize); in fwdma_malloc_multiseg() 175 am->esize = esize; in fwdma_malloc_multiseg()
|
/netbsd/lib/libc/net/ |
H A D | nsdispatch.c | 197 _nsvect_append(const void *elem, void *vec, u_int *count, size_t esize) in _nsvect_append() argument 202 p = realloc(vec, (*count + NSELEMSPERCHUNK) * esize); in _nsvect_append() 207 memmove((void *)(((uintptr_t)vec) + (*count * esize)), elem, esize); in _nsvect_append() 213 _nsvect_elem(u_int i, void *vec, u_int count, size_t esize) in _nsvect_elem() argument 217 return ((void *)((uintptr_t)vec + (i * esize))); in _nsvect_elem() 223 _nsvect_free(void *vec, u_int *count, size_t esize, _nsvect_free_elem free_elem) in _nsvect_free() argument 229 elem = _nsvect_elem(i, vec, *count, esize); in _nsvect_free()
|
/netbsd/sys/arch/aarch64/aarch64/ |
H A D | db_trace.c | 222 int esize, len; in DecodeBitMasks() local 225 esize = (1 << len); in DecodeBitMasks() 226 imms &= (esize - 1); in DecodeBitMasks() 227 immr &= (esize - 1); in DecodeBitMasks() 228 result = rotate(esize, (1ULL << (imms + 1)) - 1, immr); in DecodeBitMasks() 229 while (esize < bitwidth) { in DecodeBitMasks() 230 result |= (result << esize); in DecodeBitMasks() 231 esize <<= 1; in DecodeBitMasks()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | mdtest.c | 243 unsigned int esize; in hash_test() local 292 EVP_DigestFinal_ex(ectx, res, &esize); in hash_test() 295 if (hash->hsize != esize) { in hash_test()
|
/netbsd/external/gpl3/gdb/dist/sim/arm/ |
H A D | arminit.c | 281 int esize = (TFLAG ? 0 : 4); in ARMul_Abort() local 307 SETABORT (IBIT, state->prog32Sig ? ABORT32MODE : SVC26MODE, esize); in ARMul_Abort() 319 SETABORT (IBIT, state->prog32Sig ? IRQ32MODE : IRQ26MODE, esize); in ARMul_Abort() 325 SETABORT (INTBITS, state->prog32Sig ? FIQ32MODE : FIQ26MODE, esize); in ARMul_Abort()
|
/netbsd/external/gpl3/gdb.old/dist/sim/arm/ |
H A D | arminit.c | 281 int esize = (TFLAG ? 0 : 4); in ARMul_Abort() local 307 SETABORT (IBIT, state->prog32Sig ? ABORT32MODE : SVC26MODE, esize); in ARMul_Abort() 319 SETABORT (IBIT, state->prog32Sig ? IRQ32MODE : IRQ26MODE, esize); in ARMul_Abort() 325 SETABORT (INTBITS, state->prog32Sig ? FIQ32MODE : FIQ26MODE, esize); in ARMul_Abort()
|
/netbsd/external/gpl3/gdb/dist/opcodes/ |
H A D | aarch64-asm.c | 453 int esize = aarch64_get_qualifier_esize (opnd0_qualifier); in aarch64_ins_advsimd_imm_modified() local 454 assert (esize == 4 || esize == 2 || esize == 1); in aarch64_ins_advsimd_imm_modified() 457 if (esize == 1) in aarch64_ins_advsimd_imm_modified() 460 if (esize == 4) in aarch64_ins_advsimd_imm_modified() 555 assert (aarch64_logical_immediate_p (imm, esize, &value)); in aarch64_ins_limm_1() 1172 insert_fields (code, (info->reglane.index * 2 + 1) * esize, 0, in aarch64_ins_sve_index() 1237 unsigned int esize; in aarch64_ins_sve_shlimm() local 1241 esize = aarch64_get_qualifier_esize (prev_operand->qualifier); in aarch64_ins_sve_shlimm() 1242 insert_all_fields (self, code, 8 * esize + info->imm.value); in aarch64_ins_sve_shlimm() 1254 unsigned int esize; in aarch64_ins_sve_shrimm() local [all …]
|
H A D | aarch64-opc.c | 1249 value, esize); in aarch64_logical_immediate_p() 1259 upper = (uint64_t) -1 << (esize * 4) << (esize * 4); in aarch64_logical_immediate_p() 1265 for (i = esize * 8; i < 64; i *= 2) in aarch64_logical_immediate_p() 2124 if (!aarch64_wide_constant_p (imm, esize == 4, NULL)) in operand_general_constraint_met_p() 2132 if (!aarch64_logical_immediate_p (imm, esize, NULL)) in operand_general_constraint_met_p() 2221 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2498 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2511 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2517 if (!aarch64_sve_dupm_mov_immediate_p (uimm, esize)) in operand_general_constraint_met_p() 5038 aarch64_sve_dupm_mov_immediate_p (uint64_t uvalue, int esize) in aarch64_sve_dupm_mov_immediate_p() argument [all …]
|
/netbsd/external/gpl3/binutils.old/dist/opcodes/ |
H A D | aarch64-asm.c | 442 int esize = aarch64_get_qualifier_esize (opnd0_qualifier); in aarch64_ins_advsimd_imm_modified() local 443 assert (esize == 4 || esize == 2 || esize == 1); in aarch64_ins_advsimd_imm_modified() 446 if (esize == 1) in aarch64_ins_advsimd_imm_modified() 449 if (esize == 4) in aarch64_ins_advsimd_imm_modified() 544 assert (aarch64_logical_immediate_p (imm, esize, &value)); in aarch64_ins_limm_1() 1161 insert_fields (code, (info->reglane.index * 2 + 1) * esize, 0, in aarch64_ins_sve_index() 1226 unsigned int esize; in aarch64_ins_sve_shlimm() local 1230 esize = aarch64_get_qualifier_esize (prev_operand->qualifier); in aarch64_ins_sve_shlimm() 1231 insert_all_fields (self, code, 8 * esize + info->imm.value); in aarch64_ins_sve_shlimm() 1243 unsigned int esize; in aarch64_ins_sve_shrimm() local [all …]
|
H A D | aarch64-opc.c | 1248 value, esize); in aarch64_logical_immediate_p() 1258 upper = (uint64_t) -1 << (esize * 4) << (esize * 4); in aarch64_logical_immediate_p() 1264 for (i = esize * 8; i < 64; i *= 2) in aarch64_logical_immediate_p() 2123 if (!aarch64_wide_constant_p (imm, esize == 4, NULL)) in operand_general_constraint_met_p() 2131 if (!aarch64_logical_immediate_p (imm, esize, NULL)) in operand_general_constraint_met_p() 2219 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2496 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2509 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2515 if (!aarch64_sve_dupm_mov_immediate_p (uimm, esize)) in operand_general_constraint_met_p() 5135 aarch64_sve_dupm_mov_immediate_p (uint64_t uvalue, int esize) in aarch64_sve_dupm_mov_immediate_p() argument [all …]
|
/netbsd/external/gpl3/gdb.old/dist/opcodes/ |
H A D | aarch64-asm.c | 453 int esize = aarch64_get_qualifier_esize (opnd0_qualifier); in aarch64_ins_advsimd_imm_modified() local 454 assert (esize == 4 || esize == 2 || esize == 1); in aarch64_ins_advsimd_imm_modified() 457 if (esize == 1) in aarch64_ins_advsimd_imm_modified() 460 if (esize == 4) in aarch64_ins_advsimd_imm_modified() 555 assert (aarch64_logical_immediate_p (imm, esize, &value)); in aarch64_ins_limm_1() 1172 insert_fields (code, (info->reglane.index * 2 + 1) * esize, 0, in aarch64_ins_sve_index() 1237 unsigned int esize; in aarch64_ins_sve_shlimm() local 1241 esize = aarch64_get_qualifier_esize (prev_operand->qualifier); in aarch64_ins_sve_shlimm() 1242 insert_all_fields (self, code, 8 * esize + info->imm.value); in aarch64_ins_sve_shlimm() 1254 unsigned int esize; in aarch64_ins_sve_shrimm() local [all …]
|
H A D | aarch64-opc.c | 1249 value, esize); in aarch64_logical_immediate_p() 1259 upper = (uint64_t) -1 << (esize * 4) << (esize * 4); in aarch64_logical_immediate_p() 1265 for (i = esize * 8; i < 64; i *= 2) in aarch64_logical_immediate_p() 2124 if (!aarch64_wide_constant_p (imm, esize == 4, NULL)) in operand_general_constraint_met_p() 2132 if (!aarch64_logical_immediate_p (imm, esize, NULL)) in operand_general_constraint_met_p() 2221 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2498 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2511 if (!aarch64_logical_immediate_p (uimm, esize, NULL)) in operand_general_constraint_met_p() 2517 if (!aarch64_sve_dupm_mov_immediate_p (uimm, esize)) in operand_general_constraint_met_p() 5038 aarch64_sve_dupm_mov_immediate_p (uint64_t uvalue, int esize) in aarch64_sve_dupm_mov_immediate_p() argument [all …]
|
/netbsd/external/bsd/jemalloc/dist/src/ |
H A D | extent.c | 458 size_t esize, size_t alignment) { in extents_fit_locked() argument 463 if (max_size < esize) { in extents_fit_locked() 873 size_t esize = size + pad; in extent_recycle_extract() local 887 extent_size_get(extent) < esize || in extent_recycle_extract() 944 size_t esize = size + pad; in extent_split_interior() local 948 if (extent_size_get(*extent) < leadsize + esize) { in extent_split_interior() 974 esize, szind, slab, trailsize, NSIZES, false, in extent_split_interior() 1234 size_t esize = size + pad; in extent_grow_retained() local 1237 if (alloc_size_min < esize) { in extent_grow_retained() 1423 size_t esize = size + pad; in extent_alloc_wrapper_hard() local [all …]
|
/netbsd/lib/libkvm/ |
H A D | kvm_proc.c | 492 kvm_getproc2(kvm_t *kd, int op, int arg, size_t esize, int *cnt) in kvm_getproc2() argument 504 mib[4] = (int)esize; in kvm_getproc2() 513 mib[5] = (int) (size / esize); in kvm_getproc2() 523 nprocs = (int) (size / esize); in kvm_getproc2() 535 size = nprocs * esize; in kvm_getproc2() 723 memcpy(kp2c, &kp2, esize); in kvm_getproc2() 724 kp2c += esize; in kvm_getproc2() 732 kvm_getlwps(kvm_t *kd, int pid, u_long paddr, size_t esize, int *cnt) in kvm_getlwps() argument 744 mib[3] = (int)esize; in kvm_getlwps() 758 mib[4] = (int) (size / esize); in kvm_getlwps() [all …]
|
/netbsd/external/gpl3/binutils/dist/opcodes/ |
H A D | aarch64-asm.c | 453 int esize = aarch64_get_qualifier_esize (opnd0_qualifier); in aarch64_ins_advsimd_imm_modified() local 454 assert (esize == 4 || esize == 2 || esize == 1); in aarch64_ins_advsimd_imm_modified() 457 if (esize == 1) in aarch64_ins_advsimd_imm_modified() 460 if (esize == 4) in aarch64_ins_advsimd_imm_modified() 556 res = aarch64_logical_immediate_p (imm, esize, &value); in aarch64_ins_limm_1() 1192 insert_fields (code, (info->reglane.index * 2 + 1) * esize, 0, in aarch64_ins_sve_index() 1257 unsigned int esize; in aarch64_ins_sve_shlimm() local 1261 esize = aarch64_get_qualifier_esize (prev_operand->qualifier); in aarch64_ins_sve_shlimm() 1262 insert_all_fields (self, code, 8 * esize + info->imm.value); in aarch64_ins_sve_shlimm() 1274 unsigned int esize; in aarch64_ins_sve_shrimm() local [all …]
|
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | heaptrace.c | 444 calloc (size_t size, size_t esize) in calloc() argument 457 ret = (void *) CALL_REAL (calloc)(size, esize); in calloc() 461 ret = (void *) CALL_REAL (calloc)(size, esize); in calloc() 466 hpacket.size = (Size_type) (size * esize); in calloc()
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
H A D | nouveau_nvkm_subdev_instmem_nv50.c | 156 bus_size_t esize; in nv50_instobj_kmap() local 184 esize = nvkm_memory_size(&eobj->base.memory); in nv50_instobj_kmap() 192 bus_space_unmap(ebst, ebsh, esize); in nv50_instobj_kmap()
|
/netbsd/external/gpl3/gcc/dist/gcc/brig/brigfrontend/ |
H A D | brig-basic-inst-handler.cc | 665 size_t esize = is_fp16_operation ? 32 : element_size_bits; in operator ()() local 669 tree mask_inner_type = build_nonstandard_integer_type (esize, 1); in operator ()() 716 size_t esize = 8 * int_size_in_bytes (element_type); in build_lower_element_broadcast() local 720 tree mask_inner_type = build_nonstandard_integer_type (esize, 1); in build_lower_element_broadcast()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/ |
H A D | brig-basic-inst-handler.cc | 665 size_t esize = is_fp16_operation ? 32 : element_size_bits; in operator ()() local 669 tree mask_inner_type = build_nonstandard_integer_type (esize, 1); in operator ()() 716 size_t esize = 8 * int_size_in_bytes (element_type); in build_lower_element_broadcast() local 720 tree mask_inner_type = build_nonstandard_integer_type (esize, 1); in build_lower_element_broadcast()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/ |
H A D | d-convert.cc | 471 dinteger_t esize = ebtype->nextOf ()->size (); in convert_expr() local 476 if (esize != tsize) in convert_expr() 480 if (tsize == 0 || (dim * esize) % tsize != 0) in convert_expr() 486 dim = (dim * esize) / tsize; in convert_expr()
|
/netbsd/external/gpl3/gcc/dist/gcc/d/ |
H A D | d-convert.cc | 471 dinteger_t esize = ebtype->nextOf ()->size (); in convert_expr() local 476 if (esize != tsize) in convert_expr() 480 if (tsize == 0 || (dim * esize) % tsize != 0) in convert_expr() 486 dim = (dim * esize) / tsize; in convert_expr()
|