Home
last modified time | relevance | path

Searched refs:rkt (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/ipath/
Dipath_keys.c47 int ipath_alloc_lkey(struct ipath_lkey_table *rkt, struct ipath_mregion *mr) in ipath_alloc_lkey() argument
54 spin_lock_irqsave(&rkt->lock, flags); in ipath_alloc_lkey()
57 r = n = rkt->next; in ipath_alloc_lkey()
59 if (rkt->table[r] == NULL) in ipath_alloc_lkey()
61 r = (r + 1) & (rkt->max - 1); in ipath_alloc_lkey()
63 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_alloc_lkey()
69 rkt->next = (r + 1) & (rkt->max - 1); in ipath_alloc_lkey()
74 rkt->gen++; in ipath_alloc_lkey()
76 ((((1 << (24 - ib_ipath_lkey_table_size)) - 1) & rkt->gen) in ipath_alloc_lkey()
80 rkt->gen++; in ipath_alloc_lkey()
[all …]
Dipath_mr.c351 struct ipath_lkey_table *rkt; in ipath_map_phys_fmr() local
361 rkt = &to_idev(ibfmr->device)->lk_table; in ipath_map_phys_fmr()
362 spin_lock_irqsave(&rkt->lock, flags); in ipath_map_phys_fmr()
378 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_map_phys_fmr()
394 struct ipath_lkey_table *rkt; in ipath_unmap_fmr() local
398 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in ipath_unmap_fmr()
399 spin_lock_irqsave(&rkt->lock, flags); in ipath_unmap_fmr()
403 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_unmap_fmr()
Dipath_verbs.h780 int ipath_alloc_lkey(struct ipath_lkey_table *rkt,
783 void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey);
/drivers/infiniband/hw/qib/
Dqib_keys.c56 struct qib_lkey_table *rkt = &dev->lk_table; in qib_alloc_lkey() local
58 spin_lock_irqsave(&rkt->lock, flags); in qib_alloc_lkey()
74 r = rkt->next; in qib_alloc_lkey()
77 if (rkt->table[r] == NULL) in qib_alloc_lkey()
79 r = (r + 1) & (rkt->max - 1); in qib_alloc_lkey()
83 rkt->next = (r + 1) & (rkt->max - 1); in qib_alloc_lkey()
88 rkt->gen++; in qib_alloc_lkey()
94 ((((1 << (24 - ib_qib_lkey_table_size)) - 1) & rkt->gen) in qib_alloc_lkey()
98 rkt->gen++; in qib_alloc_lkey()
101 rcu_assign_pointer(rkt->table[r], mr); in qib_alloc_lkey()
[all …]
Dqib_mr.c440 struct qib_lkey_table *rkt; in qib_map_phys_fmr() local
454 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr()
455 spin_lock_irqsave(&rkt->lock, flags); in qib_map_phys_fmr()
470 spin_unlock_irqrestore(&rkt->lock, flags); in qib_map_phys_fmr()
486 struct qib_lkey_table *rkt; in qib_unmap_fmr() local
490 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in qib_unmap_fmr()
491 spin_lock_irqsave(&rkt->lock, flags); in qib_unmap_fmr()
495 spin_unlock_irqrestore(&rkt->lock, flags); in qib_unmap_fmr()
Dqib_ruc.c85 struct qib_lkey_table *rkt; in qib_init_sge() local
89 rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_init_sge()
98 if (!qib_lkey_ok(rkt, pd, j ? &ss->sg_list[j - 1] : &ss->sge, in qib_init_sge()
Dqib_verbs.c347 struct qib_lkey_table *rkt; in qib_post_one_send() local
397 rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_post_one_send()
412 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j], in qib_post_one_send()
Dqib_verbs.h983 int qib_lkey_ok(struct qib_lkey_table *rkt, struct qib_pd *pd,
/drivers/scsi/aacraid/
Drkt.c79 iounmap(dev->regs.rkt); in aac_rkt_ioremap()
82 dev->base = dev->regs.rkt = ioremap(dev->base_start, size); in aac_rkt_ioremap()
85 dev->IndexRegs = &dev->regs.rkt->IndexRegs; in aac_rkt_ioremap()
DMakefile6 dpcsup.o rx.o sa.o rkt.o nark.o src.o
Daacraid.h745 #define rkt_readb(AEP, CSR) readb(&((AEP)->regs.rkt->CSR))
746 #define rkt_readl(AEP, CSR) readl(&((AEP)->regs.rkt->CSR))
747 #define rkt_writeb(AEP, CSR, value) writeb(value, &((AEP)->regs.rkt->CSR))
748 #define rkt_writel(AEP, CSR, value) writel(value, &((AEP)->regs.rkt->CSR))
1114 struct rkt_registers __iomem *rkt; member