id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
nfsd_file_close_inode(9) | NAME nfsd_file_close_inode - attempt a delayed close of a nfsd_file
SYNOPSIS void nfsd_file_close_inode (struct inode *inode );
ARGUMENTS inode inode of the file to attempt to remove
DESCRIPTION Close out any open nfsd_files that can be reaped for inode. The actual freeing is deferred to the dispose_list_delay... |
nfsd_file_close_inode_sync(9) | NAME nfsd_file_close_inode_sync - attempt to forcibly close a nfsd_file
SYNOPSIS void nfsd_file_close_inode_sync (struct inode *inode );
ARGUMENTS inode inode of the file to attempt to remove
DESCRIPTION Close out any open nfsd_files that can be reaped for inode. The nfsd_files are closed out synchronously. T... |
nfsd_file_cond_queue(9) | NAME nfsd_file_cond_queue - conditionally unhash and queue a nfsd_file
SYNOPSIS void nfsd_file_cond_queue (struct nfsd_file *nf , struct list_head *dispose );
ARGUMENTS nf nfsd_file to attempt to queue
dispose private list to queue successfully-put objects
DESCRIPTION Unhash an nfsd_file, try to... |
nfsd_file_dispose_list_delayed(9) | NAME nfsd_file_dispose_list_delayed - move list of dead files to net's freeme list
SYNOPSIS void nfsd_file_dispose_list_delayed (struct list_head *dispose );
ARGUMENTS dispose list of nfsd_files to be disposed
DESCRIPTION Transfers each file to the "freeme" list for its nfsd_net, to eventually be disposed of by ... |
nfsd_file_file(9) | NAME nfsd_file_file - get the backing file of an nfsd_file
SYNOPSIS struct file * nfsd_file_file (struct nfsd_file *nf );
ARGUMENTS nf nfsd_file of which to access the backing file.
DESCRIPTION Return backing file for nf.
SEE ALSO Kernel file ./fs/nfsd/filecache.c nfsd_file_check_write_error(9), nfsd_f... |
nfsd_file_is_cached(9) | NAME nfsd_file_is_cached - are there any cached open files for this inode?
SYNOPSIS bool nfsd_file_is_cached (struct inode *inode );
ARGUMENTS inode inode to check
DESCRIPTION The lookup matches inodes in all net namespaces and is atomic wrt nfsd_file_acquire. Return values: true: filecache contains at least ... |
nfsd_file_lru_cb(9) | NAME nfsd_file_lru_cb - Examine an entry on the LRU list
SYNOPSIS enum lru_status nfsd_file_lru_cb (struct list_head *item , struct list_lru_one *lru , void *arg );
ARGUMENTS item LRU entry to examine
lru controlling LRU
arg dispose list
DESCRIPTION Return values: LRU_REMOVED: ... |
nfsd_file_net_dispose(9) | NAME nfsd_file_net_dispose - deal with nfsd_files waiting to be disposed.
SYNOPSIS void nfsd_file_net_dispose (struct nfsd_net *nn );
ARGUMENTS nn nfsd_net in which to find files to be disposed.
DESCRIPTION When files held open for nfsv3 are removed from the filecache, whether due to memory pressure or garb... |
nfsd_file_put(9) | NAME nfsd_file_put - put the reference to a nfsd_file
SYNOPSIS void nfsd_file_put (struct nfsd_file *nf );
ARGUMENTS nf nfsd_file of which to put the reference
DESCRIPTION Put a reference to a nfsd_file. In the non-GC case, we just put the reference immediately. In the GC case, if the reference would be the... |
nfsd_file_put_local(9) | NAME nfsd_file_put_local - put nfsd_file reference and arm nfsd_net_put in caller
SYNOPSIS struct net * nfsd_file_put_local (struct nfsd_file __rcu **pnf );
ARGUMENTS pnf nfsd_file of which to put the reference
DESCRIPTION First save the associated net to return to caller, then put the reference of the nfsd_... |
nfsd_file_queue_for_close(9) | NAME nfsd_file_queue_for_close - try to close out any open nfsd_files for an inode
SYNOPSIS void nfsd_file_queue_for_close (struct inode *inode , struct list_head *dispose );
ARGUMENTS inode inode on which to close out nfsd_files
dispose list on which to gather nfsd_files to close out
DESCRIPTION A... |
nfsd_filp_close(9) | NAME nfsd_filp_close - close a file synchronously
SYNOPSIS void nfsd_filp_close (struct file *fp );
ARGUMENTS fp the file to close
DESCRIPTION nfsd_filp_close is similar in behaviour to filp_close. The difference is that if this is the final close on the file, the that finalisation happens immediately, ... |
nfsd_get_dir_deleg(9) | NAME nfsd_get_dir_deleg - attempt to get a directory delegation
SYNOPSIS struct nfs4_delegation * nfsd_get_dir_deleg (struct nfsd4_compound_state *cstate , struct nfsd4_get_dir_delegation *gdd , struct nfsd_file *nf );
ARGUMENTS cstate compound state
gdd GET_DIR_DELEGATION arg/resp structure
... |
nfsd_iter_read(9) | NAME nfsd_iter_read - Perform a VFS read using an iterator
SYNOPSIS __be32 nfsd_iter_read (struct svc_rqst *rqstp , struct svc_fh *fhp , struct nfsd_file *nf , loff_t offset , unsigned long *count , unsigned int base , u32 *eof );
ARGUMENTS rqstp RPC transaction context
fhp file handle of file t... |
nfsd_link(9) | NAME nfsd_link - create a link
SYNOPSIS __be32 nfsd_link (struct svc_rqst *rqstp , struct svc_fh *ffhp , char *name , int len , struct svc_fh *tfhp );
ARGUMENTS rqstp RPC transaction context
ffhp the file handle of the directory where the new link is to be created
name the filename... |
nfsd_lookup(9) | NAME nfsd_lookup - look up a single path component for nfsd
SYNOPSIS __be32 nfsd_lookup (struct svc_rqst *rqstp , struct svc_fh *fhp , const char *name , unsigned int len , struct svc_fh *resfh );
ARGUMENTS rqstp the request context
fhp the file handle of the directory
name the co... |
nfsd_map_name_to_gid(9) | NAME nfsd_map_name_to_gid - Map user@domain to local GID
SYNOPSIS __be32 nfsd_map_name_to_gid (struct svc_rqst *rqstp , const char *name , size_t namelen , kgid_t *gid );
ARGUMENTS rqstp RPC execution context
name userdomain name to be mapped
namelen length of name, in bytes
g... |
nfsd_map_name_to_uid(9) | NAME nfsd_map_name_to_uid - Map user@domain to local UID
SYNOPSIS __be32 nfsd_map_name_to_uid (struct svc_rqst *rqstp , const char *name , size_t namelen , kuid_t *uid );
ARGUMENTS rqstp RPC execution context
name userdomain name to be mapped
namelen length of name, in bytes
u... |
nfsd_net_exit(9) | NAME nfsd_net_exit - Release the nfsd_net portion of a net namespace
SYNOPSIS __net_exit void nfsd_net_exit (struct net *net );
ARGUMENTS net a network namespace that is about to be destroyed
SEE ALSO Kernel file ./fs/nfsd/nfsctl.c nfsd_nl_rpc_status_get_dumpit(9), nfsd_nl_threads_set_doit(9), nfsd_n... |
nfsd_net_init(9) | NAME nfsd_net_init - Prepare the nfsd_net portion of a new net namespace
SYNOPSIS __net_init int nfsd_net_init (struct net *net );
ARGUMENTS net a freshly-created network namespace
DESCRIPTION This information stays around as long as the network namespace is alive whether or not there is an NFSD instance run... |
nfsd_net_pre_exit(9) | NAME nfsd_net_pre_exit - Disconnect localio clients from net namespace
SYNOPSIS __net_exit void nfsd_net_pre_exit (struct net *net );
ARGUMENTS net a network namespace that is about to be destroyed
DESCRIPTION This invalidates ->net pointers held by localio clients while they can still safely access nn->coun... |
nfsd_nl_listener_get_doit(9) | NAME nfsd_nl_listener_get_doit - get the nfs running listeners
SYNOPSIS int nfsd_nl_listener_get_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Kernel ... |
nfsd_nl_listener_set_doit(9) | NAME nfsd_nl_listener_set_doit - set the nfs running sockets
SYNOPSIS int nfsd_nl_listener_set_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Kernel fi... |
nfsd_nl_pool_mode_get_doit(9) | NAME nfsd_nl_pool_mode_get_doit - get info about pool_mode
SYNOPSIS int nfsd_nl_pool_mode_get_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Kernel fil... |
nfsd_nl_pool_mode_set_doit(9) | NAME nfsd_nl_pool_mode_set_doit - set the number of running threads
SYNOPSIS int nfsd_nl_pool_mode_set_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Ker... |
nfsd_nl_rpc_status_get_dumpit(9) | NAME nfsd_nl_rpc_status_get_dumpit - Handle rpc_status_get dumpit
SYNOPSIS int nfsd_nl_rpc_status_get_dumpit (struct sk_buff *skb , struct netlink_callback *cb );
ARGUMENTS skb reply buffer
cb netlink metadata and command arguments
DESCRIPTION Returns the size of the reply or a negative errn... |
nfsd_nl_threads_get_doit(9) | NAME nfsd_nl_threads_get_doit - get the maximum number of running threads
SYNOPSIS int nfsd_nl_threads_get_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO... |
nfsd_nl_threads_set_doit(9) | NAME nfsd_nl_threads_set_doit - set the number of running threads
SYNOPSIS int nfsd_nl_threads_set_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Kernel ... |
nfsd_nl_version_get_doit(9) | NAME nfsd_nl_version_get_doit - get the enabled status for all supported nfs versions
SYNOPSIS int nfsd_nl_version_get_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errn... |
nfsd_nl_version_set_doit(9) | NAME nfsd_nl_version_set_doit - set the nfs enabled versions
SYNOPSIS int nfsd_nl_version_set_doit (struct sk_buff *skb , struct genl_info *info );
ARGUMENTS skb reply buffer
info netlink metadata and command arguments
DESCRIPTION Return 0 on success or a negative errno.
SEE ALSO Kernel fil... |
nfsd_open_local_fh(9) | NAME nfsd_open_local_fh - lookup a local filehandle @nfs_fh and map to nfsd_file
SYNOPSIS struct nfsd_file * nfsd_open_local_fh (struct net *net , struct auth_domain *dom , struct rpc_clnt *rpc_clnt , const struct cred *cred , const struct nfs_fh *nfs_fh , struct nfsd_file __rcu **pnf , const fmode_t fmode );
ARGUMEN... |
nfsd_open_verified(9) | NAME nfsd_open_verified - Open a regular file for the filecache
SYNOPSIS int nfsd_open_verified (struct svc_fh *fhp , umode_t type , int may_flags , struct file **filp );
ARGUMENTS fhp NFS filehandle of the file to open
type S_IFMT inode type allowed (0 means any type is allowed)
may_fl... |
nfsd_read(9) | NAME nfsd_read - Read data from a file
SYNOPSIS __be32 nfsd_read (struct svc_rqst *rqstp , struct svc_fh *fhp , loff_t offset , unsigned long *count , u32 *eof );
ARGUMENTS rqstp RPC transaction context
fhp file handle of file to be read
offset starting byte offset
count ... |
nfsd_read_splice_ok(9) | NAME nfsd_read_splice_ok - check if spliced reading is supported
SYNOPSIS bool nfsd_read_splice_ok (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction context
DESCRIPTION Return values: true: nfsd_splice_read may be used false: nfsd_splice_read must not be used NFS READ normally uses splice to send d... |
nfsd_readdir(9) | NAME nfsd_readdir - Read entries from a directory
SYNOPSIS __be32 nfsd_readdir (struct svc_rqst *rqstp , struct svc_fh *fhp , loff_t *offsetp , struct readdir_cd *cdp , nfsd_filldir_t func );
ARGUMENTS rqstp RPC transaction context
fhp NFS file handle of directory to be read
offsetp ... |
nfsd_removexattr(9) | NAME nfsd_removexattr - Remove an extended attribute
SYNOPSIS __be32 nfsd_removexattr (struct svc_rqst *rqstp , struct svc_fh *fhp , char *name );
ARGUMENTS rqstp RPC transaction being executed
fhp NFS filehandle of object with xattr to remove
name name of xattr to remove (NUL-ter... |
nfsd_rename(9) | NAME nfsd_rename - rename a directory entry
SYNOPSIS __be32 nfsd_rename (struct svc_rqst *rqstp , struct svc_fh *ffhp , char *fname , int flen , struct svc_fh *tfhp , char *tname , int tlen );
ARGUMENTS rqstp RPC transaction context
ffhp the file handle of parent directory containing the entry to... |
nfsd_reply_cache_count(9) | NAME nfsd_reply_cache_count - count_objects method for the DRC shrinker
SYNOPSIS unsigned long nfsd_reply_cache_count (struct shrinker *shrink , struct shrink_control *sc );
ARGUMENTS shrink our registered shrinker context
sc garbage collection parameters
DESCRIPTION Returns the total number... |
nfsd_reply_cache_scan(9) | NAME nfsd_reply_cache_scan - scan_objects method for the DRC shrinker
SYNOPSIS unsigned long nfsd_reply_cache_scan (struct shrinker *shrink , struct shrink_control *sc );
ARGUMENTS shrink our registered shrinker context
sc garbage collection parameters
DESCRIPTION Free expired entries on each... |
nfsd_reset_write_verifier(9) | NAME nfsd_reset_write_verifier - Generate a new write verifier
SYNOPSIS void nfsd_reset_write_verifier (struct nfsd_net *nn );
ARGUMENTS nn NFS net namespace
DESCRIPTION This function updates the ->writeverf field of nn. This field contains an opaque cookie that, according to Section 18.32.3 of RFC 8881, ... |
nfsd_set_nrthreads(9) | NAME nfsd_set_nrthreads - set the number of running threads in the net's service
SYNOPSIS int nfsd_set_nrthreads (int n , int *nthreads , struct net *net );
ARGUMENTS n number of array members in nthreads
nthreads array of thread counts for each pool
net network namespace to opera... |
nfsd_setattr(9) | NAME nfsd_setattr - Set various file attributes.
SYNOPSIS __be32 nfsd_setattr (struct svc_rqst *rqstp , struct svc_fh *fhp , struct nfsd_attrs *attr , const struct timespec64 *guardtime );
ARGUMENTS rqstp controlling RPC transaction
fhp filehandle of target
attr attributes to set
... |
nfsd_splice_read(9) | NAME nfsd_splice_read - Perform a VFS read using a splice pipe
SYNOPSIS __be32 nfsd_splice_read (struct svc_rqst *rqstp , struct svc_fh *fhp , struct file *file , loff_t offset , unsigned long *count , u32 *eof );
ARGUMENTS rqstp RPC transaction context
fhp file handle of file to be read
... |
nfsd_svc(9) | NAME nfsd_svc - start up or shut down the nfsd server
SYNOPSIS int nfsd_svc (int n , int *nthreads , struct net *net , const struct cred *cred , const char *scope );
ARGUMENTS n number of array members in nthreads
nthreads array of thread counts for each pool
net network namespace... |
nfsd_symlink(9) | NAME nfsd_symlink - Create a symlink and look up its inode
SYNOPSIS __be32 nfsd_symlink (struct svc_rqst *rqstp , struct svc_fh *fhp , char *fname , int flen , char *path , struct nfsd_attrs *attrs , struct svc_fh *resfhp );
ARGUMENTS rqstp RPC transaction being executed
fhp NFS filehandle of pa... |
nfsd_unlink(9) | NAME nfsd_unlink - remove a directory entry
SYNOPSIS __be32 nfsd_unlink (struct svc_rqst *rqstp , struct svc_fh *fhp , int type , char *fname , int flen );
ARGUMENTS rqstp RPC transaction context
fhp the file handle of the parent directory to be modified
type enforced file type of... |
nfsd_vfs_write(9) | NAME nfsd_vfs_write - write data to an already-open file
SYNOPSIS __be32 nfsd_vfs_write (struct svc_rqst *rqstp , struct svc_fh *fhp , struct nfsd_file *nf , loff_t offset , const struct xdr_buf *payload , unsigned long *cnt , int stable , __be32 *verf );
ARGUMENTS rqstp RPC execution context
fhp ... |
nfsd_wait_for_delegreturn(9) | NAME nfsd_wait_for_delegreturn - wait for delegations to be returned
SYNOPSIS bool nfsd_wait_for_delegreturn (struct svc_rqst *rqstp , struct inode *inode );
ARGUMENTS rqstp the RPC transaction being executed
inode in-core inode of the file being waited for
DESCRIPTION The timeout prevents deadlo... |
nfsd_write(9) | NAME nfsd_write - open a file and write data to it
SYNOPSIS __be32 nfsd_write (struct svc_rqst *rqstp , struct svc_fh *fhp , loff_t offset , const struct xdr_buf *payload , unsigned long *cnt , int stable , __be32 *verf );
ARGUMENTS rqstp RPC execution context
fhp File handle of file to write in... |
nfserrno(9) | NAME nfserrno - Map Linux errnos to NFS errnos
SYNOPSIS __be32 nfserrno (int errno );
ARGUMENTS errno POSIX(-ish) error code to be mapped
DESCRIPTION Returns the appropriate (net-endian) nfserr_* (or nfs_ok if errno is 0). If it's an error we don't expect, log it once and return nfserr_io.
SEE ALSO Kernel fi... |
nfsservctl(2) | NAME nfsservctl - syscall interface to kernel nfs daemon
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <linux/nfsd/syscall.h>
long nfsservctl(int cmd, struct nfsctl_arg *argp,
union nfsctl_res *resp);
DESCRIPTION Note: Since Linux 3.1, this system call no longer exists. It ... |
nfssvc_decode_voidarg(9) | NAME nfssvc_decode_voidarg - Decode void arguments
SYNOPSIS bool nfssvc_decode_voidarg (struct svc_rqst *rqstp , struct xdr_stream *xdr );
ARGUMENTS rqstp Server RPC transaction context
xdr XDR stream positioned at arguments to decode
DESCRIPTION Return values: false: Arguments were not valid t... |
nfssvc_encode_entry(9) | NAME nfssvc_encode_entry - encode one NFSv2 READDIR entry
SYNOPSIS int nfssvc_encode_entry (void *data , const char *name , int namlen , loff_t offset , u64 ino , unsigned int d_type );
ARGUMENTS data directory context
name name of the object to be encoded
namlen length of that name... |
nfssvc_encode_nfscookie(9) | NAME nfssvc_encode_nfscookie - Encode a directory offset cookie
SYNOPSIS void nfssvc_encode_nfscookie (struct nfsd_readdirres *resp , u32 offset );
ARGUMENTS resp readdir result context
offset offset cookie to encode
DESCRIPTION The buffer space for the offset cookie has already been reserved by ... |
nfssvc_encode_voidres(9) | NAME nfssvc_encode_voidres - Encode void results
SYNOPSIS bool nfssvc_encode_voidres (struct svc_rqst *rqstp , struct xdr_stream *xdr );
ARGUMENTS rqstp Server RPC transaction context
xdr XDR stream into which to encode results
DESCRIPTION Return values: false: Local error while encoding true: ... |
nft(8) | NAME nft - Administration tool of the nftables framework for packet filtering and classification
SYNOPSIS nft [ -nNscaeSupyjtT ] [ -I directory ] [ -f filename | -i | cmd ...] nft -h nft -v
DESCRIPTION nft is the command line tool used to set up, maintain and inspect packet filtering and classification rules in the L... |
nft_data_hold(9) | NAME nft_data_hold - hold a nft_data item
SYNOPSIS void nft_data_hold (const struct nft_data *data , enum nft_data_types type );
ARGUMENTS data struct nft_data to release
type type of data
DESCRIPTION Hold a nft_data item. NFT_DATA_VALUE types can be silently discarded, NFT_DATA_VERDICT bumps ... |
nft_data_init(9) | NAME nft_data_init - parse nf_tables data netlink attributes
SYNOPSIS int nft_data_init (const struct nft_ctx *ctx , struct nft_data *data , struct nft_data_desc *desc , const struct nlattr *nla );
ARGUMENTS ctx context of the expression using the data
data destination struct nft_data
d... |
nft_data_release(9) | NAME nft_data_release - release a nft_data item
SYNOPSIS void nft_data_release (const struct nft_data *data , enum nft_data_types type );
ARGUMENTS data struct nft_data to release
type type of data
DESCRIPTION Release a nft_data item. NFT_DATA_VALUE types can be silently discarded, all others n... |
nft_dump_register(9) | NAME nft_dump_register - dump a register value to a netlink attribute
SYNOPSIS int nft_dump_register (struct sk_buff *skb , unsigned int attr , unsigned int reg );
ARGUMENTS skb socket buffer
attr attribute number
reg register number
DESCRIPTION Construct a netlink attribute co... |
nft_parse_u32_check(9) | NAME nft_parse_u32_check - fetch u32 attribute and check for maximum value
SYNOPSIS int nft_parse_u32_check (const struct nlattr *attr , int max , u32 *dest );
ARGUMENTS attr netlink attribute to fetch value from
max maximum value to be stored in dest
dest pointer to the variable... |
nft_pipapo_activate(9) | NAME nft_pipapo_activate - Mark element reference as active given key, commit
SYNOPSIS void nft_pipapo_activate (const struct net *net , const struct nft_set *set , struct nft_elem_priv *elem_priv );
ARGUMENTS net Network namespace
set nftables API set representation
elem_priv nftabl... |
nft_pipapo_avx2_estimate(9) | NAME nft_pipapo_avx2_estimate - Set size, space and lookup complexity
SYNOPSIS bool nft_pipapo_avx2_estimate (const struct nft_set_desc *desc , u32 features , struct nft_set_estimate *est );
ARGUMENTS desc Set description, element count and field description used
features Flags: NFT_SET_INTERVAL nee... |
nft_pipapo_avx2_fill(9) | NAME nft_pipapo_avx2_fill - Fill a bitmap region with ones
SYNOPSIS void nft_pipapo_avx2_fill (unsigned long *data , int start , int len );
ARGUMENTS data Base memory area
start First bit to set
len Count of bits to fill
DESCRIPTION This is nothing else than a version of bitma... |
nft_pipapo_avx2_lookup(9) | NAME nft_pipapo_avx2_lookup - Dataplane frontend for AVX2 implementation
SYNOPSIS const struct nft_set_ext * nft_pipapo_avx2_lookup (const struct net *net , const struct nft_set *set , const u32 *key );
ARGUMENTS net Network namespace
set nftables API set representation
key nft... |
nft_pipapo_avx2_lookup_4b_12(9) | NAME nft_pipapo_avx2_lookup_4b_12 - AVX2-based lookup for 12 four-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_4b_12 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitm... |
nft_pipapo_avx2_lookup_4b_2(9) | NAME nft_pipapo_avx2_lookup_4b_2 - AVX2-based lookup for 2 four-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_4b_2 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap
... |
nft_pipapo_avx2_lookup_4b_32(9) | NAME nft_pipapo_avx2_lookup_4b_32 - AVX2-based lookup for 32 four-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_4b_32 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitm... |
nft_pipapo_avx2_lookup_4b_4(9) | NAME nft_pipapo_avx2_lookup_4b_4 - AVX2-based lookup for 4 four-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_4b_4 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap
... |
nft_pipapo_avx2_lookup_4b_8(9) | NAME nft_pipapo_avx2_lookup_4b_8 - AVX2-based lookup for 8 four-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_4b_8 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap
... |
nft_pipapo_avx2_lookup_8b_1(9) | NAME nft_pipapo_avx2_lookup_8b_1 - AVX2-based lookup for one eight-bit group
SYNOPSIS int nft_pipapo_avx2_lookup_8b_1 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitma... |
nft_pipapo_avx2_lookup_8b_16(9) | NAME nft_pipapo_avx2_lookup_8b_16 - AVX2-based lookup for 16 eight-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_8b_16 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bit... |
nft_pipapo_avx2_lookup_8b_2(9) | NAME nft_pipapo_avx2_lookup_8b_2 - AVX2-based lookup for 2 eight-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_8b_2 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap... |
nft_pipapo_avx2_lookup_8b_4(9) | NAME nft_pipapo_avx2_lookup_8b_4 - AVX2-based lookup for 4 eight-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_8b_4 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap... |
nft_pipapo_avx2_lookup_8b_6(9) | NAME nft_pipapo_avx2_lookup_8b_6 - AVX2-based lookup for 6 eight-bit groups
SYNOPSIS int nft_pipapo_avx2_lookup_8b_6 (unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS map Previous match result, used as initial bitmap... |
nft_pipapo_avx2_lookup_slow(9) | NAME nft_pipapo_avx2_lookup_slow - Fallback function for uncommon field sizes
SYNOPSIS int nft_pipapo_avx2_lookup_slow (const struct nft_pipapo_match *mdata , unsigned long *map , unsigned long *fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt , bool first , bool last );
ARGUMENTS mdata Matc... |
nft_pipapo_avx2_prepare(9) | NAME nft_pipapo_avx2_prepare - Prepare before main algorithm body
SYNOPSIS void nft_pipapo_avx2_prepare (void );
ARGUMENTS void no arguments
DESCRIPTION This zeroes out ymm15, which is later used whenever we need to clear a memory location, by storing its content into memory.
SEE ALSO Kernel file ./net/n... |
nft_pipapo_avx2_refill(9) | NAME nft_pipapo_avx2_refill - Scan bitmap, select mapping table item, set bits
SYNOPSIS int nft_pipapo_avx2_refill (int offset , unsigned long *map , unsigned long *dst , union nft_pipapo_map_bucket *mt , bool last );
ARGUMENTS offset Start from given bitmap (equivalent to bucket) offset, in longs
map ... |
nft_pipapo_commit(9) | NAME nft_pipapo_commit - Replace lookup data with current working copy
SYNOPSIS void nft_pipapo_commit (struct nft_set *set );
ARGUMENTS set nftables API set representation
DESCRIPTION While at it, check if we should perform garbage collection on the working copy before committing it for lookup, and don't ... |
nft_pipapo_deactivate(9) | NAME nft_pipapo_deactivate - Search for element and make it inactive
SYNOPSIS struct nft_elem_priv * nft_pipapo_deactivate (const struct net *net , const struct nft_set *set , const struct nft_set_elem *elem );
ARGUMENTS net Network namespace
set nftables API set representation
elem ... |
nft_pipapo_destroy(9) | NAME nft_pipapo_destroy - Free private data for set and all committed elements
SYNOPSIS void nft_pipapo_destroy (const struct nft_ctx *ctx , const struct nft_set *set );
ARGUMENTS ctx context
set nftables API set representation
SEE ALSO Kernel file ./net/netfilter/nft_set_pipapo.c Kernel AP... |
nft_pipapo_do_walk(9) | NAME nft_pipapo_do_walk - Walk over elements in m
SYNOPSIS void nft_pipapo_do_walk (const struct nft_ctx *ctx , struct nft_set *set , const struct nft_pipapo_match *m , struct nft_set_iter *iter );
ARGUMENTS ctx nftables API context
set nftables API set representation
m match... |
nft_pipapo_estimate(9) | NAME nft_pipapo_estimate - Set size, space and lookup complexity
SYNOPSIS bool nft_pipapo_estimate (const struct nft_set_desc *desc , u32 features , struct nft_set_estimate *est );
ARGUMENTS desc Set description, element count and field description used
features Flags: NFT_SET_INTERVAL needs to be t... |
nft_pipapo_flush(9) | NAME nft_pipapo_flush - make element inactive
SYNOPSIS void nft_pipapo_flush (const struct net *net , const struct nft_set *set , struct nft_elem_priv *elem_priv );
ARGUMENTS net Network namespace
set nftables API set representation
elem_priv nftables API element representation conta... |
nft_pipapo_gc_init(9) | NAME nft_pipapo_gc_init - Initialise garbage collection
SYNOPSIS void nft_pipapo_gc_init (const struct nft_set *set );
ARGUMENTS set nftables API set representation
DESCRIPTION Instead of actually setting up a periodic work for garbage collection, as this operation requires a swap of matching data with the w... |
nft_pipapo_get(9) | NAME nft_pipapo_get - Get matching element reference given key data
SYNOPSIS struct nft_elem_priv * nft_pipapo_get (const struct net *net , const struct nft_set *set , const struct nft_set_elem *elem , unsigned int flags );
ARGUMENTS net Network namespace
set nftables API set representation
... |
nft_pipapo_init(9) | NAME nft_pipapo_init - Initialise data for a set instance
SYNOPSIS int nft_pipapo_init (const struct nft_set *set , const struct nft_set_desc *desc , const struct nlattr * const nla[] );
ARGUMENTS set nftables API set representation
desc Set description
nla netlink attributes
D... |
nft_pipapo_insert(9) | NAME nft_pipapo_insert - Validate and insert ranged elements
SYNOPSIS int nft_pipapo_insert (const struct net *net , const struct nft_set *set , const struct nft_set_elem *elem , struct nft_elem_priv **elem_priv );
ARGUMENTS net Network namespace
set nftables API set representation
ele... |
nft_pipapo_lookup(9) | NAME nft_pipapo_lookup - Dataplane fronted for main lookup function
SYNOPSIS const struct nft_set_ext * nft_pipapo_lookup (const struct net *net , const struct nft_set *set , const u32 *key );
ARGUMENTS net Network namespace
set nftables API set representation
key pointer to nf... |
nft_pipapo_privsize(9) | NAME nft_pipapo_privsize - Return the size of private data for the set
SYNOPSIS u64 nft_pipapo_privsize (const struct nlattr * const nla[] , const struct nft_set_desc *desc );
ARGUMENTS nla netlink attributes, ignored as size doesn't depend on them
desc Set description, ignored as size doesn't ... |
nft_pipapo_remove(9) | NAME nft_pipapo_remove - Remove element given key, commit
SYNOPSIS void nft_pipapo_remove (const struct net *net , const struct nft_set *set , struct nft_elem_priv *elem_priv );
ARGUMENTS net Network namespace
set nftables API set representation
elem_priv nftables API element represe... |
nft_pipapo_walk(9) | NAME nft_pipapo_walk - Walk over elements
SYNOPSIS void nft_pipapo_walk (const struct nft_ctx *ctx , struct nft_set *set , struct nft_set_iter *iter );
ARGUMENTS ctx nftables API context
set nftables API set representation
iter Iterator
DESCRIPTION Test if destructive action is... |
nft_register_expr(9) | NAME nft_register_expr - register nf_tables expr type
SYNOPSIS int nft_register_expr (struct nft_expr_type *type );
ARGUMENTS type expr type
DESCRIPTION Registers the expr type for use with nf_tables. Returns zero on success or a negative errno code otherwise.
SEE ALSO Kernel file ./net/netfilter/nf_tables_a... |
nft_register_obj(9) | NAME nft_register_obj - register nf_tables stateful object type
SYNOPSIS int nft_register_obj (struct nft_object_type *obj_type );
ARGUMENTS obj_type object type
DESCRIPTION Registers the object type for use with nf_tables. Returns zero on success or a negative errno code otherwise.
SEE ALSO Kernel file ./net/ne... |
nft_set_pipapo_match_destroy(9) | NAME nft_set_pipapo_match_destroy - Destroy elements from key mapping array
SYNOPSIS void nft_set_pipapo_match_destroy (const struct nft_ctx *ctx , const struct nft_set *set , struct nft_pipapo_match *m );
ARGUMENTS ctx context
set nftables API set representation
m matching d... |
nft_unregister_expr(9) | NAME nft_unregister_expr - unregister nf_tables expr type
SYNOPSIS void nft_unregister_expr (struct nft_expr_type *type );
ARGUMENTS type expr type
DESCRIPTION Unregisters the expr typefor use with nf_tables.
SEE ALSO Kernel file ./net/netfilter/nf_tables_api.c nft_register_expr(9), nft_data_hold(9), nft_reg... |
nft_unregister_obj(9) | NAME nft_unregister_obj - unregister nf_tables object type
SYNOPSIS void nft_unregister_obj (struct nft_object_type *obj_type );
ARGUMENTS obj_type object type
DESCRIPTION Unregisters the object type for use with nf_tables.
SEE ALSO Kernel file ./net/netfilter/nf_tables_api.c nft_register_expr(9), nft_unregister... |
nftables.service(8) | Name nftables.service — Static Firewall Configuration with nftables.service
Description An nftables systemd service is provided which allows to setup static firewall rulesets based on a configuration file.
To use this service, you need to create the main configuration file in /etc/nftables/rules/main.nft. ... |
nftw(3) | NAME ftw, nftw - file tree walk
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <ftw.h>
int nftw(const char *dirpath,
typeof(int (const char *fpath, const struct stat *sb,
int typeflag, struct FTW *ftwbuf))
*fn,
int nopenfd, ... |
nftw(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 nftw — walk a file tree
SYNOPSIS #include <ftw.h>
int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.