Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/security/selinux/
A Dstatus.c48 if (!state->status_page) { in selinux_kernel_status_page()
49 state->status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
51 if (state->status_page) { in selinux_kernel_status_page()
52 status = page_address(state->status_page); in selinux_kernel_status_page()
68 result = state->status_page; in selinux_kernel_status_page()
85 if (state->status_page) { in selinux_status_update_setenforce()
86 status = page_address(state->status_page); in selinux_status_update_setenforce()
111 if (state->status_page) { in selinux_status_update_policyload()
112 status = page_address(state->status_page); in selinux_status_update_policyload()
/linux-6.3-rc2/tools/testing/selftests/user_events/
A Dftrace_test.c194 char *status_page; in TEST_F() local
218 ASSERT_NE(MAP_FAILED, status_page); in TEST_F()
219 ASSERT_NE(NULL, status_page); in TEST_F()
220 ASSERT_EQ(0, status_check(status_page, reg.status_bit)); in TEST_F()
240 ASSERT_EQ(0, munmap(status_page, page_size)); in TEST_F()
249 char *status_page; in TEST_F() local
273 ASSERT_NE(MAP_FAILED, status_page); in TEST_F()
274 ASSERT_NE(NULL, status_page); in TEST_F()
337 char *status_page; in TEST_F() local
351 ASSERT_NE(MAP_FAILED, status_page); in TEST_F()
[all …]
A Dperf_test.c38 static inline int status_check(char *status_page, int status_bit) in status_check() argument
40 return status_page[status_bit >> 3] & (1 << (status_bit & 7)); in status_check()
112 char *status_page; in TEST_F() local
121 status_page = mmap(NULL, page_size, PROT_READ, MAP_SHARED, in TEST_F()
123 ASSERT_NE(MAP_FAILED, status_page); in TEST_F()
129 ASSERT_EQ(0, status_check(status_page, reg.status_bit)); in TEST_F()
152 ASSERT_NE(0, status_check(status_page, reg.status_bit)); in TEST_F()
/linux-6.3-rc2/samples/user_events/
A Dexample.c66 long *status_page; in main() local
70 if (event_status(&status_page) == -1) in main()
89 if (status_page[index] & mask) { in main()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
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()
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()
1383 GEM_BUG_ON(timeline->hwsp_ggtt != engine->status_page.vma); in intel_ring_submission_setup()
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()
A Dselftest_engine_pm.c76 u32 *sema = memset32(engine->status_page.addr + 1000, 0, 5); in __measure_timestamps()
77 u32 offset = i915_ggtt_offset(engine->status_page.vma); in __measure_timestamps()
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()
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()
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()
A Dintel_engine_cs.c1045 vma = fetch_and_zero(&engine->status_page.vma); in cleanup_status_page()
1089 INIT_LIST_HEAD(&engine->status_page.timelines); in init_status_page()
1127 engine->status_page.addr = memset(vaddr, 0, PAGE_SIZE); in init_status_page()
1128 engine->status_page.vma = vma; in init_status_page()
1289 struct i915_vma *hwsp = engine->status_page.vma; in intel_engine_destroy_pinned_context()
2007 &engine->status_page.addr[I915_HWS_CSB_BUF0_INDEX]; in intel_engine_print_registers()
2293 hexdump(m, engine->status_page.addr, PAGE_SIZE); in intel_engine_dump()
A Dintel_engine_pm.c165 GEM_BUG_ON(ce->timeline->hwsp_ggtt != engine->status_page.vma); in switch_to_kernel_context()
A Dgen2_engine_cs.c147 GEM_BUG_ON(i915_request_active_timeline(rq)->hwsp_ggtt != rq->engine->status_page.vma); in __gen2_emit_breadcrumb()
A Dintel_engine_types.h462 struct intel_hw_status_page status_page; member
A Dintel_execlists_submission.c246 engine->status_page.addr[I915_GEM_HWS_PREEMPT] = state; in ring_set_paused()
2844 list_for_each_entry(tl, &engine->status_page.timelines, engine_link) in sanitize_hwsp()
2862 memset(engine->status_page.addr, POISON_INUSE, PAGE_SIZE); in execlists_sanitize()
2874 drm_clflush_virt_range(engine->status_page.addr, PAGE_SIZE); in execlists_sanitize()
2940 i915_ggtt_offset(engine->status_page.vma)); in enable_execlists()
3564 (u64 *)&engine->status_page.addr[I915_HWS_CSB_BUF0_INDEX]; in intel_execlists_submission_setup()
3567 &engine->status_page.addr[INTEL_HWS_CSB_WRITE_INDEX(i915)]; in intel_execlists_submission_setup()
A Dgen8_engine_cs.c336 return (i915_ggtt_offset(engine->status_page.vma) + in preempt_address()
/linux-6.3-rc2/drivers/infiniband/hw/cxgb4/
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()
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()
1280 ctx->dev->rdev.status_page->db_off = 1; in stop_queues()
[all …]
A Dprovider.c114 mm->addr = virt_to_phys(rhp->rdev.status_page); in c4iw_alloc_ucontext()
A Diw_cxgb4.h187 struct t4_dev_status_page *status_page; member
/linux-6.3-rc2/Documentation/trace/
A Duser_events.rst131 char *status_page;
138 if (status_page[index] & mask) {
153 long index, mask, *status_page;
161 if (status_page[index] & mask) {
/linux-6.3-rc2/drivers/infiniband/hw/qib/
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-6.3-rc2/drivers/gpu/drm/i915/selftests/
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()
A Di915_request.c1986 return memset32(ce->engine->status_page.addr + 1000, 0, 21); in hwsp_scratch()
1991 return (i915_ggtt_offset(ce->engine->status_page.vma) + in hwsp_offset()
2221 i915_ggtt_offset(engine->status_page.vma) + in plug()
/linux-6.3-rc2/security/selinux/include/
A Dsecurity.h103 struct page *status_page; member

Completed in 91 milliseconds

12