Home
last modified time | relevance | path

Searched full:rh (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.12.1/drivers/md/
Ddm-region-hash.c106 struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ member
120 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region() argument
122 return sector >> rh->region_shift; in dm_rh_sector_to_region()
125 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector() argument
127 return region << rh->region_shift; in dm_rh_region_to_sector()
131 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region() argument
133 return dm_rh_sector_to_region(rh, bio->bi_iter.bi_sector - in dm_rh_bio_to_region()
134 rh->target_begin); in dm_rh_bio_to_region()
140 return reg->rh->context; in dm_rh_region_context()
150 sector_t dm_rh_get_region_size(struct dm_region_hash *rh) in dm_rh_get_region_size() argument
[all …]
Ddm-raid1.c70 struct dm_region_hash *rh; member
342 sector_t region_size = dm_rh_get_region_size(ms->rh); in recover()
347 from.sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover()
366 dest->sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover()
393 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery()
398 dm_rh_recovery_prepare(ms->rh); in do_recovery()
403 while ((reg = dm_rh_recovery_start(ms->rh))) in do_recovery()
447 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available()
448 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available()
563 int state = dm_rh_get_state(ms->rh, region, may_block); in region_in_sync()
[all …]
/linux-6.12.1/drivers/i3c/master/mipi-i3c-hci/
Ddma.c55 #define rh_reg_read(r) readl(rh->regs + (RH_##r))
56 #define rh_reg_write(r, v) writel(v, rh->regs + (RH_##r))
153 struct hci_rh_data *rh; in hci_dma_cleanup() local
160 rh = &rings->headers[i]; in hci_dma_cleanup()
167 if (rh->xfer) in hci_dma_cleanup()
169 rh->xfer_struct_sz * rh->xfer_entries, in hci_dma_cleanup()
170 rh->xfer, rh->xfer_dma); in hci_dma_cleanup()
171 if (rh->resp) in hci_dma_cleanup()
173 rh->resp_struct_sz * rh->xfer_entries, in hci_dma_cleanup()
174 rh->resp, rh->resp_dma); in hci_dma_cleanup()
[all …]
/linux-6.12.1/kernel/trace/
Drethook.c37 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu() local
38 objpool_fini(&rh->pool); in rethook_free_rcu()
43 * @rh: the struct rethook to stop.
49 void rethook_stop(struct rethook *rh) in rethook_stop() argument
51 rcu_assign_pointer(rh->handler, NULL); in rethook_stop()
56 * @rh: the struct rethook to be freed.
59 * @rh::data is cleaned if needed (or, the handler can access it after
60 * calling this function.) This function will set the @rh to be freed
62 * not touch @rh after calling this.
64 void rethook_free(struct rethook *rh) in rethook_free() argument
[all …]
Dfprobe.c28 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()
/linux-6.12.1/include/linux/
Ddm-region-hash.h46 void dm_region_hash_destroy(struct dm_region_hash *rh);
48 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
53 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio);
54 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
60 sector_t dm_rh_get_region_size(struct dm_region_hash *rh);
67 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block);
68 void dm_rh_set_state(struct dm_region_hash *rh, region_t region,
72 void dm_rh_update_states(struct dm_region_hash *rh, int errors_handled);
75 int dm_rh_flush(struct dm_region_hash *rh);
78 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
[all …]
Dmath64.h204 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local
213 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
221 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
222 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr()
225 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr()
231 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
232 return rh.ll >> (shift & 63); in mul_u64_u64_shr()
268 } u, rl, rh; in mul_u64_u32_div() local
272 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div()
274 /* Bits 32-63 of the result will be in rh.l.low. */ in mul_u64_u32_div()
[all …]
Drethook.h61 void rethook_stop(struct rethook *rh);
62 void rethook_free(struct rethook *rh);
63 struct rethook_node *rethook_try_get(struct rethook *rh);
/linux-6.12.1/arch/arm64/crypto/
Dsm3-neon-core.S48 #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)
408 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 5, 1, IW, _, 0)
409 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 6, 2, IW, SCHED_W_W0W1W2W3W4W5_1, 12)
410 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 7, 3, IW, SCHED_W_W0W1W2W3W4W5_2, 12)
[all …]
/linux-6.12.1/crypto/
Dvmac.c104 #define ADD128(rh, rl, ih, il) \ argument
109 (rh)++; \
110 (rh) += (ih); \
115 #define PMUL64(rh, rl, i1, i2) /* Assumes m doesn't overflow */ \ argument
119 rh = MUL32(_i1>>32, _i2>>32); \
121 ADD128(rh, rl, (m >> 32), (m << 32)); \
124 #define MUL64(rh, rl, i1, i2) \ argument
129 rh = MUL32(_i1>>32, _i2>>32); \
131 ADD128(rh, rl, (m1 >> 32), (m1 << 32)); \
132 ADD128(rh, rl, (m2 >> 32), (m2 << 32)); \
[all …]
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c348 recv_pkt->rh = info->rh; in octeon_create_recv_info()
527 union octeon_rh *rh, in octeon_droq_dispatch_pkt() argument
536 disp_fn = octeon_get_dispatch(oct, (u16)rh->r.opcode, in octeon_droq_dispatch_pkt()
537 (u16)rh->r.subcode); in octeon_droq_dispatch_pkt()
545 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt()
553 (unsigned int)rh->r.opcode, in octeon_droq_dispatch_pkt()
554 (unsigned int)rh->r.subcode); in octeon_droq_dispatch_pkt()
596 union octeon_rh *rh; in octeon_droq_fast_process_packets() local
621 rh = &info->rh; in octeon_droq_fast_process_packets()
624 rh->r_dh.len += (ROUNDUP8(OCT_DROQ_INFO_SIZE) / sizeof(u64)); in octeon_droq_fast_process_packets()
[all …]
/linux-6.12.1/drivers/dma/bestcomm/
Dsram.c90 bcom_sram->rh = rh_create(4); in bcom_sram_init()
98 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); in bcom_sram_init()
103 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init()
128 rh_destroy(bcom_sram->rh); in bcom_sram_cleanup()
142 offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); in bcom_sram_alloc()
163 rh_free(bcom_sram->rh, offset); in bcom_sram_free()
/linux-6.12.1/net/ipv6/netfilter/
Dip6t_rt.c34 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()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dhyperv_clock.c27 } 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()
/linux-6.12.1/drivers/usb/host/
Dr8a66597-hcd.c996 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() local
998 rh->old_syssts = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST; in start_root_hub_sampling()
999 rh->scount = R8A66597_MAX_SAMPLING; in start_root_hub_sampling()
1001 rh->port |= USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1003 rh->port &= ~USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1004 rh->port |= USB_PORT_STAT_C_CONNECTION << 16; in start_root_hub_sampling()
1040 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() local
1042 rh->port &= ~(USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_LOW_SPEED); in r8a66597_usb_connect()
1044 rh->port |= USB_PORT_STAT_HIGH_SPEED; in r8a66597_usb_connect()
1046 rh->port |= USB_PORT_STAT_LOW_SPEED; in r8a66597_usb_connect()
[all …]
/linux-6.12.1/net/dccp/ccids/lib/
Dloss_interval.c132 * @rh: Receive history containing a fresh loss event
138 int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, in tfrc_lh_interval_add() argument
143 if (cur != NULL && !tfrc_lh_is_new_loss(cur, tfrc_rx_hist_loss_prev(rh))) in tfrc_lh_interval_add()
152 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno; in tfrc_lh_interval_add()
153 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval; in tfrc_lh_interval_add()
161 tfrc_rx_hist_last_rcv(rh)->tfrchrx_seqno) + 1; in tfrc_lh_interval_add()
/linux-6.12.1/arch/s390/kernel/
Drethook.c6 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()
/linux-6.12.1/arch/arm/vfp/
Dvfp.h73 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()
/linux-6.12.1/drivers/iio/humidity/
Dhts221_core.c66 4, /* 0.4 %RH */
67 8, /* 0.3 %RH */
68 16, /* 0.2 %RH */
69 32, /* 0.15 %RH */
70 64, /* 0.1 %RH */
71 128, /* 0.07 %RH */
72 256, /* 0.05 %RH */
73 512, /* 0.03 %RH */
613 dev_err(hw->dev, "failed to get rh calibration data\n"); in hts221_probe()
620 dev_err(hw->dev, "failed to set rh oversampling ratio\n"); in hts221_probe()
/linux-6.12.1/arch/powerpc/kernel/
Drethook.c31 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument
33 rh->ret_addr = regs->link; in arch_rethook_prepare()
34 rh->frame = regs->gpr[1]; in arch_rethook_prepare()
/linux-6.12.1/arch/arm/mm/
Dproc-v7-3level.S58 #define rh r2 macro
61 #define rh r3 macro
75 tst rh, #1 << (57 - 32) @ L_PTE_NONE
79 eor ip, rh, #1 << (55 - 32) @ toggle L_PTE_DIRTY in temp reg to
/linux-6.12.1/tools/testing/selftests/powerpc/stringloops/
Dmemcmp_64.S21 #define rH r31 macro
277 LD rH,off24,r4
295 cmpld cr7,rG,rH
299 LD rH,off24,r4
322 cmpld cr7,rG,rH
326 LD rH,off24,r4
342 cmpld cr7,rG,rH
363 cmpld cr7,rG,rH
/linux-6.12.1/arch/powerpc/lib/
Dmemcmp_64.S21 #define rH r31 macro
277 LD rH,off24,r4
295 cmpld cr7,rG,rH
299 LD rH,off24,r4
322 cmpld cr7,rG,rH
326 LD rH,off24,r4
342 cmpld cr7,rG,rH
363 cmpld cr7,rG,rH
/linux-6.12.1/tools/testing/selftests/cgroup/
Dmemcg_protection.m43 rh = []; variable
85 rh = [rh ; r]; variable
/linux-6.12.1/arch/x86/kernel/
Drethook.c117 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()

12345