id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
v9fs_vfs_rename(9) | NAME v9fs_vfs_rename - VFS hook to rename an inode
SYNOPSIS int v9fs_vfs_rename (struct mnt_idmap *idmap , struct inode *old_dir , struct dentry *old_dentry , struct inode *new_dir , struct dentry *new_dentry , unsigned int flags );
ARGUMENTS idmap The idmap of the mount
old_dir old dir inode
... |
v9fs_vfs_rmdir(9) | NAME v9fs_vfs_rmdir - VFS unlink hook to delete a directory
SYNOPSIS int v9fs_vfs_rmdir (struct inode *i , struct dentry *d );
ARGUMENTS i inode that is being unlinked
d dentry that is being unlinked
SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2un... |
v9fs_vfs_setattr(9) | NAME v9fs_vfs_setattr - set file metadata
SYNOPSIS int v9fs_vfs_setattr (struct mnt_idmap *idmap , struct dentry *dentry , struct iattr *iattr );
ARGUMENTS idmap idmap of the mount
dentry file whose metadata to set
iattr metadata assignment structure
SEE ALSO Kernel file ./fs/9p/... |
v9fs_vfs_setattr_dotl(9) | NAME v9fs_vfs_setattr_dotl - set file metadata
SYNOPSIS int v9fs_vfs_setattr_dotl (struct mnt_idmap *idmap , struct dentry *dentry , struct iattr *iattr );
ARGUMENTS idmap idmap of the mount
dentry file whose metadata to set
iattr metadata assignment structure
SEE ALSO Kernel file ... |
v9fs_vfs_symlink(9) | NAME v9fs_vfs_symlink - helper function to create symlinks
SYNOPSIS int v9fs_vfs_symlink (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , const char *symname );
ARGUMENTS idmap idmap of the mount
dir directory inode containing symlink
dentry dentry for symlink
... |
v9fs_vfs_unlink(9) | NAME v9fs_vfs_unlink - VFS unlink hook to delete an inode
SYNOPSIS int v9fs_vfs_unlink (struct inode *i , struct dentry *d );
ARGUMENTS i inode that is being unlinked
d dentry that is being unlinked
SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2uni... |
va_arg(3) | NAME stdarg, va_start, va_arg, va_end, va_copy - variable argument lists
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdarg.h>
void va_start(va_list ap, last);
type va_arg(va_list ap, type);
void va_end(va_list ap);
void va_copy(va_list dest, va_list src);
DESCRIPTION A fun... |
va_arg(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 va_arg, va_copy, va_end, va_start — handle variable argument li... |
va_copy(3) | NAME stdarg, va_start, va_arg, va_end, va_copy - variable argument lists
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdarg.h>
void va_start(va_list ap, last);
type va_arg(va_list ap, type);
void va_end(va_list ap);
void va_copy(va_list dest, va_list src);
DESCRIPTION A fun... |
va_end(3) | NAME stdarg, va_start, va_arg, va_end, va_copy - variable argument lists
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdarg.h>
void va_start(va_list ap, last);
type va_arg(va_list ap, type);
void va_end(va_list ap);
void va_copy(va_list dest, va_list src);
DESCRIPTION A fun... |
va_list(3type) | NAME va_list - variable argument list
LIBRARY Standard C library (libc)
SYNOPSIS #include <stdarg.h>
typedef /* ... */ va_list;
DESCRIPTION Used by functions with a varying number of arguments of varying types. The function must declare an object of type va_list which is used by the macros va_start(3)... |
va_range_fini(9) | NAME va_range_fini - clear a virtual addresses range.
SYNOPSIS void va_range_fini (struct hl_device *hdev , struct hl_va_range *va_range );
ARGUMENTS hdev pointer to the habanalabs structure.
va_range pointer to virtual addresses range.
DESCRIPTION This function does the following: - Frees the virt... |
va_range_init(9) | NAME va_range_init - initialize virtual addresses range.
SYNOPSIS int va_range_init (struct hl_device *hdev , struct hl_va_range **va_ranges , enum hl_va_range_type range_type , u64 start , u64 end , u32 page_size );
ARGUMENTS hdev pointer to the habanalabs device structure.
va_ranges pointer to va_r... |
va_start(3) | NAME stdarg, va_start, va_arg, va_end, va_copy - variable argument lists
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdarg.h>
void va_start(va_list ap, last);
type va_arg(va_list ap, type);
void va_end(va_list ap);
void va_copy(va_list dest, va_list src);
DESCRIPTION A fun... |
vacuumdb(1) | NAME vacuumdb - garbage-collect and analyze a PostgreSQL database
SYNOPSIS
vacuumdb [connection-option...] [option...] [ -t | --table table [( column [,...] )] ]... [dbname]
vacuumdb [connection-option...] [option...] [ [ -n | --schema schema ] | [ -N | --exclude-schema schema ] ]... [dbname]
... |
vacuumlo(1) | NAME vacuumlo - remove orphaned large objects from a PostgreSQL database
SYNOPSIS
vacuumlo [option...] dbname...
DESCRIPTION vacuumlo is a simple utility program that will remove any “orphaned” large objects from a PostgreSQL database. An orphaned large object (LO) is considered to be any LO whose OID does no... |
val(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 val — validate SCCS files (DEVELOPMENT)
SYNOPSIS val -
... |
val_mask_to_str(9) | NAME val_mask_to_str - convert a perm mask to its short string
SYNOPSIS int val_mask_to_str (char *str , size_t size , const struct val_table_ent *table , u32 mask );
ARGUMENTS str character buffer to store string in (at least 10 characters)
size size of the str buffer
table NUL-t... |
valid_event_struct(9) | NAME valid_event_struct - - Determines if event is valid.
SYNOPSIS int valid_event_struct (struct event_pool *pool , struct srp_event_struct *evt );
ARGUMENTS pool event_pool that contains the event
evt srp_event_struct to be checked for validity
DESCRIPTION Returns zero if event is invalid, o... |
valid_type(9) | NAME valid_type - Check if @type is valid or not.
SYNOPSIS bool valid_type (enum misc_res_type type );
ARGUMENTS type misc res type.
CONTEXT Any context.
RETURN * true - If valid type. * false - If not valid type.
SEE ALSO Kernel file ./kernel/cgroup/misc.c parent_misc(9), misc_cg_set_capacity(9), mis... |
validate_av1_sequence(9) | NAME validate_av1_sequence - validate AV1 sequence header fields
SYNOPSIS int validate_av1_sequence (struct v4l2_ctrl_av1_sequence *s );
ARGUMENTS s control struct from userspace
DESCRIPTION Implements AV1 spec §5.5.2 color_config checks that are possible with the current v4l2_ctrl_av1_sequence definitio... |
validate_cmdline_cstate(9) | NAME validate_cmdline_cstate - Validate a C-state from cmdline.
SYNOPSIS int validate_cmdline_cstate (struct cpuidle_state *state , struct cpuidle_state *prev_state );
ARGUMENTS state The C-state to validate.
prev_state The previous C-state in the table or NULL.
RETURN 0 if the C-state is valid or -EI... |
validate_completed_page(9) | NAME validate_completed_page - Check that a page completion which is being freed to the cache referred to a valid page and is in a valid state.
SYNOPSIS int validate_completed_page (struct vdo_page_completion *completion , bool writable );
ARGUMENTS completion The page completion to check.
writable Whethe... |
validate_data_node(9) | NAME validate_data_node - validate data nodes for bulk-read.
SYNOPSIS int validate_data_node (struct ubifs_info *c , void *buf , struct ubifs_zbranch *zbr );
ARGUMENTS c UBIFS file-system description object
buf buffer containing data node to validate
zbr zbranch of data node ... |
validate_ec_hdr(9) | NAME validate_ec_hdr - validate an erase counter header.
SYNOPSIS int validate_ec_hdr (const struct ubi_device *ubi , const struct ubi_ec_hdr *ec_hdr );
ARGUMENTS ubi UBI device description object
ec_hdr the erase counter header to check
DESCRIPTION This function returns zero if the erase counte... |
validate_enumeration_input(9) | NAME validate_enumeration_input - Validate input of current_value against possible values
SYNOPSIS int validate_enumeration_input (int instance_id , const char *buf );
ARGUMENTS instance_id The instance on which input is validated
buf Input value
SEE ALSO Kernel file ./drivers/platform/x86/hp/hp-bios... |
validate_hash_algo(9) | NAME validate_hash_algo - Block setxattr with unsupported hash algorithms
SYNOPSIS int validate_hash_algo (struct dentry *dentry , const struct evm_ima_xattr_data *xattr_value , size_t xattr_value_len );
ARGUMENTS dentry object of the setxattr
xattr_value userland supplied xattr value
xattr_value... |
validate_hb_ctrs_cnt(9) | NAME validate_hb_ctrs_cnt - checks if the number of heartbeat counters should be updated by one to support the currently loaded firmware.
SYNOPSIS bool validate_hb_ctrs_cnt (struct adf_accel_dev *accel_dev );
ARGUMENTS accel_dev Pointer to acceleration device.
RETURN * true - hb_ctrs must increased by ADF_NUM_PKE_... |
validate_inode(9) | NAME validate_inode - validate inode.
SYNOPSIS int validate_inode (struct ubifs_info *c , const struct inode *inode );
ARGUMENTS c UBIFS file-system description object
inode the inode to validate
DESCRIPTION This is a helper function for 'ubifs_iget' which validates various fields of a ne... |
validate_integer_input(9) | NAME validate_integer_input - Validate input of current_value against lower and upper bound
SYNOPSIS int validate_integer_input (int instance_id , char *buf );
ARGUMENTS instance_id The instance on which input is validated
buf Input value
SEE ALSO Kernel file ./drivers/platform/x86/hp/hp-bioscfg/int-... |
validate_master(9) | NAME validate_master - validate master node.
SYNOPSIS int validate_master (const struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function validates data which was read from master node. Returns zero if the data is all right and -EINVAL if not.
SEE ALSO Kernel file... |
validate_mem(9) | NAME validate_mem - memory probe function
SYNOPSIS int validate_mem (struct pcmcia_socket *s , unsigned int probe_mask );
ARGUMENTS s PCMCIA socket to validate
probe_mask ignored
DESCRIPTION Returns 0 on usuable ports.
SEE ALSO Kernel file ./drivers/pcmcia/rsrc_nonstatic.c do_validate_mem(9), do_... |
validate_new_device_config(9) | NAME validate_new_device_config - Check whether a new device config represents a valid modification to an existing config.
SYNOPSIS int validate_new_device_config (struct device_config *to_validate , struct device_config *config , bool may_grow , char **error_ptr );
ARGUMENTS to_validate The new config to validate.
... |
validate_nnode(9) | NAME validate_nnode - validate a nnode.
SYNOPSIS int validate_nnode (const struct ubifs_info *c , struct ubifs_nnode *nnode , struct ubifs_nnode *parent , int iip );
ARGUMENTS c UBIFS file-system description object
nnode nnode to validate
parent parent nnode (or NULL for the root ... |
validate_ordered_list_input(9) | NAME validate_ordered_list_input - Validate input of current_value against possible values
SYNOPSIS int validate_ordered_list_input (int instance , char *buf );
ARGUMENTS instance The instance on which input is validated
buf Input value
SEE ALSO Kernel file ./drivers/platform/x86/hp/hp-bioscfg/ord... |
validate_partition(9) | NAME validate_partition - Validate a cpuset partition configuration
SYNOPSIS enum prs_errcode validate_partition (struct cpuset *cs , struct cpuset *trialcs );
ARGUMENTS cs The cpuset to validate
trialcs The trial cpuset containing proposed configuration changes
DESCRIPTION If any validation che... |
validate_pnode(9) | NAME validate_pnode - validate a pnode.
SYNOPSIS int validate_pnode (const struct ubifs_info *c , struct ubifs_pnode *pnode , struct ubifs_nnode *parent , int iip );
ARGUMENTS c UBIFS file-system description object
pnode pnode to validate
parent parent nnode
iip in... |
validate_policy(9) | NAME validate_policy - validate a parsed policy.
SYNOPSIS int validate_policy (const struct ipe_parsed_policy *p );
ARGUMENTS p Supplies the fully parsed policy.
DESCRIPTION Given a policy structure that was just parsed, validate that all operations have their default rules or a global default rule is set.... |
validate_recovery_journal_entry(9) | NAME validate_recovery_journal_entry - Validate a recovery journal entry.
SYNOPSIS int validate_recovery_journal_entry (const struct vdo *vdo , const struct recovery_journal_entry *entry );
ARGUMENTS vdo The vdo.
entry The entry to validate.
RETURN VDO_SUCCESS or an error.
SEE ALSO Kernel fil... |
validate_ref(9) | NAME validate_ref - validate a reference node.
SYNOPSIS int validate_ref (struct ubifs_info *c , const struct ubifs_ref_node *ref );
ARGUMENTS c UBIFS file-system description object
ref the reference node to validate
DESCRIPTION This function returns 1 if a bud reference already exists for ... |
validate_sb(9) | NAME validate_sb - validate superblock node.
SYNOPSIS int validate_sb (struct ubifs_info *c , struct ubifs_sb_node *sup );
ARGUMENTS c UBIFS file-system description object
sup superblock node
DESCRIPTION This function validates superblock node sup. Since most of data was read from the sup... |
validate_str_input(9) | NAME validate_str_input - Validate input of current_value against min and max lengths
SYNOPSIS int validate_str_input (int instance_id , const char *buf );
ARGUMENTS instance_id The instance on which input is validated
buf Input value
SEE ALSO Kernel file ./drivers/platform/x86/dell/dell-wmi-sysman/s... |
validate_string_input(9) | NAME validate_string_input - Validate input of current_value against min and max lengths
SYNOPSIS int validate_string_input (int instance_id , const char *buf );
ARGUMENTS instance_id The instance on which input is validated
buf Input value
SEE ALSO Kernel file ./drivers/platform/x86/hp/hp-bioscfg/st... |
validate_version(9) | NAME validate_version - Check whether a version matches an expected version.
SYNOPSIS int validate_version (struct version_number expected_version , struct version_number actual_version , const char *component_name );
ARGUMENTS expected_version The expected version.
actual_version
The versi... |
validate_vid_hdr(9) | NAME validate_vid_hdr - validate a volume identifier header.
SYNOPSIS int validate_vid_hdr (const struct ubi_device *ubi , const struct ubi_vid_hdr *vid_hdr );
ARGUMENTS ubi UBI device description object
vid_hdr the volume identifier header to check
DESCRIPTION This function checks that data stor... |
validate_vlan(9) | NAME validate_vlan - check if the ice_vlan passed in is valid
SYNOPSIS bool validate_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan );
ARGUMENTS vsi VSI used for printing error message
vlan ice_vlan structure to validate
DESCRIPTION Return true if the VLAN TPID is valid or if the VLAN TPI... |
valloc(3) | NAME posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate aligned memory
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int posix_memalign(void **memptr, size_t alignment, size_t size);
void *aligned_alloc(size_t alignment, size_t size);
[[deprecated]] void *v... |
valuable(9) | NAME valuable - determine whether LEB properties are valuable.
SYNOPSIS int valuable (struct ubifs_info *c , const struct ubifs_lprops *lprops );
ARGUMENTS c the UBIFS file-system description object
lprops LEB properties
DESCRIPTION This function return 1 if the LEB properties should be added ... |
vangogh_get_gfxoff_entrycount(9) | NAME vangogh_get_gfxoff_entrycount - get gfxoff entry count
SYNOPSIS u32 vangogh_get_gfxoff_entrycount (struct smu_context *smu , uint64_t *entrycount );
ARGUMENTS smu amdgpu_device pointer
entrycount placeholder for return value
DESCRIPTION This function will be used to get gfxoff entry count Retur... |
vangogh_get_gfxoff_residency(9) | NAME vangogh_get_gfxoff_residency -
SYNOPSIS u32 vangogh_get_gfxoff_residency (struct smu_context *smu , uint32_t *residency );
ARGUMENTS smu amdgpu_device pointer
residency placeholder for return value
DESCRIPTION This function will be used to get gfxoff residency. Returns standard response codes... |
vangogh_get_gfxoff_status(9) | NAME vangogh_get_gfxoff_status - Get gfxoff status
SYNOPSIS u32 vangogh_get_gfxoff_status (struct smu_context *smu );
ARGUMENTS smu amdgpu_device pointer
DESCRIPTION Get current gfxoff status
RETURN * 0 - GFXOFF (default if enabled). * 1 - Transition out of GFX State. * 2 - Not in GFXOFF. * 3 - Trans... |
vangogh_set_gfxoff_residency(9) | NAME vangogh_set_gfxoff_residency -
SYNOPSIS u32 vangogh_set_gfxoff_residency (struct smu_context *smu , bool start );
ARGUMENTS smu amdgpu_device pointer
start start/stop residency log
DESCRIPTION This function will be used to log gfxoff residency Returns standard response codes.
SEE ALSO Ker... |
var v4l2_field_names(9) | Kernel API(9) API Manual Kernel API(9)
NAME v4l2_field_names - Helper array mapping “V4L2_FIELD_*“ to strings.
SYNOPSIS extern c... |
var v4l2_type_names(9) | Kernel API(9) API Manual Kernel API(9)
NAME v4l2_type_names - Helper array mapping “V4L2_BUF_TYPE_*“ to strings.
SYNOPSIS extern... |
varlinkctl(1) | NAME varlinkctl - Introspect with and invoke Varlink services
SYNOPSIS
varlinkctl [OPTIONS...] info ADDRESS
varlinkctl [OPTIONS...] list-interfaces ADDRESS
varlinkctl [OPTIONS...] list-methods ADDRESS [INTERFACE...]
varlinkctl [OPTIONS...] introspect ADDRESS [INTERFACE...]
varli... |
vasprintf(3) | NAME asprintf, vasprintf - print to allocated string
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <stdio.h>
int asprintf(char **restrict strp, const char *restrict fmt, ...);
int vasprintf(char **restrict strp, const char *restric... |
vb2_buffer_done(9) | NAME vb2_buffer_done - inform videobuf2 that an operation on a buffer is finished.
SYNOPSIS void vb2_buffer_done (struct vb2_buffer *vb , enum vb2_buffer_state state );
ARGUMENTS vb pointer to struct vb2_buffer to be used.
state state of the buffer, as defined by enum vb2_buffer_state. Either ... |
vb2_buffer_in_use(9) | NAME vb2_buffer_in_use - return true if the buffer is in use and the queue cannot be freed (by the means of VIDIOC_REQBUFS(0)) call.
SYNOPSIS bool vb2_buffer_in_use (struct vb2_queue *q , struct vb2_buffer *vb );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vb buffer for wh... |
vb2_clear_last_buffer_dequeued(9) | NAME vb2_clear_last_buffer_dequeued - clear last buffer dequeued flag of queue.
SYNOPSIS void vb2_clear_last_buffer_dequeued (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9), struct vb2_mem_ops(9)... |
vb2_common_vm_close(9) | NAME vb2_common_vm_close - decrease refcount of the vma
SYNOPSIS void vb2_common_vm_close (struct vm_area_struct *vma );
ARGUMENTS vma virtual memory region for the mapping
DESCRIPTION This function releases the user from the provided vma. It expects struct vb2_vmarea_handler pointer in vma->vm_private_data.... |
vb2_common_vm_open(9) | NAME vb2_common_vm_open - increase refcount of the vma
SYNOPSIS void vb2_common_vm_open (struct vm_area_struct *vma );
ARGUMENTS vma virtual memory region for the mapping
DESCRIPTION This function adds another user to the provided vma. It expects struct vb2_vmarea_handler pointer in vma->vm_private_data.
SE... |
vb2_core_create_bufs(9) | NAME vb2_core_create_bufs - Allocate buffers and any required auxiliary structs
SYNOPSIS int vb2_core_create_bufs (struct vb2_queue *q , enum vb2_memory memory , unsigned int flags , unsigned int *count , unsigned int requested_planes , const unsigned int requested_sizes[] , unsigned int *first_index );
ARGUMENTS q ... |
vb2_core_dqbuf(9) | NAME vb2_core_dqbuf - Dequeue a buffer to the userspace
SYNOPSIS int vb2_core_dqbuf (struct vb2_queue *q , unsigned int *pindex , void *pb , bool nonblocking );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue
pindex pointer to the buffer index. May be NULL
pb buffe... |
vb2_core_expbuf(9) | NAME vb2_core_expbuf - Export a buffer as a file descriptor.
SYNOPSIS int vb2_core_expbuf (struct vb2_queue *q , int *fd , unsigned int type , struct vb2_buffer *vb , unsigned int plane , unsigned int flags );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
fd pointer to the f... |
vb2_core_poll(9) | NAME vb2_core_poll - implements poll syscall() logic.
SYNOPSIS __poll_t vb2_core_poll (struct vb2_queue *q , struct file *file , poll_table *wait );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
file struct file argument passed to the poll file operation handler.
wait ... |
vb2_core_prepare_buf(9) | NAME vb2_core_prepare_buf - Pass ownership of a buffer from userspace to the kernel.
SYNOPSIS int vb2_core_prepare_buf (struct vb2_queue *q , struct vb2_buffer *vb , void *pb );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vb pointer to struct vb2_buffer.
pb ... |
vb2_core_qbuf(9) | NAME vb2_core_qbuf - Queue a buffer from userspace
SYNOPSIS int vb2_core_qbuf (struct vb2_queue *q , struct vb2_buffer *vb , void *pb , struct media_request *req );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vb pointer to struct vb2_buffer.
pb buffer stru... |
vb2_core_querybuf(9) | NAME vb2_core_querybuf - query video buffer information.
SYNOPSIS void vb2_core_querybuf (struct vb2_queue *q , struct vb2_buffer *vb , void *pb );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vb pointer to struct vb2_buffer.
pb buffer struct passed from us... |
vb2_core_queue_init(9) | NAME vb2_core_queue_init - initialize a videobuf2 queue
SYNOPSIS int vb2_core_queue_init (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue. This structure should be allocated in driver
DESCRIPTION The vb2_queue structure should be allocated by the driver. The driver ... |
vb2_core_queue_release(9) | NAME vb2_core_queue_release - stop streaming, release the queue and free memory
SYNOPSIS void vb2_core_queue_release (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
DESCRIPTION This function stops streaming and performs necessary clean ups, including freeing video buff... |
vb2_core_remove_bufs(9) | NAME vb2_core_remove_bufs -
SYNOPSIS int vb2_core_remove_bufs (struct vb2_queue *q , unsigned int start , unsigned int count );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
start first index of the range of buffers to remove.
count number of buffers to remove.
R... |
vb2_core_reqbufs(9) | NAME vb2_core_reqbufs - Initiate streaming.
SYNOPSIS int vb2_core_reqbufs (struct vb2_queue *q , enum vb2_memory memory , unsigned int flags , unsigned int *count );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
memory memory type, as defined by enum vb2_memory.
flags ... |
vb2_core_streamoff(9) | NAME vb2_core_streamoff - Implements VB2 stream OFF logic
SYNOPSIS int vb2_core_streamoff (struct vb2_queue *q , unsigned int type );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue
type type of the queue to be started. For V4L2, this is defined by enum v4l2_buf_type type.
DESC... |
vb2_core_streamon(9) | NAME vb2_core_streamon - Implements VB2 stream ON logic
SYNOPSIS int vb2_core_streamon (struct vb2_queue *q , unsigned int type );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue
type type of the queue to be started. For V4L2, this is defined by enum v4l2_buf_type type.
DESCRIP... |
vb2_create_bufs(9) | NAME vb2_create_bufs - Wrapper for vb2_core_create_bufs() that also verifies the memory and type values.
SYNOPSIS int vb2_create_bufs (struct vb2_queue *q , struct v4l2_create_buffers *create );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
create creation parameters, passed fro... |
vb2_create_framevec(9) | NAME vb2_create_framevec - map virtual addresses to pfns
SYNOPSIS struct frame_vector * vb2_create_framevec (unsigned long start , unsigned long length , bool write );
ARGUMENTS start Virtual user address where we start mapping
length Length of a range to map
write Should we map for w... |
vb2_destroy_framevec(9) | NAME vb2_destroy_framevec - release vector of mapped pfns
SYNOPSIS void vb2_destroy_framevec (struct frame_vector *vec );
ARGUMENTS vec vector of pfns / pages to release
DESCRIPTION This releases references to all pages in the vector vec (if corresponding pfns are backed by pages) and frees the passed vector... |
vb2_discard_done(9) | NAME vb2_discard_done - discard all buffers marked as DONE.
SYNOPSIS void vb2_discard_done (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
DESCRIPTION This function is intended to be used with suspend/resume operations. It discards all 'done' buffers as they would ... |
vb2_dma_contig_set_max_seg_size(9) | NAME vb2_dma_contig_set_max_seg_size - configure DMA max segment size
SYNOPSIS int vb2_dma_contig_set_max_seg_size (struct device *dev , unsigned int size );
ARGUMENTS dev device for configuring DMA parameters
size size of DMA max segment size to set
DESCRIPTION To allow mapping the scatter-li... |
vb2_dqbuf(9) | NAME vb2_dqbuf - Dequeue a buffer to the userspace
SYNOPSIS int vb2_dqbuf (struct vb2_queue *q , struct v4l2_buffer *b , bool nonblocking );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
b buffer structure passed from userspace to v4l2_ioctl_ops->vidioc_dqbuf handler in dri... |
vb2_expbuf(9) | NAME vb2_expbuf - Export a buffer as a file descriptor
SYNOPSIS int vb2_expbuf (struct vb2_queue *q , struct v4l2_exportbuffer *eb );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
eb export buffer structure passed from userspace to v4l2_ioctl_ops->vidioc_expbuf handler in dr... |
vb2_fileio_is_active(9) | NAME vb2_fileio_is_active - return true if fileio is active.
SYNOPSIS bool vb2_fileio_is_active (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
DESCRIPTION This returns true if read or write is used to stream the data as opposed to stream I/O. This is almost never an i... |
vb2_find_buffer(9) | NAME vb2_find_buffer - Find a buffer with given timestamp
SYNOPSIS struct vb2_buffer * vb2_find_buffer (struct vb2_queue *q , u64 timestamp );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
timestamp the timestamp to find.
DESCRIPTION Returns the buffer with the given timestamp, or... |
vb2_get_buffer(9) | NAME vb2_get_buffer - get a buffer from a queue
SYNOPSIS struct vb2_buffer * vb2_get_buffer (struct vb2_queue *q , unsigned int index );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
index buffer index
DESCRIPTION This function obtains a buffer from a queue, by its index. Kee... |
vb2_get_drv_priv(9) | NAME vb2_get_drv_priv - return driver private data associated with the queue.
SYNOPSIS void * vb2_get_drv_priv (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9), struct vb2_mem_ops(9), struct vb2_p... |
vb2_get_num_buffers(9) | NAME vb2_get_num_buffers - get the number of buffer in a queue
SYNOPSIS unsigned int vb2_get_num_buffers (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9), struct vb2_mem_ops(9), struct vb2_plane(9... |
vb2_get_plane_payload(9) | NAME vb2_get_plane_payload - get bytesused for the plane plane_no
SYNOPSIS unsigned long vb2_get_plane_payload (struct vb2_buffer *vb , unsigned int plane_no );
ARGUMENTS vb pointer to struct vb2_buffer to which the plane in question belongs to.
plane_no plane number for which payload should be se... |
vb2_get_unmapped_area(9) | NAME vb2_get_unmapped_area - map video buffers into application address space.
SYNOPSIS unsigned long vb2_get_unmapped_area (struct vb2_queue *q , unsigned long addr , unsigned long len , unsigned long pgoff , unsigned long flags );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
addr ... |
vb2_is_busy(9) | NAME vb2_is_busy - return busy status of the queue.
SYNOPSIS bool vb2_is_busy (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
DESCRIPTION This function checks if queue has any buffers allocated.
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9)... |
vb2_is_streaming(9) | NAME vb2_is_streaming - return streaming status of the queue.
SYNOPSIS bool vb2_is_streaming (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9), struct vb2_mem_ops(9), struct vb2_plane(9), enum vb2_... |
vb2_mmap(9) | NAME vb2_mmap - map video buffers into application address space.
SYNOPSIS int vb2_mmap (struct vb2_queue *q , struct vm_area_struct *vma );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vma pointer to struct vm_area_struct with the vma passed to the mmap file operation handl... |
vb2_plane_cookie(9) | NAME vb2_plane_cookie - Return allocator specific cookie for the given plane.
SYNOPSIS void * vb2_plane_cookie (struct vb2_buffer *vb , unsigned int plane_no );
ARGUMENTS vb pointer to struct vb2_buffer to which the plane in question belongs to.
plane_no plane number for which the cookie is to be ... |
vb2_plane_size(9) | NAME vb2_plane_size - return plane size in bytes.
SYNOPSIS unsigned long vb2_plane_size (struct vb2_buffer *vb , unsigned int plane_no );
ARGUMENTS vb pointer to struct vb2_buffer to which the plane in question belongs to.
plane_no plane number for which size should be returned.
SEE ALSO Kernel ... |
vb2_plane_vaddr(9) | NAME vb2_plane_vaddr - Return a kernel virtual address of a given plane.
SYNOPSIS void * vb2_plane_vaddr (struct vb2_buffer *vb , unsigned int plane_no );
ARGUMENTS vb pointer to struct vb2_buffer to which the plane in question belongs to.
plane_no plane number for which the address is to be retur... |
vb2_poll(9) | NAME vb2_poll - implements poll userspace operation
SYNOPSIS __poll_t vb2_poll (struct vb2_queue *q , struct file *file , poll_table *wait );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
file file argument passed to the poll file operation handler
wait wait arg... |
vb2_prepare_buf(9) | NAME vb2_prepare_buf - Pass ownership of a buffer from userspace to the kernel
SYNOPSIS int vb2_prepare_buf (struct vb2_queue *q , struct media_device *mdev , struct v4l2_buffer *b );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
mdev pointer to struct media_device, may be NUL... |
vb2_qbuf(9) | NAME vb2_qbuf - Queue a buffer from userspace
SYNOPSIS int vb2_qbuf (struct vb2_queue *q , struct media_device *mdev , struct v4l2_buffer *b );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
mdev pointer to struct media_device, may be NULL.
b buffer structure ... |
vb2_queue_add_buffer(9) | NAME vb2_queue_add_buffer - add a buffer to a queue
SYNOPSIS void vb2_queue_add_buffer (struct vb2_queue *q , struct vb2_buffer *vb , unsigned int index );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
vb pointer to struct vb2_buffer to be added to the queue.
index ... |
vb2_queue_allows_cache_hints(9) | NAME vb2_queue_allows_cache_hints - Return true if the queue allows cache and memory consistency hints.
SYNOPSIS bool vb2_queue_allows_cache_hints (struct vb2_queue *q );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue
SEE ALSO Kernel file ./include/media/videobuf2-core.h enum vb2_memory(9), ... |
vb2_queue_change_type(9) | NAME vb2_queue_change_type - change the type of an inactive vb2_queue
SYNOPSIS int vb2_queue_change_type (struct vb2_queue *q , unsigned int type );
ARGUMENTS q pointer to struct vb2_queue with videobuf2 queue.
type the type to change to (V4L2_BUF_TYPE_VIDEO_*)
DESCRIPTION This function ch... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.