id
stringlengths
4
63
text
stringlengths
153
8.81M
ngbe_close(9)
NAME ngbe_close - Disables a network interface SYNOPSIS int ngbe_close (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns 0, this is not allowed to fail The close entry point is called when an interface is de-activated by the OS. The hardware is still under th...
ngbe_init_type_code(9)
NAME ngbe_init_type_code - Initialize the shared code SYNOPSIS void ngbe_init_type_code (struct wx *wx ); ARGUMENTS wx pointer to hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_sw_init(9), ngbe_irq_enable(9), ngbe_intr(9), ngbe_request_msix_irqs(9), ngbe_reques...
ngbe_intr(9)
NAME ngbe_intr - msi/legacy mode Interrupt Handler SYNOPSIS irqreturn_t ngbe_intr (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a network interface device structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_init_type_code(9), ngbe_s...
ngbe_irq_enable(9)
NAME ngbe_irq_enable - Enable default interrupt generation settings SYNOPSIS void ngbe_irq_enable (struct wx *wx , bool queues ); ARGUMENTS wx board private structure queues enable all queues interrupts SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_init_type_cod...
ngbe_open(9)
NAME ngbe_open - Called when a network interface is made active SYNOPSIS int ngbe_open (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns 0 on success, negative value on failure The open entry point is called when a network interface is made active by the syste...
ngbe_probe(9)
NAME ngbe_probe - Device Initialization Routine SYNOPSIS int ngbe_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in ngbe_pci_tbl DESCRIPTION Returns 0 on success, negative on failure ngbe_probe initializes an wx identifie...
ngbe_remove(9)
NAME ngbe_remove - Device Removal Routine SYNOPSIS void ngbe_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION ngbe_remove is called by the PCI subsystem to alert the driver that it should release a PCI device. The could be caused by a Hot-Plug event, or because the dri...
ngbe_request_irq(9)
NAME ngbe_request_irq - initialize interrupts SYNOPSIS int ngbe_request_irq (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Attempts to configure interrupts using the best available capabilities of the hardware and kernel. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe...
ngbe_request_msix_irqs(9)
NAME ngbe_request_msix_irqs - Initialize MSI-X interrupts SYNOPSIS int ngbe_request_msix_irqs (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION ngbe_request_msix_irqs allocates MSI-X vectors and requests interrupts from the kernel. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe...
ngbe_reset_hw(9)
NAME ngbe_reset_hw - Perform hardware reset SYNOPSIS int ngbe_reset_hw (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Resets the hardware by resetting the transmit and receive units, masks and clears all interrupts, perform a PHY reset, and perform a link (MAC) reset. SEE ALSO Ker...
ngbe_setup_tc(9)
NAME ngbe_setup_tc - routine to configure net_device for multiple traffic classes. SYNOPSIS int ngbe_setup_tc (struct net_device *dev , u8 tc ); ARGUMENTS dev net device to configure tc number of traffic classes to enable SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe_main.c...
ngbe_sw_init(9)
NAME ngbe_sw_init - Initialize general software structures SYNOPSIS int ngbe_sw_init (struct wx *wx ); ARGUMENTS wx board private structure to initialize SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_init_type_code(9), ngbe_irq_enable(9), ngbe_intr(9), ngbe_request_msix_irq...
ngbevf_probe(9)
NAME ngbevf_probe - Device Initialization Routine SYNOPSIS int ngbevf_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in ngbevf_pci_tbl RETURN return 0 on success, negative on failure DESCRIPTION ngbevf_probe initializes ...
ngbevf_remove(9)
NAME ngbevf_remove - Device Removal Routine SYNOPSIS void ngbevf_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION ngbevf_remove is called by the PCI subsystem to alert the driver that it should release a PCI device. The could be caused by a Hot-Plug event, or because t...
nh(9)
NAME nh - NH hash function for Adiantum SYNOPSIS void nh (const u32 *key , const u8 *message , size_t message_len , __le64 hash[NH_NUM_PASSES] ); ARGUMENTS key The key. message_len + 48 bytes of it are used. This is NH_KEY_BYTES if message_len has its maximum length of NH_MESSAGE_BYTES. message ...
nhi_mailbox_cmd(9)
NAME nhi_mailbox_cmd - Send a command through NHI mailbox SYNOPSIS int nhi_mailbox_cmd (struct tb_nhi *nhi , enum nhi_mailbox_cmd cmd , u32 data ); ARGUMENTS nhi Pointer to the NHI structure cmd Command to send data Data to be send with the command DESCRIPTION Sends mailbox com...
nhi_mailbox_mode(9)
NAME nhi_mailbox_mode - Return current firmware operation mode SYNOPSIS enum nhi_fw_mode nhi_mailbox_mode (struct tb_nhi *nhi ); ARGUMENTS nhi Pointer to the NHI structure DESCRIPTION The function reads current firmware operation mode using NHI mailbox registers and returns it to the caller. RETURN enum nhi...
ni_assign_device_routes(9)
NAME ni_assign_device_routes - Assign the proper lookup table for NI signal routing to the specified NI device. SYNOPSIS int ni_assign_device_routes (const char *device_family , const char *board_name , const char *alt_board_name , struct ni_route_tables *tables ); ARGUMENTS device_family Device family name (determin...
ni_check_trigger_arg_roffs(9)
NAME ni_check_trigger_arg_roffs - Checks the trigger argument (*_arg) of an NI device to ensure that the *_arg value corresponds to _either_ a valid register value to define a trigger source, _or_ a valid NI signal/terminal name that has a valid route to the destination on the particular device. SYNOPSIS int ni_che...
ni_count_valid_routes(9)
NAME ni_count_valid_routes - Count the number of valid routes. SYNOPSIS unsigned int ni_count_valid_routes (const struct ni_route_tables *tables ); ARGUMENTS tables Routing tables for which to count all valid routes. SEE ALSO Kernel file ./drivers/comedi/drivers/ni_routes.c ni_assign_device_routes(9), ni_get_va...
ni_find_route_set(9)
NAME ni_find_route_set - Finds the proper route set with the specified destination. SYNOPSIS const struct ni_route_set * ni_find_route_set (const int destination , const struct ni_device_routes *valid_routes ); ARGUMENTS destination Destination of which to search for the route set. valid_routes ...
ni_get_reg_value_roffs(9)
NAME ni_get_reg_value_roffs - Determines the proper register value for a particular valid NI signal/terminal route. SYNOPSIS s8 ni_get_reg_value_roffs (int src , const int dest , const struct ni_route_tables *tables , const int direct_reg_offset ); ARGUMENTS src Either a direct register value or one of NI_* s...
ni_get_valid_routes(9)
NAME ni_get_valid_routes - Implements INSN_DEVICE_CONFIG_GET_ROUTES. SYNOPSIS unsigned int ni_get_valid_routes (const struct ni_route_tables *tables , unsigned int n_pairs , unsigned int *pair_data ); ARGUMENTS tables pointer to relevant set of routing tables. n_pairs Number of pairs for which memory...
ni_is_cmd_dest(9)
NAME ni_is_cmd_dest - Determine whether the given destination is only configurable via a comedi_cmd struct. SYNOPSIS bool ni_is_cmd_dest (int dest ); ARGUMENTS dest Destination to test. SEE ALSO Kernel file ./drivers/comedi/drivers/ni_routes.c ni_assign_device_routes(9), ni_count_valid_routes(9), ni_get_vali...
ni_lookup_route_register(9)
NAME ni_lookup_route_register - Look up a register value for a particular route without checking whether the route is valid for the particular device. SYNOPSIS s8 ni_lookup_route_register (int src , int dest , const struct ni_route_tables *tables ); ARGUMENTS src global-identifier for route source des...
ni_route_to_register(9)
NAME ni_route_to_register - Validates and converts the specified signal route (src-->dest) to the value used at the appropriate register. SYNOPSIS s8 ni_route_to_register (const int src , const int dest , const struct ni_route_tables *tables ); ARGUMENTS src global-identifier for route source dest ...
ni_sort_device_routes(9)
NAME ni_sort_device_routes - Sort the list of valid device signal routes in preparation for use. SYNOPSIS void ni_sort_device_routes (struct ni_device_routes *valid_routes ); ARGUMENTS valid_routes pointer to ni_device_routes struct to sort. SEE ALSO Kernel file ./drivers/comedi/drivers/ni_routes.c ni_assign_device_...
ni_tio_get_soft_copy(9)
NAME ni_tio_get_soft_copy - Safely read the software copy of a counter register. SYNOPSIS unsigned int ni_tio_get_soft_copy (const struct ni_gpct *counter , enum ni_gpct_register reg ); ARGUMENTS counter struct ni_gpct counter. reg the register to read. DESCRIPTION Used to get the software copy o...
ni_tio_read(9)
NAME ni_tio_read - Read a TIO register using the driver provided callback. SYNOPSIS unsigned int ni_tio_read (struct ni_gpct *counter , enum ni_gpct_register reg ); ARGUMENTS counter struct ni_gpct counter. reg the register to read. SEE ALSO Kernel file ./drivers/comedi/drivers/ni_tio.c ni_tio_wr...
ni_tio_set_bits(9)
NAME ni_tio_set_bits - Safely write a counter register. SYNOPSIS void ni_tio_set_bits (struct ni_gpct *counter , enum ni_gpct_register reg , unsigned int mask , unsigned int value ); ARGUMENTS counter struct ni_gpct counter. reg the register to write. mask the bits to change. ...
ni_tio_set_routing(9)
NAME ni_tio_set_routing - Sets the register value of the selector MUX for the given destination. SYNOPSIS int ni_tio_set_routing (struct ni_gpct_device *counter_dev , unsigned int dest , unsigned int reg ); ARGUMENTS counter_dev Pointer to general counter device. dest Device-global identifier of route ...
ni_tio_write(9)
NAME ni_tio_write - Write a TIO register using the driver provided callback. SYNOPSIS void ni_tio_write (struct ni_gpct *counter , unsigned int value , enum ni_gpct_register reg ); ARGUMENTS counter struct ni_gpct counter. value the value to write reg the register to write. SEE ALSO...
nic_dev_init(9)
NAME nic_dev_init - Initialize the NIC device SYNOPSIS int nic_dev_init (struct pci_dev *pdev ); ARGUMENTS pdev the NIC pci device DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_main.c create_txqs(9), free_txqs(9), create_rxqs(9), free_rxqs(9...
nic_mgmt_msg_handler(9)
NAME nic_mgmt_msg_handler - nic mgmt event handler SYNOPSIS void nic_mgmt_msg_handler (void *handle , u8 cmd , void *buf_in , u16 in_size , void *buf_out , u16 *out_size ); ARGUMENTS handle private data for the handler cmd message command buf_in input buffer in_size input...
nic_starter(9)
NAME nic_starter - finish init SYNOPSIS void nic_starter (struct work_struct *work ); ARGUMENTS work work struct work_struct DESCRIPTION starter callback that invokes the remaining initialization work after the NIC is up and running. SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c oc...
nice(1)
NAME nice - run a program with modified scheduling priority SYNOPSIS nice [OPTION] [COMMAND [ARG]...] DESCRIPTION Run COMMAND with an adjusted niceness, which affects process scheduling. With no COMMAND, print the current niceness. Niceness values range from -20 (most favorable to the process) to 19 (least...
nice(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME nice — invoke a utility with an altered nice value SYNOPS...
nice(2)
NAME nice - change process priority LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> int nice(int inc); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): nice(): _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE ...
nice(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 nice — change the nice value of a process SYNOPSIS #include <u...
nilfs_abort_roll_forward(9)
NAME nilfs_abort_roll_forward - cleaning up after a failed rollforward recovery SYNOPSIS void nilfs_abort_roll_forward (struct the_nilfs *nilfs ); ARGUMENTS nilfs nilfs object SEE ALSO Kernel file ./fs/nilfs2/recovery.c nilfs_compute_checksum(9), nilfs_read_super_root_block(9), nilfs_read_log_he...
nilfs_add_checksums_on_logs(9)
NAME nilfs_add_checksums_on_logs - add checksums on the logs SYNOPSIS void nilfs_add_checksums_on_logs (struct list_head *logs , u32 seed ); ARGUMENTS logs list of segment buffers storing target logs seed checksum seed value SEE ALSO Kernel file ./fs/nilfs2/segbuf.c nilfs_segbuf_map_cont(9), ni...
nilfs_attach_btree_node_cache(9)
NAME nilfs_attach_btree_node_cache - attach a B-tree node cache to the inode SYNOPSIS int nilfs_attach_btree_node_cache (struct inode *inode ); ARGUMENTS inode inode object DESCRIPTION nilfs_attach_btree_node_cache attaches a B-tree node cache to inode, or does nothing if the inode already has it. This functi...
nilfs_attach_log_writer(9)
NAME nilfs_attach_log_writer - attach log writer SYNOPSIS int nilfs_attach_log_writer (struct super_block *sb , struct nilfs_root *root ); ARGUMENTS sb super block instance root root object of the current filesystem tree DESCRIPTION This allocates a log writer object, initializes it, and star...
nilfs_bmap_assign(9)
NAME nilfs_bmap_assign - assign a new block number to a block SYNOPSIS int nilfs_bmap_assign (struct nilfs_bmap *bmap , struct buffer_head **bh , unsigned long blocknr , union nilfs_binfo *binfo ); ARGUMENTS bmap bmap bh place to store a pointer to the buffer head to which a block address is a...
nilfs_bmap_clear(9)
NAME nilfs_bmap_clear - free resources a bmap holds SYNOPSIS void nilfs_bmap_clear (struct nilfs_bmap *bmap ); ARGUMENTS bmap bmap DESCRIPTION nilfs_bmap_clear frees resources associated with bmap. SEE ALSO Kernel file ./fs/nilfs2/bmap.c nilfs_bmap_lookup_at_level(9), nilfs_bmap_insert(9), nilfs_bmap_se...
nilfs_bmap_delete(9)
NAME nilfs_bmap_delete - delete a key-record pair from a bmap SYNOPSIS int nilfs_bmap_delete (struct nilfs_bmap *bmap , __u64 key ); ARGUMENTS bmap bmap key key DESCRIPTION nilfs_bmap_delete deletes the key-record pair specified by key from bmap. RETURN 0 on success, or one of the following n...
nilfs_bmap_insert(9)
NAME nilfs_bmap_insert - insert a new key-record pair into a bmap SYNOPSIS int nilfs_bmap_insert (struct nilfs_bmap *bmap , __u64 key , unsigned long rec ); ARGUMENTS bmap bmap key key rec record DESCRIPTION nilfs_bmap_insert inserts the new key-record pair specified by key and...
nilfs_bmap_lookup_at_level(9)
NAME nilfs_bmap_lookup_at_level - find a data block or node block SYNOPSIS int nilfs_bmap_lookup_at_level (struct nilfs_bmap *bmap , __u64 key , int level , __u64 *ptrp ); ARGUMENTS bmap bmap key key level level ptrp place to store the value associated to key DESCR...
nilfs_bmap_lookup_dirty_buffers(9)
NAME nilfs_bmap_lookup_dirty_buffers - collect dirty block buffers SYNOPSIS void nilfs_bmap_lookup_dirty_buffers (struct nilfs_bmap *bmap , struct list_head *listp ); ARGUMENTS bmap bmap listp pointer to buffer head list SEE ALSO Kernel file ./fs/nilfs2/bmap.c nilfs_bmap_lookup_at_level(9)...
nilfs_bmap_mark(9)
NAME nilfs_bmap_mark - mark block dirty SYNOPSIS int nilfs_bmap_mark (struct nilfs_bmap *bmap , __u64 key , int level ); ARGUMENTS bmap bmap key key level level DESCRIPTION nilfs_bmap_mark marks the block specified by key and level as dirty. RETURN 0 on success, or one of the fo...
nilfs_bmap_propagate(9)
NAME nilfs_bmap_propagate - propagate dirty state SYNOPSIS int nilfs_bmap_propagate (struct nilfs_bmap *bmap , struct buffer_head *bh ); ARGUMENTS bmap bmap bh buffer head DESCRIPTION nilfs_bmap_propagate marks the buffers that directly or indirectly refer to the block specified by bh dirty. ...
nilfs_bmap_read(9)
NAME nilfs_bmap_read - read a bmap from an inode SYNOPSIS int nilfs_bmap_read (struct nilfs_bmap *bmap , struct nilfs_inode *raw_inode ); ARGUMENTS bmap bmap raw_inode on-disk inode DESCRIPTION nilfs_bmap_read initializes the bmap bmap. RETURN 0 on success, or one of the following negative error co...
nilfs_bmap_seek_key(9)
NAME nilfs_bmap_seek_key - seek a valid entry and return its key SYNOPSIS int nilfs_bmap_seek_key (struct nilfs_bmap *bmap , __u64 start , __u64 *keyp ); ARGUMENTS bmap bmap struct start start key number keyp place to store valid key DESCRIPTION nilfs_bmap_seek_key seeks a valid k...
nilfs_bmap_test_and_clear_dirty(9)
NAME nilfs_bmap_test_and_clear_dirty - test and clear a bmap dirty state SYNOPSIS int nilfs_bmap_test_and_clear_dirty (struct nilfs_bmap *bmap ); ARGUMENTS bmap bmap DESCRIPTION nilfs_test_and_clear is the atomic operation to test and clear the dirty state of bmap. RETURN 1 if bmap is dirty, or 0 if clear. ...
nilfs_bmap_truncate(9)
NAME nilfs_bmap_truncate - truncate a bmap to a specified key SYNOPSIS int nilfs_bmap_truncate (struct nilfs_bmap *bmap , __u64 key ); ARGUMENTS bmap bmap key key DESCRIPTION nilfs_bmap_truncate removes key-record pairs whose keys are greater than or equal to key from bmap. RETURN 0 on succes...
nilfs_bmap_write(9)
NAME nilfs_bmap_write - write back a bmap to an inode SYNOPSIS void nilfs_bmap_write (struct nilfs_bmap *bmap , struct nilfs_inode *raw_inode ); ARGUMENTS bmap bmap raw_inode on-disk inode DESCRIPTION nilfs_bmap_write stores bmap in raw_inode. SEE ALSO Kernel file ./fs/nilfs2/bmap.c nilfs_...
nilfs_btnode_abort_change_key(9)
NAME nilfs_btnode_abort_change_key - abort the change of the search key of a b-tree node block SYNOPSIS void nilfs_btnode_abort_change_key (struct address_space *btnc , struct nilfs_btnode_chkey_ctxt *ctxt ); ARGUMENTS btnc page cache in which the b-tree node block is buffered ctxt structure for...
nilfs_btnode_commit_change_key(9)
NAME nilfs_btnode_commit_change_key - commit the change of the search key of a b-tree node block SYNOPSIS void nilfs_btnode_commit_change_key (struct address_space *btnc , struct nilfs_btnode_chkey_ctxt *ctxt ); ARGUMENTS btnc page cache in which the b-tree node block is buffered ctxt structure ...
nilfs_btnode_delete(9)
NAME nilfs_btnode_delete - delete B-tree node buffer SYNOPSIS void nilfs_btnode_delete (struct buffer_head *bh ); ARGUMENTS bh buffer to be deleted DESCRIPTION nilfs_btnode_delete invalidates the specified buffer and delete the page including the buffer if the page gets unbusy. SEE ALSO Kernel file ./fs/ni...
nilfs_btnode_prepare_change_key(9)
NAME nilfs_btnode_prepare_change_key - prepare to change the search key of a b-tree node block SYNOPSIS int nilfs_btnode_prepare_change_key (struct address_space *btnc , struct nilfs_btnode_chkey_ctxt *ctxt ); ARGUMENTS btnc page cache in which the b-tree node block is buffered ctxt structure fo...
nilfs_btree_convert_and_insert(9)
NAME nilfs_btree_convert_and_insert - Convert and insert entries into a B-tree SYNOPSIS int nilfs_btree_convert_and_insert (struct nilfs_bmap *btree , __u64 key , __u64 ptr , const __u64 *keys , const __u64 *ptrs , int n ); ARGUMENTS btree NILFS B-tree structure key Key of the new entry to be in...
nilfs_btree_get_next_key(9)
NAME nilfs_btree_get_next_key - get next valid key from btree path array SYNOPSIS int nilfs_btree_get_next_key (const struct nilfs_bmap *btree , const struct nilfs_btree_path *path , int minlevel , __u64 *nextkey ); ARGUMENTS btree bmap struct of btree path array of nilfs_btree_path struct ...
nilfs_btree_node_broken(9)
NAME nilfs_btree_node_broken - verify consistency of btree node SYNOPSIS int nilfs_btree_node_broken (const struct nilfs_btree_node *node , size_t size , struct inode *inode , sector_t blocknr ); ARGUMENTS node btree node block to be examined size node size (in bytes) inode host in...
nilfs_btree_root_broken(9)
NAME nilfs_btree_root_broken - verify consistency of btree root node SYNOPSIS int nilfs_btree_root_broken (const struct nilfs_btree_node *node , struct inode *inode ); ARGUMENTS node btree root node to be examined inode host inode of btree RETURN 0 if normal, 1 if the root node is broken. SEE A...
nilfs_cleanup_super(9)
NAME nilfs_cleanup_super - write filesystem state for cleanup SYNOPSIS int nilfs_cleanup_super (struct super_block *sb ); ARGUMENTS sb super block instance to be unmounted or degraded to read-only DESCRIPTION This function restores state flags in the on-disk super block. This will set "clean" flag (i.e. NI...
nilfs_clear_dirty_pages(9)
NAME nilfs_clear_dirty_pages - discard dirty pages in address space SYNOPSIS void nilfs_clear_dirty_pages (struct address_space *mapping ); ARGUMENTS mapping address space with dirty pages for discarding SEE ALSO Kernel file ./fs/nilfs2/page.c nilfs_forget_buffer(9), nilfs_copy_buffer(9), nilfs_folio_buffers_cle...
nilfs_clear_folio_dirty(9)
NAME nilfs_clear_folio_dirty - discard dirty folio SYNOPSIS void nilfs_clear_folio_dirty (struct folio *folio ); ARGUMENTS folio dirty folio that will be discarded DESCRIPTION nilfs_clear_folio_dirty clears working states including dirty state for the folio and its buffers. If the folio has buffers, clear ...
nilfs_compute_checksum(9)
NAME nilfs_compute_checksum - compute checksum of blocks continuously SYNOPSIS int nilfs_compute_checksum (struct the_nilfs *nilfs , struct buffer_head *bhs , u32 *sum , unsigned long offset , u64 check_bytes , sector_t start , unsigned long nblock ); ARGUMENTS nilfs nilfs object bhs buffer head...
nilfs_construct_dsync_segment(9)
NAME nilfs_construct_dsync_segment - construct a data-only logical segment SYNOPSIS int nilfs_construct_dsync_segment (struct super_block *sb , struct inode *inode , loff_t start , loff_t end ); ARGUMENTS sb super block inode inode whose data blocks should be written out start sta...
nilfs_construct_segment(9)
NAME nilfs_construct_segment - construct a logical segment SYNOPSIS int nilfs_construct_segment (struct super_block *sb ); ARGUMENTS sb super block RETURN 0 on success, or one of the following negative error codes on failure: * -EIO - I/O error (including metadata corruption). * -ENOMEM ...
nilfs_copy_back_pages(9)
NAME nilfs_copy_back_pages - - copy back pages to original cache from shadow cache SYNOPSIS void nilfs_copy_back_pages (struct address_space *dmap , struct address_space *smap ); ARGUMENTS dmap destination page cache smap source page cache DESCRIPTION No pages must be added to the cache during ...
nilfs_copy_buffer(9)
NAME nilfs_copy_buffer - - copy buffer data and flags SYNOPSIS void nilfs_copy_buffer (struct buffer_head *dbh , struct buffer_head *sbh ); ARGUMENTS dbh destination buffer sbh source buffer SEE ALSO Kernel file ./fs/nilfs2/page.c nilfs_forget_buffer(9), nilfs_folio_buffers_clean(9), nilfs_co...
nilfs_copy_folio(9)
NAME nilfs_copy_folio - - copy the folio with buffers SYNOPSIS void nilfs_copy_folio (struct folio *dst , struct folio *src , bool copy_dirty ); ARGUMENTS dst destination folio src source folio copy_dirty flag whether to copy dirty states on the folio's buffer heads. DESCRIPTION This...
nilfs_cpfile_ch_snapshot_list_offset(9)
NAME nilfs_cpfile_ch_snapshot_list_offset - calculate the byte offset of the snapshot list in the header SYNOPSIS size_t nilfs_cpfile_ch_snapshot_list_offset (void ); ARGUMENTS void no arguments RETURN Byte offset in the folio of the checkpoint snapshot list SEE ALSO Kernel file ./fs/nilfs2/cpfile.c nilfs_c...
nilfs_cpfile_change_cpmode(9)
NAME nilfs_cpfile_change_cpmode - change checkpoint mode SYNOPSIS int nilfs_cpfile_change_cpmode (struct inode *cpfile , __u64 cno , int mode ); ARGUMENTS cpfile inode of checkpoint file cno checkpoint number mode mode of checkpoint DESCRIPTION nilfs_change_cpmode changes the mode...
nilfs_cpfile_checkpoint_offset(9)
NAME nilfs_cpfile_checkpoint_offset - calculate the byte offset of a checkpoint entry in the folio containing it SYNOPSIS size_t nilfs_cpfile_checkpoint_offset (const struct inode *cpfile , __u64 cno , struct buffer_head *bh ); ARGUMENTS cpfile checkpoint file inode cno checkpoint number ...
nilfs_cpfile_cp_snapshot_list_offset(9)
NAME nilfs_cpfile_cp_snapshot_list_offset - calculate the byte offset of a checkpoint snapshot list in the folio containing it SYNOPSIS size_t nilfs_cpfile_cp_snapshot_list_offset (const struct inode *cpfile , __u64 cno , struct buffer_head *bh ); ARGUMENTS cpfile checkpoint file inode cno checkp...
nilfs_cpfile_create_checkpoint(9)
NAME nilfs_cpfile_create_checkpoint - create a checkpoint entry on cpfile SYNOPSIS int nilfs_cpfile_create_checkpoint (struct inode *cpfile , __u64 cno ); ARGUMENTS cpfile checkpoint file inode cno number of checkpoint to set up DESCRIPTION This function creates a checkpoint with the number s...
nilfs_cpfile_delete_checkpoint(9)
NAME nilfs_cpfile_delete_checkpoint - delete a checkpoint SYNOPSIS int nilfs_cpfile_delete_checkpoint (struct inode *cpfile , __u64 cno ); ARGUMENTS cpfile checkpoint file inode cno checkpoint number to delete RETURN 0 on success, or one of the following negative error codes on failure: * -E...
nilfs_cpfile_delete_checkpoints(9)
NAME nilfs_cpfile_delete_checkpoints - delete checkpoints SYNOPSIS int nilfs_cpfile_delete_checkpoints (struct inode *cpfile , __u64 start , __u64 end ); ARGUMENTS cpfile inode of checkpoint file start start checkpoint number end end checkpoint number DESCRIPTION nilfs_cpfile_delet...
nilfs_cpfile_finalize_checkpoint(9)
NAME nilfs_cpfile_finalize_checkpoint - fill in a checkpoint entry in cpfile SYNOPSIS int nilfs_cpfile_finalize_checkpoint (struct inode *cpfile , __u64 cno , struct nilfs_root *root , __u64 blkinc , time64_t ctime , bool minor ); ARGUMENTS cpfile checkpoint file inode cno checkpoint number ...
nilfs_cpfile_find_checkpoint_block(9)
NAME nilfs_cpfile_find_checkpoint_block - find and get a buffer on cpfile SYNOPSIS int nilfs_cpfile_find_checkpoint_block (struct inode *cpfile , __u64 start_cno , __u64 end_cno , __u64 *cnop , struct buffer_head **bhp ); ARGUMENTS cpfile inode of cpfile start_cno start checkpoint number (inclusive) ...
nilfs_cpfile_get_cpinfo(9)
NAME nilfs_cpfile_get_cpinfo - get information on checkpoints SYNOPSIS ssize_t nilfs_cpfile_get_cpinfo (struct inode *cpfile , __u64 *cnop , int mode , void *buf , unsigned int cisz , size_t nci ); ARGUMENTS cpfile checkpoint file inode cnop place to pass a starting checkpoint number and receive a...
nilfs_cpfile_get_stat(9)
NAME nilfs_cpfile_get_stat - get checkpoint statistics SYNOPSIS int nilfs_cpfile_get_stat (struct inode *cpfile , struct nilfs_cpstat *cpstat ); ARGUMENTS cpfile inode of checkpoint file cpstat pointer to a structure of checkpoint statistics DESCRIPTION nilfs_cpfile_get_stat returns information abo...
nilfs_cpfile_is_snapshot(9)
NAME nilfs_cpfile_is_snapshot - determine if checkpoint is a snapshot SYNOPSIS int nilfs_cpfile_is_snapshot (struct inode *cpfile , __u64 cno ); ARGUMENTS cpfile inode of checkpoint file cno checkpoint number RETURN 1 if the checkpoint specified by cno is a snapshot, 0 if not, or one of the foll...
nilfs_cpfile_read(9)
NAME nilfs_cpfile_read - read or get cpfile inode SYNOPSIS int nilfs_cpfile_read (struct super_block *sb , size_t cpsize , struct nilfs_inode *raw_inode , struct inode **inodep ); ARGUMENTS sb super block instance cpsize size of a checkpoint entry raw_inode on-disk cpfile inode ...
nilfs_cpfile_read_checkpoint(9)
NAME nilfs_cpfile_read_checkpoint - read a checkpoint entry in cpfile SYNOPSIS int nilfs_cpfile_read_checkpoint (struct inode *cpfile , __u64 cno , struct nilfs_root *root , struct inode *ifile ); ARGUMENTS cpfile checkpoint file inode cno number of checkpoint entry to read root ni...
nilfs_dat_freev(9)
NAME nilfs_dat_freev - free virtual block numbers SYNOPSIS int nilfs_dat_freev (struct inode *dat , __u64 *vblocknrs , size_t nitems ); ARGUMENTS dat DAT file inode vblocknrs array of virtual block numbers nitems number of virtual block numbers DESCRIPTION nilfs_dat_freev frees the vir...
nilfs_dat_mark_dirty(9)
NAME nilfs_dat_mark_dirty - mark the DAT block buffer containing the specified virtual block address entry as dirty SYNOPSIS int nilfs_dat_mark_dirty (struct inode *dat , __u64 vblocknr ); ARGUMENTS dat DAT file inode vblocknr virtual block number RETURN 0 on success, or one of the following neg...
nilfs_dat_move(9)
NAME nilfs_dat_move - change a block number SYNOPSIS int nilfs_dat_move (struct inode *dat , __u64 vblocknr , sector_t blocknr ); ARGUMENTS dat DAT file inode vblocknr virtual block number blocknr block number DESCRIPTION nilfs_dat_move changes the block number associated with vblocknr...
nilfs_dat_read(9)
NAME nilfs_dat_read - read or get dat inode SYNOPSIS int nilfs_dat_read (struct super_block *sb , size_t entry_size , struct nilfs_inode *raw_inode , struct inode **inodep ); ARGUMENTS sb super block instance entry_size size of a dat entry raw_inode on-disk dat inode inodep bu...
nilfs_dat_translate(9)
NAME nilfs_dat_translate - translate a virtual block number to a block number SYNOPSIS int nilfs_dat_translate (struct inode *dat , __u64 vblocknr , sector_t *blocknrp ); ARGUMENTS dat DAT file inode vblocknr virtual block number blocknrp pointer to a block number DESCRIPTION nilfs_dat_...
nilfs_detach_btree_node_cache(9)
NAME nilfs_detach_btree_node_cache - detach the B-tree node cache from the inode SYNOPSIS void nilfs_detach_btree_node_cache (struct inode *inode ); ARGUMENTS inode inode object DESCRIPTION nilfs_detach_btree_node_cache detaches the B-tree node cache and its holder inode bound to inode, or does nothing if inod...
nilfs_detach_log_writer(9)
NAME nilfs_detach_log_writer - destroy log writer SYNOPSIS void nilfs_detach_log_writer (struct super_block *sb ); ARGUMENTS sb super block instance DESCRIPTION This kills log writer daemon, frees the log writer object, and destroys list of dirty files. SEE ALSO Kernel file ./fs/nilfs2/segment.c nilfs_t...
nilfs_dirty_inode(9)
NAME nilfs_dirty_inode - reflect changes on given inode to an inode block. SYNOPSIS void nilfs_dirty_inode (struct inode *inode , int flags ); ARGUMENTS inode inode of the file to be registered. flags flags to determine the dirty state of the inode DESCRIPTION nilfs_dirty_inode loads a inode ...
nilfs_do_roll_forward(9)
NAME nilfs_do_roll_forward - salvage logical segments newer than the latest checkpoint SYNOPSIS int nilfs_do_roll_forward (struct the_nilfs *nilfs , struct super_block *sb , struct nilfs_root *root , struct nilfs_recovery_info *ri ); ARGUMENTS nilfs nilfs object sb super block instance ...
nilfs_fileattr_get(9)
NAME nilfs_fileattr_get - retrieve miscellaneous file attributes SYNOPSIS int nilfs_fileattr_get (struct dentry *dentry , struct file_kattr *fa ); ARGUMENTS dentry the object to retrieve from fa fileattr pointer RETURN always 0 as success. SEE ALSO Kernel file ./fs/nilfs2/ioctl.c nilfs_ioctl_w...
nilfs_fileattr_set(9)
NAME nilfs_fileattr_set - change miscellaneous file attributes SYNOPSIS int nilfs_fileattr_set (struct mnt_idmap *idmap , struct dentry *dentry , struct file_kattr *fa ); ARGUMENTS idmap idmap of the mount dentry the object to change fa fileattr pointer RETURN 0 on success, or a n...
nilfs_fill_super(9)
NAME nilfs_fill_super - initialize a super block instance SYNOPSIS int nilfs_fill_super (struct super_block *sb , struct fs_context *fc ); ARGUMENTS sb super_block fc filesystem context DESCRIPTION This function is called exclusively by nilfs->ns_mount_mutex. So, the recovery process is pr...
nilfs_find_uncommitted_extent(9)
NAME nilfs_find_uncommitted_extent - find extent of uncommitted data SYNOPSIS unsigned long nilfs_find_uncommitted_extent (struct inode *inode , sector_t start_blk , sector_t *blkoff ); ARGUMENTS inode inode start_blk start block offset (in) blkoff start offset of the found extent (out) ...