id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ubifs_log_post_commit(9) | NAME ubifs_log_post_commit - things to do after commit is completed.
SYNOPSIS int ubifs_log_post_commit (struct ubifs_info *c , int old_ltail_lnum );
ARGUMENTS c UBIFS file-system description object
old_ltail_lnum
old log tail LEB number
DESCRIPTION Release buds only after commi... |
ubifs_log_start_commit(9) | NAME ubifs_log_start_commit - start commit.
SYNOPSIS int ubifs_log_start_commit (struct ubifs_info *c , int *ltail_lnum );
ARGUMENTS c UBIFS file-system description object
ltail_lnum return new log tail LEB number
DESCRIPTION The commit operation starts with writing "commit start" node to the log... |
ubifs_lookup_level0(9) | NAME ubifs_lookup_level0 - search for zero-level znode.
SYNOPSIS int ubifs_lookup_level0 (struct ubifs_info *c , const union ubifs_key *key , struct ubifs_znode **zn , int *n );
ARGUMENTS c UBIFS file-system description object
key key to lookup
zn znode is returned here
... |
ubifs_lpt_calc_hash(9) | NAME ubifs_lpt_calc_hash - Calculate hash of the LPT pnodes
SYNOPSIS int ubifs_lpt_calc_hash (struct ubifs_info *c , u8 *hash );
ARGUMENTS c UBIFS file-system description object
hash the returned hash of the LPT pnodes
DESCRIPTION This function iterates over the LPT pnodes and creates a hash... |
ubifs_lpt_end_commit(9) | NAME ubifs_lpt_end_commit - finish the commit operation.
SYNOPSIS int ubifs_lpt_end_commit (struct ubifs_info *c );
ARGUMENTS c the UBIFS file-system description object
DESCRIPTION This function has to be called when the commit operation finishes. It flushes the changes which were "frozen" by 'ubifs_lprop... |
ubifs_lpt_free(9) | NAME ubifs_lpt_free - free resources owned by the LPT.
SYNOPSIS void ubifs_lpt_free (struct ubifs_info *c , int wr_only );
ARGUMENTS c UBIFS file-system description object
wr_only free only resources used for writing
SEE ALSO Kernel file ./fs/ubifs/lpt_commit.c first_dirty_cnode(9), next_dirty_... |
ubifs_lpt_init(9) | NAME ubifs_lpt_init - initialize the LPT.
SYNOPSIS int ubifs_lpt_init (struct ubifs_info *c , int rd , int wr );
ARGUMENTS c UBIFS file-system description object
rd whether to initialize lpt for reading
wr whether to initialize lpt for writing
DESCRIPTION For mounting 'rw'... |
ubifs_lpt_lookup(9) | NAME ubifs_lpt_lookup - lookup LEB properties in the LPT.
SYNOPSIS struct ubifs_lprops * ubifs_lpt_lookup (struct ubifs_info *c , int lnum );
ARGUMENTS c UBIFS file-system description object
lnum LEB number to lookup
DESCRIPTION This function returns a pointer to the LEB properties on succes... |
ubifs_lpt_lookup_dirty(9) | NAME ubifs_lpt_lookup_dirty - lookup LEB properties in the LPT.
SYNOPSIS struct ubifs_lprops * ubifs_lpt_lookup_dirty (struct ubifs_info *c , int lnum );
ARGUMENTS c UBIFS file-system description object
lnum LEB number to lookup
DESCRIPTION This function returns a pointer to the LEB properti... |
ubifs_lpt_post_commit(9) | NAME ubifs_lpt_post_commit - post commit LPT trivial GC and LPT GC.
SYNOPSIS int ubifs_lpt_post_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION LPT trivial GC is completed after a commit. Also LPT GC is done after a commit for the "big" LPT model.
SEE ALSO Kern... |
ubifs_lpt_scan_nolock(9) | NAME ubifs_lpt_scan_nolock - scan the LPT.
SYNOPSIS int ubifs_lpt_scan_nolock (struct ubifs_info *c , int start_lnum , int end_lnum , ubifs_lpt_scan_callback scan_cb , void *data );
ARGUMENTS c the UBIFS file-system description object
start_lnum LEB number from which to start scanning
end_l... |
ubifs_lpt_start_commit(9) | NAME ubifs_lpt_start_commit - UBIFS commit starts.
SYNOPSIS int ubifs_lpt_start_commit (struct ubifs_info *c );
ARGUMENTS c the UBIFS file-system description object
DESCRIPTION This function has to be called when UBIFS starts the commit operation. This function "freezes" all currently dirty LEB properties... |
ubifs_mount_orphans(9) | NAME ubifs_mount_orphans - delete orphan inodes and erase LEBs that recorded them.
SYNOPSIS int ubifs_mount_orphans (struct ubifs_info *c , int unclean , int read_only );
ARGUMENTS c UBIFS file-system description object
unclean indicates recovery from unclean unmount
read_only indicate... |
ubifs_new_inode(9) | NAME ubifs_new_inode - allocate new UBIFS inode object.
SYNOPSIS struct inode * ubifs_new_inode (struct ubifs_info *c , struct inode *dir , umode_t mode , bool is_xattr );
ARGUMENTS c UBIFS file-system description object
dir parent directory inode
mode inode mode flags
... |
ubifs_next_log_lnum(9) | NAME ubifs_next_log_lnum - switch to the next log LEB.
SYNOPSIS int ubifs_next_log_lnum (const struct ubifs_info *c , int lnum );
ARGUMENTS c UBIFS file-system description object
lnum current log LEB
DESCRIPTION This helper function returns the log LEB number which goes next after LEB
SEE A... |
ubifs_node_calc_hmac(9) | NAME ubifs_node_calc_hmac - calculate the HMAC of a UBIFS node
SYNOPSIS int ubifs_node_calc_hmac (const struct ubifs_info *c , const void *node , int len , int ofs_hmac , void *hmac );
ARGUMENTS c UBIFS file-system description object
node the node to insert a HMAC into.
len th... |
ubifs_orphan_end_commit(9) | NAME ubifs_orphan_end_commit - end commit of orphans.
SYNOPSIS int ubifs_orphan_end_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION End commit of orphans.
SEE ALSO Kernel file ./fs/ubifs/orphan.c ubifs_add_orphan(9), ubifs_delete_orphan(9), ubifs_orphan_st... |
ubifs_orphan_start_commit(9) | NAME ubifs_orphan_start_commit - start commit of orphans.
SYNOPSIS int ubifs_orphan_start_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION Start commit of orphans.
SEE ALSO Kernel file ./fs/ubifs/orphan.c ubifs_add_orphan(9), ubifs_delete_orphan(9), avail_o... |
ubifs_pack_lsave(9) | NAME ubifs_pack_lsave - pack the LPT's save table.
SYNOPSIS void ubifs_pack_lsave (struct ubifs_info *c , void *buf , int *lsave );
ARGUMENTS c UBIFS file-system description object
buf buffer into which to pack
lsave LPT's save table to pack
SEE ALSO Kernel file ./fs/ubifs/l... |
ubifs_pack_ltab(9) | NAME ubifs_pack_ltab - pack the LPT's own lprops table.
SYNOPSIS void ubifs_pack_ltab (struct ubifs_info *c , void *buf , struct ubifs_lpt_lprops *ltab );
ARGUMENTS c UBIFS file-system description object
buf buffer into which to pack
ltab LPT's own lprops table to pack
SEE AL... |
ubifs_pack_nnode(9) | NAME ubifs_pack_nnode - pack all the bit fields of a nnode.
SYNOPSIS void ubifs_pack_nnode (struct ubifs_info *c , void *buf , struct ubifs_nnode *nnode );
ARGUMENTS c UBIFS file-system description object
buf buffer into which to pack
nnode nnode to pack
SEE ALSO Kernel file ... |
ubifs_pack_pnode(9) | NAME ubifs_pack_pnode - pack all the bit fields of a pnode.
SYNOPSIS void ubifs_pack_pnode (struct ubifs_info *c , void *buf , struct ubifs_pnode *pnode );
ARGUMENTS c UBIFS file-system description object
buf buffer into which to pack
pnode pnode to pack
SEE ALSO Kernel file ... |
ubifs_pad(9) | NAME ubifs_pad - pad flash space.
SYNOPSIS void ubifs_pad (const struct ubifs_info *c , void *buf , int pad );
ARGUMENTS c UBIFS file-system description object
buf buffer to put padding to
pad how many bytes to pad
DESCRIPTION The flash media obliges us to write only in chu... |
ubifs_parse_param(9) | NAME ubifs_parse_param - parse a parameter.
SYNOPSIS int ubifs_parse_param (struct fs_context *fc , struct fs_parameter *param );
ARGUMENTS fc the filesystem context
param the parameter to parse
DESCRIPTION This function parses UBIFS mount options and returns zero in case success and a negativ... |
ubifs_pnode_lookup(9) | NAME ubifs_pnode_lookup - lookup a pnode in the LPT.
SYNOPSIS struct ubifs_pnode * ubifs_pnode_lookup (struct ubifs_info *c , int i );
ARGUMENTS c UBIFS file-system description object
i pnode number (0 to (main_lebs - 1) / UBIFS_LPT_FANOUT)
DESCRIPTION This function returns a pointer to t... |
ubifs_prep_grp_node(9) | NAME ubifs_prep_grp_node - prepare node of a group to be written to flash.
SYNOPSIS void ubifs_prep_grp_node (struct ubifs_info *c , void *node , int len , int last );
ARGUMENTS c UBIFS file-system description object
node the node to pad
len node length
last ind... |
ubifs_prepare_auth_node(9) | NAME ubifs_prepare_auth_node - Prepare an authentication node
SYNOPSIS int ubifs_prepare_auth_node (struct ubifs_info *c , void *node , struct shash_desc *inhash );
ARGUMENTS c UBIFS file-system description object
node the node to calculate a hash for
inhash input hash of previou... |
ubifs_prepare_node(9) | NAME ubifs_prepare_node - prepare node to be written to flash.
SYNOPSIS void ubifs_prepare_node (struct ubifs_info *c , void *node , int len , int pad );
ARGUMENTS c UBIFS file-system description object
node the node to pad
len node length
pad if the buffer has... |
ubifs_prepare_node_hmac(9) | NAME ubifs_prepare_node_hmac - prepare node to be written to flash.
SYNOPSIS int ubifs_prepare_node_hmac (struct ubifs_info *c , void *node , int len , int hmac_offs , int pad );
ARGUMENTS c UBIFS file-system description object
node the node to pad
len node length
hmac... |
ubifs_rcvry_gc_commit(9) | NAME ubifs_rcvry_gc_commit - recover the GC LEB number and run the commit.
SYNOPSIS int ubifs_rcvry_gc_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION Out-of-place garbage collection requires always one empty LEB with which to start garbage collection. The LEB n... |
ubifs_read_master(9) | NAME ubifs_read_master - read master node.
SYNOPSIS int ubifs_read_master (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function finds and reads the master node during file-system mount. If the flash is empty, it creates default master node as well. Returns zero... |
ubifs_read_nnode(9) | NAME ubifs_read_nnode - read a nnode from flash and link it to the tree in memory.
SYNOPSIS int ubifs_read_nnode (struct ubifs_info *c , struct ubifs_nnode *parent , int iip );
ARGUMENTS c UBIFS file-system description object
parent parent nnode (or NULL for the root)
iip index ... |
ubifs_read_node(9) | NAME ubifs_read_node - read node.
SYNOPSIS int ubifs_read_node (const struct ubifs_info *c , void *buf , int type , int len , int lnum , int offs );
ARGUMENTS c UBIFS file-system description object
buf buffer to read to
type node type
len node length (not align... |
ubifs_read_node_wbuf(9) | NAME ubifs_read_node_wbuf - read node from the media or write-buffer.
SYNOPSIS int ubifs_read_node_wbuf (struct ubifs_wbuf *wbuf , void *buf , int type , int len , int lnum , int offs );
ARGUMENTS wbuf wbuf to check for un-written data
buf buffer to read to
type node type
... |
ubifs_read_one_lp(9) | NAME ubifs_read_one_lp - read LEB properties.
SYNOPSIS int ubifs_read_one_lp (struct ubifs_info *c , int lnum , struct ubifs_lprops *lp );
ARGUMENTS c the UBIFS file-system description object
lnum LEB to read properties for
lp where to store read properties
DESCRIPTION This ... |
ubifs_read_sb_node(9) | NAME ubifs_read_sb_node - read superblock node.
SYNOPSIS struct ubifs_sb_node * ubifs_read_sb_node (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function returns a pointer to the superblock node or a negative error code. Note, the user of this function is respon... |
ubifs_read_superblock(9) | NAME ubifs_read_superblock - read superblock.
SYNOPSIS int ubifs_read_superblock (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function finds, reads and checks the superblock. If an empty UBI volume is being mounted, this function creates default superblock. Ret... |
ubifs_recover_inl_heads(9) | NAME ubifs_recover_inl_heads - recover index and LPT heads.
SYNOPSIS int ubifs_recover_inl_heads (struct ubifs_info *c , void *sbuf );
ARGUMENTS c UBIFS file-system description object
sbuf LEB-sized buffer to use
DESCRIPTION This function ensures that there is no data on the flash at the i... |
ubifs_recover_leb(9) | NAME ubifs_recover_leb - scan and recover a LEB.
SYNOPSIS struct ubifs_scan_leb * ubifs_recover_leb (struct ubifs_info *c , int lnum , int offs , void *sbuf , int jhead );
ARGUMENTS c UBIFS file-system description object
lnum LEB number
offs offset
sbuf LEB-sized... |
ubifs_recover_log_leb(9) | NAME ubifs_recover_log_leb - scan and recover a log LEB.
SYNOPSIS struct ubifs_scan_leb * ubifs_recover_log_leb (struct ubifs_info *c , int lnum , int offs , void *sbuf );
ARGUMENTS c UBIFS file-system description object
lnum LEB number
offs offset
sbuf LEB-sized... |
ubifs_recover_master_node(9) | NAME ubifs_recover_master_node - recover the master node.
SYNOPSIS int ubifs_recover_master_node (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function recovers the master node from corruption that may occur due to an unclean unmount. This function returns 0 on... |
ubifs_recover_size(9) | NAME ubifs_recover_size - recover inode size.
SYNOPSIS int ubifs_recover_size (struct ubifs_info *c , bool in_place );
ARGUMENTS c UBIFS file-system description object
in_place If true, do a in-place size fixup
DESCRIPTION This function attempts to fix inode size discrepancies identified by the ... |
ubifs_recover_size_accum(9) | NAME ubifs_recover_size_accum - accumulate inode sizes for recovery.
SYNOPSIS int ubifs_recover_size_accum (struct ubifs_info *c , union ubifs_key *key , int deletion , loff_t new_size );
ARGUMENTS c UBIFS file-system description object
key node key
deletion node is for a deletion... |
ubifs_release_budget(9) | NAME ubifs_release_budget - release budgeted free space.
SYNOPSIS void ubifs_release_budget (struct ubifs_info *c , struct ubifs_budget_req *req );
ARGUMENTS c UBIFS file-system description object
req budget request
DESCRIPTION This function releases the space budgeted by 'ubifs_budget_spac... |
ubifs_release_dirty_inode_budget(9) | NAME ubifs_release_dirty_inode_budget - release dirty inode budget.
SYNOPSIS void ubifs_release_dirty_inode_budget (struct ubifs_info *c , struct ubifs_inode *ui );
ARGUMENTS c UBIFS file-system description object
ui UBIFS inode to release the budget for
DESCRIPTION This function releases ... |
ubifs_release_lprops(9) | NAME ubifs_release_lprops - release lprops lock.
SYNOPSIS void ubifs_release_lprops (struct ubifs_info *c );
ARGUMENTS c the UBIFS file-system description object
DESCRIPTION This function has to be called after each 'ubifs_get_lprops' call to unlock lprops.
SEE ALSO Kernel file ./fs/ubifs/misc.h ubifs_... |
ubifs_remount_ro(9) | NAME ubifs_remount_ro - re-mount in read-only mode.
SYNOPSIS void ubifs_remount_ro (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION We assume VFS has stopped writing. Possibly the background thread could be running a commit, however kthread_stop will wait in that case.
... |
ubifs_remount_rw(9) | NAME ubifs_remount_rw - re-mount in read-write mode.
SYNOPSIS int ubifs_remount_rw (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION UBIFS avoids allocating many unnecessary resources when mounted in read-only mode. This function allocates the needed resources and re-mou... |
ubifs_remove_from_cat(9) | NAME ubifs_remove_from_cat - remove LEB properties from a category list or heap.
SYNOPSIS void ubifs_remove_from_cat (struct ubifs_info *c , struct ubifs_lprops *lprops , int cat );
ARGUMENTS c UBIFS file-system description object
lprops LEB properties to remove
cat LEB category... |
ubifs_replace_cat(9) | NAME ubifs_replace_cat - replace lprops in a category list or heap.
SYNOPSIS void ubifs_replace_cat (struct ubifs_info *c , struct ubifs_lprops *old_lprops , struct ubifs_lprops *new_lprops );
ARGUMENTS c UBIFS file-system description object
old_lprops LEB properties to replace
new_lprops ... |
ubifs_replay_journal(9) | NAME ubifs_replay_journal - replay journal.
SYNOPSIS int ubifs_replay_journal (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function scans the journal, replays and cleans it up. It makes sure all memory data structures related to uncommitted journal are built (d... |
ubifs_reported_space(9) | NAME ubifs_reported_space - calculate reported free space.
SYNOPSIS long long ubifs_reported_space (const struct ubifs_info *c , long long free );
ARGUMENTS c the UBIFS file-system description object
free amount of free space
DESCRIPTION This function calculates amount of free space which ... |
ubifs_request_bg_commit(9) | NAME ubifs_request_bg_commit - notify the background thread to do a commit.
SYNOPSIS void ubifs_request_bg_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function is called if the journal is full enough to make a commit worthwhile, so background thread is ... |
ubifs_return_leb(9) | NAME ubifs_return_leb - return LEB to lprops.
SYNOPSIS int ubifs_return_leb (struct ubifs_info *c , int lnum );
ARGUMENTS c the UBIFS file-system description object
lnum LEB to return
DESCRIPTION This helper function cleans the "taken" flag of a logical eraseblock in the lprops. Returns zero... |
ubifs_ro_mode(9) | NAME ubifs_ro_mode - switch UBIFS to read read-only mode.
SYNOPSIS void ubifs_ro_mode (struct ubifs_info *c , int err );
ARGUMENTS c UBIFS file-system description object
err error code which is the reason of switching to R/O mode
SEE ALSO Kernel file ./fs/ubifs/io.c ubifs_check_node(9), ... |
ubifs_run_commit(9) | NAME ubifs_run_commit - run or wait for commit.
SYNOPSIS int ubifs_run_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function runs commit and returns zero in case of success and a negative error code in case of failure.
SEE ALSO Kernel file ./fs/ubifs/... |
ubifs_save_dirty_idx_lnums(9) | NAME ubifs_save_dirty_idx_lnums - save an array of the most dirty index LEB nos.
SYNOPSIS int ubifs_save_dirty_idx_lnums (struct ubifs_info *c );
ARGUMENTS c the UBIFS file-system description object
DESCRIPTION This function is called each commit to create an array of LEB numbers of dirty index LEBs sorted... |
ubifs_sb_verify_signature(9) | NAME ubifs_sb_verify_signature - verify the signature of a superblock
SYNOPSIS int ubifs_sb_verify_signature (struct ubifs_info *c , const struct ubifs_sb_node *sup );
ARGUMENTS c UBIFS file-system description object
sup The superblock node
DESCRIPTION To support offline signed images th... |
ubifs_scan(9) | NAME ubifs_scan - scan a logical eraseblock.
SYNOPSIS struct ubifs_scan_leb * ubifs_scan (const struct ubifs_info *c , int lnum , int offs , void *sbuf , int quiet );
ARGUMENTS c UBIFS file-system description object
lnum logical eraseblock number
offs offset to start at (usuall... |
ubifs_scan_a_node(9) | NAME ubifs_scan_a_node - scan for a node or padding.
SYNOPSIS int ubifs_scan_a_node (const struct ubifs_info *c , void *buf , int len , int lnum , int offs , int quiet );
ARGUMENTS c UBIFS file-system description object
buf buffer to scan
len length of buffer
lnum ... |
ubifs_scan_destroy(9) | NAME ubifs_scan_destroy - destroy LEB scanning information.
SYNOPSIS void ubifs_scan_destroy (struct ubifs_scan_leb *sleb );
ARGUMENTS sleb scanning information to free
SEE ALSO Kernel file ./fs/ubifs/scan.c scan_padding_bytes(9), ubifs_scan_a_node(9), ubifs_start_scan(9), ubifs_end_scan(9), ubifs_add_snod(9)... |
ubifs_scanned_corruption(9) | NAME ubifs_scanned_corruption - print information after UBIFS scanned corruption.
SYNOPSIS void ubifs_scanned_corruption (const struct ubifs_info *c , int lnum , int offs , void *buf );
ARGUMENTS c UBIFS file-system description object
lnum LEB number of corruption
offs offset o... |
ubifs_search_bud(9) | NAME ubifs_search_bud - search bud LEB.
SYNOPSIS struct ubifs_bud * ubifs_search_bud (struct ubifs_info *c , int lnum );
ARGUMENTS c UBIFS file-system description object
lnum logical eraseblock number to search
DESCRIPTION This function searches bud LEB lnum. Returns bud description object i... |
ubifs_search_zbranch(9) | NAME ubifs_search_zbranch - search znode branch.
SYNOPSIS int ubifs_search_zbranch (const struct ubifs_info *c , const struct ubifs_znode *znode , const union ubifs_key *key , int *n );
ARGUMENTS c UBIFS file-system description object
znode znode to search in
key key to search ... |
ubifs_set_inode_flags(9) | NAME ubifs_set_inode_flags - set VFS inode flags.
SYNOPSIS void ubifs_set_inode_flags (struct inode *inode );
ARGUMENTS inode VFS inode to set flags for
DESCRIPTION This function propagates flags from UBIFS inode object to VFS inode object.
SEE ALSO Kernel file ./fs/ubifs/ioctl.c
April 2026 ... |
ubifs_start_scan(9) | NAME ubifs_start_scan - create LEB scanning information at start of scan.
SYNOPSIS struct ubifs_scan_leb * ubifs_start_scan (const struct ubifs_info *c , int lnum , int offs , void *sbuf );
ARGUMENTS c UBIFS file-system description object
lnum logical eraseblock number
offs off... |
ubifs_sync_wbufs_by_inode(9) | NAME ubifs_sync_wbufs_by_inode - synchronize write-buffers for an inode.
SYNOPSIS int ubifs_sync_wbufs_by_inode (struct ubifs_info *c , struct inode *inode );
ARGUMENTS c UBIFS file-system description object
inode inode to synchronize
DESCRIPTION This function synchronizes write-buffers which... |
ubifs_tnc_add(9) | NAME ubifs_tnc_add - add a node to TNC.
SYNOPSIS int ubifs_tnc_add (struct ubifs_info *c , const union ubifs_key *key , int lnum , int offs , int len , const u8 *hash );
ARGUMENTS c UBIFS file-system description object
key key to add
lnum LEB number of node
offs ... |
ubifs_tnc_add_nm(9) | NAME ubifs_tnc_add_nm - add a "hashed" node to TNC.
SYNOPSIS int ubifs_tnc_add_nm (struct ubifs_info *c , const union ubifs_key *key , int lnum , int offs , int len , const u8 *hash , const struct fscrypt_name *nm );
ARGUMENTS c UBIFS file-system description object
key key to add
lnu... |
ubifs_tnc_bulk_read(9) | NAME ubifs_tnc_bulk_read - read a number of data nodes in one go.
SYNOPSIS int ubifs_tnc_bulk_read (struct ubifs_info *c , struct bu_info *bu );
ARGUMENTS c UBIFS file-system description object
bu bulk-read parameters and results
DESCRIPTION This functions reads and validates the data node... |
ubifs_tnc_close(9) | NAME ubifs_tnc_close - close TNC subsystem and free all related resources.
SYNOPSIS void ubifs_tnc_close (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
SEE ALSO Kernel file ./fs/ubifs/tnc.c insert_old_idx(9), insert_old_idx_znode(9), ins_clr_old_idx_znode(9), destroy_old_id... |
ubifs_tnc_end_commit(9) | NAME ubifs_tnc_end_commit - update the TNC for commit end.
SYNOPSIS int ubifs_tnc_end_commit (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION Write the dirty znodes.
SEE ALSO Kernel file ./fs/ubifs/tnc_commit.c make_idx_node(9), fill_gap(9), find_old_idx(9), is... |
ubifs_tnc_find_child(9) | NAME ubifs_tnc_find_child - find next child in znode.
SYNOPSIS struct ubifs_znode * ubifs_tnc_find_child (struct ubifs_znode *znode , int start );
ARGUMENTS znode znode to search at
start the zbranch index to start at
DESCRIPTION This helper function looks for znode child starting at index start.... |
ubifs_tnc_get_bu_keys(9) | NAME ubifs_tnc_get_bu_keys - lookup keys for bulk-read.
SYNOPSIS int ubifs_tnc_get_bu_keys (struct ubifs_info *c , struct bu_info *bu );
ARGUMENTS c UBIFS file-system description object
bu bulk-read parameters and results
DESCRIPTION Lookup consecutive data node keys for the same inode ... |
ubifs_tnc_has_node(9) | NAME ubifs_tnc_has_node - determine whether a node is in the TNC.
SYNOPSIS int ubifs_tnc_has_node (struct ubifs_info *c , union ubifs_key *key , int level , int lnum , int offs , int is_idx );
ARGUMENTS c UBIFS file-system description object
key node key
level index node level ... |
ubifs_tnc_levelorder_next(9) | NAME ubifs_tnc_levelorder_next - next TNC tree element in levelorder traversal.
SYNOPSIS struct ubifs_znode * ubifs_tnc_levelorder_next (const struct ubifs_info *c , struct ubifs_znode *zr , struct ubifs_znode *znode );
ARGUMENTS c UBIFS file-system description object
zr root of the subtree... |
ubifs_tnc_locate(9) | NAME ubifs_tnc_locate - look up a file-system node and return it and its location.
SYNOPSIS int ubifs_tnc_locate (struct ubifs_info *c , const union ubifs_key *key , void *node , int *lnum , int *offs );
ARGUMENTS c UBIFS file-system description object
key node key to lookup
node ... |
ubifs_tnc_lookup(9) | NAME ubifs_tnc_lookup - look up a file-system node.
SYNOPSIS int ubifs_tnc_lookup (struct ubifs_info *c , const union ubifs_key *key , void *node );
ARGUMENTS c UBIFS file-system description object
key node key to lookup
node the node is returned here
DESCRIPTION This functio... |
ubifs_tnc_lookup_dh(9) | NAME ubifs_tnc_lookup_dh - look up a "double hashed" node.
SYNOPSIS int ubifs_tnc_lookup_dh (struct ubifs_info *c , const union ubifs_key *key , void *node , uint32_t cookie );
ARGUMENTS c UBIFS file-system description object
key node key to lookup
node the node is returned he... |
ubifs_tnc_lookup_nm(9) | NAME ubifs_tnc_lookup_nm - look up a "hashed" node.
SYNOPSIS int ubifs_tnc_lookup_nm (struct ubifs_info *c , const union ubifs_key *key , void *node , const struct fscrypt_name *nm );
ARGUMENTS c UBIFS file-system description object
key node key to lookup
node the node is retu... |
ubifs_tnc_next_ent(9) | NAME ubifs_tnc_next_ent - walk directory or extended attribute entries.
SYNOPSIS struct ubifs_dent_node * ubifs_tnc_next_ent (struct ubifs_info *c , union ubifs_key *key , const struct fscrypt_name *nm );
ARGUMENTS c UBIFS file-system description object
key key of last entry
nm ... |
ubifs_tnc_postorder_first(9) | NAME ubifs_tnc_postorder_first - find first znode to do postorder tree traversal.
SYNOPSIS struct ubifs_znode * ubifs_tnc_postorder_first (struct ubifs_znode *znode );
ARGUMENTS znode znode to start at (root of the sub-tree to traverse)
DESCRIPTION Find the lowest leftmost znode in a subtree of the TNC tree. T... |
ubifs_tnc_postorder_next(9) | NAME ubifs_tnc_postorder_next - next TNC tree element in postorder traversal.
SYNOPSIS struct ubifs_znode * ubifs_tnc_postorder_next (const struct ubifs_info *c , struct ubifs_znode *znode );
ARGUMENTS c UBIFS file-system description object
znode previous znode
DESCRIPTION This function imple... |
ubifs_tnc_read_node(9) | NAME ubifs_tnc_read_node - read a leaf node from the flash media.
SYNOPSIS int ubifs_tnc_read_node (struct ubifs_info *c , struct ubifs_zbranch *zbr , void *node );
ARGUMENTS c UBIFS file-system description object
zbr key and position of the node
node node is returned here
DE... |
ubifs_tnc_remove(9) | NAME ubifs_tnc_remove - remove an index entry of a node.
SYNOPSIS int ubifs_tnc_remove (struct ubifs_info *c , const union ubifs_key *key );
ARGUMENTS c UBIFS file-system description object
key key of node
DESCRIPTION Returns 0 on success or negative error code on failure.
SEE ALSO Kernel ... |
ubifs_tnc_remove_dh(9) | NAME ubifs_tnc_remove_dh - remove an index entry for a "double hashed" node.
SYNOPSIS int ubifs_tnc_remove_dh (struct ubifs_info *c , const union ubifs_key *key , uint32_t cookie );
ARGUMENTS c UBIFS file-system description object
key key of node
cookie node cookie for collision... |
ubifs_tnc_remove_ino(9) | NAME ubifs_tnc_remove_ino - remove an inode from TNC.
SYNOPSIS int ubifs_tnc_remove_ino (struct ubifs_info *c , ino_t inum );
ARGUMENTS c UBIFS file-system description object
inum inode number to remove
DESCRIPTION This function remove inode inum and all the extended attributes associated wi... |
ubifs_tnc_remove_nm(9) | NAME ubifs_tnc_remove_nm - remove an index entry for a "hashed" node.
SYNOPSIS int ubifs_tnc_remove_nm (struct ubifs_info *c , const union ubifs_key *key , const struct fscrypt_name *nm );
ARGUMENTS c UBIFS file-system description object
key key of node
nm directory entry na... |
ubifs_tnc_remove_range(9) | NAME ubifs_tnc_remove_range - remove index entries in range.
SYNOPSIS int ubifs_tnc_remove_range (struct ubifs_info *c , union ubifs_key *from_key , union ubifs_key *to_key );
ARGUMENTS c UBIFS file-system description object
from_key lowest key to remove
to_key highest key to remove
... |
ubifs_tnc_replace(9) | NAME ubifs_tnc_replace - replace a node in the TNC only if the old node is found.
SYNOPSIS int ubifs_tnc_replace (struct ubifs_info *c , const union ubifs_key *key , int old_lnum , int old_offs , int lnum , int offs , int len );
ARGUMENTS c UBIFS file-system description object
key key to add... |
ubifs_tnc_start_commit(9) | NAME ubifs_tnc_start_commit - start TNC commit.
SYNOPSIS int ubifs_tnc_start_commit (struct ubifs_info *c , struct ubifs_zbranch *zroot );
ARGUMENTS c UBIFS file-system description object
zroot new index root position is returned here
DESCRIPTION This function prepares the list of indexing ... |
ubifs_umount(9) | NAME ubifs_umount - un-mount UBIFS file-system.
SYNOPSIS void ubifs_umount (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION Note, this function is called to free allocated resourced when un-mounting, as well as free resources when an error occurred while we were half... |
ubifs_unpack_bits(9) | NAME ubifs_unpack_bits - unpack bit fields.
SYNOPSIS uint32_t ubifs_unpack_bits (const struct ubifs_info *c , uint8_t **addr , int *pos , int nrbits );
ARGUMENTS c UBIFS file-system description object
addr address at which to unpack (passed and next address returned)
pos bit p... |
ubifs_unpack_nnode(9) | NAME ubifs_unpack_nnode - unpack a nnode.
SYNOPSIS int ubifs_unpack_nnode (const struct ubifs_info *c , void *buf , struct ubifs_nnode *nnode );
ARGUMENTS c UBIFS file-system description object
buf buffer containing packed nnode to unpack
nnode nnode structure to fill
DESCRIPT... |
ubifs_update_one_lp(9) | NAME ubifs_update_one_lp - update LEB properties.
SYNOPSIS int ubifs_update_one_lp (struct ubifs_info *c , int lnum , int free , int dirty , int flags_set , int flags_clean );
ARGUMENTS c the UBIFS file-system description object
lnum LEB to change properties for
free amount of ... |
ubifs_validate_entry(9) | NAME ubifs_validate_entry - validate directory or extended attribute entry node.
SYNOPSIS int ubifs_validate_entry (struct ubifs_info *c , const struct ubifs_dent_node *dent );
ARGUMENTS c UBIFS file-system description object
dent the node to validate
DESCRIPTION This function validates dire... |
ubifs_wake_up_bgt(9) | NAME ubifs_wake_up_bgt - wake up background thread.
SYNOPSIS void ubifs_wake_up_bgt (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
SEE ALSO Kernel file ./fs/ubifs/misc.h ubifs_zn_dirty(9), ubifs_zn_obsolete(9), ubifs_zn_cow(9), ubifs_tnc_find_child(9), ubifs_inode(9), ubif... |
ubifs_wbuf_add_ino_nolock(9) | NAME ubifs_wbuf_add_ino_nolock - add an inode number into the wbuf inode array.
SYNOPSIS void ubifs_wbuf_add_ino_nolock (struct ubifs_wbuf *wbuf , ino_t inum );
ARGUMENTS wbuf the write-buffer where to add
inum the inode number
DESCRIPTION This function adds an inode number to the inode array o... |
ubifs_wbuf_init(9) | NAME ubifs_wbuf_init - initialize write-buffer.
SYNOPSIS int ubifs_wbuf_init (struct ubifs_info *c , struct ubifs_wbuf *wbuf );
ARGUMENTS c UBIFS file-system description object
wbuf write-buffer to initialize
DESCRIPTION This function initializes write-buffer. Returns zero in case of success... |
ubifs_wbuf_seek_nolock(9) | NAME ubifs_wbuf_seek_nolock - seek write-buffer.
SYNOPSIS int ubifs_wbuf_seek_nolock (struct ubifs_wbuf *wbuf , int lnum , int offs );
ARGUMENTS wbuf write-buffer
lnum logical eraseblock number to seek to
offs logical eraseblock offset to seek to
DESCRIPTION This function targets... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.