/linux-master/drivers/md/ |
H A D | dm-region-hash.c | 106 struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ member in struct:dm_region 120 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) argument 122 return sector >> rh->region_shift; 125 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) argument 127 return region << rh->region_shift; 131 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) argument 133 return dm_rh_sector_to_region(rh, bio->bi_iter.bi_sector - 134 rh->target_begin); 140 return reg->rh->context; 150 sector_t dm_rh_get_region_size(struct dm_region_hash *rh) argument 173 struct dm_region_hash *rh; local 240 dm_region_hash_destroy(struct dm_region_hash *rh) argument 263 dm_rh_dirty_log(struct dm_region_hash *rh) argument 269 rh_hash(struct dm_region_hash *rh, region_t region) argument 274 __rh_lookup(struct dm_region_hash *rh, region_t region) argument 286 __rh_insert(struct dm_region_hash *rh, struct dm_region *reg) argument 291 __rh_alloc(struct dm_region_hash *rh, region_t region) argument 327 __rh_find(struct dm_region_hash *rh, region_t region) argument 341 dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) argument 369 struct dm_region_hash *rh = reg->rh; local 398 dm_rh_mark_nosync(struct dm_region_hash *rh, struct bio *bio) argument 443 dm_rh_update_states(struct dm_region_hash *rh, int errors_handled) argument 506 rh_inc(struct dm_region_hash *rh, region_t region) argument 529 dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios) argument 541 dm_rh_dec(struct dm_region_hash *rh, region_t region) argument 590 __rh_recovery_prepare(struct dm_region_hash *rh) argument 625 dm_rh_recovery_prepare(struct dm_region_hash *rh) argument 648 dm_rh_recovery_start(struct dm_region_hash *rh) argument 666 struct dm_region_hash *rh = reg->rh; local 681 dm_rh_recovery_in_flight(struct dm_region_hash *rh) argument 687 dm_rh_flush(struct dm_region_hash *rh) argument 693 dm_rh_delay(struct dm_region_hash *rh, struct bio *bio) argument 704 dm_rh_stop_recovery(struct dm_region_hash *rh) argument 714 dm_rh_start_recovery(struct dm_region_hash *rh) argument [all...] |
H A D | dm-raid1.c | 70 struct dm_region_hash *rh; member in struct:mirror_set 342 sector_t region_size = dm_rh_get_region_size(ms->rh); 347 from.sector = m->offset + dm_rh_region_to_sector(ms->rh, key); 366 dest->sector = m->offset + dm_rh_region_to_sector(ms->rh, key); 393 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); 398 dm_rh_recovery_prepare(ms->rh); 403 while ((reg = dm_rh_recovery_start(ms->rh))) 447 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); 448 region_t region = dm_rh_bio_to_region(ms->rh, bio); 563 int state = dm_rh_get_state(ms->rh, regio [all...] |
/linux-master/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); 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, struc [all...] |
H A D | math64.h | 208 } rl, rm, rn, rh, a0, b0; local 217 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); 225 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; 226 rh.l.high = (c >> 32) + rh.l.high; 229 * The 128-bit result of the multiplication is in rl.ll and rh.ll, 235 return (rl.ll >> shift) | (rh.ll << (64 - shift)); 236 return rh.ll >> (shift & 63); 272 } u, rl, rh; local [all...] |
H A D | rethook.h | 61 void rethook_stop(struct rethook *rh); 62 void rethook_free(struct rethook *rh); 63 struct rethook_node *rethook_try_get(struct rethook *rh);
|
/linux-master/drivers/i3c/master/mipi-i3c-hci/ |
H A D | dma.c | 55 #define rh_reg_read(r) readl(rh->regs + (RH_##r)) 56 #define rh_reg_write(r, v) writel(v, rh->regs + (RH_##r)) 168 struct hci_rh_data *rh; local 175 rh = &rings->headers[i]; 182 if (rh->xfer) 184 rh->xfer_struct_sz * rh->xfer_entries, 185 rh->xfer, rh->xfer_dma); 186 if (rh 211 struct hci_rh_data *rh; local 362 struct hci_rh_data *rh; local 449 struct hci_rh_data *rh = &rings->headers[xfer_list[0].ring_number]; local 500 hci_dma_xfer_done(struct i3c_hci *hci, struct hci_rh_data *rh) argument 587 hci_dma_process_ibi(struct i3c_hci *hci, struct hci_rh_data *rh) argument 743 struct hci_rh_data *rh; local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | rethook.c | 6 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) argument 8 rh->ret_addr = regs->gprs[14]; 9 rh->frame = regs->gprs[15];
|
/linux-master/kernel/trace/ |
H A D | rethook.c | 37 struct rethook *rh = container_of(head, struct rethook, rcu); local 38 objpool_fini(&rh->pool); 43 * @rh: the struct rethook to stop. 49 void rethook_stop(struct rethook *rh) argument 51 rcu_assign_pointer(rh->handler, NULL); 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) argument 85 rethook_get_handler(struct rethook *rh) argument 106 struct rethook *rh; local 130 struct rethook *rh = node->rethook; local 161 rethook_try_get(struct rethook *rh) argument 206 struct rethook_node *rh = NULL; local [all...] |
H A D | fprobe.c | 28 struct rethook_node *rh = NULL; local 36 rh = rethook_try_get(fp->rethook); 37 if (!rh) { 41 fpr = container_of(rh, struct fprobe_rethook_node, node); 52 if (rh) { 54 rethook_recycle(rh); 56 rethook_hook(rh, ftrace_get_regs(fregs), true); 122 static void fprobe_exit_handler(struct rethook_node *rh, void *data, argument 132 fpr = container_of(rh, struct fprobe_rethook_node, node);
|
/linux-master/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 48 #define rh w10 define 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, r [all...] |
/linux-master/crypto/ |
H A D | vmac.c | 104 #define ADD128(rh, rl, ih, il) \ 109 (rh)++; \ 110 (rh) += (ih); \ 115 #define PMUL64(rh, rl, i1, i2) /* Assumes m doesn't overflow */ \ 119 rh = MUL32(_i1>>32, _i2>>32); \ 121 ADD128(rh, rl, (m >> 32), (m << 32)); \ 124 #define MUL64(rh, rl, i1, i2) \ 129 rh = MUL32(_i1>>32, _i2>>32); \ 131 ADD128(rh, rl, (m1 >> 32), (m1 << 32)); \ 132 ADD128(rh, r 361 u64 rh, rl, t, z = 0; local 408 u64 rh, rl; local 546 u64 rh, rl; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | rethook.c | 117 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) argument 121 rh->ret_addr = stack[0]; 122 rh->frame = regs->sp;
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_rt.c | 34 const struct ipv6_rt_hdr *rh; local 51 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); 52 if (rh == NULL) { 57 hdrlen = ipv6_optlen(rh); 64 rh->segments_left, 70 ((rtinfo->rt_type == rh->type) ^
|
/linux-master/drivers/dma/bestcomm/ |
H A D | sram.c | 90 bcom_sram->rh = rh_create(4); 98 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); 103 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); 128 rh_destroy(bcom_sram->rh); 142 offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); 163 rh_free(bcom_sram->rh, offset);
|
/linux-master/include/linux/fsl/bestcomm/ |
H A D | sram.h | 28 rh_info_t *rh; member in struct:bcom_sram
|
/linux-master/arch/arm/mm/ |
H A D | proc-v7-3level.S | 58 #define rh r2 define 61 #define rh r3 define 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-master/net/dccp/ccids/lib/ |
H A D | loss_interval.c | 132 * @rh: Receive history containing a fresh loss event 138 int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, argument 143 if (cur != NULL && !tfrc_lh_is_new_loss(cur, tfrc_rx_hist_loss_prev(rh))) 152 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno; 153 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval; 161 tfrc_rx_hist_last_rcv(rh)->tfrchrx_seqno) + 1;
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 27 } rm, rn, rh, a0, b0; local 35 rh.ll = (u64)a0.l.high * b0.l.high; 37 rh.l.low = c = rm.l.high + rn.l.high + rh.l.low; 38 rh.l.high = (c >> 32) + rh.l.high; 40 return rh.ll;
|
/linux-master/net/ipv6/ |
H A D | exthdrs_core.c | 224 struct ipv6_rt_hdr _rh, *rh; local 226 rh = skb_header_pointer(skb, start, sizeof(_rh), 228 if (!rh) 232 rh->segments_left == 0)
|
/linux-master/arch/arm/vfp/ |
H A D | vfp.h | 73 u64 rh, rma, rmb, rl; local 86 rh = (u64)nh * mh; 87 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); 91 rh += (rl < rma); 94 *resh = rh; 105 u64 rh, rl; local 106 mul64to128(&rh, &rl, n, m); 107 return rh | (rl != 0);
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.c | 353 recv_pkt->rh = info->rh; 532 union octeon_rh *rh, 541 disp_fn = octeon_get_dispatch(oct, (u16)rh->r.opcode, 542 (u16)rh->r.subcode); 550 rinfo->recv_pkt->rh = *rh; 558 (unsigned int)rh->r.opcode, 559 (unsigned int)rh->r.subcode); 601 union octeon_rh *rh; local 530 octeon_droq_dispatch_pkt(struct octeon_device *oct, struct octeon_droq *droq, union octeon_rh *rh, struct octeon_droq_info *info) argument [all...] |
H A D | octeon_droq.h | 58 union octeon_rh rh; member in struct:octeon_droq_info 148 union octeon_rh rh; member in struct:octeon_recv_pkt
|
/linux-master/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 996 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 998 rh->old_syssts = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST; 999 rh->scount = R8A66597_MAX_SAMPLING; 1001 rh->port |= USB_PORT_STAT_CONNECTION; 1003 rh->port &= ~USB_PORT_STAT_CONNECTION; 1004 rh->port |= USB_PORT_STAT_C_CONNECTION << 16; 1040 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 1042 rh->port &= ~(USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_LOW_SPEED); 1044 rh->port |= USB_PORT_STAT_HIGH_SPEED; 1046 rh 1686 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 2145 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 2251 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 2282 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local 2349 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; local [all...] |
H A D | ohci-hub.c | 542 u32 rh = roothub_a (ohci); local 546 desc->bPwrOn2PwrGood = (rh & RH_A_POTPGT) >> 24; 554 if (rh & RH_A_NPS) /* no power switching? */ 556 if (rh & RH_A_PSM) /* per-port power switching? */ 558 if (rh & RH_A_NOCP) /* no overcurrent reporting? */ 560 else if (rh & RH_A_OCPM) /* per-port overcurrent reporting? */ 565 rh = roothub_b (ohci); 568 desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; 570 desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8;
|
/linux-master/sound/usb/usx2y/ |
H A D | usbus428ctldefs.h | 67 rh, member in struct:usx2y_volume
|