/openbmc/linux/drivers/md/ |
H A D | dm-region-hash.c | 187 rh = kzalloc(sizeof(*rh), GFP_KERNEL); in dm_region_hash_create() 271 return (unsigned int) ((region * rh->prime) >> rh->shift) & rh->mask; in rh_hash() 301 nreg->rh = rh; in __rh_alloc() 369 struct dm_region_hash *rh = reg->rh; in complete_resync_work() local 502 rh->log->type->flush(rh->log); in dm_rh_update_states() 536 rh_inc(rh, dm_rh_bio_to_region(rh, bio)); in dm_rh_inc_pending() 583 rh->wakeup_workers(rh->context); in dm_rh_dec() 666 struct dm_region_hash *rh = reg->rh; in dm_rh_recovery_end() local 676 rh->wakeup_workers(rh->context); in dm_rh_recovery_end() 689 return rh->log->type->flush(rh->log); in dm_rh_flush() [all …]
|
H A D | dm-raid1.c | 70 struct dm_region_hash *rh; member 398 dm_rh_recovery_prepare(ms->rh); in do_recovery() 757 dm_rh_inc_pending(ms->rh, &sync); in do_writes() 758 dm_rh_inc_pending(ms->rh, &nosync); in do_writes() 780 dm_rh_delay(ms->rh, bio); in do_writes() 822 dm_rh_mark_nosync(ms->rh, bio); in do_failures() 927 if (IS_ERR(ms->rh)) { in alloc_context() 944 dm_region_hash_destroy(ms->rh); in free_context() 1340 dm_rh_stop_recovery(ms->rh); in mirror_presuspend() 1343 !dm_rh_recovery_in_flight(ms->rh)); in mirror_presuspend() [all …]
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | dma.c | 184 rh->xfer_struct_sz * rh->xfer_entries, in hci_dma_cleanup() 185 rh->xfer, rh->xfer_dma); in hci_dma_cleanup() 188 rh->resp_struct_sz * rh->xfer_entries, in hci_dma_cleanup() 189 rh->resp, rh->resp_dma); in hci_dma_cleanup() 193 rh->ibi_status_sz * rh->ibi_status_entries, in hci_dma_cleanup() 194 rh->ibi_status, rh->ibi_status_dma); in hci_dma_cleanup() 197 rh->ibi_chunk_sz * rh->ibi_chunks_total, in hci_dma_cleanup() 250 rh->xfer_struct_sz, rh->resp_struct_sz); in hci_dma_init() 262 if (!rh->xfer || !rh->resp || !rh->src_xfers) in hci_dma_init() 307 if (!rh->ibi_status || !rh->ibi_data) in hci_dma_init() [all …]
|
/openbmc/linux/include/linux/ |
H A D | dm-region-hash.h | 46 void dm_region_hash_destroy(struct dm_region_hash *rh); 48 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh); 60 sector_t dm_rh_get_region_size(struct dm_region_hash *rh); 68 void dm_rh_set_state(struct dm_region_hash *rh, region_t region, 75 int dm_rh_flush(struct dm_region_hash *rh); 79 void dm_rh_dec(struct dm_region_hash *rh, region_t region); 82 void dm_rh_delay(struct dm_region_hash *rh, struct bio *bio); 91 void dm_rh_recovery_prepare(struct dm_region_hash *rh); 100 int dm_rh_recovery_in_flight(struct dm_region_hash *rh); 103 void dm_rh_start_recovery(struct dm_region_hash *rh); [all …]
|
H A D | math64.h | 208 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local 217 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 225 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr() 226 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr() 235 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() 236 return rh.ll >> (shift & 63); in mul_u64_u64_shr() 272 } u, rl, rh; in mul_u64_u32_div() local 276 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div() 279 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div() 284 rl.l.high = rh.l.low; in mul_u64_u32_div()
|
H A D | rethook.h | 67 void rethook_stop(struct rethook *rh); 68 void rethook_free(struct rethook *rh); 69 void rethook_add_node(struct rethook *rh, struct rethook_node *node); 70 struct rethook_node *rethook_try_get(struct rethook *rh);
|
/openbmc/linux/kernel/trace/ |
H A D | rethook.c | 43 node = rh->pool.head; in rethook_free_rcu() 53 kfree(rh); in rethook_free_rcu() 81 rethook_stop(rh); in rethook_free() 105 if (!rh || !handler) { in rethook_alloc() 106 kfree(rh); in rethook_alloc() 110 rh->data = data; in rethook_alloc() 112 rh->pool.head = NULL; in rethook_alloc() 115 return rh; in rethook_alloc() 128 node->rethook = rh; in rethook_add_node() 130 refcount_inc(&rh->ref); in rethook_add_node() [all …]
|
H A D | fprobe.c | 28 struct rethook_node *rh = NULL; in __fprobe_handler() local 36 rh = rethook_try_get(fp->rethook); in __fprobe_handler() 37 if (!rh) { in __fprobe_handler() 41 fpr = container_of(rh, struct fprobe_rethook_node, node); in __fprobe_handler() 52 if (rh) { in __fprobe_handler() 54 rethook_recycle(rh); in __fprobe_handler() 56 rethook_hook(rh, ftrace_get_regs(fregs), true); in __fprobe_handler() 122 static void fprobe_exit_handler(struct rethook_node *rh, void *data, in fprobe_exit_handler() argument 132 fpr = container_of(rh, struct fprobe_rethook_node, node); in fprobe_exit_handler()
|
/openbmc/u-boot/drivers/bios_emulator/x86emu/ |
H A D | ops2.c | 169 int mod, rl, rh; in x86emuOp2_set_byte() local 293 int mod, rl, rh; in x86emuOp2_bt_R() local 356 int mod, rl, rh; in x86emuOp2_shld_IMM() local 427 int mod, rl, rh; in x86emuOp2_shld_CL() local 517 int mod, rl, rh; in x86emuOp2_bts_R() local 590 int mod, rl, rh; in x86emuOp2_shrd_IMM() local 1078 switch (rh) { in x86emuOp2_btX_I() 1112 switch (rh) { in x86emuOp2_btX_I() 1132 switch (rh) { in x86emuOp2_btX_I() 1158 switch (rh) { in x86emuOp2_btX_I() [all …]
|
H A D | ops.c | 1291 switch (rh) { in x86emuOp_opc80_byte_RM_IMM() 1330 if (rh != 7) in x86emuOp_opc80_byte_RM_IMM() 1339 if (rh != 7) in x86emuOp_opc80_byte_RM_IMM() 1369 switch (rh) { in x86emuOp_opc81_word_RM_IMM() 1484 switch (rh) { in x86emuOp_opc82_byte_RM_IMM() 1522 if (rh != 7) in x86emuOp_opc82_byte_RM_IMM() 1530 if (rh != 7) in x86emuOp_opc82_byte_RM_IMM() 3093 switch (rh) { in x86emuOp_opcC0_byte_RM_MEM() 3168 switch (rh) { in x86emuOp_opcC1_word_RM_MEM() 4894 if (rh == 0) in x86emuOp_opcFE_byte_RM() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-mul64.c | 15 uint64_t rh, rl; member 43 uint64_t rl, rh; in test_u() local 44 mulu64(&rl, &rh, test_u_data[i].a, test_u_data[i].b); in test_u() 46 g_assert_cmpuint(rh, ==, test_u_data[i].rh); in test_u() 55 uint64_t rl, rh; in test_s() local 56 muls64(&rl, &rh, test_s_data[i].a, test_s_data[i].b); in test_s() 58 g_assert_cmpint(rh, ==, test_s_data[i].rh); in test_s()
|
/openbmc/linux/crypto/ |
H A D | vmac.c | 109 (rh)++; \ 152 rh = rl = 0; \ 178 rh = rl = 0; \ 387 t = rh >> 56; in l3hash() 389 rh <<= 8; in l3hash() 408 u64 rh, rl; in vhash_blocks() local 413 rh &= m62; in vhash_blocks() 421 rh &= m62; in vhash_blocks() 546 u64 rh, rl; in vhash_final() local 550 rh &= m62; in vhash_final() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 48 #define rh w10 macro 359 ldp rg, rh, [RSTATE, #24] 401 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 0, 0, IW, _, 0) 402 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 1, 1, IW, _, 0) 403 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 2, 2, IW, _, 0) 404 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 3, 3, IW, _, 0) 407 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 4, 0, IW, _, 0) 523 eor rh, rh, k_odd 524 stp rg, rh, [RSTATE, #24] 560 eor rh, rh, k_odd [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | m128_helper.c | 49 target_ulong rl, rh; in HELPER() local 54 rh = uh; in HELPER() 58 rh = int128_gethi(r); in HELPER() 61 env->retxh = rh; in HELPER() 94 target_ulong rh, rl; in HELPER() local 99 rh = uh; in HELPER() 103 rh = int128_gethi(r); in HELPER() 106 env->retxh = rh; in HELPER()
|
/openbmc/u-boot/include/linux/ |
H A D | math64.h | 194 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local 203 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 211 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr() 212 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr() 221 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() 222 return rh.ll >> (shift & 63); in mul_u64_u64_shr() 240 } u, rl, rh; in mul_u64_u32_div() local 244 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div() 247 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div() 252 rl.l.high = rh.l.low; in mul_u64_u32_div()
|
/openbmc/linux/drivers/dma/bestcomm/ |
H A D | sram.c | 90 bcom_sram->rh = rh_create(4); in bcom_sram_init() 103 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); in bcom_sram_init() 108 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init() 133 rh_destroy(bcom_sram->rh); in bcom_sram_cleanup() 147 offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); in bcom_sram_alloc() 168 rh_free(bcom_sram->rh, offset); in bcom_sram_free()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6t_rt.c | 34 const struct ipv6_rt_hdr *rh; in rt_mt6() local 51 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6() 52 if (rh == NULL) { in rt_mt6() 57 hdrlen = ipv6_optlen(rh); in rt_mt6() 64 rh->segments_left, in rt_mt6() 70 ((rtinfo->rt_type == rh->type) ^ in rt_mt6()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | rethook.c | 6 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument 8 rh->ret_addr = regs->gprs[14]; in arch_rethook_prepare() 9 rh->frame = regs->gprs[15]; in arch_rethook_prepare()
|
/openbmc/qemu/util/ |
H A D | host-utils.c | 44 LL rl, rm, rn, rh, a0, b0; in mul64() local 53 rh.ll = (uint64_t)a0.l.high * b0.l.high; in mul64() 58 c = c + rm.l.high + rn.l.high + rh.l.low; in mul64() 59 rh.l.low = c; in mul64() 60 rh.l.high += (uint32_t)(c >> 32); in mul64() 63 *phigh = rh.ll; in mul64() 75 uint64_t rh; in muls64() local 77 mul64(plow, &rh, a, b); in muls64() 81 rh -= a; in muls64() 84 rh -= b; in muls64() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 27 } rm, rn, rh, a0, b0; in mul_u64_u64_shr64() local 35 rh.ll = (u64)a0.l.high * b0.l.high; in mul_u64_u64_shr64() 37 rh.l.low = c = rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr64() 38 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr64() 40 return rh.ll; in mul_u64_u64_shr64()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.c | 353 recv_pkt->rh = info->rh; in octeon_create_recv_info() 532 union octeon_rh *rh, in octeon_droq_dispatch_pkt() argument 542 (u16)rh->r.subcode); in octeon_droq_dispatch_pkt() 550 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt() 558 (unsigned int)rh->r.opcode, in octeon_droq_dispatch_pkt() 559 (unsigned int)rh->r.subcode); in octeon_droq_dispatch_pkt() 601 union octeon_rh *rh; in octeon_droq_fast_process_packets() local 626 rh = &info->rh; in octeon_droq_fast_process_packets() 631 if (opcode_slow_path(rh)) { in octeon_droq_fast_process_packets() 694 rh, &droq->napi, in octeon_droq_fast_process_packets() [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvm.c.inc | 50 static void gen_mul_i128(TCGv rl, TCGv rh, 58 tcg_gen_mulu2_tl(rl, rh, rs1l, rs2l); 60 tcg_gen_add2_tl(rh, tmpx, rh, zero, tmpl, tmph); 62 tcg_gen_add2_tl(rh, tmph, rh, tmpx, tmpl, tmph); 71 static void gen_mulh_i128(TCGv rl, TCGv rh, 86 tcg_gen_sub2_tl(t0l, t0h, rl, rh, t0l, t0h); 110 static void gen_mulhsu_i128(TCGv rl, TCGv rh, 121 tcg_gen_sub2_tl(rl, rh, rl, rh, t0l, t0h); 127 TCGv rh = tcg_temp_new(); 129 tcg_gen_mulu2_tl(rl, rh, arg1, arg2); [all …]
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfp.h | 73 u64 rh, rma, rmb, rl; in mul64to128() local 86 rh = (u64)nh * mh; in mul64to128() 87 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); in mul64to128() 91 rh += (rl < rma); in mul64to128() 94 *resh = rh; in mul64to128() 105 u64 rh, rl; in vfp_hi64multiply64() local 106 mul64to128(&rh, &rl, n, m); in vfp_hi64multiply64() 107 return rh | (rl != 0); in vfp_hi64multiply64()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | rethook.c | 117 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument 121 rh->ret_addr = stack[0]; in arch_rethook_prepare() 122 rh->frame = regs->sp; in arch_rethook_prepare()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/ |
H A D | openhpi.init | 81 nolsb | rh) 107 gentoo | rh) 139 nolsb | rh) 180 gentoo | nolsb | rh)
|