Home
last modified time | relevance | path

Searched refs:ctx1 (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv04.c466 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local
468 ctx1 = nv_ro32(object, 0x00); in nv04_gr_set_ctx_val()
469 class = ctx1 & 0xff; in nv04_gr_set_ctx_val()
470 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
/linux-4.1.27/arch/sparc/mm/
Dsrmmu.c574 int cctx, ctx1;
577 if ((ctx1 = vma->vm_mm->context) != -1) {
580 if (cctx != ctx1) {
581 printk("flush ctx %02x curr %02x\n", ctx1, cctx);
582 srmmu_set_context(ctx1);
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c517 u64 sge_cmd, ctx0, ctx1; in cxio_hal_init_ctrl_qp() local
560 ctx1 = (u32) base_addr; in cxio_hal_init_ctrl_qp()
562 ctx1 |= ((u64) (V_EC_BASE_HI((u32) base_addr & 0xf) | V_EC_RESPQ(0) | in cxio_hal_init_ctrl_qp()
572 wqe->ctx1 = cpu_to_be64(ctx1); in cxio_hal_init_ctrl_qp()
Dcxio_wr.h291 __be64 ctx1; /* 5 */ member
/linux-4.1.27/fs/nfs/
Dpagelist.c907 static bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument
910 return ctx1->cred == ctx2->cred && ctx1->state == ctx2->state; in nfs_match_open_context()
/linux-4.1.27/kernel/events/
Dcore.c2418 static int context_equiv(struct perf_event_context *ctx1, in context_equiv() argument
2421 lockdep_assert_held(&ctx1->lock); in context_equiv()
2425 if (ctx1->pin_count || ctx2->pin_count) in context_equiv()
2429 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen) in context_equiv()
2433 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation) in context_equiv()
2440 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx && in context_equiv()
2441 ctx1->parent_gen == ctx2->parent_gen) in context_equiv()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_os.c636 struct ct6_dsd *ctx1 = (struct ct6_dsd *)ctx; in qla2x00_sp_free_dma() local
638 dma_pool_free(ha->fcp_cmnd_dma_pool, ctx1->fcp_cmnd, in qla2x00_sp_free_dma()
639 ctx1->fcp_cmnd_dma); in qla2x00_sp_free_dma()
640 list_splice(&ctx1->dsd_list, &ha->gbl_dsd_list); in qla2x00_sp_free_dma()
641 ha->gbl_dsd_inuse -= ctx1->dsd_use_cnt; in qla2x00_sp_free_dma()
642 ha->gbl_dsd_avail += ctx1->dsd_use_cnt; in qla2x00_sp_free_dma()
643 mempool_free(ctx1, ha->ctx_mempool); in qla2x00_sp_free_dma()
644 ctx1 = NULL; in qla2x00_sp_free_dma()