sclp_sd_file_create(9)
β¨ NAME β¨
sclp_sd_file_create β okay so this one adds a sysfs file representing a Store Data entity, and bestie itβs giving kernel-API main character energy. This is the sclp_sd_file_create(9) page from the Kernel API Manual, btw. π«Ά
πΈ SYNOPSIS πΈ
The signature is literally:
struct sclp_sd_file * sclp_sd_file_create (const char *name , u8 di );
π ARGUMENTS π
Two arguments, both iconic:
nameβ Name of file. No cap, thatβs the whole vibe.diβ DI value associated with this entity. Iykyk. π
π¦ DESCRIPTION π¦
Okay so hereβs the tea: this creates a sysfs directory with the given name, located under:
/sys/firmware/sclp_sd/
The files in this directory can be used to access the contents of the Store Data entity associated with DI. Periodt. β¨
It returns a pointer to the resulting sclp_sd_file object on success, and NULL otherwise. The object must be freed by calling kobject_put on the embedded kobject pointer after use. This is not a drill, bestie β after use, call kobject_put on the embedded kobject pointer. ππ
π SEE ALSO π
Kernel file ./drivers/s390/char/sclp_sd.c, plus the whole squad:
struct sclp_sd_data(9)struct sclp_sd_listener(9)struct sclp_sd_file(9)sclp_sd_listener_add(9)sclp_sd_listener_remove(9)sclp_sd_listener_init(9)sclp_sd_receiver(9)sclp_sd_sync(9)sclp_sd_store_data(9)sclp_sd_data_reset(9)sclp_sd_file_release(9)sclp_sd_file_update(9)sclp_sd_file_update_async(9)reload_store(9)data_read(9)sclp_sd_init(9)
Made with π from ./drivers/s390/char Β· October 2026 β slay responsibly and remember to kobject_put after use. π§π
π¦ 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