|
Android-cuttlefish cvd tool
|

Functions | |
| void * | read_all_xattrs (struct f2fs_sb_info *sbi, struct f2fs_node *inode, bool sanity_check) |
| static struct f2fs_xattr_entry * | __find_xattr (void *base_addr, void *last_base_addr, int index, size_t len, const char *name) |
| void | write_all_xattrs (struct f2fs_sb_info *sbi, struct f2fs_node *inode, __u32 hsize, void *txattr_addr) |
| int | f2fs_setxattr (struct f2fs_sb_info *sbi, nid_t ino, int index, const char *name, const void *value, size_t size, int flags) |
| int | inode_set_selinux (struct f2fs_sb_info *sbi, u32 ino, const char *secon) |
|
static |
| int f2fs_setxattr | ( | struct f2fs_sb_info * | sbi, |
| nid_t | ino, | ||
| int | index, | ||
| const char * | name, | ||
| const void * | value, | ||
| size_t | size, | ||
| int | flags | ||
| ) |
| int inode_set_selinux | ( | struct f2fs_sb_info * | sbi, |
| u32 | ino, | ||
| const char * | secon | ||
| ) |
| void * read_all_xattrs | ( | struct f2fs_sb_info * | sbi, |
| struct f2fs_node * | inode, | ||
| bool | sanity_check | ||
| ) |
xattr.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.
| void write_all_xattrs | ( | struct f2fs_sb_info * | sbi, |
| struct f2fs_node * | inode, | ||
| __u32 | hsize, | ||
| void * | txattr_addr | ||
| ) |