end_page_writeback (9) Linux Manual Page
end_page_writeback – end writeback against a page Synopsis void end_page_writeback(struct page *page); Arguments page the page Copyright
The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.
end_page_writeback – end writeback against a page Synopsis void end_page_writeback(struct page *page); Arguments page the page Copyright
encode_rs8 – Calculate the parity for data values (8bit data width) Synopsis int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, uint16_t invmsk); Arguments rs the rs control structure data data field of a given type len data length par parity data, must be initialized by caller (usually all 0) invmsk invert data mask…
encode_rs16 – Calculate the parity for data values (16bit data width) Synopsis int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, uint16_t invmsk); Arguments rs the rs control structure data data field of a given type len data length par parity data, must be initialized by caller (usually all 0) invmsk invert data mask…
enable_irq – enable handling of an irq Synopsis void enable_irq(unsigned int irq); Arguments irq Interrupt to enable Description Undoes the effect of one call to disable_irq. If this matches the last disable, processing of interrupts on this IRQ line is re-enabled. This function may be called from IRQ context only when desc->irq_data.chip->bus_lock and desc->chip->bus_sync_unlock are…
enable_cmf – switch on the channel measurement for a specific device Synopsis int enable_cmf(struct ccw_device *cdev); Arguments cdev The ccw device to be enabled Description Returns 0 for success or a negative error value. Note If this is called on a device for which channel measurement is already enabled a reset of the measurement data…
edd_show_raw_data – copies raw data to buffer for userspace to parse Synopsis ssize_t edd_show_raw_data(struct edd_device * edev, char * buf); Arguments edev target edd_device buf output buffer Return number of bytes written, or -EINVAL on failure Copyright
edd_release – free edd structure Synopsis void edd_release(struct kobject *kobj); Arguments kobj kobject of edd structure Description This is called when the refcount of the edd structure reaches 0. This should happen right after we unregister, but just in case, we use the release callback anyway. Copyright
edd_init – creates sysfs tree of EDD data Synopsis int edd_init(void); Arguments void no arguments Copyright
edd_get_pci_dev – finds pci_dev that matches edev Synopsis struct pci_dev *edd_get_pci_dev(struct edd_device *edev); Arguments edev edd_device Description Returns pci_dev if found, or NULL Copyright
edd_dev_is_type – is this EDD device a ‘type’ device? Synopsis int edd_dev_is_type(struct edd_device *edev, const char *type); Arguments edev target edd_device type a host bus or interface identifier string per the EDD spec Description Returns 1 (TRUE) if it is a ‘type’ device, 0 otherwise. Copyright
drop_nlink – directly drop an inode’s link count Synopsis void drop_nlink(struct inode *inode); Arguments inode inode Description This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is…
do_splice_direct – splices data directly between two files Synopsis long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, loff_t *opos, size_t len, unsigned int flags); Arguments in file to splice from ppos input file offset out file to splice to opos output file offset len number of bytes to splice flags splice modifier flags Description…
do_pata_set_dmamode – Initialize host controller PATA PIO timings Synopsis void do_pata_set_dmamode(struct ata_port *ap, struct ata_device *adev, int isich); Arguments ap Port whose timings we are configuring adev Drive in question isich set if the chip is an ICH device Description Set UDMA mode for device, in host controller PCI config space. LOCKING: None (inherited from…
dmi_walk – Walk the DMI table and get called back for every record Synopsis int dmi_walk(void (*decode)(const struct dmi_header *, void *), void *private_data); Arguments decode Callback function private_data Private data to be passed to the callback function Description Returns -1 when the DMI table can’t be reached, 0 on success. Copyright
dmi_name_in_vendors – Check if string is in the DMI system or board vendor name Synopsis int dmi_name_in_vendors(const char *str); Arguments str Case sensitive Name Copyright
dmi_match – compare a string to the dmi field (if exists) Synopsis bool dmi_match(enum dmi_field f, const char * str); Arguments f DMI field identifier str string to compare the DMI field to Description Returns true if the requested field equals to the str (including NULL). Copyright
dmi_get_system_info – return DMI data value Synopsis const char *dmi_get_system_info(int field); Arguments field data index (see enum dmi_field) Description Returns one DMI data value, can be used to perform complex DMI data checks. Copyright
dmi_get_date – parse a DMI date Synopsis bool dmi_get_date(int field, int * yearp, int * monthp, int * dayp); Arguments field data index (see enum dmi_field) yearp optional out parameter for the year monthp optional out parameter for the month dayp optional out parameter for the day Description The date field is assumed to be in the form resembling [mm[/dd]]/yy[yy] and the…
dmi_first_match – find dmi_system_id structure matching system DMI data Synopsis const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list); Arguments list array of dmi_system_id structures to match against All non-null elements of the list must match their slot’s (field index’s) data (i.e., each list string must be a substring of the specified DMI slot’s string data) to…
dmi_find_device – find onboard device by type/name Synopsis const struct dmi_device *dmi_find_device(int type, const char *name, const struct dmi_device *from); Arguments type device type or DMI_DEV_TYPE_ANY to match all device types name device name string or NULL to match all from previous device found in search, or NULL for new search. Description Iterates through the…