Home
last modified time | relevance | path

Searched refs:status_page (Results 1 – 25 of 26) sorted by relevance

12

/linux/security/selinux/
H A Dstatus.c48 if (!selinux_state.status_page) { in selinux_kernel_status_page()
49 selinux_state.status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
51 if (selinux_state.status_page) { in selinux_kernel_status_page()
52 status = page_address(selinux_state.status_page); in selinux_kernel_status_page()
68 result = selinux_state.status_page; in selinux_kernel_status_page()
84 if (selinux_state.status_page) { in selinux_status_update_setenforce()
85 status = page_address(selinux_state.status_page); in selinux_status_update_setenforce()
109 if (selinux_state.status_page) { in selinux_status_update_policyload()
110 status = page_address(selinux_state.status_page); in selinux_status_update_policyload()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine.h136 return READ_ONCE(engine->status_page.addr[reg]); in intel_read_status_page()
147 drm_clflush_virt_range(&engine->status_page.addr[reg], sizeof(value)); in intel_write_status_page()
148 WRITE_ONCE(engine->status_page.addr[reg], value); in intel_write_status_page()
149 drm_clflush_virt_range(&engine->status_page.addr[reg], sizeof(value)); in intel_write_status_page()
H A Dintel_ring_submission.c62 static struct page *status_page(struct intel_engine_cs *engine) in status_page() function
64 struct drm_i915_gem_object *obj = engine->status_page.vma->obj; in status_page()
72 set_hws_pga(engine, PFN_PHYS(page_to_pfn(status_page(engine)))); in ring_setup_phys_status_page()
139 set_hwsp(engine, i915_ggtt_offset(engine->status_page.vma)); in ring_setup_status_page()
279 list_for_each_entry(tl, &engine->status_page.timelines, engine_link) in sanitize_hwsp()
295 memset(engine->status_page.addr, POISON_INUSE, PAGE_SIZE); in xcs_sanitize()
305 drm_clflush_virt_range(engine->status_page.addr, PAGE_SIZE); in xcs_sanitize()
1385 GEM_BUG_ON(timeline->hwsp_ggtt != engine->status_page.vma); in intel_ring_submission_setup()
H A Dselftest_lrc.c81 i915_ggtt_offset(ce->engine->status_page.vma) + in emit_semaphore_signal()
567 i915_ggtt_offset(ce->engine->status_page.vma) + in __gpr_read()
618 u32 *slot = memset32(engine->status_page.addr + 1000, 0, 4); in __live_lrc_gpr()
740 i915_ggtt_offset(ce->engine->status_page.vma) + in create_timestamp()
799 u32 *slot = memset32(arg->engine->status_page.addr + 1000, 0, 4); in __lrc_timestamp()
1108 *cs++ = i915_ggtt_offset(ce->engine->status_page.vma) + in record_registers()
1241 *cs++ = i915_ggtt_offset(ce->engine->status_page.vma) + in poison_registers()
1403 u32 *sema = memset32(engine->status_page.addr + 1000, 0, 1); in __lrc_isolation()
H A Dselftest_engine_pm.c77 u32 *sema = memset32(engine->status_page.addr + 1000, 0, 5); in __measure_timestamps()
78 u32 offset = i915_ggtt_offset(engine->status_page.vma); in __measure_timestamps()
H A Dgen6_engine_cs.c377 GEM_BUG_ON(i915_request_active_timeline(rq)->hwsp_ggtt != rq->engine->status_page.vma); in gen6_emit_breadcrumb_xcs()
397 GEM_BUG_ON(i915_request_active_timeline(rq)->hwsp_ggtt != rq->engine->status_page.vma); in gen7_emit_breadcrumb_xcs()
H A Dintel_timeline.c170 struct i915_vma *hwsp = engine->status_page.vma; in intel_timeline_create_from_engine()
179 list_add_tail(&tl->engine_link, &engine->status_page.timelines); in intel_timeline_create_from_engine()
H A Dmock_engine.c363 engine->base.status_page.addr = (void *)(engine + 1); in mock_engine()
417 engine->status_page.vma = ce->timeline->hwsp_ggtt; in mock_engine_init()
H A Dintel_engine_cs.c1032 vma = fetch_and_zero(&engine->status_page.vma); in cleanup_status_page()
1076 INIT_LIST_HEAD(&engine->status_page.timelines); in init_status_page()
1113 engine->status_page.addr = memset(vaddr, 0, PAGE_SIZE); in init_status_page()
1114 engine->status_page.vma = vma; in init_status_page()
1394 struct i915_vma *hwsp = engine->status_page.vma; in intel_engine_destroy_pinned_context()
2145 &engine->status_page.addr[I915_HWS_CSB_BUF0_INDEX]; in intel_engine_print_registers()
2431 hexdump(m, engine->status_page.addr, PAGE_SIZE); in intel_engine_dump()
H A Dintel_engine_pm.c175 GEM_BUG_ON(ce->timeline->hwsp_ggtt != engine->status_page.vma); in switch_to_kernel_context()
H A Dgen2_engine_cs.c147 GEM_BUG_ON(i915_request_active_timeline(rq)->hwsp_ggtt != rq->engine->status_page.vma); in __gen2_emit_breadcrumb()
H A Dintel_engine_types.h493 struct intel_hw_status_page status_page; member
H A Dintel_execlists_submission.c246 engine->status_page.addr[I915_GEM_HWS_PREEMPT] = state; in ring_set_paused()
2853 list_for_each_entry(tl, &engine->status_page.timelines, engine_link) in sanitize_hwsp()
2871 memset(engine->status_page.addr, POISON_INUSE, PAGE_SIZE); in execlists_sanitize()
2883 drm_clflush_virt_range(engine->status_page.addr, PAGE_SIZE); in execlists_sanitize()
2949 i915_ggtt_offset(engine->status_page.vma)); in enable_execlists()
3572 (u64 *)&engine->status_page.addr[I915_HWS_CSB_BUF0_INDEX]; in intel_execlists_submission_setup()
3575 &engine->status_page.addr[INTEL_HWS_CSB_WRITE_INDEX(i915)]; in intel_execlists_submission_setup()
H A Dgen8_engine_cs.c418 return (i915_ggtt_offset(engine->status_page.vma) + in preempt_address()
H A Dselftest_execlists.c1054 i915_ggtt_offset(ce->engine->status_page.vma) + in create_rewinder()
1153 slot = memset32(engine->status_page.addr + 1000, 0, 4); in live_timeslice_rewind()
/linux/drivers/infiniband/hw/cxgb4/
H A Ddevice.c871 rdev->status_page = (struct t4_dev_status_page *) in c4iw_rdev_open()
873 if (!rdev->status_page) { in c4iw_rdev_open()
877 rdev->status_page->qp_start = rdev->lldi.vr->qp.start; in c4iw_rdev_open()
878 rdev->status_page->qp_size = rdev->lldi.vr->qp.size; in c4iw_rdev_open()
879 rdev->status_page->cq_start = rdev->lldi.vr->cq.start; in c4iw_rdev_open()
880 rdev->status_page->cq_size = rdev->lldi.vr->cq.size; in c4iw_rdev_open()
881 rdev->status_page->write_cmpl_supported = rdev->lldi.write_cmpl_support; in c4iw_rdev_open()
899 rdev->status_page->db_off = 0; in c4iw_rdev_open()
910 free_page((unsigned long)rdev->status_page); in c4iw_rdev_open()
926 free_page((unsigned long)rdev->status_page); in c4iw_rdev_close()
[all …]
H A Dprovider.c114 mm->addr = virt_to_phys(rhp->rdev.status_page); in c4iw_alloc_ucontext()
H A Diw_cxgb4.h187 struct t4_dev_status_page *status_page; member
H A Dqp.c1251 if (!rhp->rdev.status_page->db_off) { in c4iw_post_send()
1331 if (!qhp->rhp->rdev.status_page->db_off) { in c4iw_post_receive()
/linux/drivers/infiniband/hw/qib/
H A Dqib_init.c310 u64 *status_page; in init_pioavailregs() local
326 status_page = (u64 *) in init_pioavailregs()
331 dd->devstatusp = status_page; in init_pioavailregs()
332 *status_page++ = 0; in init_pioavailregs()
334 dd->pport[pidx].statusp = status_page; in init_pioavailregs()
335 *status_page++ = 0; in init_pioavailregs()
342 dd->freezemsg = (char *) status_page; in init_pioavailregs()
345 ret = (char *) status_page - (char *) dd->pioavailregs_dma; in init_pioavailregs()
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_perf.c360 store = memset32(rq->engine->status_page.addr + 512, 0, 32); in live_noa_gpr()
378 *cs++ = i915_ggtt_offset(rq->engine->status_page.vma) + in live_noa_gpr()
H A Di915_request.c2006 return memset32(ce->engine->status_page.addr + 1000, 0, 21); in hwsp_scratch()
2011 return (i915_ggtt_offset(ce->engine->status_page.vma) + in hwsp_offset()
2241 i915_ggtt_offset(engine->status_page.vma) + in plug()
/linux/drivers/crypto/ccp/
H A Dsev-dev.c1970 struct page *status_page; in sev_ioctl_do_snp_platform_status() local
1977 status_page = alloc_page(GFP_KERNEL_ACCOUNT); in sev_ioctl_do_snp_platform_status()
1978 if (!status_page) in sev_ioctl_do_snp_platform_status()
1981 data = page_address(status_page); in sev_ioctl_do_snp_platform_status()
2011 __free_pages(status_page, 0); in sev_ioctl_do_snp_platform_status()
/linux/security/selinux/include/
H A Dsecurity.h99 struct page *status_page; member
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c4306 list_for_each_entry(tl, &engine->status_page.timelines, engine_link) in sanitize_hwsp()
4322 memset(engine->status_page.addr, POISON_INUSE, PAGE_SIZE); in guc_sanitize()
4332 drm_clflush_virt_range(engine->status_page.addr, PAGE_SIZE); in guc_sanitize()
4343 i915_ggtt_offset(engine->status_page.vma)); in setup_hwsp()

12