|
Android-cuttlefish cvd tool
|

Functions | |
| void | f2fs_alloc_nid (struct f2fs_sb_info *sbi, nid_t *nid) |
| void | f2fs_release_nid (struct f2fs_sb_info *sbi, nid_t nid) |
| int | f2fs_rebuild_qf_inode (struct f2fs_sb_info *sbi, int qtype) |
| void | set_data_blkaddr (struct dnode_of_data *dn) |
| block_t | new_node_block (struct f2fs_sb_info *sbi, struct dnode_of_data *dn, unsigned int ofs) |
| static int | get_node_path (struct f2fs_node *node, long block, int offset[4], unsigned int noffset[4]) |
| int | get_dnode_of_data (struct f2fs_sb_info *sbi, struct dnode_of_data *dn, pgoff_t index, int mode) |
| int | update_inode (struct f2fs_sb_info *sbi, struct f2fs_node *inode, u32 *blkaddr) |
| void f2fs_alloc_nid | ( | struct f2fs_sb_info * | sbi, |
| nid_t * | nid | ||
| ) |
node.c
Many parts of codes are copied from Linux kernel/fs/f2fs.
Copyright (C) 2015 Huawei Ltd. Witten by: Hou Pengyang houpe.nosp@m.ngya.nosp@m.ng@hu.nosp@m.awei.nosp@m..com Liu Shuoran liush.nosp@m.uora.nosp@m.n@hua.nosp@m.wei..nosp@m.com Jaegeuk Kim jaege.nosp@m.uk@k.nosp@m.ernel.nosp@m..org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
| int f2fs_rebuild_qf_inode | ( | struct f2fs_sb_info * | sbi, |
| int | qtype | ||
| ) |
| void f2fs_release_nid | ( | struct f2fs_sb_info * | sbi, |
| nid_t | nid | ||
| ) |
| int get_dnode_of_data | ( | struct f2fs_sb_info * | sbi, |
| struct dnode_of_data * | dn, | ||
| pgoff_t | index, | ||
| int | mode | ||
| ) |
|
static |
| block_t new_node_block | ( | struct f2fs_sb_info * | sbi, |
| struct dnode_of_data * | dn, | ||
| unsigned int | ofs | ||
| ) |
| void set_data_blkaddr | ( | struct dnode_of_data * | dn | ) |
| int update_inode | ( | struct f2fs_sb_info * | sbi, |
| struct f2fs_node * | inode, | ||
| u32 * | blkaddr | ||
| ) |