Home
last modified time | relevance | path

Searched defs:fs (Results 1 – 25 of 108) sorted by relevance

12345

/external/grub/stage2/
Dfs.h146 struct fs struct
148 int xxx1; /* struct fs *fs_link; */ argument
149 int xxx2; /* struct fs *fs_rlink; */ argument
150 mach_daddr_t fs_sblkno; /* addr of super-block in filesys */ argument
151 mach_daddr_t fs_cblkno; /* offset of cyl-block in filesys */ argument
152 mach_daddr_t fs_iblkno; /* offset of inode-blocks in filesys */ argument
153 mach_daddr_t fs_dblkno; /* offset of first data after cg */ argument
154 int fs_cgoffset; /* cylinder group offset in cylinder */ argument
155 int fs_cgmask; /* used to calc mod fs_ntrak */ argument
156 mach_time_t fs_time; /* last time written */ argument
[all …]
Dufs2.h244 struct fs { struct
245 grub_int32_t fs_firstfield; /* historic filesystem linked list, */ argument
246 grub_int32_t fs_unused_1; /* used for incore super blocks */ argument
247 grub_int32_t fs_sblkno; /* offset of super-block in filesys */ argument
248 grub_int32_t fs_cblkno; /* offset of cyl-block in filesys */ argument
249 grub_int32_t fs_iblkno; /* offset of inode-blocks in filesys */ argument
250 grub_int32_t fs_dblkno; /* offset of first data after cg */ argument
251 grub_int32_t fs_old_cgoffset; /* cylinder group offset in cylinder */ argument
252 grub_int32_t fs_old_cgmask; /* used to calc mod fs_ntrak */ argument
253 grub_int32_t fs_old_time; /* last time written */ argument
[all …]
/external/e2fsprogs/lib/ext2fs/
Drw_bitmaps.c44 static void ext2fs_swap_bitmap(ext2_filsys fs, char *bitmap, int nbytes) in ext2fs_swap_bitmap()
54 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps()
164 static errcode_t read_bitmaps(ext2_filsys fs, int do_inode, int do_block) in read_bitmaps()
288 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap()
293 errcode_t ext2fs_read_block_bitmap(ext2_filsys fs) in ext2fs_read_block_bitmap()
298 errcode_t ext2fs_write_inode_bitmap(ext2_filsys fs) in ext2fs_write_inode_bitmap()
303 errcode_t ext2fs_write_block_bitmap (ext2_filsys fs) in ext2fs_write_block_bitmap()
308 errcode_t ext2fs_read_bitmaps(ext2_filsys fs) in ext2fs_read_bitmaps()
316 errcode_t ext2fs_write_bitmaps(ext2_filsys fs) in ext2fs_write_bitmaps()
Dread_bb_file.c32 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE2()
35 void (*invalid)(ext2_filsys fs, in ext2fs_read_bb_FILE2()
78 static void call_compat_invalid(ext2_filsys fs, blk_t blk, in call_compat_invalid()
93 errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE()
95 void (*invalid)(ext2_filsys fs, blk_t blk)) in ext2fs_read_bb_FILE()
Dclosefs.c35 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) in ext2fs_bg_has_super()
48 int ext2fs_super_and_bgd_loc(ext2_filsys fs, in ext2fs_super_and_bgd_loc()
128 static errcode_t write_primary_superblock(ext2_filsys fs, in write_primary_superblock()
172 void ext2fs_update_dynamic_rev(ext2_filsys fs) in ext2fs_update_dynamic_rev()
186 static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, in write_backup_super()
206 errcode_t ext2fs_flush(ext2_filsys fs) in ext2fs_flush()
365 errcode_t ext2fs_close(ext2_filsys fs) in ext2fs_close()
Dalloc_stats.c18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2()
35 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats()
40 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats()
Ddirblock.c22 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block2()
66 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block()
73 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block2()
125 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block()
Dalloc.c35 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode()
76 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal, in ext2fs_new_block()
106 errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal, in ext2fs_alloc_block()
144 errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish, in ext2fs_get_free_blocks()
Dopenfs.c32 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc()
86 ext2_filsys fs; in ext2fs_open2() local
324 errcode_t ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) in ext2fs_get_data_io()
334 errcode_t ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) in ext2fs_set_data_io()
342 errcode_t ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) in ext2fs_rewrite_to_io()
Dmkjournal.c44 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, in ext2fs_create_journal_superblock()
92 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file()
147 static int mkjournal_proc(ext2_filsys fs, in mkjournal_proc()
195 static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, in write_journal_inode()
273 errcode_t ext2fs_add_journal_device(ext2_filsys fs, ext2_filsys journal_dev) in ext2fs_add_journal_device()
335 errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t size, int flags) in ext2fs_add_journal_inode()
423 ext2_filsys fs; in main() local
Dinode.c33 ext2_filsys fs; member
59 errcode_t ext2fs_flush_icache(ext2_filsys fs) in ext2fs_flush_icache()
73 static errcode_t create_icache(ext2_filsys fs) in create_icache()
105 errcode_t ext2fs_open_inode_scan(ext2_filsys fs, int buffer_blocks, in ext2fs_open_inode_scan()
188 errcode_t (*done_group)(ext2_filsys fs, in ext2fs_set_inode_callback()
504 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode_full()
603 errcode_t ext2fs_read_inode(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode()
610 errcode_t ext2fs_write_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_write_inode_full()
723 errcode_t ext2fs_write_inode(ext2_filsys fs, ext2_ino_t ino, in ext2fs_write_inode()
734 errcode_t ext2fs_write_new_inode(ext2_filsys fs, ext2_ino_t ino, in ext2fs_write_new_inode()
[all …]
Dext_attr.c26 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) in ext2fs_read_ext_attr()
41 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr()
69 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk, in ext2fs_adjust_ea_refcount()
Dimager.c61 errcode_t ext2fs_image_inode_write(ext2_filsys fs, int fd, int flags) in ext2fs_image_inode_write()
134 errcode_t ext2fs_image_inode_read(ext2_filsys fs, int fd, in ext2fs_image_inode_read()
185 errcode_t ext2fs_image_super_write(ext2_filsys fs, int fd, in ext2fs_image_super_write()
235 errcode_t ext2fs_image_super_read(ext2_filsys fs, int fd, in ext2fs_image_super_read()
278 errcode_t ext2fs_image_bitmap_write(ext2_filsys fs, int fd, int flags) in ext2fs_image_bitmap_write()
343 errcode_t ext2fs_image_bitmap_read(ext2_filsys fs, int fd, int flags) in ext2fs_image_bitmap_read()
Dnamei.c27 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link()
75 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei()
113 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei()
150 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei()
169 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow()
188 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link()
Dfileio.c23 ext2_filsys fs; member
35 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2()
82 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open()
105 ext2_filsys fs; in ext2fs_file_flush() local
167 ext2_filsys fs = file->fs; in load_buffer() local
211 ext2_filsys fs; in ext2fs_file_read() local
253 ext2_filsys fs; in ext2fs_file_write() local
Dsparse.c31 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) in ext2fs_bg_has_super()
51 unsigned int ext2fs_list_backups(ext2_filsys fs, unsigned int *three, in ext2fs_list_backups()
Dind_block.c22 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf) in ext2fs_read_ind_block()
47 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf) in ext2fs_write_ind_block()
Dalloc_tables.c30 errcode_t ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, in ext2fs_allocate_group_table()
105 errcode_t ext2fs_allocate_tables(ext2_filsys fs) in ext2fs_allocate_tables()
Dbmap.c34 static _BMAP_INLINE_ errcode_t block_ind_bmap(ext2_filsys fs, int flags, in block_ind_bmap()
97 static _BMAP_INLINE_ errcode_t block_dind_bmap(ext2_filsys fs, int flags, in block_dind_bmap()
117 static _BMAP_INLINE_ errcode_t block_tind_bmap(ext2_filsys fs, int flags, in block_tind_bmap()
137 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap()
/external/e2fsprogs/resize/
Dresize2fs.c55 #define FS_BLOCK_BM(fs, i) ((fs)->group_desc[(i)].bg_block_bitmap) argument
56 #define FS_INODE_BM(fs, i) ((fs)->group_desc[(i)].bg_inode_bitmap) argument
57 #define FS_INODE_TB(fs, i) ((fs)->group_desc[(i)].bg_inode_table) argument
59 #define IS_BLOCK_BM(fs, i, blk) ((blk) == FS_BLOCK_BM((fs),(i))) argument
60 #define IS_INODE_BM(fs, i, blk) ((blk) == FS_INODE_BM((fs),(i))) argument
62 #define IS_INODE_TB(fs, i, blk) (((blk) >= FS_INODE_TB((fs), (i))) && \ argument
71 errcode_t resize_fs(ext2_filsys fs, blk_t *new_size, int flags, in resize_fs()
179 errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs, blk_t new_size) in adjust_fs_info()
436 ext2_filsys fs; in adjust_superblock() local
544 static errcode_t mark_table_blocks(ext2_filsys fs, in mark_table_blocks()
[all …]
/external/e2fsprogs/e2fsck/
Dpass3.c54 ext2_filsys fs = ctx->fs; in e2fsck_pass3() local
156 ext2_filsys fs = ctx->fs; in check_root() local
275 ext2_filsys fs = ctx->fs; in check_directory() local
369 ext2_filsys fs = ctx->fs; in e2fsck_get_lost_and_found() local
515 ext2_filsys fs = ctx->fs; in e2fsck_reconnect_file() local
566 ext2_filsys fs = ctx->fs; in e2fsck_adjust_inode_count() local
607 ext2_filsys fs; member
654 ext2_filsys fs = ctx->fs; in fix_dotdot() local
699 static int expand_dir_proc(ext2_filsys fs, in expand_dir_proc()
766 ext2_filsys fs = ctx->fs; in e2fsck_expand_directory() local
Dpass1.c166 int e2fsck_pass1_check_symlink(ext2_filsys fs, struct ext2_inode *inode, in e2fsck_pass1_check_symlink()
470 ext2_filsys fs = ctx->fs; in e2fsck_pass1() local
1025 static errcode_t scan_callback(ext2_filsys fs, in scan_callback()
1215 ext2_filsys fs = ctx->fs; in adjust_extattr_refcount() local
1254 ext2_filsys fs = ctx->fs; in check_ext_attr() local
1424 ext2_filsys fs = ctx->fs; in handle_htree() local
1478 ext2_filsys fs = ctx->fs; in check_blocks() local
1710 static int process_block(ext2_filsys fs, in process_block()
1857 static int process_bad_block(ext2_filsys fs, in process_bad_block()
2024 ext2_filsys fs = ctx->fs; in new_table_block() local
[all …]
/external/genext2fs/
Dgenext2fs.c240 #define GRP_NBGROUPS(fs) \ argument
245 #define GRP_GET_GROUP_BBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_block_bitmap) ) argument
248 #define GRP_GET_GROUP_IBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_inode_bitmap) ) argument
251 #define GRP_GROUP_OF_INODE(fs,nod) ( ((nod)-1) / (fs)->sb.s_inodes_per_group) argument
254 #define GRP_GET_INODE_BITMAP(fs,nod) \ argument
258 #define GRP_IBM_OFFSET(fs,nod) \ argument
262 #define GRP_GROUP_OF_BLOCK(fs,blk) ( ((blk)-1) / (fs)->sb.s_blocks_per_group) argument
265 #define GRP_GET_BLOCK_BITMAP(fs,blk) \ argument
269 #define GRP_BBM_OFFSET(fs,blk) \ argument
821 get_blk(filesystem *fs, uint32 blk) in get_blk()
[all …]
/external/e2fsprogs/misc/
Dmke2fs.c164 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file()
189 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk()
216 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks()
353 static errcode_t zero_blocks(ext2_filsys fs, blk_t blk, int num, in zero_blocks()
404 static void write_inode_tables(ext2_filsys fs) in write_inode_tables()
450 static void setup_lazy_bg(ext2_filsys fs) in setup_lazy_bg()
481 static void create_root_dir(ext2_filsys fs) in create_root_dir()
516 static void create_lost_and_found(ext2_filsys fs) in create_lost_and_found()
551 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode()
567 static void reserve_inodes(ext2_filsys fs) in reserve_inodes()
[all …]
Ddumpe2fs.c111 static void print_bg_opts(ext2_filsys fs, dgrp_t i) in print_bg_opts()
129 static void list_desc (ext2_filsys fs) in list_desc()
230 static void list_bad_blocks(ext2_filsys fs, int dump) in list_bad_blocks()
264 static void print_inline_journal_information(ext2_filsys fs) in print_inline_journal_information()
285 static void print_journal_information(ext2_filsys fs) in print_journal_information()
406 ext2_filsys fs; in main() local

12345