/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_misc.c | 60 memset(pdir, 0, sizeof(*pdir)); in pvrdma_page_dir_init() 64 if (!pdir->dir) in pvrdma_page_dir_init() 68 pdir->tables = kcalloc(pdir->ntables, sizeof(*pdir->tables), in pvrdma_page_dir_init() 70 if (!pdir->tables) in pvrdma_page_dir_init() 84 pdir->pages = kcalloc(npages, sizeof(*pdir->pages), in pvrdma_page_dir_init() 86 if (!pdir->pages) in pvrdma_page_dir_init() 124 if (pdir->pages) { in pvrdma_page_dir_cleanup_pages() 127 for (i = 0; i < pdir->npages && pdir->pages[i]; i++) { in pvrdma_page_dir_cleanup_pages() 141 if (pdir->tables) { in pvrdma_page_dir_cleanup_tables() 161 if (pdir->dir) { in pvrdma_page_dir_cleanup() [all …]
|
A D | pvrdma.h | 93 struct pvrdma_page_dir pdir; member 144 struct pvrdma_page_dir pdir; member 174 struct pvrdma_page_dir pdir; member 189 struct pvrdma_page_dir pdir; member 319 static inline void *pvrdma_page_dir_get_ptr(struct pvrdma_page_dir *pdir, in pvrdma_page_dir_get_ptr() argument 322 return pdir->pages[offset / PAGE_SIZE] + (offset % PAGE_SIZE); in pvrdma_page_dir_get_ptr() 543 struct pvrdma_page_dir *pdir); 544 int pvrdma_page_dir_insert_dma(struct pvrdma_page_dir *pdir, u64 idx, 546 int pvrdma_page_dir_insert_umem(struct pvrdma_page_dir *pdir, 548 dma_addr_t pvrdma_page_dir_get_dma(struct pvrdma_page_dir *pdir, u64 idx); [all …]
|
A D | pvrdma_mr.c | 154 ret = pvrdma_page_dir_init(dev, &mr->pdir, npages, false); in pvrdma_reg_user_mr() 161 ret = pvrdma_page_dir_insert_umem(&mr->pdir, mr->umem, 0); in pvrdma_reg_user_mr() 172 cmd->pdir_dma = mr->pdir.dir_dma; in pvrdma_reg_user_mr() 188 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_reg_user_mr() 230 ret = pvrdma_page_dir_init(dev, &mr->pdir, max_num_sg, false); in pvrdma_alloc_mr() 262 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_alloc_mr() 293 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_dereg_mr()
|
A D | pvrdma_cq.c | 165 ret = pvrdma_page_dir_init(dev, &cq->pdir, npages, cq->is_kernel); in pvrdma_create_cq() 174 cq->ring_state = cq->pdir.pages[0]; in pvrdma_create_cq() 176 pvrdma_page_dir_insert_umem(&cq->pdir, cq->umem, 0); in pvrdma_create_cq() 187 cmd->pdir_dma = cq->pdir.dir_dma; in pvrdma_create_cq() 217 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_create_cq() 233 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_free_cq() 273 &cq->pdir, in get_cqe()
|
A D | pvrdma_srq.c | 164 ret = pvrdma_page_dir_init(dev, &srq->pdir, srq->npages, false); in pvrdma_create_srq() 171 pvrdma_page_dir_insert_umem(&srq->pdir, srq->umem, 0); in pvrdma_create_srq() 181 cmd->pdir_dma = srq->pdir.dir_dma; in pvrdma_create_srq() 207 pvrdma_page_dir_cleanup(dev, &srq->pdir); in pvrdma_create_srq() 231 pvrdma_page_dir_cleanup(dev, &srq->pdir); in pvrdma_free_srq()
|
A D | pvrdma_qp.c | 328 ret = pvrdma_page_dir_init(dev, &qp->pdir, qp->npages, in pvrdma_create_qp() 337 pvrdma_page_dir_insert_umem(&qp->pdir, qp->sumem, 0); in pvrdma_create_qp() 339 pvrdma_page_dir_insert_umem(&qp->pdir, in pvrdma_create_qp() 344 qp->sq.ring = qp->pdir.pages[0]; in pvrdma_create_qp() 377 cmd->pdir_dma = qp->pdir.dir_dma; in pvrdma_create_qp() 421 pvrdma_page_dir_cleanup(dev, &qp->pdir); in pvrdma_create_qp() 446 pvrdma_page_dir_cleanup(dev, &qp->pdir); in _pvrdma_free_qp() 636 return pvrdma_page_dir_get_ptr(&qp->pdir, in get_sq_wqe() 642 return pvrdma_page_dir_get_ptr(&qp->pdir, in get_rq_wqe() 652 wqe_hdr->wr.fast_reg.pl_pdir_dma = mr->pdir.dir_dma; in set_reg_seg() [all …]
|
/linux/scripts/package/ |
A D | builddeb | 28 local pname="$1" pdir="$2" 31 mkdir -m 755 -p "$pdir/DEBIAN" 43 chown -R root:root "$pdir" 45 chmod -R go-w "$pdir" 47 chmod -R a+rX "$pdir" 49 chmod -R ug-s "$pdir" 57 pdir=$1 59 rm -rf $pdir 95 pdir=$1 97 rm -rf $pdir [all …]
|
/linux/sound/soc/ti/ |
A D | davinci-mcasp.c | 505 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 506 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 508 set_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 509 set_bit(PIN_BIT_AFSR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 522 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 523 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 525 clear_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 526 clear_bit(PIN_BIT_AFSR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 542 set_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() 543 set_bit(PIN_BIT_AFSR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_edif.c | 338 int pdir) in __qla2x00_release_all_sadb() argument 358 entry->sa_pair[i].sa_index, pdir); in __qla2x00_release_all_sadb() 360 qla_edif_find_sa_ctl_by_index(fcport, sa_ctl->index, pdir)) { in __qla2x00_release_all_sadb() 380 if (pdir != SAU_FLG_TX) { in __qla2x00_release_all_sadb() 417 __func__, key_cnt, pdir ? "tx" : "rx"); in __qla2x00_release_all_sadb()
|
/linux/scripts/ |
A D | asn1_compiler.c | 320 const char *const *pdir = _pdir, *dir = *pdir; in directive_compare() local
|