id
stringlengths
4
63
text
stringlengths
153
8.81M
ldexpl(3)
NAME ldexp, ldexpf, ldexpl - multiply floating-point number by integral power of 2 LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double ldexp(double x, int e); float ldexpf(float x, int e); long double ldexpl(long double x, int e); Feature Test Macro Requirements for glibc (see...
ldiv(3)
NAME div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an integer division LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdlib.h> div_t div(int numerator, int denominator); ldiv_t ldiv(long numerator, long denominator); lldiv_t lldiv(long long numerator, long long denomi...
ldiv(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME ldiv, lldiv — compute quotient and remainder of a long division...
ldiv_t(3type)
NAME div_t, ldiv_t, lldiv_t, imaxdiv_t - quotient and remainder of an integer division LIBRARY Standard C library (libc) SYNOPSIS #include <stdlib.h> typedef struct { int quot; /* Quotient */ int rem; /* Remainder */ } div_t; typedef struct { long quot; /* Quot...
ldm_compare_privheads(9)
NAME ldm_compare_privheads - Compare two privhead objects SYNOPSIS bool ldm_compare_privheads (const struct privhead *ph1 , const struct privhead *ph2 ); ARGUMENTS ph1 First privhead ph2 Second privhead DESCRIPTION This compares the two privhead structures ph1 and ph2. RETURN SEE ALSO Kernel...
ldm_compare_tocblocks(9)
NAME ldm_compare_tocblocks - Compare two tocblock objects SYNOPSIS bool ldm_compare_tocblocks (const struct tocblock *toc1 , const struct tocblock *toc2 ); ARGUMENTS toc1 First toc toc2 Second toc DESCRIPTION This compares the two tocblock structures toc1 and toc2. RETURN SEE ALSO Kernel file ...
ldm_create_data_partitions(9)
NAME ldm_create_data_partitions - Create data partitions for this device SYNOPSIS bool ldm_create_data_partitions (struct parsed_partitions *pp , const struct ldmdb *ldb ); ARGUMENTS pp List of the partitions parsed so far ldb Cache of the database structures DESCRIPTION The database conta...
ldm_frag_add(9)
NAME ldm_frag_add - Add a VBLK fragment to a list SYNOPSIS bool ldm_frag_add (const u8 *data , int size , struct list_head *frags ); ARGUMENTS data Raw fragment to be added to the list size Size of the raw fragment frags Linked list of VBLK fragments DESCRIPTION Fragmented VBLKs m...
ldm_frag_commit(9)
NAME ldm_frag_commit - Validate fragmented VBLKs and add them to the database SYNOPSIS bool ldm_frag_commit (struct list_head *frags , struct ldmdb *ldb ); ARGUMENTS frags Linked list of VBLK fragments ldb Cache of the database structures DESCRIPTION Now that all the fragmented VBLKs have been ...
ldm_frag_free(9)
NAME ldm_frag_free - Free a linked list of VBLK fragments SYNOPSIS void ldm_frag_free (struct list_head *list ); ARGUMENTS list Linked list of fragments DESCRIPTION Free a linked list of VBLK fragments RETURN none SEE ALSO Kernel file ./block/partitions/ldm.c ldm_parse_privhead(9), ldm_parse_tocblock(9)...
ldm_free_vblks(9)
NAME ldm_free_vblks - Free a linked list of vblk's SYNOPSIS void ldm_free_vblks (struct list_head *lh ); ARGUMENTS lh Head of a linked list of struct vblk DESCRIPTION Free a list of vblk's and free the memory used to maintain the list. RETURN none SEE ALSO Kernel file ./block/partitions/ldm.c ldm_parse...
ldm_get_disk_objid(9)
NAME ldm_get_disk_objid - Search a linked list of vblk's for a given Disk Id SYNOPSIS struct vblk * ldm_get_disk_objid (const struct ldmdb *ldb ); ARGUMENTS ldb Cache of the database structures DESCRIPTION The LDM Database contains a list of all partitions on all dynamic disks. The primary PRIVHEAD, at the...
ldm_get_vblks(9)
NAME ldm_get_vblks - Read the on-disk database of VBLKs into memory SYNOPSIS bool ldm_get_vblks (struct parsed_partitions *state , unsigned long base , struct ldmdb *ldb ); ARGUMENTS state Partition check state including device holding the LDM Database base Offset, into state->disk, of the databa...
ldm_get_vnum(9)
NAME ldm_get_vnum - Convert a variable-width, big endian number, into cpu order SYNOPSIS u64 ldm_get_vnum (const u8 *block ); ARGUMENTS block Pointer to the variable-width number to convert DESCRIPTION Large numbers in the LDM Database are often stored in a packed format. Each number is prefixed by a one ...
ldm_get_vstr(9)
NAME ldm_get_vstr - Read a length-prefixed string into a buffer SYNOPSIS int ldm_get_vstr (const u8 *block , u8 *buffer , int buflen ); ARGUMENTS block Pointer to the length marker buffer Location to copy string to buflen Size of the output buffer DESCRIPTION Many of the strings in t...
ldm_ldmdb_add(9)
NAME ldm_ldmdb_add - Adds a raw VBLK entry to the ldmdb database SYNOPSIS bool ldm_ldmdb_add (u8 *data , int len , struct ldmdb *ldb ); ARGUMENTS data Raw VBLK to add to the database len Size of the raw VBLK ldb Cache of the database structures DESCRIPTION The VBLKs are sorted ...
ldm_parse_cmp3(9)
NAME ldm_parse_cmp3 - Read a raw VBLK Component object into a vblk structure SYNOPSIS bool ldm_parse_cmp3 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return informat...
ldm_parse_dgr3(9)
NAME ldm_parse_dgr3 - Read a raw VBLK Disk Group object into a vblk structure SYNOPSIS int ldm_parse_dgr3 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return informat...
ldm_parse_dgr4(9)
NAME ldm_parse_dgr4 - Read a raw VBLK Disk Group object into a vblk structure SYNOPSIS bool ldm_parse_dgr4 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return informa...
ldm_parse_dsk3(9)
NAME ldm_parse_dsk3 - Read a raw VBLK Disk object into a vblk structure SYNOPSIS bool ldm_parse_dsk3 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return information ...
ldm_parse_dsk4(9)
NAME ldm_parse_dsk4 - Read a raw VBLK Disk object into a vblk structure SYNOPSIS bool ldm_parse_dsk4 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return information ...
ldm_parse_privhead(9)
NAME ldm_parse_privhead - Read the LDM Database PRIVHEAD structure SYNOPSIS bool ldm_parse_privhead (const u8 *data , struct privhead *ph ); ARGUMENTS data Raw database PRIVHEAD structure loaded from the device ph In-memory privhead structure in which to return parsed information DESCRIPTION ...
ldm_parse_prt3(9)
NAME ldm_parse_prt3 - Read a raw VBLK Partition object into a vblk structure SYNOPSIS bool ldm_parse_prt3 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return informat...
ldm_parse_tocblock(9)
NAME ldm_parse_tocblock - Read the LDM Database TOCBLOCK structure SYNOPSIS bool ldm_parse_tocblock (const u8 *data , struct tocblock *toc ); ARGUMENTS data Raw database TOCBLOCK structure loaded from the device toc In-memory toc structure in which to return parsed information DESCRIPTION This...
ldm_parse_vblk(9)
NAME ldm_parse_vblk - Read a raw VBLK object into a vblk structure SYNOPSIS bool ldm_parse_vblk (const u8 *buf , int len , struct vblk *vb ); ARGUMENTS buf Block of data being worked on len Size of the block of data vb In-memory vblk in which to return information DESCRIPTION...
ldm_parse_vmdb(9)
NAME ldm_parse_vmdb - Read the LDM Database VMDB structure SYNOPSIS bool ldm_parse_vmdb (const u8 *data , struct vmdb *vm ); ARGUMENTS data Raw database VMDB structure loaded from the device vm In-memory vmdb structure in which to return parsed information DESCRIPTION This parses the LDM Data...
ldm_parse_vol5(9)
NAME ldm_parse_vol5 - Read a raw VBLK Volume object into a vblk structure SYNOPSIS bool ldm_parse_vol5 (const u8 *buffer , int buflen , struct vblk *vb ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data vb In-memory vblk in which to return information...
ldm_partition(9)
NAME ldm_partition - Find out whether a device is a dynamic disk and handle it SYNOPSIS int ldm_partition (struct parsed_partitions *state ); ARGUMENTS state Partition check state including device holding the LDM Database DESCRIPTION This determines whether the device bdev is a dynamic disk and if so creates t...
ldm_relative(9)
NAME ldm_relative - Calculate the next relative offset SYNOPSIS int ldm_relative (const u8 *buffer , int buflen , int base , int offset ); ARGUMENTS buffer Block of data being worked on buflen Size of the block of data base Size of the previous fixed width fields offset C...
ldm_validate_partition_table(9)
NAME ldm_validate_partition_table - Determine whether bdev might be a dynamic disk SYNOPSIS bool ldm_validate_partition_table (struct parsed_partitions *state ); ARGUMENTS state Partition check state including device holding the LDM Database DESCRIPTION This function provides a weak test to decide wheth...
ldm_validate_privheads(9)
NAME ldm_validate_privheads - Compare the primary privhead with its backups SYNOPSIS bool ldm_validate_privheads (struct parsed_partitions *state , struct privhead *ph1 ); ARGUMENTS state Partition check state including device holding the LDM Database ph1 Memory struct to fill with ph contents ...
ldm_validate_tocblocks(9)
NAME ldm_validate_tocblocks - Validate the table of contents and its backups SYNOPSIS bool ldm_validate_tocblocks (struct parsed_partitions *state , unsigned long base , struct ldmdb *ldb ); ARGUMENTS state Partition check state including device holding the LDM Database base Offset, into state->d...
ldm_validate_vmdb(9)
NAME ldm_validate_vmdb - Read the VMDB and validate it SYNOPSIS bool ldm_validate_vmdb (struct parsed_partitions *state , unsigned long base , struct ldmdb *ldb ); ARGUMENTS state Partition check state including device holding the LDM Database base Offset, into bdev, of the database ldb ...
le16toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(u...
le32toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(ui...
le64toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(ui...
leaf_dealloc(9)
NAME leaf_dealloc - Deallocate a directory leaf SYNOPSIS int leaf_dealloc (struct gfs2_inode *dip , u32 index , u32 len , u64 leaf_no , struct buffer_head *leaf_bh , int last_dealloc ); ARGUMENTS dip the directory index the hash table offset in the directory len the number of poi...
lease_get_mtime(9)
NAME lease_get_mtime - update modified time of an inode with exclusive lease SYNOPSIS void lease_get_mtime (struct inode *inode , struct timespec64 *time ); ARGUMENTS inode the inode time pointer to a timespec which contains the last modified time DESCRIPTION This is to force NFS clients to flus...
lease_none_upgrade(9)
NAME lease_none_upgrade - upgrade lease state from none SYNOPSIS int lease_none_upgrade (struct oplock_info *opinfo , __le32 new_state ); ARGUMENTS opinfo current lease info new_state new lease state RETURN 0 on success, otherwise -EINVAL SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opin...
lease_open_conflict(9)
NAME lease_open_conflict - see if the given file points to an inode that has an existing open that would conflict with the desired lease. SYNOPSIS int lease_open_conflict (struct file *filp , const int arg ); ARGUMENTS filp file to check arg type of lease that we're trying to acquire DESCRIPTI...
lease_read_to_write(9)
NAME lease_read_to_write - upgrade lease state from read to write SYNOPSIS int lease_read_to_write (struct oplock_info *opinfo ); ARGUMENTS opinfo current lease info RETURN 0 on success, otherwise -EINVAL SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opinfo(9), opinfo_write_to_read(9), opinfo_r...
leaveok.3x(3)
NAME clearok, idlok, idcok, immedok, leaveok, setscrreg, wsetscrreg, scrollok - set curses output options SYNOPSIS #include <ncursesw/curses.h> int clearok(WINDOW *win, bool bf); int idlok(WINDOW *win, bool bf); void idcok(WINDOW *win, bool bf); void immedok(WINDOW *win, bool bf); i...
leb_read_lock(9)
NAME leb_read_lock - lock logical eraseblock for reading. SYNOPSIS int leb_read_lock (struct ubi_device *ubi , int vol_id , int lnum ); ARGUMENTS ubi UBI device description object vol_id volume ID lnum logical eraseblock number DESCRIPTION This function locks a logical eraseblock ...
leb_read_sanity_check(9)
NAME leb_read_sanity_check - does sanity checks on read requests. SYNOPSIS int leb_read_sanity_check (struct ubi_volume_desc *desc , int lnum , int offset , int len ); ARGUMENTS desc volume descriptor lnum logical eraseblock number to read from offset offset within the logical erase...
leb_read_unlock(9)
NAME leb_read_unlock - unlock logical eraseblock. SYNOPSIS void leb_read_unlock (struct ubi_device *ubi , int vol_id , int lnum ); ARGUMENTS ubi UBI device description object vol_id volume ID lnum logical eraseblock number SEE ALSO Kernel file ./drivers/mtd/ubi/eba.c struct ubi_...
leb_write_lock(9)
NAME leb_write_lock - lock logical eraseblock for writing. SYNOPSIS int leb_write_lock (struct ubi_device *ubi , int vol_id , int lnum ); ARGUMENTS ubi UBI device description object vol_id volume ID lnum logical eraseblock number DESCRIPTION This function locks a logical erasebloc...
leb_write_trylock(9)
NAME leb_write_trylock - try to lock logical eraseblock for writing. SYNOPSIS int leb_write_trylock (struct ubi_device *ubi , int vol_id , int lnum ); ARGUMENTS ubi UBI device description object vol_id volume ID lnum logical eraseblock number DESCRIPTION This function locks a logi...
leb_write_unlock(9)
NAME leb_write_unlock - unlock logical eraseblock. SYNOPSIS void leb_write_unlock (struct ubi_device *ubi , int vol_id , int lnum ); ARGUMENTS ubi UBI device description object vol_id volume ID lnum logical eraseblock number SEE ALSO Kernel file ./drivers/mtd/ubi/eba.c struct ub...
led_ASP_driver(9)
NAME led_ASP_driver - LED driver for the ASP controller chip SYNOPSIS void led_ASP_driver (unsigned char leds ); ARGUMENTS leds bitmap representing the LED status SEE ALSO Kernel file ./drivers/parisc/led.c lcd_print(9), led_LASI_driver(9), led_LCD_driver(9), lcd_system_halt(9), register_led_driver(9), early_...
led_LASI_driver(9)
NAME led_LASI_driver - LED driver for the LASI controller chip SYNOPSIS void led_LASI_driver (unsigned char leds ); ARGUMENTS leds bitmap representing the LED status SEE ALSO Kernel file ./drivers/parisc/led.c lcd_print(9), led_ASP_driver(9), led_LCD_driver(9), lcd_system_halt(9), register_led_driver(9), earl...
led_LCD_driver(9)
NAME led_LCD_driver - LED & LCD driver for LCD chips SYNOPSIS void led_LCD_driver (unsigned char leds ); ARGUMENTS leds bitmap representing the LED status SEE ALSO Kernel file ./drivers/parisc/led.c lcd_print(9), led_ASP_driver(9), led_LASI_driver(9), lcd_system_halt(9), register_led_driver(9), early_led_init...
led_add_lookup(9)
NAME led_add_lookup - Add a LED lookup table entry SYNOPSIS void led_add_lookup (struct led_lookup_data *led_lookup ); ARGUMENTS led_lookup the lookup table entry to add DESCRIPTION Add a LED lookup table entry. On systems without devicetree the lookup table is used by led_get to find LEDs. SEE ALSO Kernel file ...
led_blink_set(9)
NAME led_blink_set - set blinking with software fallback SYNOPSIS void led_blink_set (struct led_classdev *led_cdev , unsigned long *delay_on , unsigned long *delay_off ); ARGUMENTS led_cdev the LED to start blinking delay_on the time it should be on (in ms) delay_off the time it should ble of...
led_blink_set_nosleep(9)
NAME led_blink_set_nosleep - set blinking, guaranteed to not sleep SYNOPSIS void led_blink_set_nosleep (struct led_classdev *led_cdev , unsigned long delay_on , unsigned long delay_off ); ARGUMENTS led_cdev the LED to start blinking delay_on the time it should be on (in ms) delay_off the time ...
led_blink_set_oneshot(9)
NAME led_blink_set_oneshot - do a oneshot software blink SYNOPSIS void led_blink_set_oneshot (struct led_classdev *led_cdev , unsigned long *delay_on , unsigned long *delay_off , int invert ); ARGUMENTS led_cdev the LED to start blinking delay_on the time it should be on (in ms) delay_off the ...
led_classdev_flash_register_ext(9)
NAME led_classdev_flash_register_ext - register a new object of LED class with init data and with support for flash LEDs SYNOPSIS int led_classdev_flash_register_ext (struct device *parent , struct led_classdev_flash *fled_cdev , struct led_init_data *init_data ); ARGUMENTS parent LED flash controller device thi...
led_classdev_flash_unregister(9)
NAME led_classdev_flash_unregister - unregisters an object of led_classdev class with support for flash LEDs SYNOPSIS void led_classdev_flash_unregister (struct led_classdev_flash *fled_cdev ); ARGUMENTS fled_cdev the flash LED to unregister DESCRIPTION Unregister a previously registered via led_classdev_flash_reg...
led_classdev_multicolor_register_ext(9)
NAME led_classdev_multicolor_register_ext - register a new object of led_classdev class with support for multicolor LEDs SYNOPSIS int led_classdev_multicolor_register_ext (struct device *parent , struct led_classdev_mc *mcled_cdev , struct led_init_data *init_data ); ARGUMENTS parent the multicolor LED to regist...
led_classdev_multicolor_unregister(9)
NAME led_classdev_multicolor_unregister - unregisters an object of led_classdev class with support for multicolor LEDs SYNOPSIS void led_classdev_multicolor_unregister (struct led_classdev_mc *mcled_cdev ); ARGUMENTS mcled_cdev the multicolor LED to unregister DESCRIPTION Unregister a previously registered via led_...
led_classdev_register(9)
NAME led_classdev_register - register a new object of LED class SYNOPSIS int led_classdev_register (struct device *parent , struct led_classdev *led_cdev ); ARGUMENTS parent LED controller device this LED is driven by led_cdev the led_classdev structure for this device DESCRIPTION Register a new obje...
led_classdev_register_ext(9)
NAME led_classdev_register_ext - register a new object of LED class with init data SYNOPSIS int led_classdev_register_ext (struct device *parent , struct led_classdev *led_cdev , struct led_init_data *init_data ); ARGUMENTS parent LED controller device this LED is driven by led_cdev the led_classdev s...
led_classdev_resume(9)
NAME led_classdev_resume - resume an led_classdev. SYNOPSIS void led_classdev_resume (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the led_classdev to resume. SEE ALSO Kernel file ./drivers/leds/led-class.c led_classdev_suspend(9), of_led_get(9), led_put(9), devm_of_led_get(9), led_get(9), devm_led_get(9)...
led_classdev_suspend(9)
NAME led_classdev_suspend - suspend an led_classdev. SYNOPSIS void led_classdev_suspend (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the led_classdev to suspend. SEE ALSO Kernel file ./drivers/leds/led-class.c led_classdev_resume(9), of_led_get(9), led_put(9), devm_of_led_get(9), led_get(9), devm_led_ge...
led_classdev_unregister(9)
NAME led_classdev_unregister - unregisters a object of led_properties class. SYNOPSIS void led_classdev_unregister (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the led device to unregister DESCRIPTION Unregisters a previously registered via led_classdev_register object. SEE ALSO Kernel file ./drivers...
led_compose_name(9)
NAME led_compose_name - compose LED class device name SYNOPSIS int led_compose_name (struct device *dev , struct led_init_data *init_data , char *led_classdev_name ); ARGUMENTS dev LED controller device object init_data the LED class device initialization data led_classdev_name ...
led_get(9)
NAME led_get - request a LED device via the LED framework SYNOPSIS struct led_classdev * led_get (struct device *dev , char *con_id ); ARGUMENTS dev device for which to get the LED device con_id name of the LED from the device's point of view DESCRIPTION return a pointer to a LED device or ERR_P...
led_get_color_name(9)
NAME led_get_color_name - get string representation of color ID SYNOPSIS const char * led_get_color_name (u8 color_id ); ARGUMENTS color_id The LED_COLOR_ID_* constant DESCRIPTION Get the string name of a LED_COLOR_ID_* constant. RETURN A string constant or NULL on an invalid ID. SEE ALSO Kernel file ./inclu...
led_get_default_pattern(9)
NAME led_get_default_pattern - return default pattern SYNOPSIS u32 * led_get_default_pattern (struct led_classdev *led_cdev , unsigned int *size ); ARGUMENTS led_cdev the LED to get default pattern for size pointer for storing the number of elements in returned array, modified only if return != NULL...
led_get_flash_fault(9)
NAME led_get_flash_fault - get the flash LED fault SYNOPSIS int led_get_flash_fault (struct led_classdev_flash *fled_cdev , u32 *fault ); ARGUMENTS fled_cdev the flash LED to query fault bitmask containing flash faults DESCRIPTION Get the flash LED fault. RETURN 0 on success or negative error value ...
led_get_flash_strobe(9)
NAME led_get_flash_strobe - get flash strobe status SYNOPSIS int led_get_flash_strobe (struct led_classdev_flash *fled_cdev , bool *state ); ARGUMENTS fled_cdev the flash LED to query state 1 - flash is strobing, 0 - flash is off DESCRIPTION Check whether the flash is strobing at the moment. RETURN ...
led_mc_set_brightness(9)
NAME led_mc_set_brightness - set mc LED color intensity values and brightness SYNOPSIS void led_mc_set_brightness (struct led_classdev *led_cdev , unsigned int *intensity_value , unsigned int num_colors , unsigned int brightness ); ARGUMENTS led_cdev the LED to set intensity_value array ...
led_put(9)
NAME led_put - release a LED device SYNOPSIS void led_put (struct led_classdev *led_cdev ); ARGUMENTS led_cdev LED device SEE ALSO Kernel file ./drivers/leds/led-class.c led_classdev_suspend(9), led_classdev_resume(9), of_led_get(9), devm_of_led_get(9), led_get(9), devm_led_get(9), led_add_lookup(9), led_remove_l...
led_remove_lookup(9)
NAME led_remove_lookup - Remove a LED lookup table entry SYNOPSIS void led_remove_lookup (struct led_lookup_data *led_lookup ); ARGUMENTS led_lookup the lookup table entry to remove SEE ALSO Kernel file ./drivers/leds/led-class.c led_classdev_suspend(9), led_classdev_resume(9), of_led_get(9), led_put(9), dev...
led_set_brightness(9)
NAME led_set_brightness - set LED brightness SYNOPSIS void led_set_brightness (struct led_classdev *led_cdev , unsigned int brightness ); ARGUMENTS led_cdev the LED to set brightness the brightness to set it to DESCRIPTION Set an LED's brightness, and, if necessary, cancel the software blink timer that i...
led_set_brightness_sync(9)
NAME led_set_brightness_sync - set LED brightness synchronously SYNOPSIS int led_set_brightness_sync (struct led_classdev *led_cdev , unsigned int value ); ARGUMENTS led_cdev the LED to set value the brightness to set it to DESCRIPTION Set an LED's brightness immediately. This function will block th...
led_set_flash_brightness(9)
NAME led_set_flash_brightness - set flash LED brightness SYNOPSIS int led_set_flash_brightness (struct led_classdev_flash *fled_cdev , u32 brightness ); ARGUMENTS fled_cdev the flash LED to set brightness the brightness to set it to DESCRIPTION Set a flash LED's brightness. RETURN 0 on success or negativ...
led_set_flash_duration(9)
NAME led_set_flash_duration - set flash LED duration SYNOPSIS int led_set_flash_duration (struct led_classdev_flash *fled_cdev , u32 duration ); ARGUMENTS fled_cdev the flash LED to set duration -- undescribed -- DESCRIPTION Set the flash strobe duration. RETURN 0 on success or negative error value on ...
led_set_flash_strobe(9)
NAME led_set_flash_strobe - setup flash strobe SYNOPSIS int led_set_flash_strobe (struct led_classdev_flash *fled_cdev , bool state ); ARGUMENTS fled_cdev the flash LED to set strobe on state 1 - strobe flash, 0 - stop flash strobe DESCRIPTION Strobe the flash LED. RETURN 0 on success or negative er...
led_set_flash_timeout(9)
NAME led_set_flash_timeout - set flash LED timeout SYNOPSIS int led_set_flash_timeout (struct led_classdev_flash *fled_cdev , u32 timeout ); ARGUMENTS fled_cdev the flash LED to set timeout the flash timeout to set it to DESCRIPTION Set the flash strobe timeout. RETURN 0 on success or negative error v...
led_sysfs_disable(9)
NAME led_sysfs_disable - disable LED sysfs interface SYNOPSIS void led_sysfs_disable (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the LED to set DESCRIPTION Disable the led_cdev's sysfs interface. SEE ALSO Kernel file ./include/linux/leds.h struct led_lookup_data(9), led_classdev_register_ext(9), ...
led_sysfs_enable(9)
NAME led_sysfs_enable - enable LED sysfs interface SYNOPSIS void led_sysfs_enable (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the LED to set DESCRIPTION Enable the led_cdev's sysfs interface. SEE ALSO Kernel file ./include/linux/leds.h struct led_lookup_data(9), led_classdev_register_ext(9), led_...
led_sysfs_is_disabled(9)
NAME led_sysfs_is_disabled - check if LED sysfs interface is disabled SYNOPSIS bool led_sysfs_is_disabled (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the LED to query RETURN true if the led_cdev's sysfs interface is disabled. SEE ALSO Kernel file ./include/linux/leds.h struct led_lookup_data(9), l...
led_update_brightness(9)
NAME led_update_brightness - update LED brightness SYNOPSIS int led_update_brightness (struct led_classdev *led_cdev ); ARGUMENTS led_cdev the LED to query DESCRIPTION Get an LED's current brightness and update led_cdev->brightness member with the obtained value. RETURN 0 on success or negative error value on fa...
led_update_flash_brightness(9)
NAME led_update_flash_brightness - update flash LED brightness SYNOPSIS int led_update_flash_brightness (struct led_classdev_flash *fled_cdev ); ARGUMENTS fled_cdev the flash LED to query DESCRIPTION Get a flash LED's current brightness and update led_flash->brightness member with the obtained value. RETURN 0 on ...
ledtrig_cpu(9)
NAME ledtrig_cpu - emit a CPU event as a trigger SYNOPSIS void ledtrig_cpu (enum cpu_led_event ledevt ); ARGUMENTS ledevt CPU event to be emitted DESCRIPTION Emit a CPU event on a CPU core, which will trigger a bound LED to turn on or turn off. SEE ALSO Kernel file ./drivers/leds/trigger/ledtrig-cpu.c April 2...
left_znode(9)
NAME left_znode - get the znode to the left. SYNOPSIS struct ubifs_znode * left_znode (struct ubifs_info *c , struct ubifs_znode *znode ); ARGUMENTS c UBIFS file-system description object znode znode DESCRIPTION This function returns a pointer to the znode to the left of znode or NULL if ther...
legacy_check_special_cases(9)
NAME legacy_check_special_cases - ATA special cases SYNOPSIS void legacy_check_special_cases (struct pci_dev *p , int *primary , int *secondary ); ARGUMENTS p PCI device to check primary set this if we find an ATA master secondary set this if we find an ATA secondary DESCRIPTION A sm...
legacy_coding.3x(3)
NAME use_legacy_coding - override curses locale encoding checks SYNOPSIS #include <ncursesw/curses.h> int use_legacy_coding(int level); DESCRIPTION use_legacy_coding is an extension to the curses library. It allows the caller to change the result of unctrl(3X), suppressing isprint(3)-based checks within the ...
legacy_init(9)
NAME legacy_init - attach legacy interfaces SYNOPSIS int legacy_init (void ); ARGUMENTS void no arguments DESCRIPTION Attach legacy IDE interfaces by scanning the usual IRQ/port suspects. Right now we do not scan the ide0 and ide1 address but should do so for non PCI systems or systems with no PCI IDE leg...
legacy_init_one(9)
NAME legacy_init_one - attach a legacy interface SYNOPSIS int legacy_init_one (struct legacy_probe *probe ); ARGUMENTS probe probe record DESCRIPTION Register an ISA bus IDE interface. Such interfaces are PIO and we assume do not support IRQ sharing. SEE ALSO Kernel file ./drivers/ata/pata_legacy.c legacy_pro...
legacy_probe_add(9)
NAME legacy_probe_add - Add interface to probe list SYNOPSIS int legacy_probe_add (unsigned long port , unsigned int irq , enum controller type , unsigned long private ); ARGUMENTS port Controller port irq IRQ number type Controller type private Controller specific in...
legacy_set_mode(9)
NAME legacy_set_mode - mode setting SYNOPSIS int legacy_set_mode (struct ata_link *link , struct ata_device **unused ); ARGUMENTS link IDE link unused Device that failed when error is returned DESCRIPTION Use a non standard set_mode function. We don't want to be tuned. The BIOS configured ever...
legacy_suspend(9)
NAME legacy_suspend - Execute a legacy (bus or class) suspend callback for device. SYNOPSIS int legacy_suspend (struct device *dev , pm_message_t state , int (*cb)(struct device *dev, pm_message_t state) , const char *info ); ARGUMENTS dev Device to suspend. state PM transition of the system bei...
legacy_timer_tick(9)
NAME legacy_timer_tick - advances the timekeeping infrastructure SYNOPSIS void legacy_timer_tick (unsigned long ticks ); ARGUMENTS ticks number of ticks, that have elapsed since the last call. DESCRIPTION This is used by platforms that have not been converted to generic clockevents. If 'ticks' is zero, the...
leo_blank(9)
NAME leo_blank - Optional function. Blanks the display. SYNOPSIS int leo_blank (int blank , struct fb_info *info ); ARGUMENTS blank the blank mode we want. info frame buffer structure that represents a single frame buffer SEE ALSO Kernel file ./drivers/video/fbdev/leo.c leo_setcolreg(9) April 2...
leo_setcolreg(9)
NAME leo_setcolreg - Optional function. Sets a color register. SYNOPSIS int leo_setcolreg (unsigned regno , unsigned red , unsigned green , unsigned blue , unsigned transp , struct fb_info *info ); ARGUMENTS regno boolean, 0 copy local, 1 get_user function red frame buffer colormap structure ...
less(1)
NAME less - display the contents of a file in a terminal SYNOPSIS less -? less --help less -V less --version less [-[+]aABcCdeEfFgGiIJKLmMnNqQrRsSuUVwWX~] [-b space] [-h lines] [-j line] [-k keyfile] [-{oO} logfile] [-p pattern] [-P prompt] [-t tag] [-T tagsfile] [-x tab,...] [-y lines] [-[z] lines] [-# shift] [+[+]cm...
lessecho(1)
NAME lessecho - expand metacharacters SYNOPSIS lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ... DESCRIPTION lessecho is a program that simply echos its arguments on standard output. But any metacharacter in the output is preceded by an "escape" character, which by default is a backslash. lessec...
lesskey(1)
NAME lesskey - customize key bindings for less SYNOPSIS (deprecated) lesskey [-o output] [--] [input] lesskey [--output=output] [--] [input] lesskey -V lesskey --version SCOPE This document describes the format of the lesskey source file, which is used by less version 582 and later. In previous versions of less, a s...
lex(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME lex — generate programs for lexical tasks (DEVELOPMENT) S...