event_log_size_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… event_log_size_show(9) β€” a Kernel API Manual moment ✨

okay so bestie, we're deep in the kernel API manual section (9, iykyk) and this page is all about event_log_size_show. it's giving "tiny function, whole lotta lore." let's get into it 🫢


🌸 NAME 🌸

event_log_size_show β€” literally just: event log size. that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

ssize_t event_log_size_show (struct device *cdev , struct
device_attribute *attr , char *buf );

no cap, it returns a ssize_t and takes three args. keep reading, i promise it's short πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdev β€” a pointer to the embedded class device. she's pointing at her device, as one does πŸ’…
  • attr β€” the device attribute. and babes, it's unused. don't worry about her, she's just here for the vibes πŸ™ˆ
  • buf β€” the buffer that gets returned. this is the actual output slot, main character energy πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

it's a sysfs read shost attribute. that's it, that's the whole description. short and iconic, we respect it 🌈

ngl the original page keeps it to one line, so i'm not gonna invent extra behaviour for you. what it says is what it does, periodt ✨

πŸ”₯ SEE ALSO πŸ”₯

the kernel file that lives with all this:

  • ./drivers/scsi/pm8001/pm8001_ctl.c

and the whole friend group of related functions (yes, all of them, no skipping, i would never 😭):


that's the page, bestie β€” short, sweet, and fully documented πŸ“ this one comes from ./drivers/scsi/pm8001, stamped October 2026, and it slayed every single line it needed to πŸ’–πŸ§šβ­

πŸ“¦ where this page comes from