id
stringlengths
4
63
text
stringlengths
153
8.81M
v4l2_subdev_link_validate(9)
NAME v4l2_subdev_link_validate - validates a media link SYNOPSIS int v4l2_subdev_link_validate (struct media_link *link ); ARGUMENTS link pointer to struct media_link DESCRIPTION This function calls the subdev's link_validate ops to validate if a media link is valid for streaming. It also internally calls v...
v4l2_subdev_link_validate_default(9)
NAME v4l2_subdev_link_validate_default - validates a media link SYNOPSIS int v4l2_subdev_link_validate_default (struct v4l2_subdev *sd , struct media_link *link , struct v4l2_subdev_format *source_fmt , struct v4l2_subdev_format *sink_fmt ); ARGUMENTS sd pointer to struct v4l2_subdev link poin...
v4l2_subdev_lock_and_get_active_state(9)
NAME v4l2_subdev_lock_and_get_active_state - Locks and returns the active subdev state for the subdevice SYNOPSIS struct v4l2_subdev_state * v4l2_subdev_lock_and_get_active_state (struct v4l2_subdev *sd ); ARGUMENTS sd The subdevice DESCRIPTION Returns the locked active state for the subdevice, or NULL if t...
v4l2_subdev_lock_state(9)
NAME v4l2_subdev_lock_state - Locks the subdev state SYNOPSIS void v4l2_subdev_lock_state (struct v4l2_subdev_state *state ); ARGUMENTS state The subdevice state DESCRIPTION Locks the given subdev state. The state must be unlocked with v4l2_subdev_unlock_state after use. SEE ALSO Kernel file ./include/medi...
v4l2_subdev_lock_states(9)
NAME v4l2_subdev_lock_states - Lock two sub-device states SYNOPSIS void v4l2_subdev_lock_states (struct v4l2_subdev_state *state1 , struct v4l2_subdev_state *state2 ); ARGUMENTS state1 One subdevice state state2 The other subdevice state DESCRIPTION Locks the state of two sub-devices. The state...
v4l2_subdev_notify(9)
NAME v4l2_subdev_notify - Sends a notification to v4l2_device. SYNOPSIS void v4l2_subdev_notify (struct v4l2_subdev *sd , unsigned int notification , void *arg ); ARGUMENTS sd pointer to struct v4l2_subdev notification type of notification. Please notice that the notification type ...
v4l2_subdev_notify_event(9)
NAME v4l2_subdev_notify_event - Delivers event notification for subdevice SYNOPSIS void v4l2_subdev_notify_event (struct v4l2_subdev *sd , const struct v4l2_event *ev ); ARGUMENTS sd The subdev for which to deliver the event ev The event to deliver DESCRIPTION Will deliver the specified e...
v4l2_subdev_routing_find_opposite_end(9)
NAME v4l2_subdev_routing_find_opposite_end - Find the opposite stream SYNOPSIS int v4l2_subdev_routing_find_opposite_end (const struct v4l2_subdev_krouting *routing , u32 pad , u32 stream , u32 *other_pad , u32 *other_stream ); ARGUMENTS routing routing used to find the opposite side pad pad id ...
v4l2_subdev_routing_validate(9)
NAME v4l2_subdev_routing_validate - Verify that routes comply with driver constraints SYNOPSIS int v4l2_subdev_routing_validate (struct v4l2_subdev *sd , const struct v4l2_subdev_krouting *routing , enum v4l2_subdev_routing_restriction disallow ); ARGUMENTS sd The subdevice routing Routing to ver...
v4l2_subdev_s_stream_helper(9)
NAME v4l2_subdev_s_stream_helper - Helper to implement the subdev s_stream operation using enable_streams and disable_streams SYNOPSIS int v4l2_subdev_s_stream_helper (struct v4l2_subdev *sd , int enable ); ARGUMENTS sd The subdevice enable Enable or disable streaming DESCRIPTION Subdevice dri...
v4l2_subdev_set_routing(9)
NAME v4l2_subdev_set_routing - Set given routing to subdev state SYNOPSIS int v4l2_subdev_set_routing (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , const struct v4l2_subdev_krouting *routing ); ARGUMENTS sd The subdevice state The subdevice state routing Routing that w...
v4l2_subdev_set_routing_with_fmt(9)
NAME v4l2_subdev_set_routing_with_fmt - Set given routing and format to subdev state SYNOPSIS int v4l2_subdev_set_routing_with_fmt (struct v4l2_subdev *sd , struct v4l2_subdev_state *state , const struct v4l2_subdev_krouting *routing , const struct v4l2_mbus_framefmt *fmt ); ARGUMENTS sd The subdevice ...
v4l2_subdev_state_get_compose(9)
NAME v4l2_subdev_state_get_compose - Get pointer to a stream compose rectangle SYNOPSIS v4l2_subdev_state_get_compose (state , pad , ... ); ARGUMENTS state subdevice state pad pad id ... stream id (optional argument) DESCRIPTION This returns a pointer to compose rectangle for ...
v4l2_subdev_state_get_crop(9)
NAME v4l2_subdev_state_get_crop - Get pointer to a stream crop rectangle SYNOPSIS v4l2_subdev_state_get_crop (state , pad , ... ); ARGUMENTS state subdevice state pad pad id ... stream id (optional argument) DESCRIPTION This returns a pointer to crop rectangle for the given pad ...
v4l2_subdev_state_get_format(9)
NAME v4l2_subdev_state_get_format - Get pointer to a stream format SYNOPSIS v4l2_subdev_state_get_format (state , pad , ... ); ARGUMENTS state subdevice state pad pad id ... stream id (optional argument) DESCRIPTION This returns a pointer to struct v4l2_mbus_framefmt for the giv...
v4l2_subdev_state_get_interval(9)
NAME v4l2_subdev_state_get_interval - Get pointer to a stream frame interval SYNOPSIS v4l2_subdev_state_get_interval (state , pad , ... ); ARGUMENTS state subdevice state pad pad id ... stream id (optional argument) DESCRIPTION This returns a pointer to the frame interval fo...
v4l2_subdev_state_get_opposite_stream_format(9)
NAME v4l2_subdev_state_get_opposite_stream_format - Get pointer to opposite stream format SYNOPSIS struct v4l2_mbus_framefmt * v4l2_subdev_state_get_opposite_stream_format (struct v4l2_subdev_state *state , u32 pad , u32 stream ); ARGUMENTS state subdevice state pad pad id stream st...
v4l2_subdev_state_xlate_streams(9)
NAME v4l2_subdev_state_xlate_streams - Translate streams from one pad to another SYNOPSIS u64 v4l2_subdev_state_xlate_streams (const struct v4l2_subdev_state *state , u32 pad0 , u32 pad1 , u64 *streams ); ARGUMENTS state Subdevice state pad0 The first pad pad1 The second pad ...
v4l2_subdev_to_v4l2_flash(9)
NAME v4l2_subdev_to_v4l2_flash - Returns a &struct v4l2_flash from the &struct v4l2_subdev embedded on it. SYNOPSIS struct v4l2_flash * v4l2_subdev_to_v4l2_flash (struct v4l2_subdev *sd ); ARGUMENTS sd pointer to struct v4l2_subdev SEE ALSO Kernel file ./include/media/v4l2-flash-led-class.h struct v4l...
v4l2_subdev_unlock_state(9)
NAME v4l2_subdev_unlock_state - Unlocks the subdev state SYNOPSIS void v4l2_subdev_unlock_state (struct v4l2_subdev_state *state ); ARGUMENTS state The subdevice state DESCRIPTION Unlocks the given subdev state. SEE ALSO Kernel file ./include/media/v4l2-subdev.h struct v4l2_decode_vbi_line(9), enum v4l2...
v4l2_subdev_unlock_states(9)
NAME v4l2_subdev_unlock_states - Unlock two sub-device states SYNOPSIS void v4l2_subdev_unlock_states (struct v4l2_subdev_state *state1 , struct v4l2_subdev_state *state2 ); ARGUMENTS state1 One subdevice state state2 The other subdevice state DESCRIPTION Unlocks the state of two sub-devices. This...
v4l2_timeval_to_ns(9)
NAME v4l2_timeval_to_ns - Convert timeval to nanoseconds SYNOPSIS __u64 v4l2_timeval_to_ns (const struct timeval *tv ); ARGUMENTS tv pointer to the timeval variable to be converted DESCRIPTION Returns the scalar nanosecond representation of the timeval parameter. SEE ALSO Kernel file ./include/uapi/linux...
v4l2_try_ext_ctrls(9)
NAME v4l2_try_ext_ctrls - Helper function to implement :ref:`VIDIOC_TRY_EXT_CTRLS <vidioc_g_ext_ctrls>` ioctl SYNOPSIS int v4l2_try_ext_ctrls (struct v4l2_ctrl_handler *hdl , struct video_device *vdev , struct media_device *mdev , struct v4l2_ext_controls *c ); ARGUMENTS hdl pointer to struct v4l2_ctrl_handle...
v4l2_valid_dv_timings(9)
NAME v4l2_valid_dv_timings - are these timings valid? SYNOPSIS bool v4l2_valid_dv_timings (const struct v4l2_dv_timings *t , const struct v4l2_dv_timings_cap *cap , v4l2_check_dv_timings_fnc fnc , void *fnc_handle ); ARGUMENTS t the v4l2_dv_timings struct. cap the v4l2_dv_timings_cap capabil...
v4l2_video_std_construct(9)
NAME v4l2_video_std_construct - Ancillary routine that fills in the fields of a &v4l2_standard structure according to the @id parameter. SYNOPSIS int v4l2_video_std_construct (struct v4l2_standard *vs , int id , const char *name ); ARGUMENTS vs struct v4l2_standard pointer to be filled id an...
v4l2_video_std_frame_period(9)
NAME v4l2_video_std_frame_period - Ancillary routine that fills a struct &v4l2_fract pointer with the default framerate fraction. SYNOPSIS void v4l2_video_std_frame_period (int id , struct v4l2_fract *frameperiod ); ARGUMENTS id analog TV standard ID. frameperiod struct v4l2_fract pointer to be fille...
v4l2_vp9_adapt_coef_probs(9)
NAME v4l2_vp9_adapt_coef_probs - Perform backward update of vp9 coefficients probabilities SYNOPSIS void v4l2_vp9_adapt_coef_probs (struct v4l2_vp9_frame_context *probs , struct v4l2_vp9_frame_symbol_counts *counts , bool use_128 , bool frame_is_intra ); ARGUMENTS probs current probabilities values coun...
v4l2_vp9_adapt_noncoef_probs(9)
NAME v4l2_vp9_adapt_noncoef_probs - Perform backward update of vp9 non-coefficients probabilities SYNOPSIS void v4l2_vp9_adapt_noncoef_probs (struct v4l2_vp9_frame_context *probs , struct v4l2_vp9_frame_symbol_counts *counts , u8 reference_mode , u8 interpolation_filter , u8 tx_mode , u32 flags ); ARGUMENTS probs ...
v4l2_vp9_fw_update_probs(9)
NAME v4l2_vp9_fw_update_probs - Perform forward update of vp9 probabilities SYNOPSIS void v4l2_vp9_fw_update_probs (struct v4l2_vp9_frame_context *probs , const struct v4l2_ctrl_vp9_compressed_hdr *deltas , const struct v4l2_ctrl_vp9_frame *dec_params ); ARGUMENTS probs current probabilities values delt...
v4l2_vp9_reset_frame_ctx(9)
NAME v4l2_vp9_reset_frame_ctx - Reset appropriate frame context SYNOPSIS u8 v4l2_vp9_reset_frame_ctx (const struct v4l2_ctrl_vp9_frame *dec_params , struct v4l2_vp9_frame_context *frame_context ); ARGUMENTS dec_params vp9 frame decoding parameters frame_context array of the 4 frame context...
v4l2_vp9_seg_feat_enabled(9)
NAME v4l2_vp9_seg_feat_enabled - Check if a segmentation feature is enabled SYNOPSIS bool v4l2_vp9_seg_feat_enabled (const u8 *feature_enabled , unsigned int feature , unsigned int segid ); ARGUMENTS feature_enabled array of 8-bit flags (for all segments) feature id of the feature to check segid ...
v4l_bound_align_image(9)
NAME v4l_bound_align_image - adjust video dimensions according to a given constraints. SYNOPSIS void v4l_bound_align_image (unsigned int *width , unsigned int wmin , unsigned int wmax , unsigned int walign , unsigned int *height , unsigned int hmin , unsigned int hmax , unsigned int halign , unsigned int salign ); AR...
v4l_disable_media_source(9)
NAME v4l_disable_media_source - Release media source SYNOPSIS void v4l_disable_media_source (struct video_device *vdev ); ARGUMENTS vdev pointer to struct video_device DESCRIPTION This interface calls disable_source handler to release the media source. The disable_source handler stops the active media pipelin...
v4l_enable_media_source(9)
NAME v4l_enable_media_source - Hold media source for exclusive use if free SYNOPSIS int v4l_enable_media_source (struct video_device *vdev ); ARGUMENTS vdev pointer to struct video_device DESCRIPTION This interface calls enable_source handler to determine if media source is free for use. The enable_source ha...
v4l_printk_ioctl(9)
NAME v4l_printk_ioctl - Ancillary routine that prints the ioctl in a human-readable format. SYNOPSIS void v4l_printk_ioctl (const char *prefix , unsigned int cmd ); ARGUMENTS prefix prefix to be added at the ioctl prints. cmd ioctl name DESCRIPTION .. note:: If prefix != NULL, then it will issue...
v4l_video_std_enumstd(9)
NAME v4l_video_std_enumstd - Ancillary routine that fills in the fields of a &v4l2_standard structure according to the @id and @vs->index parameters. SYNOPSIS int v4l_video_std_enumstd (struct v4l2_standard *vs , v4l2_std_id id ); ARGUMENTS vs struct v4l2_standard pointer to be filled. id an...
v9fs_alloc_inode(9)
NAME v9fs_alloc_inode - helper function to allocate an inode SYNOPSIS struct inode * v9fs_alloc_inode (struct super_block *sb ); ARGUMENTS sb The superblock to allocate the inode from SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9), v9fs_uflags2omode(9), ...
v9fs_alloc_rdir_buf(9)
NAME v9fs_alloc_rdir_buf - Allocate buffer used for read and readdir SYNOPSIS struct p9_rdir * v9fs_alloc_rdir_buf (struct file *filp , int buflen ); ARGUMENTS filp opened file structure buflen Length in bytes of buffer to allocate SEE ALSO Kernel file ./fs/9p/vfs_dir.c struct p9_rdir(9), dt_type...
v9fs_at_to_dotl_flags(9)
NAME v9fs_at_to_dotl_flags - convert Linux specific AT flags to plan 9 AT flag. SYNOPSIS int v9fs_at_to_dotl_flags (int flags ); ARGUMENTS flags flags to convert SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9), v9fs_uflags2omode(9), v9fs_blank_wstat(9), v9fs_all...
v9fs_blank_wstat(9)
NAME v9fs_blank_wstat - helper function to setup a 9P stat structure SYNOPSIS void v9fs_blank_wstat (struct p9_wstat *wstat ); ARGUMENTS wstat structure to initialize SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9), v9fs_uflags2omode(9), v9fs_alloc_inode(9),...
v9fs_cached_dentry_delete(9)
NAME v9fs_cached_dentry_delete - called when dentry refcount equals 0 SYNOPSIS int v9fs_cached_dentry_delete (const struct dentry *dentry ); ARGUMENTS dentry dentry in question SEE ALSO Kernel file ./fs/9p/vfs_dentry.c v9fs_dentry_release(9) April 2026 ...
v9fs_create(9)
NAME v9fs_create - Create a file SYNOPSIS struct p9_fid * v9fs_create (struct v9fs_session_info *v9ses , struct inode *dir , struct dentry *dentry , char *extension , u32 perm , u8 mode ); ARGUMENTS v9ses session information dir directory that dentry is being created in dentry dentr...
v9fs_dec_count(9)
NAME v9fs_dec_count - helper functon to drop i_nlink. SYNOPSIS void v9fs_dec_count (struct inode *inode ); ARGUMENTS inode inode whose nlink is being dropped DESCRIPTION If a directory had nlink <= 2 (including . and ..), then we should not drop the link count, which indicates the underlying exported fs doesn...
v9fs_dentry_release(9)
NAME v9fs_dentry_release - called when dentry is going to be freed SYNOPSIS void v9fs_dentry_release (struct dentry *dentry ); ARGUMENTS dentry dentry that is being release SEE ALSO Kernel file ./fs/9p/vfs_dentry.c v9fs_cached_dentry_delete(9) April 2026 ...
v9fs_destroy_inode_cache(9)
NAME v9fs_destroy_inode_cache - destroy the cache of 9P inode SYNOPSIS void v9fs_destroy_inode_cache (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), v9fs_session_close(9), v9fs_session_cancel(9), v9fs_session_begin_cancel(9), v9fs_sysf...
v9fs_dir_readdir(9)
NAME v9fs_dir_readdir - iterate through a directory SYNOPSIS int v9fs_dir_readdir (struct file *file , struct dir_context *ctx ); ARGUMENTS file opened file structure ctx actor we feed the entries to SEE ALSO Kernel file ./fs/9p/vfs_dir.c struct p9_rdir(9), dt_type(9), v9fs_alloc_rdir_buf(9), ...
v9fs_dir_readdir_dotl(9)
NAME v9fs_dir_readdir_dotl - iterate through a directory SYNOPSIS int v9fs_dir_readdir_dotl (struct file *file , struct dir_context *ctx ); ARGUMENTS file opened file structure ctx actor we feed the entries to SEE ALSO Kernel file ./fs/9p/vfs_dir.c struct p9_rdir(9), dt_type(9), v9fs_alloc_rdi...
v9fs_dir_release(9)
NAME v9fs_dir_release - close a directory or a file SYNOPSIS int v9fs_dir_release (struct inode *inode , struct file *filp ); ARGUMENTS inode inode of the directory or file filp file pointer to a directory or file SEE ALSO Kernel file ./fs/9p/vfs_dir.c struct p9_rdir(9), dt_type(9), v9fs_alloc_r...
v9fs_evict_inode(9)
NAME v9fs_evict_inode - Remove an inode from the inode cache SYNOPSIS void v9fs_evict_inode (struct inode *inode ); ARGUMENTS inode inode to release SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9), v9fs_uflags2omode(9), v9fs_blank_wstat(9), v9fs_alloc_inode(...
v9fs_fid_add(9)
NAME v9fs_fid_add - add a fid to a dentry SYNOPSIS void v9fs_fid_add (struct dentry *dentry , struct p9_fid **pfid ); ARGUMENTS dentry dentry that the fid is being added to pfid fid to add, NULLed out SEE ALSO Kernel file ./fs/9p/fid.c v9fs_fid_find_inode(9), v9fs_open_fid_add(9), v9fs_fid_find(9...
v9fs_fid_find(9)
NAME v9fs_fid_find - retrieve a fid that belongs to the specified uid SYNOPSIS struct p9_fid * v9fs_fid_find (struct dentry *dentry , kuid_t uid , int any ); ARGUMENTS dentry dentry to look for fid in uid return fid that belongs to the specified user any if non-zero, return any fi...
v9fs_fid_find_inode(9)
NAME v9fs_fid_find_inode - search for an open fid off of the inode list SYNOPSIS struct p9_fid * v9fs_fid_find_inode (struct inode *inode , bool want_writeable , kuid_t uid , bool any ); ARGUMENTS inode return a fid pointing to a specific inode want_writeable only consider fids which ...
v9fs_fid_lookup(9)
NAME v9fs_fid_lookup - lookup for a fid, try to walk if not found SYNOPSIS struct p9_fid * v9fs_fid_lookup (struct dentry *dentry ); ARGUMENTS dentry dentry to look for fid in DESCRIPTION Look for a fid in the specified dentry for the current user. If no fid is found, try to create one walking from a fid fro...
v9fs_file_flock_dotl(9)
NAME v9fs_file_flock_dotl - lock a file SYNOPSIS int v9fs_file_flock_dotl (struct file *filp , int cmd , struct file_lock *fl ); ARGUMENTS filp file to be locked cmd lock command fl file lock structure SEE ALSO Kernel file ./fs/9p/vfs_file.c v9fs_file_open(9), v9fs_file_lock(9...
v9fs_file_lock(9)
NAME v9fs_file_lock - lock a file (or directory) SYNOPSIS int v9fs_file_lock (struct file *filp , int cmd , struct file_lock *fl ); ARGUMENTS filp file to be locked cmd lock command fl file lock structure DESCRIPTION Bugs: this looks like a local only lock, we should extend in...
v9fs_file_lock_dotl(9)
NAME v9fs_file_lock_dotl - lock a file (or directory) SYNOPSIS int v9fs_file_lock_dotl (struct file *filp , int cmd , struct file_lock *fl ); ARGUMENTS filp file to be locked cmd lock command fl file lock structure SEE ALSO Kernel file ./fs/9p/vfs_file.c v9fs_file_open(9), v9f...
v9fs_file_open(9)
NAME v9fs_file_open - open a file (or directory) SYNOPSIS int v9fs_file_open (struct inode *inode , struct file *file ); ARGUMENTS inode inode to be opened file file being opened SEE ALSO Kernel file ./fs/9p/vfs_file.c v9fs_file_lock(9), v9fs_file_lock_dotl(9), v9fs_file_flock_dotl(9), v9fs_file...
v9fs_file_read_iter(9)
NAME v9fs_file_read_iter - read from a file SYNOPSIS ssize_t v9fs_file_read_iter (struct kiocb *iocb , struct iov_iter *to ); ARGUMENTS iocb The operation parameters to The buffer to read into SEE ALSO Kernel file ./fs/9p/vfs_file.c v9fs_file_open(9), v9fs_file_lock(9), v9fs_file_lock_dotl(9)...
v9fs_file_write_iter(9)
NAME v9fs_file_write_iter - write to a file SYNOPSIS ssize_t v9fs_file_write_iter (struct kiocb *iocb , struct iov_iter *from ); ARGUMENTS iocb The operation parameters from The data to write SEE ALSO Kernel file ./fs/9p/vfs_file.c v9fs_file_open(9), v9fs_file_lock(9), v9fs_file_lock_dotl(9), v...
v9fs_free_inode(9)
NAME v9fs_free_inode - destroy an inode SYNOPSIS void v9fs_free_inode (struct inode *inode ); ARGUMENTS inode The inode to be freed SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9), v9fs_uflags2omode(9), v9fs_blank_wstat(9), v9fs_alloc_inode(9), v9fs_evict_ino...
v9fs_free_request(9)
NAME v9fs_free_request - Cleanup request initialized by v9fs_init_rreq SYNOPSIS void v9fs_free_request (struct netfs_io_request *rreq ); ARGUMENTS rreq The I/O request to clean up SEE ALSO Kernel file ./fs/9p/vfs_addr.c v9fs_issue_read(9), v9fs_init_request(9) April 2026 ...
v9fs_get_default_trans(9)
NAME v9fs_get_default_trans - get the default transport SYNOPSIS struct p9_trans_module * v9fs_get_default_trans (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./net/9p/mod.c v9fs_register_trans(9), v9fs_unregister_trans(9), v9fs_get_trans_by_name(9), v9fs_put_trans(9), init_p9(9), exit_p9(9) Apri...
v9fs_get_fsgid_for_create(9)
NAME v9fs_get_fsgid_for_create - Helper function to get the gid for a new object SYNOPSIS kgid_t v9fs_get_fsgid_for_create (struct inode *dir_inode ); ARGUMENTS dir_inode The directory inode DESCRIPTION Helper function to get the gid for creating a new file system object. This checks the S_ISGID to determine the o...
v9fs_get_inode_from_fid(9)
NAME v9fs_get_inode_from_fid - Helper routine to populate an inode by issuing a attribute request SYNOPSIS struct inode * v9fs_get_inode_from_fid (struct v9fs_session_info *v9ses , struct p9_fid *fid , struct super_block *sb ); ARGUMENTS v9ses session information fid fid to issue attribute reque...
v9fs_get_new_inode_from_fid(9)
NAME v9fs_get_new_inode_from_fid - Helper routine to populate an inode by issuing a attribute request SYNOPSIS struct inode * v9fs_get_new_inode_from_fid (struct v9fs_session_info *v9ses , struct p9_fid *fid , struct super_block *sb ); ARGUMENTS v9ses session information fid fid to issue attribu...
v9fs_get_trans_by_name(9)
NAME v9fs_get_trans_by_name - get transport with the matching name SYNOPSIS struct p9_trans_module * v9fs_get_trans_by_name (const char *s ); ARGUMENTS s string identifying transport SEE ALSO Kernel file ./net/9p/mod.c v9fs_register_trans(9), v9fs_unregister_trans(9), v9fs_get_default_trans(9), v9fs_put_tr...
v9fs_get_tree(9)
NAME v9fs_get_tree - create the mountable root and superblock SYNOPSIS int v9fs_get_tree (struct fs_context *fc ); ARGUMENTS fc the filesystem context SEE ALSO Kernel file ./fs/9p/vfs_super.c v9fs_kill_super(9) April 2026 ...
v9fs_init_inode_cache(9)
NAME v9fs_init_inode_cache - initialize a cache for 9P Returns 0 on success. SYNOPSIS int v9fs_init_inode_cache (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), v9fs_session_close(9), v9fs_session_cancel(9), v9fs_session_begin_cancel(9), v9...
v9fs_init_request(9)
NAME v9fs_init_request - Initialise a request SYNOPSIS int v9fs_init_request (struct netfs_io_request *rreq , struct file *file ); ARGUMENTS rreq The read request file The file being read from SEE ALSO Kernel file ./fs/9p/vfs_addr.c v9fs_issue_read(9), v9fs_free_request(9) April 2026 ...
v9fs_issue_read(9)
NAME v9fs_issue_read - Issue a read from 9P SYNOPSIS void v9fs_issue_read (struct netfs_io_subrequest *subreq ); ARGUMENTS subreq The read to make SEE ALSO Kernel file ./fs/9p/vfs_addr.c v9fs_init_request(9), v9fs_free_request(9) April 2026 ...
v9fs_kill_super(9)
NAME v9fs_kill_super - Kill Superblock SYNOPSIS void v9fs_kill_super (struct super_block *s ); ARGUMENTS s superblock SEE ALSO Kernel file ./fs/9p/vfs_super.c v9fs_get_tree(9) April 2026 v9fs_kill_super ...
v9fs_open_fid_add(9)
NAME v9fs_open_fid_add - add an open fid to an inode SYNOPSIS void v9fs_open_fid_add (struct inode *inode , struct p9_fid **pfid ); ARGUMENTS inode inode that the fid is being added to pfid fid to add, NULLed out SEE ALSO Kernel file ./fs/9p/fid.c v9fs_fid_add(9), v9fs_fid_find_inode(9), v9fs_fi...
v9fs_open_to_dotl_flags(9)
NAME v9fs_open_to_dotl_flags - convert Linux specific open flags to plan 9 open flag. SYNOPSIS int v9fs_open_to_dotl_flags (int flags ); ARGUMENTS flags flags to convert SEE ALSO Kernel file ./fs/9p/vfs_inode_dotl.c v9fs_get_fsgid_for_create(9), v9fs_vfs_create_dotl(9), v9fs_vfs_mkdir_dotl(9), v9fs_vfs_s...
v9fs_parse_param(9)
NAME v9fs_parse_param - parse a mount option into the filesystem context SYNOPSIS int v9fs_parse_param (struct fs_context *fc , struct fs_parameter *param ); ARGUMENTS fc the filesystem context param the parameter to parse DESCRIPTION Return 0 upon success, -ERRNO upon failure. SEE ALSO Kerne...
v9fs_put_trans(9)
NAME v9fs_put_trans - put trans SYNOPSIS void v9fs_put_trans (struct p9_trans_module *m ); ARGUMENTS m transport to put SEE ALSO Kernel file ./net/9p/mod.c v9fs_register_trans(9), v9fs_unregister_trans(9), v9fs_get_trans_by_name(9), v9fs_get_default_trans(9), init_p9(9), exit_p9(9) April 2026 ...
v9fs_register_trans(9)
NAME v9fs_register_trans - register a new transport with 9p SYNOPSIS void v9fs_register_trans (struct p9_trans_module *m ); ARGUMENTS m structure describing the transport module and entry points SEE ALSO Kernel file ./net/9p/mod.c v9fs_unregister_trans(9), v9fs_get_trans_by_name(9), v9fs_get_default_trans(...
v9fs_remove(9)
NAME v9fs_remove - helper function to remove files and directories SYNOPSIS int v9fs_remove (struct inode *dir , struct dentry *dentry , int flags ); ARGUMENTS dir directory inode that is being deleted dentry dentry that is being deleted flags removing a directory SEE ALSO Kernel ...
v9fs_session_begin_cancel(9)
NAME v9fs_session_begin_cancel - Begin terminate of a session SYNOPSIS void v9fs_session_begin_cancel (struct v9fs_session_info *v9ses ); ARGUMENTS v9ses session to terminate DESCRIPTION After this call we don't allow any request other than clunk. SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v...
v9fs_session_cancel(9)
NAME v9fs_session_cancel - terminate a session SYNOPSIS void v9fs_session_cancel (struct v9fs_session_info *v9ses ); ARGUMENTS v9ses session to terminate DESCRIPTION mark transport as disconnected and cancel all pending requests. SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), ...
v9fs_session_close(9)
NAME v9fs_session_close - shutdown a session SYNOPSIS void v9fs_session_close (struct v9fs_session_info *v9ses ); ARGUMENTS v9ses session information structure SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), v9fs_session_cancel(9), v9fs_session_begin_cancel(9), v9fs_sysfs_init(9)...
v9fs_session_init(9)
NAME v9fs_session_init - initialize session SYNOPSIS struct p9_fid * v9fs_session_init (struct v9fs_session_info *v9ses , struct fs_context *fc ); ARGUMENTS v9ses session information structure fc the filesystem mount context SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_se...
v9fs_stat2inode(9)
NAME v9fs_stat2inode - populate an inode structure with mistat info SYNOPSIS void v9fs_stat2inode (struct p9_wstat *stat , struct inode *inode , struct super_block *sb , unsigned int flags ); ARGUMENTS stat Plan 9 metadata (mistat) structure inode inode to populate sb superblock ...
v9fs_stat2inode_dotl(9)
NAME v9fs_stat2inode_dotl - populate an inode structure with stat info SYNOPSIS void v9fs_stat2inode_dotl (struct p9_stat_dotl *stat , struct inode *inode , unsigned int flags ); ARGUMENTS stat stat structure inode inode to populate flags ctrl flags (e.g. V9FS_STAT2INODE_KEEP_ISIZE)...
v9fs_sysfs_cleanup(9)
NAME v9fs_sysfs_cleanup - Unregister the v9fs sysfs interface SYNOPSIS void v9fs_sysfs_cleanup (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), v9fs_session_close(9), v9fs_session_cancel(9), v9fs_session_begin_cancel(9), v9fs_sysfs_init(9), v9...
v9fs_sysfs_init(9)
NAME v9fs_sysfs_init - Initialize the v9fs sysfs interface SYNOPSIS int v9fs_sysfs_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/9p/v9fs.c v9fs_parse_param(9), v9fs_session_init(9), v9fs_session_close(9), v9fs_session_cancel(9), v9fs_session_begin_cancel(9), v9fs_sysfs_cleanup(9)...
v9fs_uflags2omode(9)
NAME v9fs_uflags2omode - convert posix open flags to plan 9 mode bits SYNOPSIS int v9fs_uflags2omode (int uflags , int extended ); ARGUMENTS uflags flags to convert extended if .u extensions are active SEE ALSO Kernel file ./fs/9p/vfs_inode.c unixmode2p9mode(9), p9mode2perm(9), p9mode2unixmode(9...
v9fs_unregister_trans(9)
NAME v9fs_unregister_trans - unregister a 9p transport SYNOPSIS void v9fs_unregister_trans (struct p9_trans_module *m ); ARGUMENTS m the transport to remove SEE ALSO Kernel file ./net/9p/mod.c v9fs_register_trans(9), v9fs_get_trans_by_name(9), v9fs_get_default_trans(9), v9fs_put_trans(9), init_p9(9), exit_...
v9fs_vfs_create(9)
NAME v9fs_vfs_create - VFS hook to create a regular file SYNOPSIS int v9fs_vfs_create (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t mode , bool excl ); ARGUMENTS idmap idmap of the mount dir The parent directory dentry The name of file to be created ...
v9fs_vfs_create_dotl(9)
NAME v9fs_vfs_create_dotl - VFS hook to create files for 9P2000.L protocol. SYNOPSIS int v9fs_vfs_create_dotl (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t omode , bool excl ); ARGUMENTS idmap The user namespace of the mount dir directory inode that is being crea...
v9fs_vfs_get_link(9)
NAME v9fs_vfs_get_link - follow a symlink path SYNOPSIS const char * v9fs_vfs_get_link (struct dentry *dentry , struct inode *inode , struct delayed_call *done ); ARGUMENTS dentry dentry for symlink inode inode for symlink done delayed call for when we are done with the return value ...
v9fs_vfs_get_link_dotl(9)
NAME v9fs_vfs_get_link_dotl - follow a symlink path SYNOPSIS const char * v9fs_vfs_get_link_dotl (struct dentry *dentry , struct inode *inode , struct delayed_call *done ); ARGUMENTS dentry dentry for symlink inode inode for symlink done destructor for return value SEE ALSO Kernel ...
v9fs_vfs_getattr(9)
NAME v9fs_vfs_getattr - retrieve file metadata SYNOPSIS int v9fs_vfs_getattr (struct mnt_idmap *idmap , const struct path *path , struct kstat *stat , u32 request_mask , unsigned int flags ); ARGUMENTS idmap idmap of the mount path Object to query stat metadata structure to populat...
v9fs_vfs_link(9)
NAME v9fs_vfs_link - create a hardlink SYNOPSIS int v9fs_vfs_link (struct dentry *old_dentry , struct inode *dir , struct dentry *dentry ); ARGUMENTS old_dentry dentry for file to link to dir inode destination for new link dentry dentry for link SEE ALSO Kernel file ./fs/9p/vfs_inode....
v9fs_vfs_link_dotl(9)
NAME v9fs_vfs_link_dotl - create a hardlink for dotl SYNOPSIS int v9fs_vfs_link_dotl (struct dentry *old_dentry , struct inode *dir , struct dentry *dentry ); ARGUMENTS old_dentry dentry for file to link to dir inode destination for new link dentry dentry for link SEE ALSO Kernel file ...
v9fs_vfs_lookup(9)
NAME v9fs_vfs_lookup - VFS lookup hook to "walk" to a new inode SYNOPSIS struct dentry * v9fs_vfs_lookup (struct inode *dir , struct dentry *dentry , unsigned int flags ); ARGUMENTS dir inode that is being walked from dentry dentry that is being walked to? flags lookup flags (unused...
v9fs_vfs_mkdir(9)
NAME v9fs_vfs_mkdir - VFS mkdir hook to create a directory SYNOPSIS struct dentry * v9fs_vfs_mkdir (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t mode ); ARGUMENTS idmap idmap of the mount dir inode that is being unlinked dentry dentry that is being u...
v9fs_vfs_mkdir_dotl(9)
NAME v9fs_vfs_mkdir_dotl - VFS mkdir hook to create a directory SYNOPSIS struct dentry * v9fs_vfs_mkdir_dotl (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t omode ); ARGUMENTS idmap The idmap of the mount dir inode that is being unlinked dentry dentry ...
v9fs_vfs_mknod(9)
NAME v9fs_vfs_mknod - create a special file SYNOPSIS int v9fs_vfs_mknod (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t mode , dev_t rdev ); ARGUMENTS idmap idmap of the mount dir inode destination for new link dentry dentry for file mode ...
v9fs_vfs_mknod_dotl(9)
NAME v9fs_vfs_mknod_dotl - create a special file SYNOPSIS int v9fs_vfs_mknod_dotl (struct mnt_idmap *idmap , struct inode *dir , struct dentry *dentry , umode_t omode , dev_t rdev ); ARGUMENTS idmap The idmap of the mount dir inode destination for new link dentry dentry for file ...
v9fs_vfs_mkspecial(9)
NAME v9fs_vfs_mkspecial - create a special file SYNOPSIS int v9fs_vfs_mkspecial (struct inode *dir , struct dentry *dentry , u32 perm , const char *extension ); ARGUMENTS dir inode to create special file in dentry dentry to create perm mode to create special file extension ...