dr 447 arch/ia64/include/asm/pal.h dr : 1, /* Debug regs valid */ dr 693 arch/ia64/include/asm/pal.h #define pmci_proc_debug_regs_valid pme_processor.dr dr 241 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t dr:1; dr 253 arch/mips/include/asm/octeon/cvmx-lmcx-defs.h uint64_t dr:1; dr 3718 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t dr:1; dr 3720 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t dr:1; dr 4133 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t dr:1; dr 4135 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t dr:1; dr 79 arch/mips/include/asm/txx9/tx4939.h __u64 dr; dr 188 arch/powerpc/include/asm/time.h unsigned divisor, struct div_result *dr); dr 1152 arch/powerpc/kernel/time.c unsigned divisor, struct div_result *dr) dr 1175 arch/powerpc/kernel/time.c dr->result_high = ((u64)w << 32) + x; dr 1176 arch/powerpc/kernel/time.c dr->result_low = ((u64)y << 32) + z; dr 676 arch/powerpc/kvm/book3s_pr.c bool dr = (kvmppc_get_msr(vcpu) & MSR_DR) ? true : false; dr 680 arch/powerpc/kvm/book3s_pr.c relocated = data ? dr : ir; dr 119 arch/powerpc/sysdev/dcr.c const u32 *dr = of_get_property(np, "dcr-reg", &ds); dr 121 arch/powerpc/sysdev/dcr.c if (dr == NULL || ds & 1 || index >= (ds / 8)) dr 124 arch/powerpc/sysdev/dcr.c return dr[index * 2]; dr 131 arch/powerpc/sysdev/dcr.c const u32 *dr = of_get_property(np, "dcr-reg", &ds); dr 133 arch/powerpc/sysdev/dcr.c if (dr == NULL || ds & 1 || index >= (ds / 8)) dr 136 arch/powerpc/sysdev/dcr.c return dr[index * 2 + 1]; dr 1148 arch/powerpc/sysdev/fsl_pci.c u32 dr; dr 1150 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); dr 1151 arch/powerpc/sysdev/fsl_pci.c if (!dr) dr 1154 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); dr 1214 arch/powerpc/sysdev/fsl_pci.c u32 dr; dr 1222 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); dr 1223 arch/powerpc/sysdev/fsl_pci.c if (dr) { dr 1224 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); dr 1250 arch/powerpc/sysdev/fsl_pci.c u32 dr; dr 1258 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); dr 1259 arch/powerpc/sysdev/fsl_pci.c if (dr) { dr 1260 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); dr 295 arch/sparc/include/asm/vio.h static inline void *vio_dring_cur(struct vio_dring_state *dr) dr 297 arch/sparc/include/asm/vio.h return dr->base + (dr->entry_size * dr->prod); dr 300 arch/sparc/include/asm/vio.h static inline void *vio_dring_entry(struct vio_dring_state *dr, dr 303 arch/sparc/include/asm/vio.h return dr->base + (dr->entry_size * index); dr 306 arch/sparc/include/asm/vio.h static inline u32 vio_dring_avail(struct vio_dring_state *dr, dr 309 arch/sparc/include/asm/vio.h return (dr->pending - dr 310 arch/sparc/include/asm/vio.h ((dr->prod - dr->cons) & (ring_size - 1)) - 1); dr 313 arch/sparc/include/asm/vio.h static inline u32 vio_dring_next(struct vio_dring_state *dr, u32 index) dr 315 arch/sparc/include/asm/vio.h if (++index == dr->num_entries) dr 320 arch/sparc/include/asm/vio.h static inline u32 vio_dring_prev(struct vio_dring_state *dr, u32 index) dr 323 arch/sparc/include/asm/vio.h return dr->num_entries - 1; dr 85 arch/sparc/kernel/viohs.c struct vio_dring_state *dr; dr 90 arch/sparc/kernel/viohs.c dr = &vio->drings[VIO_DRIVER_RX_RING]; dr 91 arch/sparc/kernel/viohs.c ident = dr->ident; dr 97 arch/sparc/kernel/viohs.c memset(dr, 0, sizeof(*dr)); dr 98 arch/sparc/kernel/viohs.c dr->ident = ident; dr 137 arch/sparc/kernel/viohs.c struct vio_dring_state *dr; dr 149 arch/sparc/kernel/viohs.c dr = &vio->drings[VIO_DRIVER_RX_RING]; dr 150 arch/sparc/kernel/viohs.c memset(dr, 0, sizeof(*dr)); dr 178 arch/sparc/kernel/viohs.c struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_TX_RING]; dr 187 arch/sparc/kernel/viohs.c dr->ncookies); dr 196 arch/sparc/kernel/viohs.c u.pkt.num_descr = dr->num_entries; dr 197 arch/sparc/kernel/viohs.c u.pkt.descr_size = dr->entry_size; dr 199 arch/sparc/kernel/viohs.c u.pkt.num_cookies = dr->ncookies; dr 206 arch/sparc/kernel/viohs.c for (i = 0; i < dr->ncookies; i++) { dr 207 arch/sparc/kernel/viohs.c u.pkt.cookies[i] = dr->cookies[i]; dr 430 arch/sparc/kernel/viohs.c struct vio_dring_state *dr; dr 460 arch/sparc/kernel/viohs.c dr = &vio->drings[VIO_DRIVER_RX_RING]; dr 462 arch/sparc/kernel/viohs.c dr->num_entries = pkt->num_descr; dr 463 arch/sparc/kernel/viohs.c dr->entry_size = pkt->descr_size; dr 464 arch/sparc/kernel/viohs.c dr->ncookies = pkt->num_cookies; dr 465 arch/sparc/kernel/viohs.c for (i = 0; i < dr->ncookies; i++) { dr 466 arch/sparc/kernel/viohs.c dr->cookies[i] = pkt->cookies[i]; dr 477 arch/sparc/kernel/viohs.c pkt->dring_ident = ++dr->ident; dr 486 arch/sparc/kernel/viohs.c (dr->ncookies * sizeof(struct ldc_trans_cookie))); dr 505 arch/sparc/kernel/viohs.c struct vio_dring_state *dr; dr 513 arch/sparc/kernel/viohs.c dr = &vio->drings[VIO_DRIVER_TX_RING]; dr 518 arch/sparc/kernel/viohs.c dr->ident = pkt->dring_ident; dr 565 arch/sparc/kernel/viohs.c struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_RX_RING]; dr 569 arch/sparc/kernel/viohs.c if (pkt->dring_ident != dr->ident) dr 574 arch/sparc/kernel/viohs.c memset(dr, 0, sizeof(*dr)); dr 117 arch/x86/include/asm/debugreg.h extern void set_dr_addr_mask(unsigned long mask, int dr); dr 119 arch/x86/include/asm/debugreg.h static inline void set_dr_addr_mask(unsigned long mask, int dr) { } dr 208 arch/x86/include/asm/kvm_emulate.h int (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest); dr 209 arch/x86/include/asm/kvm_emulate.h int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value); dr 1386 arch/x86/include/asm/kvm_host.h int kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val); dr 1387 arch/x86/include/asm/kvm_host.h int kvm_get_dr(struct kvm_vcpu *vcpu, int dr, unsigned long *val); dr 1409 arch/x86/include/asm/kvm_host.h bool kvm_require_dr(struct kvm_vcpu *vcpu, int dr); dr 1153 arch/x86/kernel/cpu/amd.c void set_dr_addr_mask(unsigned long mask, int dr) dr 1158 arch/x86/kernel/cpu/amd.c switch (dr) { dr 1165 arch/x86/kernel/cpu/amd.c wrmsr(MSR_F16H_DR1_ADDR_MASK - 1 + dr, mask, 0); dr 4316 arch/x86/kvm/emulate.c int dr = ctxt->modrm_reg; dr 4319 arch/x86/kvm/emulate.c if (dr > 7) dr 4323 arch/x86/kvm/emulate.c if ((cr4 & X86_CR4_DE) && (dr == 4 || dr == 5)) dr 4342 arch/x86/kvm/emulate.c int dr = ctxt->modrm_reg; dr 4344 arch/x86/kvm/emulate.c if ((dr == 6 || dr == 7) && (new_val & 0xffffffff00000000ULL)) dr 4102 arch/x86/kvm/svm.c int reg, dr; dr 4120 arch/x86/kvm/svm.c dr = svm->vmcb->control.exit_code - SVM_EXIT_READ_DR0; dr 4122 arch/x86/kvm/svm.c if (dr >= 16) { /* mov to DRn */ dr 4123 arch/x86/kvm/svm.c if (!kvm_require_dr(&svm->vcpu, dr - 16)) dr 4126 arch/x86/kvm/svm.c kvm_set_dr(&svm->vcpu, dr - 16, val); dr 4128 arch/x86/kvm/svm.c if (!kvm_require_dr(&svm->vcpu, dr)) dr 4130 arch/x86/kvm/svm.c kvm_get_dr(&svm->vcpu, dr, &val); dr 4884 arch/x86/kvm/vmx/vmx.c int dr, dr7, reg; dr 4887 arch/x86/kvm/vmx/vmx.c dr = exit_qualification & DEBUG_REG_ACCESS_NUM; dr 4890 arch/x86/kvm/vmx/vmx.c if (!kvm_require_dr(vcpu, dr)) dr 4934 arch/x86/kvm/vmx/vmx.c if (kvm_get_dr(vcpu, dr, &val)) dr 4938 arch/x86/kvm/vmx/vmx.c if (kvm_set_dr(vcpu, dr, kvm_register_readl(vcpu, reg))) dr 648 arch/x86/kvm/x86.c bool kvm_require_dr(struct kvm_vcpu *vcpu, int dr) dr 650 arch/x86/kvm/x86.c if ((dr != 4 && dr != 5) || !kvm_read_cr4_bits(vcpu, X86_CR4_DE)) dr 1108 arch/x86/kvm/x86.c static int __kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val) dr 1112 arch/x86/kvm/x86.c switch (dr) { dr 1114 arch/x86/kvm/x86.c vcpu->arch.db[array_index_nospec(dr, size)] = val; dr 1116 arch/x86/kvm/x86.c vcpu->arch.eff_db[dr] = val; dr 1139 arch/x86/kvm/x86.c int kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val) dr 1141 arch/x86/kvm/x86.c if (__kvm_set_dr(vcpu, dr, val)) { dr 1149 arch/x86/kvm/x86.c int kvm_get_dr(struct kvm_vcpu *vcpu, int dr, unsigned long *val) dr 1153 arch/x86/kvm/x86.c switch (dr) { dr 1155 arch/x86/kvm/x86.c *val = vcpu->arch.db[array_index_nospec(dr, size)]; dr 6012 arch/x86/kvm/x86.c static int emulator_get_dr(struct x86_emulate_ctxt *ctxt, int dr, dr 6015 arch/x86/kvm/x86.c return kvm_get_dr(emul_to_vcpu(ctxt), dr, dest); dr 6018 arch/x86/kvm/x86.c static int emulator_set_dr(struct x86_emulate_ctxt *ctxt, int dr, dr 6022 arch/x86/kvm/x86.c return __kvm_set_dr(emul_to_vcpu(ctxt), dr, value); dr 480 arch/x86/mm/kmmio.c struct kmmio_delayed_release *dr = container_of( dr 484 arch/x86/mm/kmmio.c struct kmmio_fault_page *f = dr->release_list; dr 491 arch/x86/mm/kmmio.c kfree(dr); dr 496 arch/x86/mm/kmmio.c struct kmmio_delayed_release *dr = dr 498 arch/x86/mm/kmmio.c struct kmmio_fault_page *f = dr->release_list; dr 499 arch/x86/mm/kmmio.c struct kmmio_fault_page **prevp = &dr->release_list; dr 517 arch/x86/mm/kmmio.c call_rcu(&dr->rcu, rcu_free_kmmio_fault_pages); dr 29 block/partitions/acorn.c struct adfs_discrecord *dr; dr 35 block/partitions/acorn.c dr = (struct adfs_discrecord *)(data + 0x1c0); dr 37 block/partitions/acorn.c if (dr->disc_size == 0 && dr->disc_size_high == 0) dr 40 block/partitions/acorn.c nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | dr 41 block/partitions/acorn.c (le32_to_cpu(dr->disc_size) >> 9); dr 49 block/partitions/acorn.c return dr; dr 184 block/partitions/acorn.c struct adfs_discrecord *dr; dr 194 block/partitions/acorn.c dr = adfs_partition(state, name, data, first_sector, slot++); dr 195 block/partitions/acorn.c if (!dr) dr 201 block/partitions/acorn.c (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * dr 202 block/partitions/acorn.c dr->secspertrack; dr 256 block/partitions/acorn.c struct adfs_discrecord *dr; dr 264 block/partitions/acorn.c dr = adfs_partition(state, "ADFS", data, 0, slot++); dr 265 block/partitions/acorn.c if (!dr) { dr 270 block/partitions/acorn.c heads = dr->heads + ((dr->lowsector >> 6) & 1); dr 271 block/partitions/acorn.c sectscyl = dr->secspertrack * heads; dr 6129 drivers/ata/libata-core.c void *dr; dr 6142 drivers/ata/libata-core.c dr = devres_alloc(ata_devres_release, 0, GFP_KERNEL); dr 6143 drivers/ata/libata-core.c if (!dr) dr 6146 drivers/ata/libata-core.c devres_add(dev, dr); dr 96 drivers/base/devres.c struct devres *dr; dr 103 drivers/base/devres.c dr = kmalloc_node_track_caller(tot_size, gfp, nid); dr 104 drivers/base/devres.c if (unlikely(!dr)) dr 107 drivers/base/devres.c memset(dr, 0, offsetof(struct devres, data)); dr 109 drivers/base/devres.c INIT_LIST_HEAD(&dr->node.entry); dr 110 drivers/base/devres.c dr->node.release = release; dr 111 drivers/base/devres.c return dr; dr 125 drivers/base/devres.c struct devres *dr; dr 127 drivers/base/devres.c dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); dr 128 drivers/base/devres.c if (unlikely(!dr)) dr 130 drivers/base/devres.c set_node_dbginfo(&dr->node, name, size); dr 131 drivers/base/devres.c return dr->data; dr 151 drivers/base/devres.c struct devres *dr; dr 153 drivers/base/devres.c dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); dr 154 drivers/base/devres.c if (unlikely(!dr)) dr 156 drivers/base/devres.c return dr->data; dr 191 drivers/base/devres.c struct devres *dr = container_of(node, struct devres, node); dr 195 drivers/base/devres.c if (match && !match(dev, dr->data, match_data)) dr 197 drivers/base/devres.c fn(dev, dr->data, data); dr 212 drivers/base/devres.c struct devres *dr = container_of(res, struct devres, data); dr 214 drivers/base/devres.c BUG_ON(!list_empty(&dr->node.entry)); dr 215 drivers/base/devres.c kfree(dr); dr 231 drivers/base/devres.c struct devres *dr = container_of(res, struct devres, data); dr 235 drivers/base/devres.c add_dr(dev, &dr->node); dr 246 drivers/base/devres.c struct devres *dr = container_of(node, struct devres, node); dr 250 drivers/base/devres.c if (match && !match(dev, dr->data, match_data)) dr 252 drivers/base/devres.c return dr; dr 275 drivers/base/devres.c struct devres *dr; dr 279 drivers/base/devres.c dr = find_dr(dev, release, match, match_data); dr 282 drivers/base/devres.c if (dr) dr 283 drivers/base/devres.c return dr->data; dr 306 drivers/base/devres.c struct devres *dr; dr 310 drivers/base/devres.c dr = find_dr(dev, new_dr->node.release, match, match_data); dr 311 drivers/base/devres.c if (!dr) { dr 313 drivers/base/devres.c dr = new_dr; dr 319 drivers/base/devres.c return dr->data; dr 341 drivers/base/devres.c struct devres *dr; dr 345 drivers/base/devres.c dr = find_dr(dev, release, match, match_data); dr 346 drivers/base/devres.c if (dr) { dr 347 drivers/base/devres.c list_del_init(&dr->node.entry); dr 348 drivers/base/devres.c devres_log(dev, &dr->node, "REM"); dr 352 drivers/base/devres.c if (dr) dr 353 drivers/base/devres.c return dr->data; dr 496 drivers/base/devres.c struct devres *dr, *tmp; dr 505 drivers/base/devres.c list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { dr 506 drivers/base/devres.c devres_log(dev, &dr->node, "REL"); dr 507 drivers/base/devres.c dr->node.release(dev, dr->data); dr 508 drivers/base/devres.c kfree(dr); dr 812 drivers/base/devres.c struct devres *dr; dr 815 drivers/base/devres.c dr = alloc_dr(devm_kmalloc_release, size, gfp, dev_to_node(dev)); dr 816 drivers/base/devres.c if (unlikely(!dr)) dr 823 drivers/base/devres.c set_node_dbginfo(&dr->node, "devm_kzalloc_release", size); dr 824 drivers/base/devres.c devres_add(dev, dr->data); dr 825 drivers/base/devres.c return dr->data; dr 118 drivers/block/sunvdc.c static inline u32 vdc_tx_dring_avail(struct vio_dring_state *dr) dr 120 drivers/block/sunvdc.c return vio_dring_avail(dr, VDC_TX_RING_SIZE); dr 178 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 184 drivers/block/sunvdc.c if (port->disk && vdc_tx_dring_avail(dr) * 100 / VDC_TX_RING_SIZE >= 50) dr 304 drivers/block/sunvdc.c static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr, dr 307 drivers/block/sunvdc.c struct vio_disk_desc *desc = vio_dring_entry(dr, index); dr 316 drivers/block/sunvdc.c dr->cons = vio_dring_next(dr, index); dr 333 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 336 drivers/block/sunvdc.c if (unlikely(pkt->dring_ident != dr->ident || dr 341 drivers/block/sunvdc.c vdc_end_one(port, dr, pkt->start_idx); dr 424 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 432 drivers/block/sunvdc.c .dring_ident = dr->ident, dr 433 drivers/block/sunvdc.c .start_idx = dr->prod, dr 434 drivers/block/sunvdc.c .end_idx = dr->prod, dr 439 drivers/block/sunvdc.c hdr.seq = dr->snd_nxt; dr 444 drivers/block/sunvdc.c dr->snd_nxt++; dr 462 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 491 drivers/block/sunvdc.c desc = vio_dring_cur(dr); dr 501 drivers/block/sunvdc.c rqe = &port->rq_arr[dr->prod]; dr 528 drivers/block/sunvdc.c dr->prod = vio_dring_next(dr, dr->prod); dr 538 drivers/block/sunvdc.c struct vio_dring_state *dr; dr 541 drivers/block/sunvdc.c dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 555 drivers/block/sunvdc.c if (unlikely(vdc_tx_dring_avail(dr) < 1)) { dr 572 drivers/block/sunvdc.c struct vio_dring_state *dr; dr 654 drivers/block/sunvdc.c dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 659 drivers/block/sunvdc.c desc = vio_dring_cur(dr); dr 692 drivers/block/sunvdc.c dr->prod = vio_dring_next(dr, dr->prod); dr 712 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 723 drivers/block/sunvdc.c dr->cookies, &ncookies, dr 730 drivers/block/sunvdc.c dr->base = dring; dr 731 drivers/block/sunvdc.c dr->entry_size = entry_size; dr 732 drivers/block/sunvdc.c dr->num_entries = VDC_TX_RING_SIZE; dr 733 drivers/block/sunvdc.c dr->prod = dr->cons = 0; dr 734 drivers/block/sunvdc.c dr->pending = VDC_TX_RING_SIZE; dr 735 drivers/block/sunvdc.c dr->ncookies = ncookies; dr 742 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 744 drivers/block/sunvdc.c if (dr->base) { dr 745 drivers/block/sunvdc.c ldc_free_exp_dring(port->vio.lp, dr->base, dr 746 drivers/block/sunvdc.c (dr->entry_size * dr->num_entries), dr 747 drivers/block/sunvdc.c dr->cookies, dr->ncookies); dr 748 drivers/block/sunvdc.c dr->base = NULL; dr 749 drivers/block/sunvdc.c dr->entry_size = 0; dr 750 drivers/block/sunvdc.c dr->num_entries = 0; dr 751 drivers/block/sunvdc.c dr->pending = 0; dr 752 drivers/block/sunvdc.c dr->ncookies = 0; dr 1101 drivers/block/sunvdc.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 1104 drivers/block/sunvdc.c for (idx = dr->cons; idx != dr->prod; idx = vio_dring_next(dr, idx)) { dr 1105 drivers/block/sunvdc.c struct vio_disk_desc *desc = vio_dring_entry(dr, idx); dr 1111 drivers/block/sunvdc.c dr->cons = vio_dring_next(dr, idx); dr 421 drivers/block/swim3.c struct dbdma_regs __iomem *dr = fs->dma; dr 444 drivers/block/swim3.c out_le32(&dr->cmdptr, virt_to_bus(cp)); dr 463 drivers/block/swim3.c out_le32(&dr->control, (RUN << 16) | RUN); dr 615 drivers/block/swim3.c struct dbdma_regs __iomem *dr = fs->dma; dr 623 drivers/block/swim3.c out_le32(&dr->control, RUN << 16); dr 625 drivers/block/swim3.c for (n = 0; (in_le32(&dr->status) & ACTIVE) && n < 1000; n++) dr 644 drivers/block/swim3.c struct dbdma_regs __iomem *dr; dr 714 drivers/block/swim3.c dr = fs->dma; dr 735 drivers/block/swim3.c out_le32(&dr->control, (RUN | PAUSE) << 16); dr 268 drivers/bluetooth/bpa10x.c struct usb_ctrlrequest *dr; dr 286 drivers/bluetooth/bpa10x.c dr = kmalloc(sizeof(*dr), GFP_KERNEL); dr 287 drivers/bluetooth/bpa10x.c if (!dr) { dr 292 drivers/bluetooth/bpa10x.c dr->bRequestType = USB_TYPE_VENDOR; dr 293 drivers/bluetooth/bpa10x.c dr->bRequest = 0; dr 294 drivers/bluetooth/bpa10x.c dr->wIndex = 0; dr 295 drivers/bluetooth/bpa10x.c dr->wValue = 0; dr 296 drivers/bluetooth/bpa10x.c dr->wLength = __cpu_to_le16(skb->len); dr 300 drivers/bluetooth/bpa10x.c usb_fill_control_urb(urb, data->udev, pipe, (void *) dr, dr 1306 drivers/bluetooth/btusb.c struct usb_ctrlrequest *dr; dr 1314 drivers/bluetooth/btusb.c dr = kmalloc(sizeof(*dr), GFP_KERNEL); dr 1315 drivers/bluetooth/btusb.c if (!dr) { dr 1320 drivers/bluetooth/btusb.c dr->bRequestType = data->cmdreq_type; dr 1321 drivers/bluetooth/btusb.c dr->bRequest = data->cmdreq; dr 1322 drivers/bluetooth/btusb.c dr->wIndex = 0; dr 1323 drivers/bluetooth/btusb.c dr->wValue = 0; dr 1324 drivers/bluetooth/btusb.c dr->wLength = __cpu_to_le16(skb->len); dr 1328 drivers/bluetooth/btusb.c usb_fill_control_urb(urb, data->udev, pipe, (void *)dr, dr 2642 drivers/bluetooth/btusb.c struct usb_ctrlrequest *dr; dr 2652 drivers/bluetooth/btusb.c dr = kmalloc(sizeof(*dr), GFP_KERNEL); dr 2653 drivers/bluetooth/btusb.c if (!dr) { dr 2658 drivers/bluetooth/btusb.c dr->bRequestType = USB_TYPE_VENDOR | USB_DIR_IN; dr 2659 drivers/bluetooth/btusb.c dr->bRequest = 1; dr 2660 drivers/bluetooth/btusb.c dr->wIndex = cpu_to_le16(0); dr 2661 drivers/bluetooth/btusb.c dr->wValue = cpu_to_le16(48); dr 2662 drivers/bluetooth/btusb.c dr->wLength = cpu_to_le16(size); dr 2666 drivers/bluetooth/btusb.c kfree(dr); dr 2672 drivers/bluetooth/btusb.c usb_fill_control_urb(urb, data->udev, pipe, (void *)dr, dr 1268 drivers/clk/tegra/clk-tegra114.c u32 dr = 0, r = 0; dr 1280 drivers/clk/tegra/clk-tegra114.c dr |= (CPU_FINETRIM_1_FCPU_1 | CPU_FINETRIM_1_FCPU_2 | dr 1283 drivers/clk/tegra/clk-tegra114.c writel_relaxed(dr, clk_base + CPU_FINETRIM_DR); dr 28 drivers/extcon/extcon-usbc-cros-ec.c unsigned int dr; /* data role */ dr 252 drivers/extcon/extcon-usbc-cros-ec.c unsigned int dr = DR_NONE; dr 276 drivers/extcon/extcon-usbc-cros-ec.c dr = (role & PD_CTRL_RESP_ROLE_DATA) ? DR_HOST : DR_DEVICE; dr 288 drivers/extcon/extcon-usbc-cros-ec.c role, power_type, dr, pr, polarity, mux, dp, hpd); dr 295 drivers/extcon/extcon-usbc-cros-ec.c if (dr == DR_DEVICE && dr 297 drivers/extcon/extcon-usbc-cros-ec.c dr = DR_NONE; dr 299 drivers/extcon/extcon-usbc-cros-ec.c if (force || info->dr != dr || info->pr != pr || info->dp != dp || dr 305 drivers/extcon/extcon-usbc-cros-ec.c cros_ec_usb_role_string(dr)); dr 306 drivers/extcon/extcon-usbc-cros-ec.c info->dr = dr; dr 312 drivers/extcon/extcon-usbc-cros-ec.c if (dr == DR_DEVICE) dr 314 drivers/extcon/extcon-usbc-cros-ec.c else if (dr == DR_HOST) dr 454 drivers/extcon/extcon-usbc-cros-ec.c info->dr = DR_NONE; dr 55 drivers/gpio/gpio-mxc.c u32 dr; dr 543 drivers/gpio/gpio-mxc.c port->gpio_saved_reg.dr = readl(port->base + GPIO_DR); dr 556 drivers/gpio/gpio-mxc.c writel(port->gpio_saved_reg.dr, port->base + GPIO_DR); dr 98 drivers/gpio/gpiolib-devres.c struct gpio_desc **dr; dr 118 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), dr 120 drivers/gpio/gpiolib-devres.c if (!dr) { dr 125 drivers/gpio/gpiolib-devres.c *dr = desc; dr 126 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 153 drivers/gpio/gpiolib-devres.c struct gpio_desc **dr; dr 173 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), dr 175 drivers/gpio/gpiolib-devres.c if (!dr) { dr 180 drivers/gpio/gpiolib-devres.c *dr = desc; dr 181 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 210 drivers/gpio/gpiolib-devres.c struct gpio_desc **dr; dr 214 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), dr 216 drivers/gpio/gpiolib-devres.c if (!dr) dr 233 drivers/gpio/gpiolib-devres.c devres_free(dr); dr 237 drivers/gpio/gpiolib-devres.c *dr = desc; dr 238 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 287 drivers/gpio/gpiolib-devres.c struct gpio_descs **dr; dr 290 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpiod_release_array, dr 292 drivers/gpio/gpiolib-devres.c if (!dr) dr 297 drivers/gpio/gpiolib-devres.c devres_free(dr); dr 301 drivers/gpio/gpiolib-devres.c *dr = descs; dr 302 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 429 drivers/gpio/gpiolib-devres.c unsigned *dr; dr 432 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); dr 433 drivers/gpio/gpiolib-devres.c if (!dr) dr 438 drivers/gpio/gpiolib-devres.c devres_free(dr); dr 442 drivers/gpio/gpiolib-devres.c *dr = gpio; dr 443 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 459 drivers/gpio/gpiolib-devres.c unsigned *dr; dr 462 drivers/gpio/gpiolib-devres.c dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); dr 463 drivers/gpio/gpiolib-devres.c if (!dr) dr 468 drivers/gpio/gpiolib-devres.c devres_free(dr); dr 472 drivers/gpio/gpiolib-devres.c *dr = gpio; dr 473 drivers/gpio/gpiolib-devres.c devres_add(dev, dr); dr 173 drivers/greybus/es2.c struct usb_ctrlrequest *dr = urb->context; dr 175 drivers/greybus/es2.c kfree(dr); dr 183 drivers/greybus/es2.c struct usb_ctrlrequest *dr; dr 191 drivers/greybus/es2.c dr = kmalloc(sizeof(*dr) + size, GFP_ATOMIC); dr 192 drivers/greybus/es2.c if (!dr) { dr 197 drivers/greybus/es2.c buf = (u8 *)dr + sizeof(*dr); dr 200 drivers/greybus/es2.c dr->bRequest = cmd; dr 201 drivers/greybus/es2.c dr->bRequestType = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE; dr 202 drivers/greybus/es2.c dr->wValue = 0; dr 203 drivers/greybus/es2.c dr->wIndex = 0; dr 204 drivers/greybus/es2.c dr->wLength = cpu_to_le16(size); dr 207 drivers/greybus/es2.c (unsigned char *)dr, buf, size, dr 208 drivers/greybus/es2.c ap_urb_complete, dr); dr 212 drivers/greybus/es2.c kfree(dr); dr 1080 drivers/greybus/svc.c struct gb_svc_deferred_request *dr; dr 1085 drivers/greybus/svc.c dr = container_of(work, struct gb_svc_deferred_request, work); dr 1086 drivers/greybus/svc.c operation = dr->operation; dr 1111 drivers/greybus/svc.c kfree(dr); dr 1117 drivers/greybus/svc.c struct gb_svc_deferred_request *dr; dr 1119 drivers/greybus/svc.c dr = kmalloc(sizeof(*dr), GFP_KERNEL); dr 1120 drivers/greybus/svc.c if (!dr) dr 1125 drivers/greybus/svc.c dr->operation = operation; dr 1126 drivers/greybus/svc.c INIT_WORK(&dr->work, gb_svc_process_deferred_request); dr 1128 drivers/greybus/svc.c queue_work(svc->wq, &dr->work); dr 964 drivers/i2c/i2c-core-base.c struct i2c_dummy_devres *dr; dr 967 drivers/i2c/i2c-core-base.c dr = devres_alloc(devm_i2c_release_dummy, sizeof(*dr), GFP_KERNEL); dr 968 drivers/i2c/i2c-core-base.c if (!dr) dr 973 drivers/i2c/i2c-core-base.c devres_free(dr); dr 975 drivers/i2c/i2c-core-base.c dr->client = client; dr 976 drivers/i2c/i2c-core-base.c devres_add(dev, dr); dr 129 drivers/iio/adc/stm32-adc.c const u32 dr; dr 338 drivers/iio/adc/stm32-adc.c .dr = STM32F4_ADC_DR, dr 430 drivers/iio/adc/stm32-adc.c .dr = STM32H7_ADC_DR, dr 1216 drivers/iio/adc/stm32-adc.c adc->buffer[adc->bufi] = stm32_adc_readw(adc, regs->dr); dr 1793 drivers/iio/adc/stm32-adc.c config.src_addr += adc->offset + adc->cfg->regs->dr; dr 332 drivers/iio/adc/ti-ads1015.c int ret, pga, dr, dr_old, conv_time; dr 343 drivers/iio/adc/ti-ads1015.c dr = data->channel_data[chan].data_rate; dr 347 drivers/iio/adc/ti-ads1015.c dr << ADS1015_CFG_DR_SHIFT; dr 367 drivers/iio/adc/ti-ads1015.c conv_time += DIV_ROUND_UP(USEC_PER_SEC, data->data_rate[dr]); dr 535 drivers/iio/adc/ti-ads1015.c int dr; dr 547 drivers/iio/adc/ti-ads1015.c dr = data->channel_data[chan->address].data_rate; dr 550 drivers/iio/adc/ti-ads1015.c USEC_PER_SEC / data->data_rate[dr]; dr 576 drivers/iio/adc/ti-ads1015.c int dr; dr 592 drivers/iio/adc/ti-ads1015.c dr = data->channel_data[chan->address].data_rate; dr 597 drivers/iio/adc/ti-ads1015.c USEC_PER_SEC / data->data_rate[dr]) dr 847 drivers/infiniband/core/mad.c ? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) == dr 856 drivers/infiniband/core/mad.c opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid); dr 146 drivers/infiniband/core/smi.c smp->route.dr.initial_path, dr 147 drivers/infiniband/core/smi.c smp->route.dr.return_path, dr 149 drivers/infiniband/core/smi.c smp->route.dr.dr_dlid == dr 151 drivers/infiniband/core/smi.c smp->route.dr.dr_slid == dr 261 drivers/infiniband/core/smi.c smp->route.dr.initial_path, dr 262 drivers/infiniband/core/smi.c smp->route.dr.return_path, dr 264 drivers/infiniband/core/smi.c smp->route.dr.dr_dlid == dr 266 drivers/infiniband/core/smi.c smp->route.dr.dr_slid == dr 314 drivers/infiniband/core/smi.c smp->route.dr.dr_dlid == dr 316 drivers/infiniband/core/smi.c smp->route.dr.dr_slid == dr 336 drivers/infiniband/core/smi.c return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : dr 337 drivers/infiniband/core/smi.c smp->route.dr.return_path[smp->hop_ptr-1]; dr 4404 drivers/infiniband/hw/hfi1/mad.c smp->route.dr.dr_slid == OPA_LID_PERMISSIVE && dr 4405 drivers/infiniband/hw/hfi1/mad.c smp->route.dr.dr_dlid == OPA_LID_PERMISSIVE); dr 4536 drivers/infiniband/hw/hfi1/mad.c smp->route.dr.dr_slid, smp->route.dr.return_path, dr 4555 drivers/infiniband/hw/hfi1/mad.c smp->mkey, smp->route.dr.dr_slid, dr 4556 drivers/infiniband/hw/hfi1/mad.c smp->route.dr.return_path, dr 1337 drivers/iommu/dmar.c u8 dw = 0, dr = 0; dr 1346 drivers/iommu/dmar.c dr = 1; dr 1348 drivers/iommu/dmar.c desc.qw0 = QI_IOTLB_DID(did) | QI_IOTLB_DR(dr) | QI_IOTLB_DW(dw) dr 384 drivers/leds/led-class.c struct led_classdev **dr; dr 387 drivers/leds/led-class.c dr = devres_alloc(devm_led_classdev_release, sizeof(*dr), GFP_KERNEL); dr 388 drivers/leds/led-class.c if (!dr) dr 393 drivers/leds/led-class.c devres_free(dr); dr 397 drivers/leds/led-class.c *dr = led_cdev; dr 398 drivers/leds/led-class.c devres_add(parent, dr); dr 295 drivers/leds/led-triggers.c struct led_trigger **dr; dr 298 drivers/leds/led-triggers.c dr = devres_alloc(devm_led_trigger_release, sizeof(*dr), dr 300 drivers/leds/led-triggers.c if (!dr) dr 303 drivers/leds/led-triggers.c *dr = trig; dr 307 drivers/leds/led-triggers.c devres_free(dr); dr 309 drivers/leds/led-triggers.c devres_add(dev, dr); dr 549 drivers/macintosh/macio_asic.c struct macio_devres *dr = res; dr 554 drivers/macintosh/macio_asic.c if (dr->res_mask & (1 << i)) dr 561 drivers/macintosh/macio_asic.c struct macio_devres *dr; dr 563 drivers/macintosh/macio_asic.c dr = devres_find(&dev->ofdev.dev, maciom_release, NULL, NULL); dr 564 drivers/macintosh/macio_asic.c if (!dr) { dr 565 drivers/macintosh/macio_asic.c dr = devres_alloc(maciom_release, sizeof(*dr), GFP_KERNEL); dr 566 drivers/macintosh/macio_asic.c if (!dr) dr 569 drivers/macintosh/macio_asic.c return devres_get(&dev->ofdev.dev, dr, NULL, NULL) != NULL; dr 594 drivers/macintosh/macio_asic.c struct macio_devres *dr = find_macio_dr(dev); dr 604 drivers/macintosh/macio_asic.c if (dr && resource_no < 32) dr 605 drivers/macintosh/macio_asic.c dr->res_mask |= 1 << resource_no; dr 626 drivers/macintosh/macio_asic.c struct macio_devres *dr = find_macio_dr(dev); dr 632 drivers/macintosh/macio_asic.c if (dr && resource_no < 32) dr 633 drivers/macintosh/macio_asic.c dr->res_mask &= ~(1 << resource_no); dr 29 drivers/mailbox/pl320-ipc.c #define IPCMxDR(m, dr) (((m) * 0x40) + ((dr) * 4) + 0x024) dr 2156 drivers/md/raid10.c int dr = r10_bio->devs[0].devnum; dr 2169 drivers/md/raid10.c rdev = conf->mirrors[dr].rdev; dr 48 drivers/media/dvb-frontends/cxd2099.c int dr; dr 508 drivers/media/dvb-frontends/cxd2099.c ci->dr = 1; dr 563 drivers/media/dvb-frontends/cxd2099.c if (!ci->dr) dr 577 drivers/media/dvb-frontends/cxd2099.c ci->dr = 0; dr 1714 drivers/media/rc/rc-main.c struct rc_dev **dr, *rc; dr 1716 drivers/media/rc/rc-main.c dr = devres_alloc(devm_rc_alloc_release, sizeof(*dr), GFP_KERNEL); dr 1717 drivers/media/rc/rc-main.c if (!dr) dr 1722 drivers/media/rc/rc-main.c devres_free(dr); dr 1728 drivers/media/rc/rc-main.c *dr = rc; dr 1729 drivers/media/rc/rc-main.c devres_add(dev, dr); dr 1947 drivers/media/rc/rc-main.c struct rc_dev **dr; dr 1950 drivers/media/rc/rc-main.c dr = devres_alloc(devm_rc_release, sizeof(*dr), GFP_KERNEL); dr 1951 drivers/media/rc/rc-main.c if (!dr) dr 1956 drivers/media/rc/rc-main.c devres_free(dr); dr 1960 drivers/media/rc/rc-main.c *dr = dev; dr 1961 drivers/media/rc/rc-main.c devres_add(parent, dr); dr 63 drivers/misc/mic/bus/mic_bus.c static int mbus_dev_match(struct device *dv, struct device_driver *dr) dr 69 drivers/misc/mic/bus/mic_bus.c ids = drv_to_mbus(dr)->id_table; dr 65 drivers/misc/mic/bus/scif_bus.c static int scif_dev_match(struct device *dv, struct device_driver *dr) dr 71 drivers/misc/mic/bus/scif_bus.c ids = drv_to_scif(dr)->id_table; dr 65 drivers/misc/mic/bus/vop_bus.c static int vop_dev_match(struct device *dv, struct device_driver *dr) dr 71 drivers/misc/mic/bus/vop_bus.c ids = drv_to_vop(dr)->id_table; dr 810 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c enum dma_data_direction dr) dr 818 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c ret = dma_map_sg(this->dev, sgl, 1, dr); dr 829 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (dr == DMA_TO_DEVICE && buf != this->data_buffer_dma) dr 832 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c dma_map_sg(this->dev, sgl, 1, dr); dr 194 drivers/net/ethernet/mellanox/mlxsw/core.c MLXSW_ITEM32(emad, op_tlv, dr, 0x00, 15, 1); dr 48 drivers/net/ethernet/sun/sunvnet_common.c static inline u32 vnet_tx_dring_avail(struct vio_dring_state *dr) dr 50 drivers/net/ethernet/sun/sunvnet_common.c return vio_dring_avail(dr, VNET_TX_RING_SIZE); dr 262 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr; dr 264 drivers/net/ethernet/sun/sunvnet_common.c dr = &vio->drings[VIO_DRIVER_RX_RING]; dr 265 drivers/net/ethernet/sun/sunvnet_common.c dr->rcv_nxt = 1; dr 266 drivers/net/ethernet/sun/sunvnet_common.c dr->snd_nxt = 1; dr 268 drivers/net/ethernet/sun/sunvnet_common.c dr = &vio->drings[VIO_DRIVER_TX_RING]; dr 269 drivers/net/ethernet/sun/sunvnet_common.c dr->rcv_nxt = 1; dr 270 drivers/net/ethernet/sun/sunvnet_common.c dr->snd_nxt = 1; dr 469 drivers/net/ethernet/sun/sunvnet_common.c static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, dr 479 drivers/net/ethernet/sun/sunvnet_common.c .dring_ident = dr->ident, dr 487 drivers/net/ethernet/sun/sunvnet_common.c hdr.seq = dr->snd_nxt; dr 492 drivers/net/ethernet/sun/sunvnet_common.c dr->snd_nxt++; dr 519 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr, dr 525 drivers/net/ethernet/sun/sunvnet_common.c err = ldc_get_dring_entry(port->vio.lp, desc, dr->entry_size, dr 526 drivers/net/ethernet/sun/sunvnet_common.c (index * dr->entry_size), dr 527 drivers/net/ethernet/sun/sunvnet_common.c dr->cookies, dr->ncookies); dr 535 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr, dr 541 drivers/net/ethernet/sun/sunvnet_common.c err = ldc_put_dring_entry(port->vio.lp, desc, dr->entry_size, dr 542 drivers/net/ethernet/sun/sunvnet_common.c (index * dr->entry_size), dr 543 drivers/net/ethernet/sun/sunvnet_common.c dr->cookies, dr->ncookies); dr 551 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr, dr 554 drivers/net/ethernet/sun/sunvnet_common.c struct vio_net_desc *desc = get_rx_desc(port, dr, index); dr 579 drivers/net/ethernet/sun/sunvnet_common.c err = put_rx_desc(port, dr, desc, index); dr 586 drivers/net/ethernet/sun/sunvnet_common.c static int vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr, dr 593 drivers/net/ethernet/sun/sunvnet_common.c end = (end == (u32)-1) ? vio_dring_prev(dr, start) dr 594 drivers/net/ethernet/sun/sunvnet_common.c : vio_dring_next(dr, end); dr 599 drivers/net/ethernet/sun/sunvnet_common.c int ack = 0, err = vnet_walk_rx_one(port, dr, start, &ack); dr 609 drivers/net/ethernet/sun/sunvnet_common.c start = vio_dring_next(dr, start); dr 611 drivers/net/ethernet/sun/sunvnet_common.c err = vnet_send_ack(port, dr, ack_start, ack_end, dr 623 drivers/net/ethernet/sun/sunvnet_common.c ack_end = vio_dring_prev(dr, start); dr 631 drivers/net/ethernet/sun/sunvnet_common.c return vnet_send_ack(port, dr, ack_start, ack_end, dr 647 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_RX_RING]; dr 651 drivers/net/ethernet/sun/sunvnet_common.c pkt->tag.stype_env, pkt->seq, dr->rcv_nxt); dr 655 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(pkt->seq != dr->rcv_nxt)) { dr 657 drivers/net/ethernet/sun/sunvnet_common.c pkt->seq, dr->rcv_nxt); dr 662 drivers/net/ethernet/sun/sunvnet_common.c dr->rcv_nxt++; dr 666 drivers/net/ethernet/sun/sunvnet_common.c return vnet_walk_rx(port, dr, pkt->start_idx, pkt->end_idx, dr 670 drivers/net/ethernet/sun/sunvnet_common.c static int idx_is_pending(struct vio_dring_state *dr, u32 end) dr 672 drivers/net/ethernet/sun/sunvnet_common.c u32 idx = dr->cons; dr 675 drivers/net/ethernet/sun/sunvnet_common.c while (idx != dr->prod) { dr 680 drivers/net/ethernet/sun/sunvnet_common.c idx = vio_dring_next(dr, idx); dr 687 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 700 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(!idx_is_pending(dr, end))) { dr 710 drivers/net/ethernet/sun/sunvnet_common.c dr->cons = vio_dring_next(dr, end); dr 711 drivers/net/ethernet/sun/sunvnet_common.c desc = vio_dring_entry(dr, dr->cons); dr 717 drivers/net/ethernet/sun/sunvnet_common.c if (__vnet_tx_trigger(port, dr->cons) > 0) dr 728 drivers/net/ethernet/sun/sunvnet_common.c vnet_tx_dring_avail(dr) >= VNET_TX_WAKEUP_THRESH(dr))) dr 844 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = dr 850 drivers/net/ethernet/sun/sunvnet_common.c pkt->seq = dr->rcv_nxt; dr 851 drivers/net/ethernet/sun/sunvnet_common.c pkt->start_idx = vio_dring_next(dr, dr 941 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 949 drivers/net/ethernet/sun/sunvnet_common.c .dring_ident = dr->ident, dr 968 drivers/net/ethernet/sun/sunvnet_common.c hdr.seq = dr->snd_nxt; dr 973 drivers/net/ethernet/sun/sunvnet_common.c dr->snd_nxt++; dr 991 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 997 drivers/net/ethernet/sun/sunvnet_common.c txi = dr->prod; dr 1005 drivers/net/ethernet/sun/sunvnet_common.c d = vio_dring_entry(dr, txi); dr 1225 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 1256 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(vnet_tx_dring_avail(dr) < gso_segs)) { dr 1261 drivers/net/ethernet/sun/sunvnet_common.c if (vnet_tx_dring_avail(dr) < skb_shinfo(skb)->gso_segs) dr 1331 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr; dr 1395 drivers/net/ethernet/sun/sunvnet_common.c dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 1398 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(vnet_tx_dring_avail(dr) < 1)) { dr 1410 drivers/net/ethernet/sun/sunvnet_common.c d = vio_dring_cur(dr); dr 1412 drivers/net/ethernet/sun/sunvnet_common.c txi = dr->prod; dr 1491 drivers/net/ethernet/sun/sunvnet_common.c port->vio._peer_sid, dr->cons); dr 1495 drivers/net/ethernet/sun/sunvnet_common.c err = __vnet_tx_trigger(port, dr->cons); dr 1513 drivers/net/ethernet/sun/sunvnet_common.c dr->prod = (dr->prod + 1) & (VNET_TX_RING_SIZE - 1); dr 1514 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(vnet_tx_dring_avail(dr) < 1)) { dr 1517 drivers/net/ethernet/sun/sunvnet_common.c if (vnet_tx_dring_avail(dr) > VNET_TX_WAKEUP_THRESH(dr)) dr 1690 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr; dr 1693 drivers/net/ethernet/sun/sunvnet_common.c dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 1695 drivers/net/ethernet/sun/sunvnet_common.c if (!dr->base) dr 1705 drivers/net/ethernet/sun/sunvnet_common.c d = vio_dring_entry(dr, i); dr 1714 drivers/net/ethernet/sun/sunvnet_common.c ldc_free_exp_dring(port->vio.lp, dr->base, dr 1715 drivers/net/ethernet/sun/sunvnet_common.c (dr->entry_size * dr->num_entries), dr 1716 drivers/net/ethernet/sun/sunvnet_common.c dr->cookies, dr->ncookies); dr 1717 drivers/net/ethernet/sun/sunvnet_common.c dr->base = NULL; dr 1718 drivers/net/ethernet/sun/sunvnet_common.c dr->entry_size = 0; dr 1719 drivers/net/ethernet/sun/sunvnet_common.c dr->num_entries = 0; dr 1720 drivers/net/ethernet/sun/sunvnet_common.c dr->pending = 0; dr 1721 drivers/net/ethernet/sun/sunvnet_common.c dr->ncookies = 0; dr 1737 drivers/net/ethernet/sun/sunvnet_common.c struct vio_dring_state *dr; dr 1742 drivers/net/ethernet/sun/sunvnet_common.c dr = &port->vio.drings[VIO_DRIVER_TX_RING]; dr 1752 drivers/net/ethernet/sun/sunvnet_common.c dr->cookies, &ncookies, dr 1761 drivers/net/ethernet/sun/sunvnet_common.c dr->base = dring; dr 1762 drivers/net/ethernet/sun/sunvnet_common.c dr->entry_size = elen; dr 1763 drivers/net/ethernet/sun/sunvnet_common.c dr->num_entries = VNET_TX_RING_SIZE; dr 1764 drivers/net/ethernet/sun/sunvnet_common.c dr->prod = 0; dr 1765 drivers/net/ethernet/sun/sunvnet_common.c dr->cons = 0; dr 1767 drivers/net/ethernet/sun/sunvnet_common.c dr->pending = VNET_TX_RING_SIZE; dr 1768 drivers/net/ethernet/sun/sunvnet_common.c dr->ncookies = ncookies; dr 1773 drivers/net/ethernet/sun/sunvnet_common.c d = vio_dring_entry(dr, i); dr 14 drivers/net/ethernet/sun/sunvnet_common.h #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4) dr 475 drivers/net/usb/catc.c struct usb_ctrlrequest *dr = &catc->ctrl_dr; dr 478 drivers/net/usb/catc.c dr->bRequest = q->request; dr 479 drivers/net/usb/catc.c dr->bRequestType = 0x40 | q->dir; dr 480 drivers/net/usb/catc.c dr->wValue = cpu_to_le16(q->value); dr 481 drivers/net/usb/catc.c dr->wIndex = cpu_to_le16(q->index); dr 482 drivers/net/usb/catc.c dr->wLength = cpu_to_le16(q->len); dr 487 drivers/net/usb/catc.c urb->setup_packet = (void *) dr; dr 251 drivers/net/usb/kaweth.c struct usb_ctrlrequest *dr; dr 259 drivers/net/usb/kaweth.c dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_ATOMIC); dr 260 drivers/net/usb/kaweth.c if (!dr) dr 263 drivers/net/usb/kaweth.c dr->bRequestType = requesttype; dr 264 drivers/net/usb/kaweth.c dr->bRequest = request; dr 265 drivers/net/usb/kaweth.c dr->wValue = cpu_to_le16(value); dr 266 drivers/net/usb/kaweth.c dr->wIndex = cpu_to_le16(index); dr 267 drivers/net/usb/kaweth.c dr->wLength = cpu_to_le16(size); dr 271 drivers/net/usb/kaweth.c dr, dr 276 drivers/net/usb/kaweth.c kfree(dr); dr 133 drivers/net/usb/rtl8150.c struct usb_ctrlrequest dr; dr 142 drivers/net/usb/rtl8150.c struct usb_ctrlrequest dr; dr 213 drivers/net/usb/rtl8150.c req->dr.bRequestType = RTL8150_REQT_WRITE; dr 214 drivers/net/usb/rtl8150.c req->dr.bRequest = RTL8150_REQ_SET_REGS; dr 215 drivers/net/usb/rtl8150.c req->dr.wIndex = 0; dr 216 drivers/net/usb/rtl8150.c req->dr.wValue = cpu_to_le16(indx); dr 217 drivers/net/usb/rtl8150.c req->dr.wLength = cpu_to_le16(size); dr 219 drivers/net/usb/rtl8150.c usb_sndctrlpipe(dev->udev, 0), (void *)&req->dr, dr 124 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct usb_ctrlrequest *dr; dr 128 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct usb_ctrlrequest dr; dr 142 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr = &buf->dr; dr 144 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr->bRequestType = RTL8187_REQT_WRITE; dr 145 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr->bRequest = RTL8187_REQ_SET_REG; dr 146 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr->wValue = addr; dr 147 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr->wIndex = 0; dr 148 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c dr->wLength = cpu_to_le16(len); dr 153 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c (unsigned char *)dr, buf, len, dr 43 drivers/net/wireless/realtek/rtlwifi/usb.c struct usb_ctrlrequest *dr; dr 54 drivers/net/wireless/realtek/rtlwifi/usb.c dr = kzalloc(sizeof(*dr), GFP_ATOMIC); dr 55 drivers/net/wireless/realtek/rtlwifi/usb.c if (!dr) dr 60 drivers/net/wireless/realtek/rtlwifi/usb.c kfree(dr); dr 67 drivers/net/wireless/realtek/rtlwifi/usb.c kfree(dr); dr 71 drivers/net/wireless/realtek/rtlwifi/usb.c dr->bRequestType = reqtype; dr 72 drivers/net/wireless/realtek/rtlwifi/usb.c dr->bRequest = request; dr 73 drivers/net/wireless/realtek/rtlwifi/usb.c dr->wValue = cpu_to_le16(value); dr 74 drivers/net/wireless/realtek/rtlwifi/usb.c dr->wIndex = cpu_to_le16(index); dr 75 drivers/net/wireless/realtek/rtlwifi/usb.c dr->wLength = cpu_to_le16(len); dr 79 drivers/net/wireless/realtek/rtlwifi/usb.c (unsigned char *)dr, databuf, len, dr 84 drivers/net/wireless/realtek/rtlwifi/usb.c kfree(dr); dr 219 drivers/ntb/msi.c struct ntb_msi_devres *dr = data; dr 221 drivers/ntb/msi.c WARN_ON(ntb_msi_set_desc(dr->ntb, entry, dr->msi_desc)); dr 223 drivers/ntb/msi.c if (dr->ntb->msi->desc_changed) dr 224 drivers/ntb/msi.c dr->ntb->msi->desc_changed(dr->ntb->ctx); dr 229 drivers/ntb/msi.c struct ntb_msi_devres *dr = res; dr 231 drivers/ntb/msi.c dr->entry->write_msi_msg = NULL; dr 232 drivers/ntb/msi.c dr->entry->write_msi_msg_data = NULL; dr 238 drivers/ntb/msi.c struct ntb_msi_devres *dr; dr 240 drivers/ntb/msi.c dr = devres_alloc(ntbm_msi_callback_release, dr 242 drivers/ntb/msi.c if (!dr) dr 245 drivers/ntb/msi.c dr->ntb = ntb; dr 246 drivers/ntb/msi.c dr->entry = entry; dr 247 drivers/ntb/msi.c dr->msi_desc = msi_desc; dr 249 drivers/ntb/msi.c devres_add(&ntb->dev, dr); dr 251 drivers/ntb/msi.c dr->entry->write_msi_msg = ntb_msi_write_msg; dr 252 drivers/ntb/msi.c dr->entry->write_msi_msg_data = dr; dr 323 drivers/ntb/msi.c struct ntb_msi_devres *dr = res; dr 325 drivers/ntb/msi.c return dr->ntb == ntb && dr->entry == data; dr 66 drivers/parisc/power.c #define MTCPU(dr, gr) MFCPU_X(dr, gr, 0, 0x12) /* move value of gr to dr[dr] */ dr 67 drivers/parisc/power.c #define MFCPU_C(dr, gr) MFCPU_X(dr, gr, 0, 0x30) /* for dr0 and dr8 only ! */ dr 68 drivers/parisc/power.c #define MFCPU_T(dr, gr) MFCPU_X(dr, 0, gr, 0xa0) /* all dr except dr0 and dr8 */ dr 70 drivers/parisc/power.c #define __getDIAG(dr) ( { \ dr 73 drivers/parisc/power.c ".word %1" : "=&r" (__res) : "i" (MFCPU_T(dr,28) ) \ dr 1981 drivers/pci/controller/pci-hyperv.c struct hv_dr_state *dr = NULL; dr 1993 drivers/pci/controller/pci-hyperv.c dr = list_first_entry(&hbus->dr_list, struct hv_dr_state, dr 1995 drivers/pci/controller/pci-hyperv.c list_del(&dr->list_entry); dr 1999 drivers/pci/controller/pci-hyperv.c kfree(dr); dr 2005 drivers/pci/controller/pci-hyperv.c if (!dr) { dr 2018 drivers/pci/controller/pci-hyperv.c for (child_no = 0; child_no < dr->device_count; child_no++) { dr 2020 drivers/pci/controller/pci-hyperv.c new_desc = &dr->func[child_no]; dr 2091 drivers/pci/controller/pci-hyperv.c kfree(dr); dr 2105 drivers/pci/controller/pci-hyperv.c struct hv_dr_state *dr; dr 2114 drivers/pci/controller/pci-hyperv.c dr = kzalloc(offsetof(struct hv_dr_state, func) + dr 2117 drivers/pci/controller/pci-hyperv.c if (!dr) { dr 2124 drivers/pci/controller/pci-hyperv.c dr->device_count = relations->device_count; dr 2125 drivers/pci/controller/pci-hyperv.c if (dr->device_count != 0) { dr 2126 drivers/pci/controller/pci-hyperv.c memcpy(dr->func, relations->func, dr 2128 drivers/pci/controller/pci-hyperv.c dr->device_count); dr 2138 drivers/pci/controller/pci-hyperv.c list_add_tail(&dr->list_entry, &hbus->dr_list); dr 1787 drivers/pci/pci.c struct pci_devres *dr, *new_dr; dr 1789 drivers/pci/pci.c dr = devres_find(&pdev->dev, pcim_release, NULL, NULL); dr 1790 drivers/pci/pci.c if (dr) dr 1791 drivers/pci/pci.c return dr; dr 1814 drivers/pci/pci.c struct pci_devres *dr; dr 1817 drivers/pci/pci.c dr = get_pci_dr(pdev); dr 1818 drivers/pci/pci.c if (unlikely(!dr)) dr 1820 drivers/pci/pci.c if (dr->enabled) dr 1826 drivers/pci/pci.c dr->enabled = 1; dr 1842 drivers/pci/pci.c struct pci_devres *dr; dr 1844 drivers/pci/pci.c dr = find_pci_dr(pdev); dr 1845 drivers/pci/pci.c WARN_ON(!dr || !dr->enabled); dr 1846 drivers/pci/pci.c if (dr) dr 1847 drivers/pci/pci.c dr->pinned = 1; dr 1934 drivers/pci/pci.c struct pci_devres *dr; dr 1936 drivers/pci/pci.c dr = find_pci_dr(dev); dr 1937 drivers/pci/pci.c if (dr) dr 1938 drivers/pci/pci.c dr->enabled = 0; dr 3668 drivers/pci/pci.c struct pci_devres *dr; dr 3679 drivers/pci/pci.c dr = find_pci_dr(pdev); dr 3680 drivers/pci/pci.c if (dr) dr 3681 drivers/pci/pci.c dr->region_mask &= ~(1 << bar); dr 3707 drivers/pci/pci.c struct pci_devres *dr; dr 3723 drivers/pci/pci.c dr = find_pci_dr(pdev); dr 3724 drivers/pci/pci.c if (dr) dr 3725 drivers/pci/pci.c dr->region_mask |= 1 << bar; dr 4259 drivers/pci/pci.c struct pci_devres *dr; dr 4261 drivers/pci/pci.c dr = find_pci_dr(dev); dr 4262 drivers/pci/pci.c if (!dr) dr 4265 drivers/pci/pci.c dr->mwi = 1; dr 4328 drivers/pci/pci.c struct pci_devres *dr; dr 4332 drivers/pci/pci.c dr = find_pci_dr(pdev); dr 4333 drivers/pci/pci.c if (dr && !dr->restore_intx) { dr 4334 drivers/pci/pci.c dr->restore_intx = 1; dr 4335 drivers/pci/pci.c dr->orig_intx = !enable; dr 140 drivers/pinctrl/meson/pinctrl-meson.h #define BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ dr 151 drivers/pinctrl/meson/pinctrl-meson.h [REG_DIR] = { dr, db }, \ dr 158 drivers/pinctrl/meson/pinctrl-meson.h #define BANK(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ dr 159 drivers/pinctrl/meson/pinctrl-meson.h BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, 0, 0) dr 245 drivers/pinctrl/sirf/pinctrl-atlas7.c #define MUX(b, pad, f, dr, db, dvr, dvb) \ dr 250 drivers/pinctrl/sirf/pinctrl-atlas7.c .dinput_reg = dr, \ dr 149 drivers/power/reset/reboot-mode.c struct reboot_mode_driver **dr; dr 152 drivers/power/reset/reboot-mode.c dr = devres_alloc(devm_reboot_mode_release, sizeof(*dr), GFP_KERNEL); dr 153 drivers/power/reset/reboot-mode.c if (!dr) dr 158 drivers/power/reset/reboot-mode.c devres_free(dr); dr 162 drivers/power/reset/reboot-mode.c *dr = reboot; dr 163 drivers/power/reset/reboot-mode.c devres_add(dev, dr); dr 96 drivers/rtc/rtc-stm32.c u16 dr; dr 274 drivers/rtc/rtc-stm32.c unsigned int tr, dr; dr 278 drivers/rtc/rtc-stm32.c dr = readl_relaxed(rtc->base + regs->dr); dr 284 drivers/rtc/rtc-stm32.c tm->tm_mday = (dr & STM32_RTC_DR_DATE) >> STM32_RTC_DR_DATE_SHIFT; dr 285 drivers/rtc/rtc-stm32.c tm->tm_mon = (dr & STM32_RTC_DR_MONTH) >> STM32_RTC_DR_MONTH_SHIFT; dr 286 drivers/rtc/rtc-stm32.c tm->tm_year = (dr & STM32_RTC_DR_YEAR) >> STM32_RTC_DR_YEAR_SHIFT; dr 287 drivers/rtc/rtc-stm32.c tm->tm_wday = (dr & STM32_RTC_DR_WDAY) >> STM32_RTC_DR_WDAY_SHIFT; dr 300 drivers/rtc/rtc-stm32.c unsigned int tr, dr; dr 311 drivers/rtc/rtc-stm32.c dr = ((tm->tm_mday << STM32_RTC_DR_DATE_SHIFT) & STM32_RTC_DR_DATE) | dr 325 drivers/rtc/rtc-stm32.c writel_relaxed(dr, rtc->base + regs->dr); dr 434 drivers/rtc/rtc-stm32.c unsigned int dr = readl_relaxed(rtc->base + regs->dr); dr 437 drivers/rtc/rtc-stm32.c cur_day = (dr & STM32_RTC_DR_DATE) >> STM32_RTC_DR_DATE_SHIFT; dr 438 drivers/rtc/rtc-stm32.c cur_mon = (dr & STM32_RTC_DR_MONTH) >> STM32_RTC_DR_MONTH_SHIFT; dr 439 drivers/rtc/rtc-stm32.c cur_year = (dr & STM32_RTC_DR_YEAR) >> STM32_RTC_DR_YEAR_SHIFT; dr 553 drivers/rtc/rtc-stm32.c .dr = 0x04, dr 575 drivers/rtc/rtc-stm32.c .dr = 0x04, dr 606 drivers/rtc/rtc-stm32.c .dr = 0x04, dr 183 drivers/scsi/libsas/sas_expander.c static enum sas_device_type to_dev_type(struct discover_resp *dr) dr 188 drivers/scsi/libsas/sas_expander.c if (dr->attached_dev_type == SAS_PHY_UNUSED && dr->attached_sata_dev && dr 189 drivers/scsi/libsas/sas_expander.c dr->linkrate >= SAS_LINK_RATE_1_5_GBPS) dr 192 drivers/scsi/libsas/sas_expander.c return dr->attached_dev_type; dr 201 drivers/scsi/libsas/sas_expander.c struct discover_resp *dr = &resp->disc; dr 246 drivers/scsi/libsas/sas_expander.c phy->attached_dev_type = to_dev_type(dr); dr 250 drivers/scsi/libsas/sas_expander.c phy->linkrate = dr->linkrate; dr 251 drivers/scsi/libsas/sas_expander.c phy->attached_sata_host = dr->attached_sata_host; dr 252 drivers/scsi/libsas/sas_expander.c phy->attached_sata_dev = dr->attached_sata_dev; dr 253 drivers/scsi/libsas/sas_expander.c phy->attached_sata_ps = dr->attached_sata_ps; dr 254 drivers/scsi/libsas/sas_expander.c phy->attached_iproto = dr->iproto << 1; dr 255 drivers/scsi/libsas/sas_expander.c phy->attached_tproto = dr->tproto << 1; dr 263 drivers/scsi/libsas/sas_expander.c memcpy(phy->attached_sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE); dr 264 drivers/scsi/libsas/sas_expander.c phy->attached_phy_id = dr->attached_phy_id; dr 265 drivers/scsi/libsas/sas_expander.c phy->phy_change_count = dr->change_count; dr 266 drivers/scsi/libsas/sas_expander.c phy->routing_attr = dr->routing_attr; dr 267 drivers/scsi/libsas/sas_expander.c phy->virtual = dr->virtual; dr 271 drivers/scsi/libsas/sas_expander.c phy->phy->identify.device_type = dr->attached_dev_type; dr 274 drivers/scsi/libsas/sas_expander.c if (!phy->attached_tproto && dr->attached_sata_dev) dr 277 drivers/scsi/libsas/sas_expander.c phy->phy->minimum_linkrate_hw = dr->hmin_linkrate; dr 278 drivers/scsi/libsas/sas_expander.c phy->phy->maximum_linkrate_hw = dr->hmax_linkrate; dr 279 drivers/scsi/libsas/sas_expander.c phy->phy->minimum_linkrate = dr->pmin_linkrate; dr 280 drivers/scsi/libsas/sas_expander.c phy->phy->maximum_linkrate = dr->pmax_linkrate; dr 306 drivers/scsi/libsas/sas_expander.c if (dr->attached_sata_dev) dr 372 drivers/scsi/libsas/sas_expander.c struct discover_resp *dr; dr 381 drivers/scsi/libsas/sas_expander.c dr = &((struct smp_resp *)disc_resp)->disc; dr 382 drivers/scsi/libsas/sas_expander.c if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { dr 1724 drivers/scsi/libsas/sas_expander.c struct discover_resp *dr; dr 1729 drivers/scsi/libsas/sas_expander.c dr = &disc_resp->disc; dr 1735 drivers/scsi/libsas/sas_expander.c *type = to_dev_type(dr); dr 64 drivers/staging/comedi/drivers/ni_routes.c const struct ni_device_routes *dr = NULL; dr 81 drivers/staging/comedi/drivers/ni_routes.c dr = ni_device_routes_list[i]; dr 87 drivers/staging/comedi/drivers/ni_routes.c tables->valid_routes = dr; dr 89 drivers/staging/comedi/drivers/ni_routes.c if (!rv || !dr) dr 1411 drivers/staging/fieldbus/anybuss/host.c struct anybuss_host **dr = res; dr 1413 drivers/staging/fieldbus/anybuss/host.c anybuss_host_common_remove(*dr); dr 1420 drivers/staging/fieldbus/anybuss/host.c struct anybuss_host **dr; dr 1423 drivers/staging/fieldbus/anybuss/host.c dr = devres_alloc(host_release, sizeof(struct anybuss_host *), dr 1425 drivers/staging/fieldbus/anybuss/host.c if (!dr) dr 1430 drivers/staging/fieldbus/anybuss/host.c devres_free(dr); dr 1433 drivers/staging/fieldbus/anybuss/host.c *dr = host; dr 1434 drivers/staging/fieldbus/anybuss/host.c devres_add(dev, dr); dr 411 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_datain_req *dr) dr 492 drivers/target/iscsi/cxgbit/cxgbit_target.c dr->dr_complete = DATAIN_COMPLETE_NORMAL; dr 531 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_datain_req *dr, dr 539 drivers/target/iscsi/cxgbit/cxgbit_target.c if ((data_length > mrdsl) && (!dr->recovery) && dr 543 drivers/target/iscsi/cxgbit/cxgbit_target.c return cxgbit_tx_datain_iso(csk, cmd, dr); dr 581 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_datain_req *dr, const void *buf, u32 buf_len) dr 583 drivers/target/iscsi/cxgbit/cxgbit_target.c if (dr) dr 584 drivers/target/iscsi/cxgbit/cxgbit_target.c return cxgbit_xmit_datain_pdu(conn, cmd, dr, buf); dr 649 drivers/target/iscsi/iscsi_target.c struct iscsi_datain_req *dr, const void *buf, dr 652 drivers/target/iscsi/iscsi_target.c if (dr) dr 1145 drivers/target/iscsi/iscsi_target.c struct iscsi_datain_req *dr; dr 1147 drivers/target/iscsi/iscsi_target.c dr = iscsit_allocate_datain_req(); dr 1148 drivers/target/iscsi/iscsi_target.c if (!dr) dr 1152 drivers/target/iscsi/iscsi_target.c iscsit_attach_datain_req(cmd, dr); dr 2819 drivers/target/iscsi/iscsi_target.c struct iscsi_datain_req *dr; dr 2824 drivers/target/iscsi/iscsi_target.c dr = iscsit_get_datain_values(cmd, &datain); dr 2825 drivers/target/iscsi/iscsi_target.c if (!dr) { dr 2850 drivers/target/iscsi/iscsi_target.c if ((dr->dr_complete == DATAIN_COMPLETE_NORMAL) || dr 2851 drivers/target/iscsi/iscsi_target.c (dr->dr_complete == DATAIN_COMPLETE_CONNECTION_RECOVERY)) { dr 2855 drivers/target/iscsi/iscsi_target.c } else if (dr->dr_complete == dr 2862 drivers/target/iscsi/iscsi_target.c ret = conn->conn_transport->iscsit_xmit_pdu(conn, cmd, dr, &datain, 0); dr 2866 drivers/target/iscsi/iscsi_target.c if (dr->dr_complete) { dr 2869 drivers/target/iscsi/iscsi_target.c iscsit_free_datain_req(cmd, dr); dr 22 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr; dr 24 drivers/target/iscsi/iscsi_target_datain_values.c dr = kmem_cache_zalloc(lio_dr_cache, GFP_ATOMIC); dr 25 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr) { dr 30 drivers/target/iscsi/iscsi_target_datain_values.c INIT_LIST_HEAD(&dr->cmd_datain_node); dr 32 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 35 drivers/target/iscsi/iscsi_target_datain_values.c void iscsit_attach_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) dr 38 drivers/target/iscsi/iscsi_target_datain_values.c list_add_tail(&dr->cmd_datain_node, &cmd->datain_list); dr 42 drivers/target/iscsi/iscsi_target_datain_values.c void iscsit_free_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) dr 45 drivers/target/iscsi/iscsi_target_datain_values.c list_del(&dr->cmd_datain_node); dr 48 drivers/target/iscsi/iscsi_target_datain_values.c kmem_cache_free(lio_dr_cache, dr); dr 53 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr, *dr_tmp; dr 56 drivers/target/iscsi/iscsi_target_datain_values.c list_for_each_entry_safe(dr, dr_tmp, &cmd->datain_list, cmd_datain_node) { dr 57 drivers/target/iscsi/iscsi_target_datain_values.c list_del(&dr->cmd_datain_node); dr 58 drivers/target/iscsi/iscsi_target_datain_values.c kmem_cache_free(lio_dr_cache, dr); dr 84 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr; dr 86 drivers/target/iscsi/iscsi_target_datain_values.c dr = iscsit_get_datain_req(cmd); dr 87 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr) dr 90 drivers/target/iscsi/iscsi_target_datain_values.c if (dr->recovery && dr->generate_recovery_values) { dr 92 drivers/target/iscsi/iscsi_target_datain_values.c cmd, dr) < 0) dr 95 drivers/target/iscsi/iscsi_target_datain_values.c dr->generate_recovery_values = 0; dr 98 drivers/target/iscsi/iscsi_target_datain_values.c next_burst_len = (!dr->recovery) ? dr 99 drivers/target/iscsi/iscsi_target_datain_values.c cmd->next_burst_len : dr->next_burst_len; dr 100 drivers/target/iscsi/iscsi_target_datain_values.c read_data_done = (!dr->recovery) ? dr 101 drivers/target/iscsi/iscsi_target_datain_values.c cmd->read_data_done : dr->read_data_done; dr 136 drivers/target/iscsi/iscsi_target_datain_values.c datain->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; dr 139 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 143 drivers/target/iscsi/iscsi_target_datain_values.c dr->next_burst_len = next_burst_len; dr 144 drivers/target/iscsi/iscsi_target_datain_values.c dr->read_data_done += datain->length; dr 147 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 149 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = DATAIN_COMPLETE_NORMAL; dr 151 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 154 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->runlength) { dr 156 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 157 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 162 drivers/target/iscsi/iscsi_target_datain_values.c if ((dr->begrun + dr->runlength) == dr->data_sn) { dr 163 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 164 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 170 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 182 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr; dr 185 drivers/target/iscsi/iscsi_target_datain_values.c dr = iscsit_get_datain_req(cmd); dr 186 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr) dr 189 drivers/target/iscsi/iscsi_target_datain_values.c if (dr->recovery && dr->generate_recovery_values) { dr 191 drivers/target/iscsi/iscsi_target_datain_values.c cmd, dr) < 0) dr 194 drivers/target/iscsi/iscsi_target_datain_values.c dr->generate_recovery_values = 0; dr 197 drivers/target/iscsi/iscsi_target_datain_values.c read_data_done = (!dr->recovery) ? dr 198 drivers/target/iscsi/iscsi_target_datain_values.c cmd->read_data_done : dr->read_data_done; dr 199 drivers/target/iscsi/iscsi_target_datain_values.c seq_send_order = (!dr->recovery) ? dr 200 drivers/target/iscsi/iscsi_target_datain_values.c cmd->seq_send_order : dr->seq_send_order; dr 215 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery && !seq->next_burst_len) dr 257 drivers/target/iscsi/iscsi_target_datain_values.c datain->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; dr 258 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 262 drivers/target/iscsi/iscsi_target_datain_values.c dr->seq_send_order = seq_send_order; dr 263 drivers/target/iscsi/iscsi_target_datain_values.c dr->read_data_done += datain->length; dr 266 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 270 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = DATAIN_COMPLETE_NORMAL; dr 272 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 275 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->runlength) { dr 277 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 278 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 283 drivers/target/iscsi/iscsi_target_datain_values.c if ((dr->begrun + dr->runlength) == dr->data_sn) { dr 284 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 285 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 291 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 303 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr; dr 306 drivers/target/iscsi/iscsi_target_datain_values.c dr = iscsit_get_datain_req(cmd); dr 307 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr) dr 310 drivers/target/iscsi/iscsi_target_datain_values.c if (dr->recovery && dr->generate_recovery_values) { dr 312 drivers/target/iscsi/iscsi_target_datain_values.c cmd, dr) < 0) dr 315 drivers/target/iscsi/iscsi_target_datain_values.c dr->generate_recovery_values = 0; dr 318 drivers/target/iscsi/iscsi_target_datain_values.c next_burst_len = (!dr->recovery) ? dr 319 drivers/target/iscsi/iscsi_target_datain_values.c cmd->next_burst_len : dr->next_burst_len; dr 320 drivers/target/iscsi/iscsi_target_datain_values.c read_data_done = (!dr->recovery) ? dr 321 drivers/target/iscsi/iscsi_target_datain_values.c cmd->read_data_done : dr->read_data_done; dr 327 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 332 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 353 drivers/target/iscsi/iscsi_target_datain_values.c pdu->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; dr 354 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 358 drivers/target/iscsi/iscsi_target_datain_values.c dr->next_burst_len = next_burst_len; dr 359 drivers/target/iscsi/iscsi_target_datain_values.c dr->read_data_done += pdu->length; dr 367 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 369 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = DATAIN_COMPLETE_NORMAL; dr 371 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 374 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->runlength) { dr 376 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 377 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 382 drivers/target/iscsi/iscsi_target_datain_values.c if ((dr->begrun + dr->runlength) == dr->data_sn) { dr 383 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 384 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 390 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 402 drivers/target/iscsi/iscsi_target_datain_values.c struct iscsi_datain_req *dr; dr 406 drivers/target/iscsi/iscsi_target_datain_values.c dr = iscsit_get_datain_req(cmd); dr 407 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr) dr 410 drivers/target/iscsi/iscsi_target_datain_values.c if (dr->recovery && dr->generate_recovery_values) { dr 412 drivers/target/iscsi/iscsi_target_datain_values.c cmd, dr) < 0) dr 415 drivers/target/iscsi/iscsi_target_datain_values.c dr->generate_recovery_values = 0; dr 418 drivers/target/iscsi/iscsi_target_datain_values.c read_data_done = (!dr->recovery) ? dr 419 drivers/target/iscsi/iscsi_target_datain_values.c cmd->read_data_done : dr->read_data_done; dr 420 drivers/target/iscsi/iscsi_target_datain_values.c seq_send_order = (!dr->recovery) ? dr 421 drivers/target/iscsi/iscsi_target_datain_values.c cmd->seq_send_order : dr->seq_send_order; dr 436 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery && !seq->next_burst_len) dr 456 drivers/target/iscsi/iscsi_target_datain_values.c pdu->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; dr 457 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 461 drivers/target/iscsi/iscsi_target_datain_values.c dr->seq_send_order = seq_send_order; dr 462 drivers/target/iscsi/iscsi_target_datain_values.c dr->read_data_done += pdu->length; dr 470 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->recovery) { dr 474 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = DATAIN_COMPLETE_NORMAL; dr 476 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 479 drivers/target/iscsi/iscsi_target_datain_values.c if (!dr->runlength) { dr 481 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 482 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 487 drivers/target/iscsi/iscsi_target_datain_values.c if ((dr->begrun + dr->runlength) == dr->data_sn) { dr 488 drivers/target/iscsi/iscsi_target_datain_values.c dr->dr_complete = dr 489 drivers/target/iscsi/iscsi_target_datain_values.c (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? dr 495 drivers/target/iscsi/iscsi_target_datain_values.c return dr; dr 171 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_datain_req *dr) dr 175 drivers/target/iscsi/iscsi_target_erl1.c u32 begrun = dr->begrun; dr 180 drivers/target/iscsi/iscsi_target_erl1.c if ((dr->next_burst_len + dr 183 drivers/target/iscsi/iscsi_target_erl1.c dr->read_data_done += dr 185 drivers/target/iscsi/iscsi_target_erl1.c dr->next_burst_len += dr 188 drivers/target/iscsi/iscsi_target_erl1.c dr->read_data_done += dr 190 drivers/target/iscsi/iscsi_target_erl1.c dr->next_burst_len); dr 191 drivers/target/iscsi/iscsi_target_erl1.c dr->next_burst_len = 0; dr 217 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_datain_req *dr) dr 221 drivers/target/iscsi/iscsi_target_erl1.c u32 begrun = dr->begrun; dr 222 drivers/target/iscsi/iscsi_target_erl1.c u32 runlength = dr->runlength; dr 367 drivers/target/iscsi/iscsi_target_erl1.c dr->read_data_done = read_data_done; dr 368 drivers/target/iscsi/iscsi_target_erl1.c dr->seq_send_order = seq_send_order; dr 380 drivers/target/iscsi/iscsi_target_erl1.c struct iscsi_datain_req *dr; dr 416 drivers/target/iscsi/iscsi_target_erl1.c dr = iscsit_allocate_datain_req(); dr 417 drivers/target/iscsi/iscsi_target_erl1.c if (!dr) dr 421 drivers/target/iscsi/iscsi_target_erl1.c dr->data_sn = dr->begrun = begrun; dr 422 drivers/target/iscsi/iscsi_target_erl1.c dr->runlength = runlength; dr 423 drivers/target/iscsi/iscsi_target_erl1.c dr->generate_recovery_values = 1; dr 424 drivers/target/iscsi/iscsi_target_erl1.c dr->recovery = DATAIN_WITHIN_COMMAND_RECOVERY; dr 426 drivers/target/iscsi/iscsi_target_erl1.c iscsit_attach_datain_req(cmd, dr); dr 303 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_datain_req *dr; dr 332 drivers/target/iscsi/iscsi_target_tmr.c dr = iscsit_allocate_datain_req(); dr 333 drivers/target/iscsi/iscsi_target_tmr.c if (!dr) dr 339 drivers/target/iscsi/iscsi_target_tmr.c dr->data_sn = dr->begrun = tmr_req->exp_data_sn; dr 340 drivers/target/iscsi/iscsi_target_tmr.c dr->runlength = 0; dr 341 drivers/target/iscsi/iscsi_target_tmr.c dr->generate_recovery_values = 1; dr 342 drivers/target/iscsi/iscsi_target_tmr.c dr->recovery = DATAIN_CONNECTION_RECOVERY; dr 344 drivers/target/iscsi/iscsi_target_tmr.c iscsit_attach_datain_req(cmd, dr); dr 187 drivers/tty/serdev/core.c static void devm_serdev_device_release(struct device *dev, void *dr) dr 189 drivers/tty/serdev/core.c serdev_device_close(*(struct serdev_device **)dr); dr 194 drivers/tty/serdev/core.c struct serdev_device **dr; dr 197 drivers/tty/serdev/core.c dr = devres_alloc(devm_serdev_device_release, sizeof(*dr), GFP_KERNEL); dr 198 drivers/tty/serdev/core.c if (!dr) dr 203 drivers/tty/serdev/core.c devres_free(dr); dr 207 drivers/tty/serdev/core.c *dr = serdev; dr 208 drivers/tty/serdev/core.c devres_add(dev, dr); dr 280 drivers/usb/class/cdc-acm.c struct usb_cdc_notification *dr = (struct usb_cdc_notification *)buf; dr 283 drivers/usb/class/cdc-acm.c switch (dr->bNotificationType) { dr 286 drivers/usb/class/cdc-acm.c "%s - network connection: %d\n", __func__, dr->wValue); dr 290 drivers/usb/class/cdc-acm.c if (le16_to_cpu(dr->wLength) != 2) { dr 336 drivers/usb/class/cdc-acm.c dr->bNotificationType, dr->wIndex, dr->wLength); dr 344 drivers/usb/class/cdc-acm.c struct usb_cdc_notification *dr = urb->transfer_buffer; dr 372 drivers/usb/class/cdc-acm.c dr = (struct usb_cdc_notification *)acm->notification_buffer; dr 376 drivers/usb/class/cdc-acm.c le16_to_cpu(dr->wLength); dr 409 drivers/usb/class/cdc-acm.c acm_process_notification(acm, (unsigned char *)dr); dr 236 drivers/usb/class/cdc-wdm.c struct usb_cdc_notification *dr; dr 239 drivers/usb/class/cdc-wdm.c dr = (struct usb_cdc_notification *)desc->sbuf; dr 264 drivers/usb/class/cdc-wdm.c switch (dr->bNotificationType) { dr 268 drivers/usb/class/cdc-wdm.c le16_to_cpu(dr->wIndex), le16_to_cpu(dr->wLength)); dr 275 drivers/usb/class/cdc-wdm.c dr->wValue ? "connected to" : "disconnected from"); dr 285 drivers/usb/class/cdc-wdm.c dr->bNotificationType, dr 286 drivers/usb/class/cdc-wdm.c le16_to_cpu(dr->wIndex), dr 287 drivers/usb/class/cdc-wdm.c le16_to_cpu(dr->wLength)); dr 1510 drivers/usb/core/devio.c struct usb_ctrlrequest *dr = NULL; dr 1557 drivers/usb/core/devio.c dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); dr 1558 drivers/usb/core/devio.c if (!dr) dr 1560 drivers/usb/core/devio.c if (copy_from_user(dr, uurb->buffer, 8)) { dr 1564 drivers/usb/core/devio.c if (uurb->buffer_length < (le16_to_cpu(dr->wLength) + 8)) { dr 1568 drivers/usb/core/devio.c ret = check_ctrlrecip(ps, dr->bRequestType, dr->bRequest, dr 1569 drivers/usb/core/devio.c le16_to_cpu(dr->wIndex)); dr 1572 drivers/usb/core/devio.c uurb->buffer_length = le16_to_cpu(dr->wLength); dr 1574 drivers/usb/core/devio.c if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { dr 1586 drivers/usb/core/devio.c dr->bRequestType, dr->bRequest, dr 1587 drivers/usb/core/devio.c __le16_to_cpu(dr->wValue), dr 1588 drivers/usb/core/devio.c __le16_to_cpu(dr->wIndex), dr 1589 drivers/usb/core/devio.c __le16_to_cpu(dr->wLength)); dr 1779 drivers/usb/core/devio.c as->urb->setup_packet = (unsigned char *)dr; dr 1780 drivers/usb/core/devio.c dr = NULL; dr 1870 drivers/usb/core/devio.c kfree(dr); dr 139 drivers/usb/core/message.c struct usb_ctrlrequest *dr; dr 142 drivers/usb/core/message.c dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_NOIO); dr 143 drivers/usb/core/message.c if (!dr) dr 146 drivers/usb/core/message.c dr->bRequestType = requesttype; dr 147 drivers/usb/core/message.c dr->bRequest = request; dr 148 drivers/usb/core/message.c dr->wValue = cpu_to_le16(value); dr 149 drivers/usb/core/message.c dr->wIndex = cpu_to_le16(index); dr 150 drivers/usb/core/message.c dr->wLength = cpu_to_le16(size); dr 152 drivers/usb/core/message.c ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); dr 158 drivers/usb/core/message.c kfree(dr); dr 256 drivers/usb/dwc2/core.c struct dwc2_dregs_backup *dr; dr 260 drivers/usb/dwc2/core.c dr = &hsotg->dr_backup; dr 300 drivers/usb/dwc2/core.c dwc2_writel(hsotg, dr->dcfg, DCFG); dr 4977 drivers/usb/dwc2/gadget.c struct dwc2_dregs_backup *dr; dr 4983 drivers/usb/dwc2/gadget.c dr = &hsotg->dr_backup; dr 4985 drivers/usb/dwc2/gadget.c dr->dcfg = dwc2_readl(hsotg, DCFG); dr 4986 drivers/usb/dwc2/gadget.c dr->dctl = dwc2_readl(hsotg, DCTL); dr 4987 drivers/usb/dwc2/gadget.c dr->daintmsk = dwc2_readl(hsotg, DAINTMSK); dr 4988 drivers/usb/dwc2/gadget.c dr->diepmsk = dwc2_readl(hsotg, DIEPMSK); dr 4989 drivers/usb/dwc2/gadget.c dr->doepmsk = dwc2_readl(hsotg, DOEPMSK); dr 4993 drivers/usb/dwc2/gadget.c dr->diepctl[i] = dwc2_readl(hsotg, DIEPCTL(i)); dr 4996 drivers/usb/dwc2/gadget.c if (dr->diepctl[i] & DXEPCTL_DPID) dr 4997 drivers/usb/dwc2/gadget.c dr->diepctl[i] |= DXEPCTL_SETD1PID; dr 4999 drivers/usb/dwc2/gadget.c dr->diepctl[i] |= DXEPCTL_SETD0PID; dr 5001 drivers/usb/dwc2/gadget.c dr->dieptsiz[i] = dwc2_readl(hsotg, DIEPTSIZ(i)); dr 5002 drivers/usb/dwc2/gadget.c dr->diepdma[i] = dwc2_readl(hsotg, DIEPDMA(i)); dr 5005 drivers/usb/dwc2/gadget.c dr->doepctl[i] = dwc2_readl(hsotg, DOEPCTL(i)); dr 5008 drivers/usb/dwc2/gadget.c if (dr->doepctl[i] & DXEPCTL_DPID) dr 5009 drivers/usb/dwc2/gadget.c dr->doepctl[i] |= DXEPCTL_SETD1PID; dr 5011 drivers/usb/dwc2/gadget.c dr->doepctl[i] |= DXEPCTL_SETD0PID; dr 5013 drivers/usb/dwc2/gadget.c dr->doeptsiz[i] = dwc2_readl(hsotg, DOEPTSIZ(i)); dr 5014 drivers/usb/dwc2/gadget.c dr->doepdma[i] = dwc2_readl(hsotg, DOEPDMA(i)); dr 5015 drivers/usb/dwc2/gadget.c dr->dtxfsiz[i] = dwc2_readl(hsotg, DPTXFSIZN(i)); dr 5017 drivers/usb/dwc2/gadget.c dr->valid = true; dr 5033 drivers/usb/dwc2/gadget.c struct dwc2_dregs_backup *dr; dr 5039 drivers/usb/dwc2/gadget.c dr = &hsotg->dr_backup; dr 5040 drivers/usb/dwc2/gadget.c if (!dr->valid) { dr 5045 drivers/usb/dwc2/gadget.c dr->valid = false; dr 5048 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dctl, DCTL); dr 5050 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->daintmsk, DAINTMSK); dr 5051 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->diepmsk, DIEPMSK); dr 5052 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->doepmsk, DOEPMSK); dr 5056 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dieptsiz[i], DIEPTSIZ(i)); dr 5057 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->diepdma[i], DIEPDMA(i)); dr 5058 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->doeptsiz[i], DOEPTSIZ(i)); dr 5065 drivers/usb/dwc2/gadget.c (dr->diepctl[i] & DXEPCTL_EPENA)) dr 5066 drivers/usb/dwc2/gadget.c dr->diepdma[i] = hsotg->eps_in[i]->desc_list_dma; dr 5067 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dtxfsiz[i], DPTXFSIZN(i)); dr 5068 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->diepctl[i], DIEPCTL(i)); dr 5070 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->doeptsiz[i], DOEPTSIZ(i)); dr 5077 drivers/usb/dwc2/gadget.c (dr->doepctl[i] & DXEPCTL_EPENA)) dr 5078 drivers/usb/dwc2/gadget.c dr->doepdma[i] = hsotg->eps_out[i]->desc_list_dma; dr 5079 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->doepdma[i], DOEPDMA(i)); dr 5080 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->doepctl[i], DOEPCTL(i)); dr 5221 drivers/usb/dwc2/gadget.c struct dwc2_dregs_backup *dr; dr 5224 drivers/usb/dwc2/gadget.c dr = &hsotg->dr_backup; dr 5255 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dcfg, DCFG); dr 5256 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dctl, DCTL); dr 5266 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, dr->dctl | DCTL_RMTWKUPSIG, DCTL); dr 752 drivers/usb/host/ehci-hub.c void *dr, dr 774 drivers/usb/host/ehci-hub.c urb->setup_packet = (void *)dr; dr 801 drivers/usb/host/ehci-hub.c struct usb_ctrlrequest *dr; dr 818 drivers/usb/host/ehci-hub.c dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); dr 819 drivers/usb/host/ehci-hub.c if (!dr) { dr 825 drivers/usb/host/ehci-hub.c dr->bRequestType = USB_DIR_IN; dr 826 drivers/usb/host/ehci-hub.c dr->bRequest = USB_REQ_GET_DESCRIPTOR; dr 827 drivers/usb/host/ehci-hub.c dr->wValue = cpu_to_le16(USB_DT_DEVICE << 8); dr 828 drivers/usb/host/ehci-hub.c dr->wIndex = 0; dr 829 drivers/usb/host/ehci-hub.c dr->wLength = cpu_to_le16(USB_DT_DEVICE_SIZE); dr 830 drivers/usb/host/ehci-hub.c urb = request_single_step_set_feature_urb(udev, dr, buf, &done); dr 861 drivers/usb/host/ehci-hub.c kfree(dr); dr 62 drivers/usb/misc/uss720.c struct usb_ctrlrequest *dr; dr 85 drivers/usb/misc/uss720.c kfree(rq->dr); dr 108 drivers/usb/misc/uss720.c } else if (rq->dr->bRequest == 3) { dr 149 drivers/usb/misc/uss720.c rq->dr = kmalloc(sizeof(*rq->dr), mem_flags); dr 150 drivers/usb/misc/uss720.c if (!rq->dr) { dr 154 drivers/usb/misc/uss720.c rq->dr->bRequestType = requesttype; dr 155 drivers/usb/misc/uss720.c rq->dr->bRequest = request; dr 156 drivers/usb/misc/uss720.c rq->dr->wValue = cpu_to_le16(value); dr 157 drivers/usb/misc/uss720.c rq->dr->wIndex = cpu_to_le16(index); dr 158 drivers/usb/misc/uss720.c rq->dr->wLength = cpu_to_le16((request == 3) ? sizeof(rq->reg) : 0); dr 160 drivers/usb/misc/uss720.c (unsigned char *)rq->dr, dr 2316 drivers/usb/serial/keyspan.c struct usb_ctrlrequest *dr = NULL; dr 2461 drivers/usb/serial/keyspan.c dr = (void *)(s_priv->ctrl_buf); dr 2462 drivers/usb/serial/keyspan.c dr->bRequestType = USB_TYPE_VENDOR | USB_DIR_OUT; dr 2463 drivers/usb/serial/keyspan.c dr->bRequest = 0xB0; /* 49wg control message */ dr 2464 drivers/usb/serial/keyspan.c dr->wValue = 0; dr 2465 drivers/usb/serial/keyspan.c dr->wIndex = 0; dr 2466 drivers/usb/serial/keyspan.c dr->wLength = cpu_to_le16(sizeof(msg)); dr 2472 drivers/usb/serial/keyspan.c (unsigned char *)dr, s_priv->glocont_buf, dr 224 drivers/usb/serial/mos7840.c struct usb_ctrlrequest *dr; dr 488 drivers/usb/serial/mos7840.c struct usb_ctrlrequest *dr = mcs->dr; dr 495 drivers/usb/serial/mos7840.c dr->bRequestType = MCS_RD_RTYPE; dr 496 drivers/usb/serial/mos7840.c dr->bRequest = MCS_RDREQ; dr 497 drivers/usb/serial/mos7840.c dr->wValue = cpu_to_le16(Wval); /* 0 */ dr 498 drivers/usb/serial/mos7840.c dr->wIndex = cpu_to_le16(reg); dr 499 drivers/usb/serial/mos7840.c dr->wLength = cpu_to_le16(2); dr 502 drivers/usb/serial/mos7840.c (unsigned char *)dr, buffer, 2, dr 535 drivers/usb/serial/mos7840.c struct usb_ctrlrequest *dr = mcs->led_dr; dr 537 drivers/usb/serial/mos7840.c dr->bRequestType = MCS_WR_RTYPE; dr 538 drivers/usb/serial/mos7840.c dr->bRequest = MCS_WRREQ; dr 539 drivers/usb/serial/mos7840.c dr->wValue = cpu_to_le16(wval); dr 540 drivers/usb/serial/mos7840.c dr->wIndex = cpu_to_le16(reg); dr 541 drivers/usb/serial/mos7840.c dr->wLength = cpu_to_le16(0); dr 544 drivers/usb/serial/mos7840.c (unsigned char *)dr, NULL, 0, mos7840_set_led_callback, NULL); dr 2250 drivers/usb/serial/mos7840.c mos7840_port->dr = kmalloc(sizeof(struct usb_ctrlrequest), dr 2253 drivers/usb/serial/mos7840.c !mos7840_port->dr) { dr 2298 drivers/usb/serial/mos7840.c kfree(mos7840_port->dr); dr 2326 drivers/usb/serial/mos7840.c kfree(mos7840_port->dr); dr 186 drivers/usb/serial/opticon.c struct usb_ctrlrequest *dr; dr 215 drivers/usb/serial/opticon.c dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_ATOMIC); dr 216 drivers/usb/serial/opticon.c if (!dr) { dr 221 drivers/usb/serial/opticon.c dr->bRequestType = USB_TYPE_VENDOR | USB_RECIP_INTERFACE | USB_DIR_OUT; dr 222 drivers/usb/serial/opticon.c dr->bRequest = 0x01; dr 223 drivers/usb/serial/opticon.c dr->wValue = 0; dr 224 drivers/usb/serial/opticon.c dr->wIndex = 0; dr 225 drivers/usb/serial/opticon.c dr->wLength = cpu_to_le16(count); dr 229 drivers/usb/serial/opticon.c (unsigned char *)dr, buffer, count, dr 248 drivers/usb/serial/opticon.c kfree(dr); dr 213 fs/adfs/adfs.h static inline u64 adfs_disc_size(const struct adfs_discrecord *dr) dr 215 fs/adfs/adfs.h return (u64)le32_to_cpu(dr->disc_size_high) << 32 | dr 216 fs/adfs/adfs.h le32_to_cpu(dr->disc_size); dr 52 fs/adfs/super.c static int adfs_checkdiscrecord(struct adfs_discrecord *dr) dr 58 fs/adfs/super.c if (dr->log2secsize != 8 && dr 59 fs/adfs/super.c dr->log2secsize != 9 && dr 60 fs/adfs/super.c dr->log2secsize != 10) dr 64 fs/adfs/super.c if (dr->idlen < dr->log2secsize + 3) dr 71 fs/adfs/super.c if (le32_to_cpu(dr->disc_size_high) >> dr->log2secsize) dr 79 fs/adfs/super.c max_idlen = dr->format_version ? 19 : 16; dr 80 fs/adfs/super.c if (dr->idlen > max_idlen) dr 84 fs/adfs/super.c for (i = 0; i < sizeof(dr->unused52); i++) dr 85 fs/adfs/super.c if (dr->unused52[i] != 0) dr 252 fs/adfs/super.c struct adfs_discrecord *dr = adfs_map_discrecord(sbi->s_map); dr 258 fs/adfs/super.c buf->f_blocks = adfs_disc_size(dr) >> sb->s_blocksize_bits; dr 325 fs/adfs/super.c static struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_discrecord *dr) dr 333 fs/adfs/super.c zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); dr 362 fs/adfs/super.c dm[i].dm_endbit = (adfs_disc_size(dr) >> dr->log2bpmb) + dr 380 fs/adfs/super.c struct adfs_discrecord *dr; dr 420 fs/adfs/super.c dr = (struct adfs_discrecord *)(b_data + ADFS_DR_OFFSET); dr 425 fs/adfs/super.c if (adfs_checkdiscrecord(dr)) { dr 430 fs/adfs/super.c blocksize = 1 << dr->log2secsize; dr 448 fs/adfs/super.c dr = (struct adfs_discrecord *)(b_data + ADFS_DR_OFFSET); dr 462 fs/adfs/super.c asb->s_idlen = dr->idlen; dr 463 fs/adfs/super.c asb->s_map_size = dr->nzones | (dr->nzones_high << 8); dr 464 fs/adfs/super.c asb->s_map2blk = dr->log2bpmb - dr->log2secsize; dr 465 fs/adfs/super.c asb->s_log2sharesize = dr->log2sharesize; dr 467 fs/adfs/super.c asb->s_map = adfs_read_map(sb, dr); dr 480 fs/adfs/super.c dr = adfs_map_discrecord(asb->s_map); dr 482 fs/adfs/super.c root_obj.parent_id = root_obj.indaddr = le32_to_cpu(dr->root); dr 495 fs/adfs/super.c if (dr->format_version) { dr 496 fs/adfs/super.c root_obj.size = le32_to_cpu(dr->root_size); dr 342 fs/btrfs/delayed-ref.c struct btrfs_delayed_ref_root *dr) dr 347 fs/btrfs/delayed-ref.c n = rb_first_cached(&dr->href_root); dr 362 fs/btrfs/delayed-ref.c struct btrfs_delayed_ref_root *dr, u64 bytenr, dr 365 fs/btrfs/delayed-ref.c struct rb_root *root = &dr->href_root.rb_root; dr 6032 fs/nfsd/nfs4state.c struct nfsd4_delegreturn *dr = &u->delegreturn; dr 6034 fs/nfsd/nfs4state.c stateid_t *stateid = &dr->dr_stateid; dr 700 fs/nfsd/nfs4xdr.c nfsd4_decode_delegreturn(struct nfsd4_compoundargs *argp, struct nfsd4_delegreturn *dr) dr 702 fs/nfsd/nfs4xdr.c return nfsd4_decode_stateid(argp, &dr->dr_stateid); dr 564 fs/ubifs/log.c struct done_ref *dr; dr 568 fs/ubifs/log.c dr = rb_entry(parent, struct done_ref, rb); dr 569 fs/ubifs/log.c if (lnum < dr->lnum) dr 571 fs/ubifs/log.c else if (lnum > dr->lnum) dr 577 fs/ubifs/log.c dr = kzalloc(sizeof(struct done_ref), GFP_NOFS); dr 578 fs/ubifs/log.c if (!dr) dr 581 fs/ubifs/log.c dr->lnum = lnum; dr 583 fs/ubifs/log.c rb_link_node(&dr->rb, parent, p); dr 584 fs/ubifs/log.c rb_insert_color(&dr->rb, done_tree); dr 595 fs/ubifs/log.c struct done_ref *dr, *n; dr 597 fs/ubifs/log.c rbtree_postorder_for_each_entry_safe(dr, n, done_tree, rb) dr 598 fs/ubifs/log.c kfree(dr); dr 326 include/linux/intel-iommu.h #define QI_IOTLB_DR(dr) (((u64)dr) << 7) dr 92 include/net/inet_timewait_sock.h struct inet_timewait_death_row *dr, dr 73 include/rdma/opa_smi.h } dr; dr 130 include/rdma/opa_smi.h return smp->route.dr.data; dr 138 include/rdma/opa_smi.h return sizeof(smp->route.dr.data); dr 146 include/rdma/opa_smi.h return sizeof(*smp) - sizeof(smp->route.dr.data); dr 317 include/trace/events/ib_mad.h __entry->dr_slid = smp->route.dr.dr_slid; dr 318 include/trace/events/ib_mad.h __entry->dr_dlid = smp->route.dr.dr_dlid; dr 319 include/trace/events/ib_mad.h memcpy(__entry->initial_path, smp->route.dr.initial_path, dr 321 include/trace/events/ib_mad.h memcpy(__entry->return_path, smp->route.dr.return_path, dr 1117 include/trace/events/sunrpc.h const struct svc_deferred_req *dr dr 1120 include/trace/events/sunrpc.h TP_ARGS(dr), dr 1124 include/trace/events/sunrpc.h __string(addr, dr->xprt->xpt_remotebuf) dr 1128 include/trace/events/sunrpc.h __entry->xid = be32_to_cpu(*(__be32 *)(dr->args + dr 1129 include/trace/events/sunrpc.h (dr->xprt_hlen>>2))); dr 1130 include/trace/events/sunrpc.h __assign_str(addr, dr->xprt->xpt_remotebuf); dr 1138 include/trace/events/sunrpc.h const struct svc_deferred_req *dr \ dr 1140 include/trace/events/sunrpc.h TP_ARGS(dr)) dr 84 kernel/dma/mapping.c struct dma_devres *dr; dr 87 kernel/dma/mapping.c dr = devres_alloc(dmam_release, sizeof(*dr), gfp); dr 88 kernel/dma/mapping.c if (!dr) dr 93 kernel/dma/mapping.c devres_free(dr); dr 97 kernel/dma/mapping.c dr->vaddr = vaddr; dr 98 kernel/dma/mapping.c dr->dma_handle = *dma_handle; dr 99 kernel/dma/mapping.c dr->size = size; dr 100 kernel/dma/mapping.c dr->attrs = attrs; dr 102 kernel/dma/mapping.c devres_add(dev, dr); dr 56 kernel/irq/devres.c struct irq_devres *dr; dr 59 kernel/irq/devres.c dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), dr 61 kernel/irq/devres.c if (!dr) dr 70 kernel/irq/devres.c devres_free(dr); dr 74 kernel/irq/devres.c dr->irq = irq; dr 75 kernel/irq/devres.c dr->dev_id = dev_id; dr 76 kernel/irq/devres.c devres_add(dev, dr); dr 103 kernel/irq/devres.c struct irq_devres *dr; dr 106 kernel/irq/devres.c dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), dr 108 kernel/irq/devres.c if (!dr) dr 116 kernel/irq/devres.c devres_free(dr); dr 120 kernel/irq/devres.c dr->irq = irq; dr 121 kernel/irq/devres.c dr->dev_id = dev_id; dr 122 kernel/irq/devres.c devres_add(dev, dr); dr 182 kernel/irq/devres.c struct irq_desc_devres *dr; dr 185 kernel/irq/devres.c dr = devres_alloc(devm_irq_desc_release, sizeof(*dr), GFP_KERNEL); dr 186 kernel/irq/devres.c if (!dr) dr 191 kernel/irq/devres.c devres_free(dr); dr 195 kernel/irq/devres.c dr->from = base; dr 196 kernel/irq/devres.c dr->cnt = cnt; dr 197 kernel/irq/devres.c devres_add(dev, dr); dr 266 kernel/irq/devres.c struct irq_generic_chip_devres *dr; dr 268 kernel/irq/devres.c dr = devres_alloc(devm_irq_remove_generic_chip, dr 269 kernel/irq/devres.c sizeof(*dr), GFP_KERNEL); dr 270 kernel/irq/devres.c if (!dr) dr 275 kernel/irq/devres.c dr->gc = gc; dr 276 kernel/irq/devres.c dr->msk = msk; dr 277 kernel/irq/devres.c dr->clr = clr; dr 278 kernel/irq/devres.c dr->set = set; dr 279 kernel/irq/devres.c devres_add(dev, dr); dr 148 kernel/irq/irq_sim.c struct irq_sim_devres *dr; dr 151 kernel/irq/irq_sim.c dr = devres_alloc(devm_irq_sim_release, sizeof(*dr), GFP_KERNEL); dr 152 kernel/irq/irq_sim.c if (!dr) dr 157 kernel/irq/irq_sim.c devres_free(dr); dr 161 kernel/irq/irq_sim.c dr->sim = sim; dr 162 kernel/irq/irq_sim.c devres_add(dev, dr); dr 359 kernel/locking/lockdep_proc.c const struct lock_stat_data *dl = l, *dr = r; dr 363 kernel/locking/lockdep_proc.c nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; dr 1449 kernel/resource.c struct region_devres *dr = NULL; dr 1452 kernel/resource.c dr = devres_alloc(devm_region_release, sizeof(struct region_devres), dr 1454 kernel/resource.c if (!dr) dr 1457 kernel/resource.c dr->parent = parent; dr 1458 kernel/resource.c dr->start = start; dr 1459 kernel/resource.c dr->n = n; dr 1463 kernel/resource.c devres_add(dev, dr); dr 1465 kernel/resource.c devres_free(dr); dr 316 lib/devres.c struct pcim_iomap_devres *dr, *new_dr; dr 318 lib/devres.c dr = devres_find(&pdev->dev, pcim_iomap_release, NULL, NULL); dr 319 lib/devres.c if (dr) dr 320 lib/devres.c return dr->table; dr 325 lib/devres.c dr = devres_get(&pdev->dev, new_dr, NULL, NULL); dr 326 lib/devres.c return dr->table; dr 1942 net/bluetooth/hci_core.c struct hci_dev_req dr; dr 1945 net/bluetooth/hci_core.c if (copy_from_user(&dr, arg, sizeof(dr))) dr 1948 net/bluetooth/hci_core.c hdev = hci_dev_get(dr.dev_id); dr 1974 net/bluetooth/hci_core.c err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, dr 1986 net/bluetooth/hci_core.c err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, dr 1992 net/bluetooth/hci_core.c err = hci_req_sync(hdev, hci_encrypt_req, dr.dev_opt, dr 1997 net/bluetooth/hci_core.c err = hci_req_sync(hdev, hci_scan_req, dr.dev_opt, dr 2004 net/bluetooth/hci_core.c hci_update_scan_state(hdev, dr.dev_opt); dr 2008 net/bluetooth/hci_core.c err = hci_req_sync(hdev, hci_linkpol_req, dr.dev_opt, dr 2013 net/bluetooth/hci_core.c hdev->link_mode = ((__u16) dr.dev_opt) & dr 2018 net/bluetooth/hci_core.c if (hdev->pkt_type == (__u16) dr.dev_opt) dr 2021 net/bluetooth/hci_core.c hdev->pkt_type = (__u16) dr.dev_opt; dr 2026 net/bluetooth/hci_core.c hdev->acl_mtu = *((__u16 *) &dr.dev_opt + 1); dr 2027 net/bluetooth/hci_core.c hdev->acl_pkts = *((__u16 *) &dr.dev_opt + 0); dr 2031 net/bluetooth/hci_core.c hdev->sco_mtu = *((__u16 *) &dr.dev_opt + 1); dr 2032 net/bluetooth/hci_core.c hdev->sco_pkts = *((__u16 *) &dr.dev_opt + 0); dr 2049 net/bluetooth/hci_core.c struct hci_dev_req *dr; dr 2056 net/bluetooth/hci_core.c if (!dev_num || dev_num > (PAGE_SIZE * 2) / sizeof(*dr)) dr 2059 net/bluetooth/hci_core.c size = sizeof(*dl) + dev_num * sizeof(*dr); dr 2065 net/bluetooth/hci_core.c dr = dl->dev_req; dr 2078 net/bluetooth/hci_core.c (dr + n)->dev_id = hdev->id; dr 2079 net/bluetooth/hci_core.c (dr + n)->dev_opt = flags; dr 2087 net/bluetooth/hci_core.c size = sizeof(*dl) + n * sizeof(*dr); dr 427 net/ethernet/eth.c struct net_device **dr; dr 430 net/ethernet/eth.c dr = devres_alloc(devm_free_netdev, sizeof(*dr), GFP_KERNEL); dr 431 net/ethernet/eth.c if (!dr) dr 436 net/ethernet/eth.c devres_free(dr); dr 440 net/ethernet/eth.c *dr = netdev; dr 441 net/ethernet/eth.c devres_add(dev, dr); dr 156 net/ipv4/inet_timewait_sock.c struct inet_timewait_death_row *dr, dr 161 net/ipv4/inet_timewait_sock.c if (atomic_read(&dr->tw_count) >= dr->sysctl_max_tw_buckets) dr 169 net/ipv4/inet_timewait_sock.c tw->tw_dr = dr; dr 612 net/sunrpc/cache.c struct thread_deferred_req *dr = dr 614 net/sunrpc/cache.c complete(&dr->completion); dr 1020 net/sunrpc/svc_xprt.c struct svc_deferred_req *dr; dr 1038 net/sunrpc/svc_xprt.c while ((dr = svc_deferred_dequeue(xprt)) != NULL) dr 1039 net/sunrpc/svc_xprt.c kfree(dr); dr 1141 net/sunrpc/svc_xprt.c struct svc_deferred_req *dr = dr 1143 net/sunrpc/svc_xprt.c struct svc_xprt *xprt = dr->xprt; dr 1151 net/sunrpc/svc_xprt.c trace_svc_drop_deferred(dr); dr 1152 net/sunrpc/svc_xprt.c kfree(dr); dr 1156 net/sunrpc/svc_xprt.c dr->xprt = NULL; dr 1157 net/sunrpc/svc_xprt.c list_add(&dr->handle.recent, &xprt->xpt_deferred); dr 1175 net/sunrpc/svc_xprt.c struct svc_deferred_req *dr; dr 1180 net/sunrpc/svc_xprt.c dr = rqstp->rq_deferred; dr 1187 net/sunrpc/svc_xprt.c dr = kmalloc(size, GFP_KERNEL); dr 1188 net/sunrpc/svc_xprt.c if (dr == NULL) dr 1191 net/sunrpc/svc_xprt.c dr->handle.owner = rqstp->rq_server; dr 1192 net/sunrpc/svc_xprt.c dr->prot = rqstp->rq_prot; dr 1193 net/sunrpc/svc_xprt.c memcpy(&dr->addr, &rqstp->rq_addr, rqstp->rq_addrlen); dr 1194 net/sunrpc/svc_xprt.c dr->addrlen = rqstp->rq_addrlen; dr 1195 net/sunrpc/svc_xprt.c dr->daddr = rqstp->rq_daddr; dr 1196 net/sunrpc/svc_xprt.c dr->argslen = rqstp->rq_arg.len >> 2; dr 1197 net/sunrpc/svc_xprt.c dr->xprt_hlen = rqstp->rq_xprt_hlen; dr 1201 net/sunrpc/svc_xprt.c memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, dr 1202 net/sunrpc/svc_xprt.c dr->argslen << 2); dr 1205 net/sunrpc/svc_xprt.c dr->xprt = rqstp->rq_xprt; dr 1208 net/sunrpc/svc_xprt.c dr->handle.revisit = svc_revisit; dr 1210 net/sunrpc/svc_xprt.c return &dr->handle; dr 1218 net/sunrpc/svc_xprt.c struct svc_deferred_req *dr = rqstp->rq_deferred; dr 1221 net/sunrpc/svc_xprt.c rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); dr 1223 net/sunrpc/svc_xprt.c rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; dr 1226 net/sunrpc/svc_xprt.c rqstp->rq_arg.len = dr->argslen<<2; dr 1227 net/sunrpc/svc_xprt.c rqstp->rq_prot = dr->prot; dr 1228 net/sunrpc/svc_xprt.c memcpy(&rqstp->rq_addr, &dr->addr, dr->addrlen); dr 1229 net/sunrpc/svc_xprt.c rqstp->rq_addrlen = dr->addrlen; dr 1231 net/sunrpc/svc_xprt.c rqstp->rq_xprt_hlen = dr->xprt_hlen; dr 1232 net/sunrpc/svc_xprt.c rqstp->rq_daddr = dr->daddr; dr 1234 net/sunrpc/svc_xprt.c return (dr->argslen<<2) - dr->xprt_hlen; dr 1240 net/sunrpc/svc_xprt.c struct svc_deferred_req *dr = NULL; dr 1246 net/sunrpc/svc_xprt.c dr = list_entry(xprt->xpt_deferred.next, dr 1249 net/sunrpc/svc_xprt.c list_del_init(&dr->handle.recent); dr 1250 net/sunrpc/svc_xprt.c trace_svc_revisit_deferred(dr); dr 1254 net/sunrpc/svc_xprt.c return dr; dr 29 net/xdp/xsk_diag.c struct xdp_diag_ring dr = {}; dr 31 net/xdp/xsk_diag.c dr.entries = queue->nentries; dr 32 net/xdp/xsk_diag.c return nla_put(nlskb, nl_type, sizeof(dr), &dr);