IBM_READ_APCI_TABLE
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
ibm_read_apci_table - callback for the sysfs apci_table file
SYNOPSIS
"SYNOPSIS"
ssize_t ibm_read_apci_table (struct kobject * kobj, char * buffer, loff_t pos, size_t size);
ARGUMENTS
- kobj
-
the kobject this binary attribute is a part of
- buffer
-
the kernel space buffer to fill
- pos
-
the offset into the file
- size
-
the number of bytes requested
DESCRIPTION
gets registered with sysfs as the reader callback
to be executed when /sys/bus/pci/slots/apci_table gets read
Since we don't get notified on open and close for this file,
things get really tricky here...
our solution is to only allow reading the table in all at once
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:15 GMT, October 09, 2005