Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 42) sorted by relevance

12

/fs/ubifs/
A Dio.c97 int len, int even_ebadmsg) in ubifs_leb_read()
115 int len) in ubifs_leb_write()
137 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change()
384 void ubifs_prepare_node(struct ubifs_info *c, void *node, int len, int pad) in ubifs_prepare_node()
417 void ubifs_prep_grp_node(struct ubifs_info *c, void *node, int len, int last) in ubifs_prep_grp_node()
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 Dscan.c34 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()
234 int len; in ubifs_scanned_corruption() local
264 int err, len = c->leb_size - offs; in ubifs_scan() local
A Drecovery.c57 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()
108 int err, offs, len; in get_master_node() local
438 int *offs, int *len) in clean_buf()
466 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes()
537 int len = ALIGN(endpt, c->min_io_size); in fix_unclean_leb() local
635 int ret = 0, err, len = c->leb_size - offs, start = offs, min_io_unit; in ubifs_recover_leb() local
924 int len = c->max_write_size, err; in recover_head() local
995 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; in clean_an_unclean_leb() local
1426 int err, lnum, offs, len; in fix_size_in_place() local
A Dlpt_commit.c195 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
374 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local
1080 static int get_pad_len(const struct ubifs_info *c, uint8_t *buf, int len) in get_pad_len()
1116 static int is_a_node(const struct ubifs_info *c, uint8_t *buf, int len) in is_a_node()
1154 int err, len = c->leb_size, node_type, node_num, node_len, offs; in lpt_gc_lnum() local
1506 static int dbg_is_all_ff(uint8_t *buf, int len) in dbg_is_all_ff()
1639 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; in dbg_check_ltab_lnum() local
1791 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) in dbg_chk_lpt_sz()
1891 int err, len = c->leb_size, node_type, node_num, node_len, offs; in dump_lpt_leb() local
A Dsb.c512 int len = ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size); in ubifs_write_sb_node() local
681 static int fixup_leb(struct ubifs_info *c, int lnum, int len) in fixup_leb()
A Dtnc.c456 int len, int lnum, int offs) in try_read_node()
1656 static int read_wbuf(struct ubifs_wbuf *wbuf, void *buf, int len, int lnum, in read_wbuf()
1704 int err, len; in validate_data_node() local
1757 int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i; in ubifs_tnc_bulk_read() local
1863 int err, len; in ubifs_tnc_lookup_nm() local
2171 int offs, int len) in ubifs_tnc_add()
2220 int old_lnum, int old_offs, int lnum, int offs, int len) in ubifs_tnc_replace()
2303 int lnum, int offs, int len, const struct qstr *nm) in ubifs_tnc_add_nm()
A Dmaster.c359 int err, lnum, offs, len; in ubifs_write_master() local
A Dreplay.c53 int len; member
351 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node()
399 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent()
A Dlog.c357 int err, i, max_len, len; in ubifs_log_start_commit() local
599 int len = le32_to_cpu(ch->len), remains = c->leb_size - *offs; in add_node() local
A Dkey.h49 static inline uint32_t key_r5_hash(const char *s, int len) in key_r5_hash()
69 static inline uint32_t key_test_hash(const char *str, int len) in key_test_hash()
A Dtnc_misc.c266 static int read_znode(struct ubifs_info *c, int lnum, int offs, int len, in read_znode()
A Dorphan.c233 static int do_write_orph_node(struct ubifs_info *c, int len, int atomic) in do_write_orph_node()
268 int gap, err, len, cnt, i; in write_orph_node() local
/fs/btrfs/
A Dextent-io.c175 unsigned long pos, unsigned long len) in extent_buffer_bitmap_set()
203 unsigned long pos, unsigned long len) in extent_buffer_bitmap_clear()
730 unsigned long offset, unsigned long len) in read_extent_from_disk()
747 unsigned long start, unsigned long len) in memcmp_extent_buffer()
753 unsigned long start, unsigned long len) in read_extent_buffer()
759 unsigned long start, unsigned long len) in write_extent_buffer()
766 unsigned long len) in copy_extent_buffer()
772 unsigned long src_offset, unsigned long len) in memmove_extent_buffer()
778 unsigned long start, unsigned long len) in memset_extent_buffer()
A Dinode.c255 int len; in btrfs_lookup_path() local
422 int len, char *dest) in btrfs_read_extent_reg()
624 int start, int len, char *dest) in read_and_truncate_page()
664 int btrfs_file_read(struct btrfs_root *root, u64 ino, u64 file_offset, u64 len, in btrfs_file_read()
A Ddisk-io.c117 int btrfs_csum_data(u16 csum_type, const u8 *data, u8 *out, size_t len) in btrfs_csum_data()
318 u32 len; in __csum_tree_block_size() local
540 u64 *len, int mirror) in read_extent_data()
A Dbtrfs.c226 int btrfs_read(const char *file, void *buf, loff_t offset, loff_t len, in btrfs_read()
A Dextent-io.h84 u32 len; member
/fs/ext4/
A Dext4fs.c72 loff_t len, char *buf, loff_t *actread) in ext4fs_read_file()
251 int len; in ext4fs_readdir() local
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 Dext4_write.c765 int pos, unsigned int len, const char *buf) in ext4fs_write_file()
1062 loff_t len, loff_t *actwrite) in ext4_write_file()
/fs/
A Dsemihostingfs.c97 int smh_fs_read(const char *filename, void *buf, loff_t offset, loff_t len, in smh_fs_read()
110 loff_t len, loff_t *actwrite) in smh_fs_write()
A Dfs.c104 loff_t offset, loff_t len, in fs_read_unsupported()
111 loff_t offset, loff_t len, in fs_write_unsupported()
578 loff_t len, struct fstype_info *info) in fs_read_lmb_check()
611 static int _fs_read(const char *filename, ulong addr, loff_t offset, loff_t len, in _fs_read()
642 int fs_read(const char *filename, ulong addr, loff_t offset, loff_t len, in fs_read()
648 int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len, in fs_write()
908 loff_t len; in do_save() local
/fs/sandbox/
A Dsandboxfs.c122 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, in fs_read_sandbox()
135 loff_t len, loff_t *actwrite) in fs_write_sandbox()
/fs/erofs/
A Dnamei.c141 const char *name, unsigned int len, in find_target_dirent()
181 int erofs_namei(struct nameidata *nd, const char *name, unsigned int len) in erofs_namei()
A Dfs.c12 int erofs_dev_read(int device_id, void *buf, u64 offset, size_t len) in erofs_dev_read()
225 int erofs_read(const char *filename, void *buf, loff_t offset, loff_t len, in erofs_read()
/fs/btrfs/crypto/
A Dhash.c66 u32 crc32c(u32 seed, const void * data, size_t len) in crc32c()

Completed in 62 milliseconds

12