Home
last modified time | relevance | path

Searched refs:super_block (Results 1 – 25 of 28) sorted by relevance

12

/external/squashfs-tools/kernel/fs/squashfs/
Dsquashfs.h36 extern int squashfs_read_data(struct super_block *, void **, u64, int, u64 *,
42 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
46 extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
48 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
50 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
52 extern int squashfs_read_table(struct super_block *, void *, u64, int);
55 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64,
59 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *);
60 extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
64 extern int squashfs_get_id(struct super_block *, unsigned int, unsigned int *);
[all …]
Dexport.c52 static long long squashfs_inode_lookup(struct super_block *sb, int ino_num) in squashfs_inode_lookup()
74 static struct dentry *squashfs_export_iget(struct super_block *sb, in squashfs_export_iget()
90 static struct dentry *squashfs_fh_to_dentry(struct super_block *sb, in squashfs_fh_to_dentry()
101 static struct dentry *squashfs_fh_to_parent(struct super_block *sb, in squashfs_fh_to_parent()
123 __le64 *squashfs_read_inode_lookup_table(struct super_block *sb, in squashfs_read_inode_lookup_table()
Dcache.c66 struct squashfs_cache_entry *squashfs_cache_get(struct super_block *sb, in squashfs_cache_get()
332 int squashfs_read_metadata(struct super_block *sb, void *buffer, in squashfs_read_metadata()
370 struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *sb, in squashfs_get_fragment()
385 struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *sb, in squashfs_get_datablock()
397 int squashfs_read_table(struct super_block *sb, void *buffer, u64 block, in squashfs_read_table()
Did.c47 int squashfs_get_id(struct super_block *sb, unsigned int index, in squashfs_get_id()
70 __le64 *squashfs_read_id_index_table(struct super_block *sb, in squashfs_read_id_index_table()
Dfragment.c50 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, in squashfs_frag_lookup()
75 __le64 *squashfs_read_fragment_index_table(struct super_block *sb, in squashfs_read_fragment_index_table()
Dsuper.c67 static int squashfs_fill_super(struct super_block *sb, void *data, int silent) in squashfs_fill_super()
318 static int squashfs_remount(struct super_block *sb, int *flags, char *data) in squashfs_remount()
325 static void squashfs_put_super(struct super_block *sb) in squashfs_put_super()
405 static struct inode *squashfs_alloc_inode(struct super_block *sb) in squashfs_alloc_inode()
Dinode.c55 static int squashfs_new_inode(struct super_block *sb, struct inode *inode, in squashfs_new_inode()
79 struct inode *squashfs_iget(struct super_block *sb, long long ino, in squashfs_iget()
109 struct super_block *sb = inode->i_sb; in squashfs_read_inode()
Dblock.c46 static struct buffer_head *get_block_length(struct super_block *sb, in get_block_length()
82 int squashfs_read_data(struct super_block *sb, void **buffer, u64 index, in squashfs_read_data()
Dsymlink.c49 struct super_block *sb = inode->i_sb; in squashfs_symlink_readpage()
Dnamei.c75 static int get_dir_index_using_name(struct super_block *sb, in get_dir_index_using_name()
Ddir.c52 static int get_dir_index_using_offset(struct super_block *sb, in get_dir_index_using_offset()
/external/e2fsprogs/ext2ed/
Dblockbitmap_com.c58 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
221 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
253 …block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
254 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()
Dinode_com.c49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
97 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___next()
138 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
214 ,inode_num,file_system_info.super_block.s_inodes_count,entry_num,last_entry,group_num); in type_ext2_inode___show()
414 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
429 group_num=inode_num/file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
430 inode_entry=inode_num%file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
Dinodebitmap_com.c41 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { in type_ext2_inode_bitmap___entry()
94 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___allocate()
120 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___deallocate()
171 for (i=0,entry_num=0;i<file_system_info.super_block.s_inodes_per_group/8;i++,ptr++) { in type_ext2_inode_bitmap___show()
204 …inode_num=1+inode_bitmap_info.entry_num+inode_bitmap_info.group_num*file_system_info.super_block.s… in type_ext2_inode_bitmap___show()
Dgroup_com.c94 …offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per… in type_ext2_group_desc___gocopy()
113 …temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_bl… in type_ext2_group_desc___show()
Dinit.c383 …low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info… in set_file_system_info()
385 sb=&file_system_info.super_block; in set_file_system_info()
Dext2ed.h126 struct ext2_super_block super_block; member
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs.h48 extern unsigned int squashfs_read_data(struct super_block *s, char *buffer,
51 extern int squashfs_get_cached_block(struct super_block *s, char *buffer,
57 extern struct squashfs_fragment_cache *get_cached_fragment(struct super_block
Dinode.c43 static struct super_block *squashfs_read_super(struct super_block *, void *, int);
44 static void squashfs_put_super(struct super_block *);
45 static int squashfs_statfs(struct super_block *, struct statfs *);
51 static struct inode *squashfs_iget(struct super_block *s, squashfs_inode_t inode);
88 static struct buffer_head *get_block_length(struct super_block *s, in get_block_length()
155 SQSH_EXTERN unsigned int squashfs_read_data(struct super_block *s, char *buffer, in squashfs_read_data()
264 SQSH_EXTERN int squashfs_get_cached_block(struct super_block *s, char *buffer, in squashfs_get_cached_block()
374 static int get_fragment_location(struct super_block *s, unsigned int fragment, in get_fragment_location()
420 SQSH_EXTERN struct squashfs_fragment_cache *get_cached_fragment(struct super_block in get_cached_fragment()
500 static struct inode *squashfs_new_inode(struct super_block *s, in squashfs_new_inode()
[all …]
Dsquashfs2_0.c59 static int read_fragment_index_table_2(struct super_block *s) in read_fragment_index_table_2()
97 static int get_fragment_location_2(struct super_block *s, unsigned int fragment, in get_fragment_location_2()
133 static struct inode *squashfs_new_inode(struct super_block *s, in squashfs_new_inode()
159 static struct inode *squashfs_iget_2(struct super_block *s, squashfs_inode_t inode) in squashfs_iget_2()
425 static int get_dir_index_using_offset(struct super_block *s, long long in get_dir_index_using_offset()
474 static int get_dir_index_using_name(struct super_block *s, long long in get_dir_index_using_name()
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h69 struct inode *(*iget)(struct super_block *s, squashfs_inode_t
74 int (*read_fragment_index_table)(struct super_block *s);
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.h70 struct super_block { struct
230 extern struct super_block sBlk;
/external/e2fsprogs/lib/ext2fs/
Dext2_ext_attr.h65 extern void ext2_ext_attr_put_super(struct super_block *sb);
Dundo_io.c498 unsigned int blocksize, blk64_t super_block, in check_filesystem() argument
518 retval = io_channel_read_blk64(undo_file, super_block, in check_filesystem()
552 blk64_t super_block, lblk; in try_reopen_undo_file() local
584 super_block = ext2fs_le64_to_cpu(hdr.super_offset); in try_reopen_undo_file()
596 if (check_filesystem(&hdr, data->undo_file, blocksize, super_block, in try_reopen_undo_file()
608 data->super_blk_num = super_block; in try_reopen_undo_file()
/external/e2fsprogs/misc/
De2undo.c99 blk64_t super_block; member
179 retval = io_channel_read_blk64(ctx->undo_file, ctx->super_block, in check_filesystem()
410 undo_ctx.super_block = ext2fs_le64_to_cpu(undo_ctx.hdr.super_offset); in main()

12