Home
last modified time | relevance | path

Searched refs:type_data (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/ext2ed/
Dsuper_com.c29 super=&type_data.u.t_ext2_super_block; in type_ext2_super_block___show()
48 …wmove (show_pad,11,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_super_block.s_… in type_ext2_super_block___show()
49 …wmove (show_pad,12,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_super_block.s_… in type_ext2_super_block___show()
50 …wmove (show_pad,19,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_super_block.s_… in type_ext2_super_block___show()
53 switch (type_data.u.t_ext2_super_block.s_magic) { in type_ext2_super_block___show()
66 if (type_data.u.t_ext2_super_block.s_state & 0x1) in type_ext2_super_block___show()
71 if (type_data.u.t_ext2_super_block.s_state & 0x2) in type_ext2_super_block___show()
78 switch (type_data.u.t_ext2_super_block.s_errors) { in type_ext2_super_block___show()
95 switch (type_data.u.t_ext2_super_block.s_creator_os) { in type_ext2_super_block___show()
152 sb=type_data.u.t_ext2_super_block; in type_ext2_super_block___setactivecopy()
[all …]
Dinode_com.c142 inode_ptr=&type_data.u.t_ext2_inode; in type_ext2_inode___show()
165 wmove (show_pad,3,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_inode.i_atime)); in type_ext2_inode___show()
166 wmove (show_pad,4,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_inode.i_ctime)); in type_ext2_inode___show()
167 wmove (show_pad,5,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_inode.i_mtime)); in type_ext2_inode___show()
168 wmove (show_pad,6,40);wprintw (show_pad,"%s",ctime ((time_t *) &type_data.u.t_ext2_inode.i_dtime)); in type_ext2_inode___show()
243 if (type_data.u.t_ext2_inode.i_mode==0) in type_ext2_inode___show()
246 if (S_ISREG (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
249 if (S_ISDIR (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
252 if (S_ISLNK (type_data.u.t_ext2_inode.i_mode)) { in type_ext2_inode___show()
257 wprintw (show_pad,"-> %s",(char *) &type_data.u.t_ext2_inode.i_block [0]); in type_ext2_inode___show()
[all …]
Dgeneral_com.c271 type_data.offset_in_block=0; in set_offset()
397 ptr=type_data.u.buffer+offset; in set()
458 type_data.u.buffer [type_data.offset_in_block]=tmp; in hex_set()
459 type_data.offset_in_block++; in hex_set()
461 if (type_data.offset_in_block==file_system_info.block_size) { in hex_set()
466 type_data.offset_in_block--; in hex_set()
475 type_data.u.buffer [type_data.offset_in_block]=tmp; in hex_set()
476 type_data.offset_in_block++; in hex_set()
477 if (type_data.offset_in_block==file_system_info.block_size) { in hex_set()
482 type_data.offset_in_block--; in hex_set()
[all …]
Dgroup_com.c141 inode_offset=type_data.u.t_ext2_group_desc.bg_inode_table; in type_ext2_group_desc___inode()
155 block_bitmap_offset=type_data.u.t_ext2_group_desc.bg_block_bitmap; in type_ext2_group_desc___blockbitmap()
169 inode_bitmap_offset=type_data.u.t_ext2_group_desc.bg_inode_bitmap; in type_ext2_group_desc___inodebitmap()
179 gd=type_data.u.t_ext2_group_desc; in type_ext2_group_desc___setactivecopy()
181 type_data.u.t_ext2_group_desc=gd; in type_ext2_group_desc___setactivecopy()
Dinodebitmap_com.c143 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()
157 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
167 ptr=type_data.u.buffer; in type_ext2_inode_bitmap___show()
206 ptr=type_data.u.buffer+inode_bitmap_info.entry_num/8; in type_ext2_inode_bitmap___show()
Dblockbitmap_com.c184 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()
200 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
217 ptr=type_data.u.buffer; in type_ext2_block_bitmap___show()
257 ptr=type_data.u.buffer+block_bitmap_info.entry_num/8; in type_ext2_block_bitmap___show()
Ddisk.c209 if (low_read (type_data.u.buffer,EXT2_MAX_BLOCK_SIZE,device_offset)==0) in load_type_data()
214 current_type->length=type_data.u.t_ext2_dir_entry.rec_len; in load_type_data()
234 if (low_write (type_data.u.buffer,file_system_info.block_size,device_offset)==0) in write_type_data()
Ddir_com.c54 ptr=&type_data.u.t_ext2_inode; /* type_data contains the inode */ in init_dir_info()
269 if (S_ISLNK (type_data.u.t_ext2_inode.i_mode)) {/* Symbolic link ? */ in type_dir___cd()
271 if (type_data.u.t_ext2_inode.i_size > 60) { /* I'm lazy, I guess :-) */ in type_dir___cd()
278 strcpy (temp2,(unsigned char *) &type_data.u.t_ext2_inode.i_block); in type_dir___cd()
291 if (S_ISDIR (type_data.u.t_ext2_inode.i_mode)) { /* Is it an inode of a directory ? */ in type_dir___cd()
Dmain.c80 struct struct_type_data type_data; /* The current data is sometimes stored here */ variable
Dext2ed.h210 extern struct struct_type_data type_data;
Dfile_com.c29 ptr=&type_data.u.t_ext2_inode; in init_file_info()