/linux-4.1.27/drivers/md/ |
D | dm-region-hash.c | 102 struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ member 116 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region() argument 118 return sector >> rh->region_shift; in dm_rh_sector_to_region() 121 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector() argument 123 return region << rh->region_shift; in dm_rh_region_to_sector() 127 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region() argument 129 return dm_rh_sector_to_region(rh, bio->bi_iter.bi_sector - in dm_rh_bio_to_region() 130 rh->target_begin); in dm_rh_bio_to_region() 136 return reg->rh->context; in dm_rh_region_context() 146 sector_t dm_rh_get_region_size(struct dm_region_hash *rh) in dm_rh_get_region_size() argument [all …]
|
D | dm-raid1.c | 61 struct dm_region_hash *rh; member 334 sector_t region_size = dm_rh_get_region_size(ms->rh); in recover() 339 from.sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover() 358 dest->sector = m->offset + dm_rh_region_to_sector(ms->rh, key); in recover() 376 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery() 382 dm_rh_recovery_prepare(ms->rh); in do_recovery() 387 while ((reg = dm_rh_recovery_start(ms->rh))) { in do_recovery() 431 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available() 432 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available() 544 int state = dm_rh_get_state(ms->rh, region, may_block); in region_in_sync() [all …]
|
/linux-4.1.27/include/linux/ |
D | dm-region-hash.h | 43 void dm_region_hash_destroy(struct dm_region_hash *rh); 45 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh); 50 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio); 51 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region); 57 sector_t dm_rh_get_region_size(struct dm_region_hash *rh); 64 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block); 65 void dm_rh_set_state(struct dm_region_hash *rh, region_t region, 69 void dm_rh_update_states(struct dm_region_hash *rh, int errors_handled); 72 int dm_rh_flush(struct dm_region_hash *rh); 75 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios); [all …]
|
/linux-4.1.27/crypto/ |
D | vmac.c | 66 #define ADD128(rh, rl, ih, il) \ argument 71 (rh)++; \ 72 (rh) += (ih); \ 77 #define PMUL64(rh, rl, i1, i2) /* Assumes m doesn't overflow */ \ argument 81 rh = MUL32(_i1>>32, _i2>>32); \ 83 ADD128(rh, rl, (m >> 32), (m << 32)); \ 86 #define MUL64(rh, rl, i1, i2) \ argument 91 rh = MUL32(_i1>>32, _i2>>32); \ 93 ADD128(rh, rl, (m1 >> 32), (m1 << 32)); \ 94 ADD128(rh, rl, (m2 >> 32), (m2 << 32)); \ [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | ip6t_rt.c | 42 const struct ipv6_rt_hdr *rh; in rt_mt6() local 59 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6() 60 if (rh == NULL) { in rt_mt6() 65 hdrlen = ipv6_optlen(rh); in rt_mt6() 71 pr_debug("IPv6 RT LEN %u %u ", hdrlen, rh->hdrlen); in rt_mt6() 72 pr_debug("TYPE %04X ", rh->type); in rt_mt6() 73 pr_debug("SGS_LEFT %u %02X\n", rh->segments_left, rh->segments_left); in rt_mt6() 77 rh->segments_left, in rt_mt6() 80 rtinfo->rt_type, rh->type, in rt_mt6() 82 ((rtinfo->rt_type == rh->type) ^ in rt_mt6() [all …]
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | fsl_85xx_cache_sram.c | 60 offset = rh_alloc_align(cache_sram->rh, size, align, NULL); in mpc85xx_cache_sram_alloc() 78 rh_free(cache_sram->rh, ptr - cache_sram->base_virt); in mpc85xx_cache_sram_free() 119 cache_sram->rh = rh_create(sizeof(unsigned int)); in instantiate_cache_sram() 120 if (IS_ERR(cache_sram->rh)) { in instantiate_cache_sram() 123 ret = PTR_ERR(cache_sram->rh); in instantiate_cache_sram() 127 rh_attach_region(cache_sram->rh, 0, cache_sram->size); in instantiate_cache_sram() 150 rh_detach_region(cache_sram->rh, 0, cache_sram->size); in remove_cache_sram() 151 rh_destroy(cache_sram->rh); in remove_cache_sram()
|
D | ppc4xx_ocm.c | 53 rh_info_t *rh; member 97 rh_free(ocm_reg->rh, offset); in ocm_free_region() 216 ocm->nc.rh = rh_create(ocm->alignment); in ocm_init_node() 217 rh_attach_region(ocm->nc.rh, 0, ocm->nc.memtotal); in ocm_init_node() 221 ocm->c.rh = rh_create(ocm->alignment); in ocm_init_node() 222 rh_attach_region(ocm->c.rh, 0, ocm->c.memtotal); in ocm_init_node() 337 offset = rh_alloc_align(ocm_reg->rh, size, align, NULL); in ppc4xx_ocm_alloc() 345 rh_free(ocm_reg->rh, offset); in ppc4xx_ocm_alloc()
|
/linux-4.1.27/arch/arm/crypto/ |
D | sha512-armv7-neon.S | 84 #define rounds2_0_63(ra, rb, rc, rd, re, rf, rg, rh, rw0, rw1, rw01q, rw2, \ argument 102 vadd.u64 RT1, RT1, rh; \ 118 veor.64 rh, RT2, RT3; \ 123 vadd.u64 rh, rh, RT0; \ 126 vadd.u64 rh, rh, RT1; /* h+=t1; */ \ 138 vshr.u64 RT2, rh, #28; \ 139 vshl.u64 RT3, rh, #64 - 28; \ 141 vshr.u64 RT4, rh, #34; \ 142 vshl.u64 RT5, rh, #64 - 34; \ 147 vshr.u64 RT4, rh, #39; \ [all …]
|
/linux-4.1.27/drivers/dma/bestcomm/ |
D | sram.c | 97 bcom_sram->rh = rh_create(4); in bcom_sram_init() 110 rh_attach_region(bcom_sram->rh, 0, bcom_sram->size); in bcom_sram_init() 115 rh_attach_region(bcom_sram->rh, zbase - bcom_sram->base_phys, regaddr_p[1]); in bcom_sram_init() 140 rh_destroy(bcom_sram->rh); in bcom_sram_cleanup() 154 offset = rh_alloc_align(bcom_sram->rh, size, align, NULL); in bcom_sram_alloc() 175 rh_free(bcom_sram->rh, offset); in bcom_sram_free()
|
/linux-4.1.27/arch/arm/vfp/ |
D | vfp.h | 76 u64 rh, rma, rmb, rl; in mul64to128() local 89 rh = (u64)nh * mh; in mul64to128() 90 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); in mul64to128() 94 rh += (rl < rma); in mul64to128() 97 *resh = rh; in mul64to128() 108 u64 rh, rl; in vfp_hi64multiply64() local 109 mul64to128(&rh, &rl, n, m); in vfp_hi64multiply64() 110 return rh | (rl != 0); in vfp_hi64multiply64()
|
/linux-4.1.27/net/dccp/ccids/lib/ |
D | loss_interval.c | 139 int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, in tfrc_lh_interval_add() argument 144 if (cur != NULL && !tfrc_lh_is_new_loss(cur, tfrc_rx_hist_loss_prev(rh))) in tfrc_lh_interval_add() 153 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno; in tfrc_lh_interval_add() 154 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval; in tfrc_lh_interval_add() 162 tfrc_rx_hist_last_rcv(rh)->tfrchrx_seqno) + 1; in tfrc_lh_interval_add()
|
/linux-4.1.27/arch/arm/mm/ |
D | proc-v7-3level.S | 70 #define rh r2 macro 73 #define rh r3 macro 87 tst rh, #1 << (57 - 32) @ L_PTE_NONE 91 eor ip, rh, #1 << (55 - 32) @ toggle L_PTE_DIRTY in temp reg to
|
/linux-4.1.27/drivers/usb/host/ |
D | r8a66597-hcd.c | 1011 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in start_root_hub_sampling() local 1013 rh->old_syssts = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST; in start_root_hub_sampling() 1014 rh->scount = R8A66597_MAX_SAMPLING; in start_root_hub_sampling() 1016 rh->port |= USB_PORT_STAT_CONNECTION; in start_root_hub_sampling() 1018 rh->port &= ~USB_PORT_STAT_CONNECTION; in start_root_hub_sampling() 1019 rh->port |= USB_PORT_STAT_C_CONNECTION << 16; in start_root_hub_sampling() 1055 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port]; in r8a66597_usb_connect() local 1057 rh->port &= ~(USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_LOW_SPEED); in r8a66597_usb_connect() 1059 rh->port |= USB_PORT_STAT_HIGH_SPEED; in r8a66597_usb_connect() 1061 rh->port |= USB_PORT_STAT_LOW_SPEED; in r8a66597_usb_connect() [all …]
|
D | ohci-hub.c | 536 u32 rh = roothub_a (ohci); in ohci_hub_descriptor() local 540 desc->bPwrOn2PwrGood = (rh & RH_A_POTPGT) >> 24; in ohci_hub_descriptor() 548 if (rh & RH_A_NPS) /* no power switching? */ in ohci_hub_descriptor() 550 if (rh & RH_A_PSM) /* per-port power switching? */ in ohci_hub_descriptor() 552 if (rh & RH_A_NOCP) /* no overcurrent reporting? */ in ohci_hub_descriptor() 554 else if (rh & RH_A_OCPM) /* per-port overcurrent reporting? */ in ohci_hub_descriptor() 559 rh = roothub_b (ohci); in ohci_hub_descriptor() 562 desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; in ohci_hub_descriptor() 564 desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8; in ohci_hub_descriptor()
|
D | ohci-omap.c | 259 u32 rh = roothub_a (ohci); in ohci_omap_reset() local 262 rh &= ~RH_A_NPS; in ohci_omap_reset() 268 rh &= ~RH_A_NOCP; in ohci_omap_reset() 278 ohci_writel(ohci, rh, &ohci->regs->roothub.a); in ohci_omap_reset()
|
/linux-4.1.27/net/ipv6/ |
D | exthdrs_core.c | 225 struct ipv6_rt_hdr _rh, *rh; in ipv6_find_hdr() local 227 rh = skb_header_pointer(skb, start, sizeof(_rh), in ipv6_find_hdr() 229 if (!rh) in ipv6_find_hdr() 233 rh->segments_left == 0) in ipv6_find_hdr()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | salinfo.c | 414 sal_log_record_header_t *rh; in salinfo_log_read_cpu() local 416 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_read_cpu() 418 if (rh->severity == sal_log_severity_corrected) in salinfo_log_read_cpu() 435 sal_log_record_header_t *rh = (sal_log_record_header_t *)(data_saved->buffer); in salinfo_log_new_read() local 437 memcpy(data->log_buffer, rh, data->log_size); in salinfo_log_new_read() 439 if (rh->id == data_saved->id) { in salinfo_log_new_read() 490 sal_log_record_header_t *rh; in salinfo_log_clear() local 504 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_clear() 506 if (rh->severity != sal_log_severity_corrected) in salinfo_log_clear()
|
D | mca.c | 458 sal_log_record_header_t *rh; in ia64_mca_log_sal_error_record() local 477 rh = (sal_log_record_header_t *)buffer; in ia64_mca_log_sal_error_record() 478 if (rh->severity == sal_log_severity_corrected) in ia64_mca_log_sal_error_record() 1335 sal_log_record_header_t *rh = IA64_LOG_CURR_BUFFER(SAL_INFO_TYPE_MCA); in ia64_mca_handler() local 1336 rh->severity = sal_log_severity_corrected; in ia64_mca_handler()
|
/linux-4.1.27/net/ipv4/ |
D | inetpeer.c | 263 int lh, rh; in peer_avl_rebalance() local 271 rh = node_height(r); in peer_avl_rebalance() 272 if (lh > rh + 1) { /* l: RH+2 */ in peer_avl_rebalance() 291 node->avl_height = rh + 1; /* node: RH+1 */ in peer_avl_rebalance() 294 l->avl_height = rh + 1; /* l: RH+1 */ in peer_avl_rebalance() 297 lr->avl_height = rh + 2; in peer_avl_rebalance() 300 } else if (rh > lh + 1) { /* r: LH+2 */ in peer_avl_rebalance() 329 node->avl_height = (lh > rh ? lh : rh) + 1; in peer_avl_rebalance()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | vnic_dev.c | 66 struct vnic_resource_header __iomem *rh; in vnic_dev_discover_res() local 75 rh = bar->vaddr; in vnic_dev_discover_res() 76 if (!rh) { in vnic_dev_discover_res() 81 if (ioread32(&rh->magic) != VNIC_RES_MAGIC || in vnic_dev_discover_res() 82 ioread32(&rh->version) != VNIC_RES_VERSION) { in vnic_dev_discover_res() 86 ioread32(&rh->magic), ioread32(&rh->version)); in vnic_dev_discover_res() 90 r = (struct vnic_resource __iomem *)(rh + 1); in vnic_dev_discover_res()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 1412 struct lpfc_fdmi_reg_hba *rh; in lpfc_fdmi_cmd() local 1479 rh = (struct lpfc_fdmi_reg_hba *)&CtReq->un.PortID; in lpfc_fdmi_cmd() 1481 memcpy(&rh->hi.PortName, &vport->fc_sparam.portName, in lpfc_fdmi_cmd() 1487 rh->rpl.EntryCnt = cpu_to_be32(1); in lpfc_fdmi_cmd() 1488 memcpy(&rh->rpl.pe, &vport->fc_sparam.portName, in lpfc_fdmi_cmd() 1498 ((uint8_t *)rh + size); in lpfc_fdmi_cmd() 1507 ((uint8_t *)rh + size); in lpfc_fdmi_cmd() 1523 ((uint8_t *)rh + size); in lpfc_fdmi_cmd() 1541 ((uint8_t *)rh + size); in lpfc_fdmi_cmd() 1559 ((uint8_t *)rh + size); in lpfc_fdmi_cmd() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | fsl_85xx_cache_sram.h | 40 rh_info_t *rh; member
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 84 struct vnic_resource_header __iomem *rh; in vnic_dev_discover_res() local 97 rh = bar->vaddr; in vnic_dev_discover_res() 99 if (!rh) { in vnic_dev_discover_res() 105 if ((ioread32(&rh->magic) != VNIC_RES_MAGIC) || in vnic_dev_discover_res() 106 (ioread32(&rh->version) != VNIC_RES_VERSION)) { in vnic_dev_discover_res() 113 ioread32(&rh->magic), ioread32(&rh->version)); in vnic_dev_discover_res() 121 r = (struct vnic_resource __iomem *)(rh + 1); in vnic_dev_discover_res()
|
/linux-4.1.27/include/linux/fsl/bestcomm/ |
D | sram.h | 28 rh_info_t *rh; member
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | Makefile | 14 rh.o \
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.c | 62 u64 rl, rh; in muldiv64() local 66 rh = (u64)u.l.high * (u64)b; in muldiv64() 67 rh += (rl >> 32); in muldiv64() 68 res.l.high = div64_u64(rh, c); in muldiv64() 69 res.l.low = div64_u64(((mod_64(rh, c) << 32) + (rl & 0xffffffff)), c); in muldiv64()
|
/linux-4.1.27/net/netfilter/ |
D | xt_connlimit.c | 107 union nf_inet_addr lh, rh; in same_source_net() local 112 rh.ip6[i] = u3->ip6[i] & mask->ip6[i]; in same_source_net() 115 return memcmp(&lh.ip6, &rh.ip6, sizeof(lh.ip6)); in same_source_net()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | b44.c | 662 struct rx_header *rh; in b44_alloc_rx_skb() local 706 rh = (struct rx_header *) skb->data; in b44_alloc_rx_skb() 708 rh->len = 0; in b44_alloc_rx_skb() 709 rh->flags = 0; in b44_alloc_rx_skb() 737 struct rx_header *rh; in b44_recycle_rx() local 748 rh = (struct rx_header *) src_map->skb->data; in b44_recycle_rx() 749 rh->len = 0; in b44_recycle_rx() 750 rh->flags = 0; in b44_recycle_rx() 793 struct rx_header *rh; in b44_rx() local 799 rh = (struct rx_header *) skb->data; in b44_rx() [all …]
|
/linux-4.1.27/include/math-emu/ |
D | op-2.h | 152 #define __FP_FRAC_ADD_2(rh, rl, xh, xl, yh, yl) \ 153 (rh = xh + yh + ((rl = xl + yl) < xl)) 156 #define __FP_FRAC_SUB_2(rh, rl, xh, xl, yh, yl) \ 157 (rh = xh - yh - ((rl = xl - yl) > xl))
|
/linux-4.1.27/fs/nfsd/ |
D | nfscache.c | 376 struct list_head *rh = &b->lru_head; in nfsd_cache_search() local 379 list_for_each_entry(rp, rh, c_lru) { in nfsd_cache_search()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 151 __u16 rw, rh; in uvc_v4l2_try_format() local 186 rh = fmt->fmt.pix.height; in uvc_v4l2_try_format() 193 d = min(w, rw) * min(h, rh); in uvc_v4l2_try_format() 194 d = w*h + rw*rh - 2*d; in uvc_v4l2_try_format()
|
/linux-4.1.27/Documentation/DocBook/media/ |
D | selection.png.b64 | 179 929bX3/W9u/ZzjO2/+gxOrrcrcve856alt8qlUUAAAAUsVb18zpoX3r9/d8+rh+L1Sdbq19itu91
|
/linux-4.1.27/drivers/net/ethernet/microchip/ |
D | enc28j60.c | 301 int rl, rh; in nolock_regw_read() local 305 rh = spi_read_op(priv, ENC28J60_READ_CTRL_REG, address + 1); in nolock_regw_read() 307 return (rh << 8) | rl; in nolock_regw_read()
|
/linux-4.1.27/kernel/rcu/ |
D | tree_plugin.h | 2912 struct rcu_head rh; member 2927 rshp = container_of(rhp, struct rcu_sysidle_head, rh); in rcu_sysidle_cb() 2994 call_rcu(&rsh.rh, rcu_sysidle_cb); in rcu_sys_is_idle()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 3425 struct rx_pkt_hdr1 *rh; in niu_process_rx_pkt() local 3488 len += sizeof(*rh); in niu_process_rx_pkt() 3489 len = min_t(int, len, sizeof(*rh) + VLAN_ETH_HLEN); in niu_process_rx_pkt() 3492 rh = (struct rx_pkt_hdr1 *) skb->data; in niu_process_rx_pkt() 3495 ((u32)rh->hashval2_0 << 24 | in niu_process_rx_pkt() 3496 (u32)rh->hashval2_1 << 16 | in niu_process_rx_pkt() 3497 (u32)rh->hashval1_1 << 8 | in niu_process_rx_pkt() 3498 (u32)rh->hashval1_2 << 0), in niu_process_rx_pkt() 3500 skb_pull(skb, sizeof(*rh)); in niu_process_rx_pkt()
|
/linux-4.1.27/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 2654 GNU gdb 5.0rh-5 Red Hat Linux 7.1
|