Home
last modified time | relevance | path

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

/external/e2fsprogs/ext2ed/
Dsuper_com.c28 super=&type_data.u.t_ext2_super_block; in type_ext2_super_block___show()
47 …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()
48 …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()
49 …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()
52 switch (type_data.u.t_ext2_super_block.s_magic) { in type_ext2_super_block___show()
65 if (type_data.u.t_ext2_super_block.s_state & 0x1) in type_ext2_super_block___show()
70 if (type_data.u.t_ext2_super_block.s_state & 0x2) in type_ext2_super_block___show()
77 switch (type_data.u.t_ext2_super_block.s_errors) { in type_ext2_super_block___show()
94 switch (type_data.u.t_ext2_super_block.s_creator_os) { in type_ext2_super_block___show()
151 sb=type_data.u.t_ext2_super_block; in type_ext2_super_block___setactivecopy()
[all …]
Dgeneral_com.c270 type_data.offset_in_block=0; in set_offset()
396 ptr=type_data.u.buffer+offset; in set()
457 type_data.u.buffer [type_data.offset_in_block]=tmp; in hex_set()
458 type_data.offset_in_block++; in hex_set()
460 if (type_data.offset_in_block==file_system_info.block_size) { in hex_set()
465 type_data.offset_in_block--; in hex_set()
474 type_data.u.buffer [type_data.offset_in_block]=tmp; in hex_set()
475 type_data.offset_in_block++; in hex_set()
476 if (type_data.offset_in_block==file_system_info.block_size) { in hex_set()
481 type_data.offset_in_block--; in hex_set()
[all …]
Dinode_com.c141 inode_ptr=&type_data.u.t_ext2_inode; in type_ext2_inode___show()
164 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()
165 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()
166 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()
167 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()
242 if (type_data.u.t_ext2_inode.i_mode==0) in type_ext2_inode___show()
245 if (S_ISREG (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
248 if (S_ISDIR (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
251 if (S_ISLNK (type_data.u.t_ext2_inode.i_mode)) { in type_ext2_inode___show()
256 wprintw (show_pad,"-> %s",(char *) &type_data.u.t_ext2_inode.i_block [0]); in type_ext2_inode___show()
[all …]
Dgroup_com.c140 inode_offset=type_data.u.t_ext2_group_desc.bg_inode_table; in type_ext2_group_desc___inode()
154 block_bitmap_offset=type_data.u.t_ext2_group_desc.bg_block_bitmap; in type_ext2_group_desc___blockbitmap()
168 inode_bitmap_offset=type_data.u.t_ext2_group_desc.bg_inode_bitmap; in type_ext2_group_desc___inodebitmap()
178 gd=type_data.u.t_ext2_group_desc; in type_ext2_group_desc___setactivecopy()
180 type_data.u.t_ext2_group_desc=gd; in type_ext2_group_desc___setactivecopy()
Dblockbitmap_com.c183 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()
199 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
216 ptr=type_data.u.buffer; in type_ext2_block_bitmap___show()
256 ptr=type_data.u.buffer+block_bitmap_info.entry_num/8; in type_ext2_block_bitmap___show()
Dinodebitmap_com.c142 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()
156 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
166 ptr=type_data.u.buffer; in type_ext2_inode_bitmap___show()
205 ptr=type_data.u.buffer+inode_bitmap_info.entry_num/8; in type_ext2_inode_bitmap___show()
Ddisk.c208 if (low_read (type_data.u.buffer,EXT2_MAX_BLOCK_SIZE,device_offset)==0) in load_type_data()
213 current_type->length=type_data.u.t_ext2_dir_entry.rec_len; in load_type_data()
233 if (low_write (type_data.u.buffer,file_system_info.block_size,device_offset)==0) in write_type_data()
Ddir_com.c53 ptr=&type_data.u.t_ext2_inode; /* type_data contains the inode */ in init_dir_info()
268 if (S_ISLNK (type_data.u.t_ext2_inode.i_mode)) {/* Symbolic link ? */ in type_dir___cd()
270 if (type_data.u.t_ext2_inode.i_size > 60) { /* I'm lazy, I guess :-) */ in type_dir___cd()
277 strcpy (temp2,(unsigned char *) &type_data.u.t_ext2_inode.i_block); in type_dir___cd()
290 if (S_ISDIR (type_data.u.t_ext2_inode.i_mode)) { /* Is it an inode of a directory ? */ in type_dir___cd()
Dmain.c79 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.c28 ptr=&type_data.u.t_ext2_inode; in init_file_info()