[go: nahoru, domu]

Searched defs:rkt (Results 1 - 7 of 7) sorted by relevance

/drivers/infiniband/hw/ipath/
H A Dipath_keys.c41 * @rkt: lkey table in which to allocate the lkey
47 int ipath_alloc_lkey(struct ipath_lkey_table *rkt, struct ipath_mregion *mr) argument
54 spin_lock_irqsave(&rkt->lock, flags);
57 r = n = rkt->next;
59 if (rkt->table[r] == NULL)
61 r = (r + 1) & (rkt->max - 1);
63 spin_unlock_irqrestore(&rkt->lock, flags);
69 rkt->next = (r + 1) & (rkt->max - 1);
74 rkt
96 ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey) argument
124 struct ipath_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; local
203 struct ipath_lkey_table *rkt = &dev->lk_table; local
[all...]
H A Dipath_mr.c351 struct ipath_lkey_table *rkt; local
361 rkt = &to_idev(ibfmr->device)->lk_table;
362 spin_lock_irqsave(&rkt->lock, flags);
378 spin_unlock_irqrestore(&rkt->lock, flags);
394 struct ipath_lkey_table *rkt; local
398 rkt = &to_idev(fmr->ibfmr.device)->lk_table;
399 spin_lock_irqsave(&rkt->lock, flags);
403 spin_unlock_irqrestore(&rkt->lock, flags);
/drivers/infiniband/hw/qib/
H A Dqib_keys.c56 struct qib_lkey_table *rkt = &dev->lk_table; local
58 spin_lock_irqsave(&rkt->lock, flags);
74 r = rkt->next;
77 if (rkt->table[r] == NULL)
79 r = (r + 1) & (rkt->max - 1);
83 rkt->next = (r + 1) & (rkt->max - 1);
88 rkt->gen++;
90 ((((1 << (24 - ib_qib_lkey_table_size)) - 1) & rkt->gen)
94 rkt
119 struct qib_lkey_table *rkt = &dev->lk_table; local
151 qib_lkey_ok(struct qib_lkey_table *rkt, struct qib_pd *pd, struct qib_sge *isge, struct ib_sge *sge, int acc) argument
251 struct qib_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; local
339 struct qib_lkey_table *rkt = &to_idev(qp->ibqp.device)->lk_table; local
[all...]
H A Dqib_mr.c440 struct qib_lkey_table *rkt; local
454 rkt = &to_idev(ibfmr->device)->lk_table;
455 spin_lock_irqsave(&rkt->lock, flags);
470 spin_unlock_irqrestore(&rkt->lock, flags);
486 struct qib_lkey_table *rkt; local
490 rkt = &to_idev(fmr->ibfmr.device)->lk_table;
491 spin_lock_irqsave(&rkt->lock, flags);
495 spin_unlock_irqrestore(&rkt->lock, flags);
H A Dqib_ruc.c85 struct qib_lkey_table *rkt; local
89 rkt = &to_idev(qp->ibqp.device)->lk_table;
98 if (!qib_lkey_ok(rkt, pd, j ? &ss->sg_list[j - 1] : &ss->sge,
H A Dqib_verbs.c346 struct qib_lkey_table *rkt; local
396 rkt = &to_idev(qp->ibqp.device)->lk_table;
411 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j],
/drivers/scsi/aacraid/
H A 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 in union:aac_dev::__anon5073

Completed in 108 milliseconds