Home
last modified time | relevance | path

Searched refs:hpage_acct (Results 1 – 3 of 3) sorted by relevance

/linux/io_uring/
H A Drsrc.c43 entry = xa_load(&ctx->hpage_acct, key); in hpage_acct_ref()
48 ret = xa_reserve(&ctx->hpage_acct, key, GFP_KERNEL_ACCOUNT); in hpage_acct_ref()
54 xa_store(&ctx->hpage_acct, key, xa_mk_value(count), GFP_KERNEL_ACCOUNT); in hpage_acct_ref()
66 entry = xa_load(&ctx->hpage_acct, key); in hpage_acct_unref()
71 xa_erase(&ctx->hpage_acct, key); in hpage_acct_unref()
74 xa_store(&ctx->hpage_acct, key, xa_mk_value(count - 1), GFP_KERNEL_ACCOUNT); in hpage_acct_unref()
H A Dio_uring.c237 xa_init(&ctx->hpage_acct); in io_ring_ctx_alloc()
307 xa_destroy(&ctx->hpage_acct); in io_ring_ctx_alloc()
2204 xa_destroy(&ctx->hpage_acct); in io_ring_ctx_free()
/linux/include/linux/
H A Dio_uring_types.h488 struct xarray hpage_acct; member