svc_create_memory_pool(9)
π svc_create_memory_pool(9) β Kernel API Manual energy β¨
okay so bestie, welcome to the Kernel API Manual, and today's main character is svc_create_memory_pool β no cap, she's the one who spins up a memory pool out of a reserved memory block π
πΈ NAME πΈ
svc_create_memory_pool β literally here to create a memory pool from a reserved memory block, that's her whole thing π
β¨ SYNOPSIS β¨
struct gen_pool * svc_create_memory_pool (struct platform_device *pdev ,
struct stratix10_svc_sh_memory *sh_memory );
like, she takes two things and hands you back a struct gen_pool *. slay π«Ά
π¦ ARGUMENTS π¦
pdevβ pointer to service layer device. yes girl, the device one πsh_memoryβ pointer to service shared memory structure. the shared-memory bestie π
β RETURN β
you get a pool allocated from the reserved memory block, or ERR_PTR on error π β so like, check her before you go using her, iykyk π
π₯ SEE ALSO π₯
the Kernel file lives at ./drivers/firmware/stratix10-svc.c, and she rolls with a whole squad, fr fr β here's everyone:
SVC_NUM_DATA_IN_FIFO(9)struct stratix10_svc(9)struct stratix10_svc_sh_memory(9)struct stratix10_svc_data_mem(9)struct stratix10_svc_data(9)struct stratix10_svc_async_handler(9)struct stratix10_async_chan(9)struct stratix10_async_ctrl(9)struct stratix10_svc_chan(9)struct stratix10_svc_controller(9)svc_pa_to_va(9)svc_thread_cmd_data_claim(9)svc_thread_cmd_config_status(9)svc_thread_recv_status_ok(9)svc_normal_to_secure_thread(9)svc_normal_to_secure_shm_thread(9)svc_get_sh_memory(9)svc_smccc_smc(9)svc_smccc_hvc(9)svc_smccc_1_2_full(9)get_invoke_func(9)stratix10_svc_request_channel_byname(9)stratix10_svc_add_async_client(9)stratix10_svc_remove_async_client(9)stratix10_svc_async_send(9)stratix10_svc_async_prepare_response(9)stratix10_svc_async_poll(9)stratix10_svc_async_done(9)stratix10_svc_async_init(9)stratix10_svc_async_exit(9)stratix10_svc_free_channel(9)stratix10_svc_send(9)stratix10_svc_done(9)stratix10_svc_allocate_memory(9)stratix10_svc_free_memory(9)
ok that's the whole page, go build your pool and be iconic about it π β¨
sign-off vibes: this one's from ./drivers/firmware, dated October 2026, and yes the page is still called svc_create_memory_pool(9) ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms