id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sem_close(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 sem_close — close a named semaphore
SYNOPSIS #include <semapho... |
sem_destroy(3) | NAME sem_destroy - destroy an unnamed semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_destroy(sem_t *sem);
DESCRIPTION sem_destroy() destroys the unnamed semaphore at the address pointed to by sem.
Only a semaphore that has been initialized by s... |
sem_destroy(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 sem_destroy — destroy an unnamed semaphore
SYNOPSIS #include <... |
sem_getvalue(3) | NAME sem_getvalue - get the value of a semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_getvalue(sem_t *restrict sem, int *restrict sval);
DESCRIPTION sem_getvalue() places the current value of the semaphore pointed to sem into the integer pointed to by ... |
sem_getvalue(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 sem_getvalue — get the value of a semaphore
SYNOPSIS #include ... |
sem_init(3) | NAME sem_init - initialize an unnamed semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_init(sem_t *sem, int pshared, unsigned int value);
DESCRIPTION sem_init() initializes the unnamed semaphore at the address pointed to by sem. The value argument speci... |
sem_init(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 sem_init — initialize an unnamed semaphore
SYNOPSIS #include <... |
sem_open(3) | NAME sem_open - initialize and open a named semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <fcntl.h> /* For O_* constants */ #include <sys/stat.h> /* For mode constants */ #include <semaphore.h>
sem_t *sem_open(const char *name, int oflag, ...
... |
sem_open(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 sem_open — initialize and open a named semaphore
SYNOPSIS #inc... |
sem_overview(7) | NAME sem_overview - overview of POSIX semaphores
DESCRIPTION POSIX semaphores allow processes and threads to synchronize their actions.
A semaphore is an integer whose value is never allowed to fall below zero. Two operations can be performed on semaphores: increment the semaphore value by one (sem_post... |
sem_post(3) | NAME sem_post - unlock a semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_post(sem_t *sem);
DESCRIPTION sem_post() increments (unlocks) the semaphore pointed to by sem. If the semaphore's value consequently becomes greater than zero, then another pr... |
sem_post(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 sem_post — unlock a semaphore
SYNOPSIS #include <semaphore.h>
... |
sem_timedwait(3) | NAME sem_wait, sem_timedwait, sem_trywait - lock a semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_wait(sem_t *sem);
int sem_trywait(sem_t *sem);
int sem_timedwait(sem_t *restrict sem,
const struct timespec *restric... |
sem_timedwait(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 sem_timedwait — lock a semaphore
SYNOPSIS #include <semaphore.... |
sem_trywait(3) | NAME sem_wait, sem_timedwait, sem_trywait - lock a semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_wait(sem_t *sem);
int sem_trywait(sem_t *sem);
int sem_timedwait(sem_t *restrict sem,
const struct timespec *restric... |
sem_trywait(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 sem_trywait, sem_wait — lock a semaphore
SYNOPSIS #include <se... |
sem_unlink(3) | NAME sem_unlink - remove a named semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_unlink(const char *name);
DESCRIPTION sem_unlink() removes the named semaphore referred to by name. The semaphore name is removed immediately. The semaphore is destroyed ... |
sem_unlink(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 sem_unlink — remove a named semaphore
SYNOPSIS #include <semap... |
sem_wait(3) | NAME sem_wait, sem_timedwait, sem_trywait - lock a semaphore
LIBRARY POSIX threads library (libpthread, -lpthread)
SYNOPSIS #include <semaphore.h>
int sem_wait(sem_t *sem);
int sem_trywait(sem_t *sem);
int sem_timedwait(sem_t *restrict sem,
const struct timespec *restric... |
sem_wait(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 sem_wait — lock a semaphore
SYNOPSIS #include <semaphore.h>
... |
semaphore.h(0p) | 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 semaphore.h — semaphores
SYNOPSIS #include <semaphore.h>
DESC... |
semctl(2) | NAME semctl - System V semaphore control operations
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sem.h>
int semctl(int semid, int semnum, int op, ...);
DESCRIPTION semctl() performs the control operation specified by op on the System V semaphore set identified by semid, or on the semnum-th s... |
semctl(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 semctl — XSI semaphore control operations
SYNOPSIS #include <s... |
semget(2) | NAME semget - get a System V semaphore set identifier
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sem.h>
int semget(key_t key, int nsems, int semflg);
DESCRIPTION The semget() system call returns the System V semaphore set identifier associated with the argument key. It may be used eith... |
semget(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 semget — get set of XSI semaphores
SYNOPSIS #include <sys/sem.... |
semop(2) | NAME semop, semtimedop - System V semaphore operations
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sem.h>
int semop(int semid, struct sembuf *sops, size_t nsops);
int semtimedop(int semid, struct sembuf *sops, size_t nsops,
const struct timespec *_Nullable timeou... |
semop(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 semop — XSI semaphore operations
SYNOPSIS #include <sys/sem.h>... |
semtimedop(2) | NAME semop, semtimedop - System V semaphore operations
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sem.h>
int semop(int semid, struct sembuf *sops, size_t nsops);
int semtimedop(int semid, struct sembuf *sops, size_t nsops,
const struct timespec *_Nullable timeou... |
send(2) | NAME send, sendto, sendmsg - send a message on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/socket.h>
ssize_t send(size_t size;
int sockfd, const void buf[size], size_t size, int flags);
ssize_t sendto(size_t size;
int sockfd, const ... |
send(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 send — send a message on a socket
SYNOPSIS #include <sys/socke... |
send_bio_to_device(9) | NAME send_bio_to_device - Update stats and tracing info, then submit the supplied bio to the OS for processing.
SYNOPSIS void send_bio_to_device (struct vio *vio , struct bio *bio );
ARGUMENTS vio The vio associated with the bio.
bio The bio to submit to the OS.
SEE ALSO Kernel file ./drive... |
send_break(9) | NAME send_break - performed time break
SYNOPSIS int send_break (struct tty_struct *tty , unsigned int duration );
ARGUMENTS tty device to break on
duration timeout in mS
DESCRIPTION Perform a timed break on hardware that lacks its own driver level timed break functionality. Locking: tty->atomic_w... |
send_command(9) | NAME send_command - Send a byte sequence and return a single byte reply.
SYNOPSIS int send_command (struct gpib_board *board , char *msg , int leng );
ARGUMENTS board the gpib_board_struct data area for this gpib interface
msg the byte sequence.
leng the byte sequence length; can ... |
send_ext_msg_udp(9) | NAME send_ext_msg_udp - send extended log message to target
SYNOPSIS void send_ext_msg_udp (struct netconsole_target *nt , struct nbcon_write_context *wctxt );
ARGUMENTS nt target to send message to
wctxt nbcon write context containing message and metadata
DESCRIPTION Transfer extended log mes... |
send_io_resp_imm(9) | NAME send_io_resp_imm - respond to client with empty IMM on failed READ/WRITE requests or on successful WRITE request.
SYNOPSIS int send_io_resp_imm (struct rtrs_srv_con *con , struct rtrs_srv_op *id , int errno );
ARGUMENTS con the connection to send back result
id the id associated with the... |
send_mad_adapter_info(9) | NAME send_mad_adapter_info - - Sends the mad adapter info request and stores the result so it can be retrieved with sysfs. We COULD consider causing a failure if the returned SRP version doesn't match ours.
SYNOPSIS void send_mad_adapter_info (struct ibmvscsi_host_data *hostdata );
ARGUMENTS hostdata ibmvscsi_host... |
send_mad_capabilities(9) | NAME send_mad_capabilities - - Sends the mad capabilities request and stores the result so it can be retrieved with
SYNOPSIS void send_mad_capabilities (struct ibmvscsi_host_data *hostdata );
ARGUMENTS hostdata ibmvscsi_host_data of host
SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvscsi.c ibmvscsi_ha... |
send_msg_to_mgmt(9) | NAME send_msg_to_mgmt - send message to mgmt by API CMD
SYNOPSIS int send_msg_to_mgmt (struct hinic_pf_to_mgmt *pf_to_mgmt , enum hinic_mod_type mod , u8 cmd , u8 *data , u16 data_len , enum msg_ack_type ack_type , enum mgmt_direction_type direction , u16 resp_msg_id );
ARGUMENTS pf_to_mgmt PF to MGMT channel
... |
send_nic_timestamp_pkt(9) | NAME send_nic_timestamp_pkt - Send a data packet that will be timestamped
SYNOPSIS int send_nic_timestamp_pkt (struct octeon_device *oct , struct octnic_data_pkt *ndata , struct octnet_buf_free_info *finfo , int xmit_more );
ARGUMENTS oct octeon device
ndata pointer to network data
finfo... |
send_packet(9) | NAME send_packet - send packet
SYNOPSIS void send_packet (struct sk_buff *skb , struct net_device *dev );
ARGUMENTS skb Socket buffer.
dev Network device.
DESCRIPTION This routine is used to send a packet out to the network.
SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c str... |
send_request_init(9) | NAME send_request_init - Enqueue caller request to crypto hardware during init process. Assume this function is not called in the middle of a flow, since we set QUEUE_LAST_IND flag in the last descriptor.
SYNOPSIS int send_request_init (struct cc_drvdata *drvdata , struct cc_hw_desc *desc , unsigned int len );
ARGUME... |
send_rx_ctrl_cmd(9) | NAME send_rx_ctrl_cmd - Send Rx control command
SYNOPSIS int send_rx_ctrl_cmd (struct lio *lio , int start_stop );
ARGUMENTS lio per-network private data
start_stop whether to start or stop
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), clea... |
send_srp_login(9) | NAME send_srp_login - - Sends the srp login
SYNOPSIS int send_srp_login (struct ibmvscsi_host_data *hostdata );
ARGUMENTS hostdata ibmvscsi_host_data of host
DESCRIPTION Returns zero if successful.
SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvscsi.c ibmvscsi_handle_event(9), ibmvscsi_release_crq_... |
send_udp(9) | NAME send_udp - Wrapper for netpoll_send_udp that counts errors
SYNOPSIS void send_udp (struct netconsole_target *nt , const char *msg , int len );
ARGUMENTS nt target to send message to
msg message to send
len length of message
DESCRIPTION Calls netpoll_send_udp and classifi... |
sendfile(2) | NAME sendfile - transfer data between file descriptors
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sendfile.h>
ssize_t sendfile(int out_fd, int in_fd, off_t *_Nullable offset,
size_t count);
DESCRIPTION sendfile() copies data between one file descriptor and anoth... |
sendfile64(2) | NAME sendfile - transfer data between file descriptors
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/sendfile.h>
ssize_t sendfile(int out_fd, int in_fd, off_t *_Nullable offset,
size_t count);
DESCRIPTION sendfile() copies data between one file descriptor and anoth... |
sendmmsg(2) | NAME sendmmsg - send multiple messages on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sys/socket.h>
int sendmmsg(unsigned int n;
int sockfd, struct mmsghdr msgvec[n], unsigned int n,
int... |
sendmsg(2) | NAME send, sendto, sendmsg - send a message on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/socket.h>
ssize_t send(size_t size;
int sockfd, const void buf[size], size_t size, int flags);
ssize_t sendto(size_t size;
int sockfd, const ... |
sendmsg(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 sendmsg — send a message on a socket using a message structure
... |
sendto(2) | NAME send, sendto, sendmsg - send a message on a socket
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/socket.h>
ssize_t send(size_t size;
int sockfd, const void buf[size], size_t size, int flags);
ssize_t sendto(size_t size;
int sockfd, const ... |
sendto(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 sendto — send a message on a socket
SYNOPSIS #include <sys/soc... |
sensor_hub_device_close(9) | NAME sensor_hub_device_close - Close hub device
SYNOPSIS void sensor_hub_device_close (struct hid_sensor_hub_device *hsdev );
ARGUMENTS hsdev Hub device instance.
DESCRIPTION Used to close hid device for sensor hub.
SEE ALSO Kernel file ./include/linux/hid-sensor-hub.h struct hid_sensor_hub_attribute_info... |
sensor_hub_device_open(9) | NAME sensor_hub_device_open - Open hub device
SYNOPSIS int sensor_hub_device_open (struct hid_sensor_hub_device *hsdev );
ARGUMENTS hsdev Hub device instance.
DESCRIPTION Used to open hid device for sensor hub.
SEE ALSO Kernel file ./include/linux/hid-sensor-hub.h struct hid_sensor_hub_attribute_info(9), ... |
sensor_hub_get_feature(9) | NAME sensor_hub_get_feature - Feature get request
SYNOPSIS int sensor_hub_get_feature (struct hid_sensor_hub_device *hsdev , u32 report_id , u32 field_index , int buffer_size , void *buffer );
ARGUMENTS hsdev Hub device instance.
report_id Report id to look for
field_index Field index inside a... |
sensor_hub_input_get_attribute_info(9) | NAME sensor_hub_input_get_attribute_info - Get an attribute information
SYNOPSIS int sensor_hub_input_get_attribute_info (struct hid_sensor_hub_device *hsdev , u8 type , u32 usage_id , u32 attr_usage_id , struct hid_sensor_hub_attribute_info *info );
ARGUMENTS hsdev Hub device instance.
type Type... |
sensor_hub_register_callback(9) | NAME sensor_hub_register_callback - Register client callbacks
SYNOPSIS int sensor_hub_register_callback (struct hid_sensor_hub_device *hsdev , u32 usage_id , struct hid_sensor_hub_callbacks *usage_callback );
ARGUMENTS hsdev Hub device instance.
usage_id Usage id of the client (E.g. 0x200076 for Gyro... |
sensor_hub_remove_callback(9) | NAME sensor_hub_remove_callback - Remove client callback
SYNOPSIS int sensor_hub_remove_callback (struct hid_sensor_hub_device *hsdev , u32 usage_id );
ARGUMENTS hsdev Hub device instance.
usage_id Usage id of the client (e.g. 0x200076 for gyro).
DESCRIPTION Removes a previously registered callback ... |
sensor_hub_set_feature(9) | NAME sensor_hub_set_feature - Feature set request
SYNOPSIS int sensor_hub_set_feature (struct hid_sensor_hub_device *hsdev , u32 report_id , u32 field_index , int buffer_size , void *buffer );
ARGUMENTS hsdev Hub device instance.
report_id Report id to look for
field_index Field index inside a... |
seq(1) | NAME seq - print a sequence of numbers
SYNOPSIS seq [OPTION]... LAST seq [OPTION]... FIRST LAST seq [OPTION]... FIRST INCREMENT LAST
DESCRIPTION Print numbers from FIRST to LAST, in steps of INCREMENT.
Mandatory arguments to long options are mandatory for short options too.
-f, --format=FORMAT
... |
seq_buf_bprintf(9) | NAME seq_buf_bprintf - Write the printf string from binary arguments
SYNOPSIS int seq_buf_bprintf (struct seq_buf *s , const char *fmt , const u32 *binary );
ARGUMENTS s seq_buf descriptor
fmt The format string for the binary arguments
binary The binary arguments for fmt.
DESCR... |
seq_buf_can_fit(9) | NAME seq_buf_can_fit - can the new data fit in the current buffer?
SYNOPSIS bool seq_buf_can_fit (struct seq_buf *s , size_t len );
ARGUMENTS s the seq_buf descriptor
len The length to see if it can fit in the current buffer
RETURN true if there's enough unused space in the seq_buf buffer t... |
seq_buf_commit(9) | NAME seq_buf_commit - commit data to the buffer
SYNOPSIS void seq_buf_commit (struct seq_buf *s , int num );
ARGUMENTS s the seq_buf handle
num the number of bytes to commit
DESCRIPTION Commit num bytes of data written to a buffer previously acquired by seq_buf_get_buf. To signal an error c... |
seq_buf_do_printk(9) | NAME seq_buf_do_printk - printk() seq_buf line by line
SYNOPSIS void seq_buf_do_printk (struct seq_buf *s , const char *lvl );
ARGUMENTS s seq_buf descriptor
lvl printk level
DESCRIPTION printk-s a multi-line sequential buffer line by line. The function makes sure that the buffer in s is NU... |
seq_buf_get_buf(9) | NAME seq_buf_get_buf - get buffer to write arbitrary data to
SYNOPSIS size_t seq_buf_get_buf (struct seq_buf *s , char **bufp );
ARGUMENTS s the seq_buf handle
bufp the beginning of the buffer is stored here
RETURN the number of bytes available in the buffer, or zero if there's no space.
SE... |
seq_buf_hex_dump(9) | NAME seq_buf_hex_dump - print formatted hex dump into the sequence buffer
SYNOPSIS int seq_buf_hex_dump (struct seq_buf *s , const char *prefix_str , int prefix_type , int rowsize , int groupsize , const void *buf , size_t len , bool ascii );
ARGUMENTS s seq_buf descriptor
prefix_str string to pref... |
seq_buf_path(9) | NAME seq_buf_path - copy a path into the sequence buffer
SYNOPSIS int seq_buf_path (struct seq_buf *s , const struct path *path , const char *esc );
ARGUMENTS s seq_buf descriptor
path path to write into the sequence buffer.
esc set of characters to escape in the output
DESCR... |
seq_buf_pop(9) | NAME seq_buf_pop - pop off the last written character
SYNOPSIS int seq_buf_pop (struct seq_buf *s );
ARGUMENTS s the seq_buf handle
DESCRIPTION Removes the last written character to the seq_buf s. Returns the last character or -1 if it is empty.
SEE ALSO Kernel file ./include/linux/seq_buf.h struct seq_b... |
seq_buf_print_seq(9) | NAME seq_buf_print_seq - move the contents of seq_buf into a seq_file
SYNOPSIS int seq_buf_print_seq (struct seq_file *m , struct seq_buf *s );
ARGUMENTS m the seq_file descriptor that is the destination
s the seq_buf descriptor that is the source.
RETURN zero on success, non-zero otherwi... |
seq_buf_printf(9) | NAME seq_buf_printf - sequence printing of information
SYNOPSIS int seq_buf_printf (struct seq_buf *s , const char *fmt , ... );
ARGUMENTS s seq_buf descriptor
fmt printf format string
... variable arguments
DESCRIPTION Writes a printf format into the sequence buffer.
RETUR... |
seq_buf_putc(9) | NAME seq_buf_putc - sequence printing of simple character
SYNOPSIS int seq_buf_putc (struct seq_buf *s , unsigned char c );
ARGUMENTS s seq_buf descriptor
c simple character to record
DESCRIPTION Copy a single character into the sequence buffer.
RETURN zero on success, -1 on overflow.
S... |
seq_buf_putmem(9) | NAME seq_buf_putmem - write raw data into the sequence buffer
SYNOPSIS int seq_buf_putmem (struct seq_buf *s , const void *mem , unsigned int len );
ARGUMENTS s seq_buf descriptor
mem The raw memory to copy into the buffer
len The length of the raw memory to copy (in bytes)
... |
seq_buf_putmem_hex(9) | NAME seq_buf_putmem_hex - write raw memory into the buffer in ASCII hex
SYNOPSIS int seq_buf_putmem_hex (struct seq_buf *s , const void *mem , unsigned int len );
ARGUMENTS s seq_buf descriptor
mem The raw memory to write its hex ASCII representation of
len The length of the ... |
seq_buf_puts(9) | NAME seq_buf_puts - sequence printing of simple string
SYNOPSIS int seq_buf_puts (struct seq_buf *s , const char *str );
ARGUMENTS s seq_buf descriptor
str simple string to record
DESCRIPTION Copy a simple string into the sequence buffer.
RETURN zero on success, -1 on overflow.
SEE ALSO K... |
seq_buf_str(9) | NAME seq_buf_str - get NUL-terminated C string from seq_buf
SYNOPSIS const char * seq_buf_str (struct seq_buf *s );
ARGUMENTS s the seq_buf handle
DESCRIPTION This makes sure that the buffer in s is NUL-terminated and safe to read as a string. Note, if this is called when the buffer has overflowed, then t... |
seq_buf_to_user(9) | NAME seq_buf_to_user - copy the sequence buffer to user space
SYNOPSIS int seq_buf_to_user (struct seq_buf *s , char __user *ubuf , size_t start , int cnt );
ARGUMENTS s seq_buf descriptor
ubuf The userspace memory location to copy to
start The first byte in the buffer to copy
... |
seq_buf_vprintf(9) | NAME seq_buf_vprintf - sequence printing of information.
SYNOPSIS int seq_buf_vprintf (struct seq_buf *s , const char *fmt , va_list args );
ARGUMENTS s seq_buf descriptor
fmt printf format string
args va_list of arguments from a printf type function
DESCRIPTION Writes a vnpr... |
seq_commit(9) | NAME seq_commit - commit data to the buffer
SYNOPSIS void seq_commit (struct seq_file *m , int num );
ARGUMENTS m the seq_file handle
num the number of bytes to commit
DESCRIPTION Commit num bytes of data written to a buffer previously acquired by seq_buf_get. To signal an error condition,... |
seq_escape(9) | NAME seq_escape - print string into buffer, escaping some characters
SYNOPSIS void seq_escape (struct seq_file *m , const char *s , const char *esc );
ARGUMENTS m target buffer
s NULL-terminated string
esc set of characters that need escaping
DESCRIPTION Puts string into b... |
seq_escape_mem(9) | NAME seq_escape_mem - print data into buffer, escaping some characters
SYNOPSIS void seq_escape_mem (struct seq_file *m , const char *src , size_t len , unsigned int flags , const char *esc );
ARGUMENTS m target buffer
src source buffer
len size of source buffer
flags... |
seq_file_path(9) | NAME seq_file_path - seq_file interface to print a pathname of a file
SYNOPSIS int seq_file_path (struct seq_file *m , struct file *file , const char *esc );
ARGUMENTS m the seq_file handle
file the struct file to print
esc set of characters to escape in the output
DESCRIPTIO... |
seq_get_buf(9) | NAME seq_get_buf - get buffer to write arbitrary data to
SYNOPSIS size_t seq_get_buf (struct seq_file *m , char **bufp );
ARGUMENTS m the seq_file handle
bufp the beginning of the buffer is stored here
DESCRIPTION Return the number of bytes available in the buffer, or zero if there's no spac... |
seq_has_overflowed(9) | NAME seq_has_overflowed - check if the buffer has overflowed
SYNOPSIS bool seq_has_overflowed (struct seq_file *m );
ARGUMENTS m the seq_file handle
DESCRIPTION seq_files have a buffer which may overflow. When this happens a larger buffer is reallocated and all the data will be printed again. The overf... |
seq_hlist_next(9) | NAME seq_hlist_next - move to the next position of the hlist
SYNOPSIS struct hlist_node * seq_hlist_next (void *v , struct hlist_head *head , loff_t *ppos );
ARGUMENTS v the current iterator
head the head of the hlist
ppos the current position
DESCRIPTION Called at seq_file->o... |
seq_hlist_next_percpu(9) | NAME seq_hlist_next_percpu - move to the next position of the percpu hlist array
SYNOPSIS struct hlist_node * seq_hlist_next_percpu (void *v , struct hlist_head __percpu *head , int *cpu , loff_t *pos );
ARGUMENTS v pointer to current hlist_node
head pointer to percpu array of struct hlist_he... |
seq_hlist_next_rcu(9) | NAME seq_hlist_next_rcu - move to the next position of the hlist protected by RCU
SYNOPSIS struct hlist_node * seq_hlist_next_rcu (void *v , struct hlist_head *head , loff_t *ppos );
ARGUMENTS v the current iterator
head the head of the hlist
ppos the current position
DESCRIPT... |
seq_hlist_start(9) | NAME seq_hlist_start - start an iteration of a hlist
SYNOPSIS struct hlist_node * seq_hlist_start (struct hlist_head *head , loff_t pos );
ARGUMENTS head the head of the hlist
pos the start position of the sequence
DESCRIPTION Called at seq_file->op->start.
SEE ALSO Kernel file ./fs/seq_fil... |
seq_hlist_start_head(9) | NAME seq_hlist_start_head - start an iteration of a hlist
SYNOPSIS struct hlist_node * seq_hlist_start_head (struct hlist_head *head , loff_t pos );
ARGUMENTS head the head of the hlist
pos the start position of the sequence
DESCRIPTION Called at seq_file->op->start. Call this function if you ... |
seq_hlist_start_head_rcu(9) | NAME seq_hlist_start_head_rcu - start an iteration of a hlist protected by RCU
SYNOPSIS struct hlist_node * seq_hlist_start_head_rcu (struct hlist_head *head , loff_t pos );
ARGUMENTS head the head of the hlist
pos the start position of the sequence
DESCRIPTION Called at seq_file->op->start.... |
seq_hlist_start_percpu(9) | NAME seq_hlist_start_percpu - start an iteration of a percpu hlist array
SYNOPSIS struct hlist_node * seq_hlist_start_percpu (struct hlist_head __percpu *head , int *cpu , loff_t pos );
ARGUMENTS head pointer to percpu array of struct hlist_heads
cpu pointer to cpu "cursor"
pos ... |
seq_hlist_start_rcu(9) | NAME seq_hlist_start_rcu - start an iteration of a hlist protected by RCU
SYNOPSIS struct hlist_node * seq_hlist_start_rcu (struct hlist_head *head , loff_t pos );
ARGUMENTS head the head of the hlist
pos the start position of the sequence
DESCRIPTION Called at seq_file->op->start. This list-... |
seq_lseek(9) | NAME seq_lseek - ->llseek() method for sequential files.
SYNOPSIS loff_t seq_lseek (struct file *file , loff_t offset , int whence );
ARGUMENTS file the file in question
offset new position
whence 0 for absolute, 1 for relative position
DESCRIPTION Ready-made ->f_op->llseek
SEE ALSO... |
seq_open(9) | NAME seq_open - initialize sequential file
SYNOPSIS int seq_open (struct file *file , const struct seq_operations *op );
ARGUMENTS file file we initialize
op method table describing the sequence
DESCRIPTION seq_open sets file, associating it with a sequence described by op. op->start ... |
seq_pad(9) | NAME seq_pad - write padding spaces to buffer
SYNOPSIS void seq_pad (struct seq_file *m , char c );
ARGUMENTS m seq_file identifying the buffer to which data should be written
c the byte to append after padding if non-zero
SEE ALSO Kernel file ./fs/seq_file.c seq_open(9), seq_read(9),... |
seq_path(9) | NAME seq_path - seq_file interface to print a pathname
SYNOPSIS int seq_path (struct seq_file *m , const struct path *path , const char *esc );
ARGUMENTS m the seq_file handle
path the struct path to print
esc set of characters to escape in the output
DESCRIPTION return the a... |
seq_put_decimal_ull_width(9) | NAME seq_put_decimal_ull_width - A helper routine for putting decimal numbers without rich format of printf(). only 'unsigned long long' is supported.
SYNOPSIS void seq_put_decimal_ull_width (struct seq_file *m , const char *delimiter , unsigned long long num , unsigned int width );
ARGUMENTS m seq_file ide... |
seq_put_hex_ll(9) | NAME seq_put_hex_ll - put a number in hexadecimal notation
SYNOPSIS void seq_put_hex_ll (struct seq_file *m , const char *delimiter , unsigned long long v , unsigned int width );
ARGUMENTS m seq_file identifying the buffer to which data should be written
delimiter a string which is printed before ... |
seq_read(9) | NAME seq_read - ->read() method for sequential files.
SYNOPSIS ssize_t seq_read (struct file *file , char __user *buf , size_t size , loff_t *ppos );
ARGUMENTS file the file to read from
buf the buffer to read to
size the maximum number of bytes to read
ppos the cu... |
seq_release(9) | NAME seq_release - free the structures associated with sequential file.
SYNOPSIS int seq_release (struct inode *inode , struct file *file );
ARGUMENTS inode its inode
file file in question
DESCRIPTION Frees the structures associated with sequential file; can be used as ->f_op->release if you don... |
seq_setwidth(9) | NAME seq_setwidth - set padding width
SYNOPSIS void seq_setwidth (struct seq_file *m , size_t size );
ARGUMENTS m the seq_file handle
size the max number of bytes to pad.
DESCRIPTION Call seq_setwidth for setting max width, then call seq_printf etc. and finally call seq_pad to pad the remain... |
seq_show_option_n(9) | NAME seq_show_option_n - display mount options with appropriate escapes where @value must be a specific length (i.e. not NUL-terminated).
SYNOPSIS seq_show_option_n (m , name , value , length );
ARGUMENTS m the seq_file handle
name the mount option name
value the mount option na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.