| /fs/btrfs/crypto/ |
| A D | hash.c | 22 int hash_sha256(const u8 *buf, size_t length, u8 *out) in hash_sha256() 33 int hash_xxhash(const u8 *buf, size_t length, u8 *out) in hash_xxhash() 45 int hash_blake2(const u8 *buf, size_t length, u8 *out) in hash_blake2() 56 int hash_crc32c(const u8 *buf, size_t length, u8 *out) in hash_crc32c()
|
| /fs/ubifs/ |
| A D | scan.c | 34 static int scan_padding_bytes(void *buf, int len) in scan_padding_bytes() 63 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() 188 void *buf, int offs) in ubifs_add_snod() 232 void *buf) in ubifs_scanned_corruption() 263 void *buf = sbuf + offs; in ubifs_scan() local
|
| A D | io.c | 96 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() 114 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() 137 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change() 242 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node() 323 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() 685 int ubifs_wbuf_write_nolock(struct ubifs_wbuf *wbuf, void *buf, int len) in ubifs_wbuf_write_nolock() 868 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node() 908 int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len, in ubifs_read_node_wbuf() 985 int ubifs_read_node(const struct ubifs_info *c, void *buf, int type, int len, in ubifs_read_node()
|
| A D | lpt.c | 347 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode() 380 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode() 412 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab() 612 void *buf = NULL, *p; in ubifs_create_dflt_lpt() local 998 int ubifs_unpack_nnode(const struct ubifs_info *c, void *buf, in ubifs_unpack_nnode() 1196 void *buf = c->lpt_nod_buf; in ubifs_read_nnode() local 1264 void *buf = c->lpt_nod_buf; in read_pnode() local 1328 void *buf; in read_ltab() local 1352 void *buf; in read_lsave() local 1806 void *buf = c->lpt_nod_buf; in scan_get_nnode() local [all …]
|
| A D | recovery.c | 57 static int is_empty(void *buf, int len) in is_empty() 76 static int first_non_ff(void *buf, int len) in first_non_ff() 109 void *sbuf, *buf; in get_master_node() local 410 static int is_last_write(const struct ubifs_info *c, void *buf, int offs) in is_last_write() 437 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() 466 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes() 550 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb() local 638 void *buf = sbuf + offs; in ubifs_recover_leb() local 996 void *buf = sbuf; in clean_an_unclean_leb() local
|
| A D | lpt_commit.c | 376 void *buf = c->lpt_buf; in write_cnodes() local 1080 static int get_pad_len(const struct ubifs_info *c, uint8_t *buf, int len) in get_pad_len() 1097 static int get_lpt_node_type(const struct ubifs_info *c, uint8_t *buf, in get_lpt_node_type() 1116 static int is_a_node(const struct ubifs_info *c, uint8_t *buf, int len) in is_a_node() 1155 void *buf = c->lpt_buf; in lpt_gc_lnum() local 1506 static int dbg_is_all_ff(uint8_t *buf, int len) in dbg_is_all_ff() 1641 void *buf, *p; in dbg_check_ltab_lnum() local 1892 void *buf, *p; in dump_lpt_leb() local
|
| A D | log.c | 354 void *buf; in ubifs_log_start_commit() local 595 static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, in add_node() 632 void *buf; in ubifs_consolidate_log() local
|
| A D | debug.c | 841 void *buf; in ubifs_dump_leb() local 2625 static int corrupt_data(const struct ubifs_info *c, const void *buf, in corrupt_data() 2646 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_write() 2668 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_change() 2744 char buf[3]; in provide_user_output() local 2796 char buf[8]; in interpret_user_input() local
|
| /fs/ |
| A D | fs_internal.c | 17 lbaint_t sector, int byte_offset, int byte_len, char *buf) in fs_devread() 97 lbaint_t sector, int byte_offset, int byte_len, const char *buf) in fs_devwrite()
|
| A D | semihostingfs.c | 97 int smh_fs_read(const char *filename, void *buf, loff_t offset, loff_t len, in smh_fs_read() 109 int smh_fs_write(const char *filename, void *buf, loff_t offset, in smh_fs_write()
|
| A D | fs.c | 103 static inline int fs_read_unsupported(const char *filename, void *buf, in fs_read_unsupported() 110 static inline int fs_write_unsupported(const char *filename, void *buf, in fs_write_unsupported() 615 void *buf; in _fs_read() local 652 void *buf; in fs_write() local 1123 char *buf; in fs_read_alloc() local 1153 void *buf; in fs_load_alloc() local
|
| /fs/zfs/ |
| A D | zfs_fletcher.c | 33 fletcher_2_endian(const void *buf, uint64_t size, in fletcher_2_endian() 55 fletcher_4_endian(const void *buf, uint64_t size, zfs_endian_t endian, in fletcher_4_endian()
|
| A D | dev.c | 24 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) in zfs_devread()
|
| A D | zfs.c | 225 zio_checksum_off(const void *buf __attribute__ ((unused)), in zio_checksum_off() 255 zfs_endian_t endian, char *buf, int size) in zio_checksum_verify() 445 zio_read_gang(blkptr_t *bp, zfs_endian_t endian, dva_t *dva, void *buf, in zio_read_gang() 503 zio_read_data(blkptr_t *bp, zfs_endian_t endian, void *buf, in zio_read_data() 553 zio_read(blkptr_t *bp, zfs_endian_t endian, void **buf, in zio_read() 622 dmu_read(dnode_end_t *dn, uint64_t blkid, void **buf, in dmu_read() 762 int blksft, int chunk, int array_len, const char *buf) in zap_leaf_array_equal() 784 int chunk, int array_len, char *buf) in zap_leaf_array_get() 984 char *buf; in fzap_iterate() local 1102 dnode_end_t *buf, struct zfs_data *data) in dnode_get() [all …]
|
| /fs/btrfs/ |
| A D | disk-io.c | 33 struct extent_buffer *buf) in check_tree_block() 87 u8 buf[BTRFS_UUID_SIZE]; in print_tree_block_error() local 296 struct btrfs_super_block *buf = (struct btrfs_super_block *)tmp; in btrfs_read_dev_super() local 314 static int __csum_tree_block_size(struct extent_buffer *buf, u16 csum_size, in __csum_tree_block_size() 340 int csum_tree_block_size(struct extent_buffer *buf, u16 csum_size, int verify, in csum_tree_block_size() 347 struct extent_buffer *buf, int verify) in csum_tree_block() 1082 int btrfs_buffer_uptodate(struct extent_buffer *buf, u64 parent_transid) in btrfs_buffer_uptodate()
|
| A D | dev.c | 15 int btrfs_devread(u64 address, int byte_len, void *buf) in btrfs_devread()
|
| A D | compat.h | 56 void *buf, size_t size, u64 offset) in __btrfs_devread()
|
| /fs/erofs/ |
| A D | fs.c | 12 int erofs_dev_read(int device_id, void *buf, u64 offset, size_t len) in erofs_dev_read() 29 int erofs_blk_read(void *buf, erofs_blk_t start, u32 nblocks) in erofs_blk_read() 225 int erofs_read(const char *filename, void *buf, loff_t offset, loff_t len, in erofs_read()
|
| A D | namei.c | 16 char buf[sizeof(struct erofs_inode_extended)]; in erofs_read_inode_from_disk() local 185 char buf[EROFS_MAX_BLOCK_SIZE]; in erofs_namei() local
|
| A D | data.c | 58 u8 buf[EROFS_MAX_BLOCK_SIZE]; in erofs_map_blocks() local 341 int erofs_pread(struct erofs_inode *inode, char *buf, in erofs_pread()
|
| /fs/sandbox/ |
| A D | sandboxfs.c | 122 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, in fs_read_sandbox() 134 int fs_write_sandbox(const char *filename, void *buf, loff_t offset, in fs_write_sandbox()
|
| /fs/jffs2/ |
| A D | jffs2_1pass.c | 172 static int read_nand_cached(u32 off, u32 size, u_char *buf) in read_nand_cached() 230 u_char *buf = ext_buf ? (u_char*)ext_buf : (u_char*)malloc(size); in get_fl_mem_nand() local 262 static void put_fl_mem_nand(void *buf) in put_fl_mem_nand() 286 static int read_onenand_cached(u32 off, u32 size, u_char *buf) in read_onenand_cached() 337 u_char *buf = ext_buf ? (u_char *)ext_buf : (u_char *)malloc(size); in get_fl_mem_onenand() local 370 static void put_fl_mem_onenand(void *buf) in put_fl_mem_onenand() 471 static inline void put_fl_mem(void *buf, void *ext_buf) in put_fl_mem() 1485 char *buf; in jffs2_1pass_build_lists() local
|
| /fs/ext4/ |
| A D | ext4fs.c | 72 loff_t len, char *buf, loff_t *actread) in ext4fs_read_file() 371 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread) in ext4fs_read() 392 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, in ext4_read_file()
|
| A D | ext4_journal.h | 43 char *buf; member 48 char *buf; member
|
| A D | ext4_journal.c | 567 char *buf = NULL; in update_descriptor_block() local 617 char *buf = NULL; in update_commit_block() local
|