OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:type_data
(Results
1 - 11
of
11
) sorted by null
/external/e2fsprogs/ext2ed/
super_com.c
28
super=&
type_data
.u.t_ext2_super_block;
47
wmove (show_pad,11,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_super_block.s_mtime));
48
wmove (show_pad,12,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_super_block.s_wtime));
49
wmove (show_pad,19,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_super_block.s_lastcheck));
52
switch (
type_data
.u.t_ext2_super_block.s_magic) {
65
if (
type_data
.u.t_ext2_super_block.s_state & 0x1)
70
if (
type_data
.u.t_ext2_super_block.s_state & 0x2)
77
switch (
type_data
.u.t_ext2_super_block.s_errors) {
94
switch (
type_data
.u.t_ext2_super_block.s_creator_os) {
151
sb=
type_data
.u.t_ext2_super_block
[
all
...]
general_com.c
270
type_data
.offset_in_block=0;
396
ptr=
type_data
.u.buffer+offset;
457
type_data
.u.buffer [
type_data
.offset_in_block]=tmp;
458
type_data
.offset_in_block++;
460
if (
type_data
.offset_in_block==file_system_info.block_size) {
465
type_data
.offset_in_block--;
474
type_data
.u.buffer [
type_data
.offset_in_block]=tmp;
475
type_data
.offset_in_block++
[
all
...]
inode_com.c
141
inode_ptr=&
type_data
.u.t_ext2_inode;
164
wmove (show_pad,3,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_inode.i_atime));
165
wmove (show_pad,4,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_inode.i_ctime));
166
wmove (show_pad,5,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_inode.i_mtime));
167
wmove (show_pad,6,40);wprintw (show_pad,"%s",ctime ((time_t *) &
type_data
.u.t_ext2_inode.i_dtime));
242
if (
type_data
.u.t_ext2_inode.i_mode==0)
245
if (S_ISREG (
type_data
.u.t_ext2_inode.i_mode))
248
if (S_ISDIR (
type_data
.u.t_ext2_inode.i_mode))
251
if (S_ISLNK (
type_data
.u.t_ext2_inode.i_mode)) {
256
wprintw (show_pad,"-> %s",(char *) &
type_data
.u.t_ext2_inode.i_block [0])
[
all
...]
group_com.c
140
inode_offset=
type_data
.u.t_ext2_group_desc.bg_inode_table;
154
block_bitmap_offset=
type_data
.u.t_ext2_group_desc.bg_block_bitmap;
168
inode_bitmap_offset=
type_data
.u.t_ext2_group_desc.bg_inode_bitmap;
178
gd=
type_data
.u.t_ext2_group_desc;
180
type_data
.u.t_ext2_group_desc=gd;
disk.c
208
if (low_read (
type_data
.u.buffer,EXT2_MAX_BLOCK_SIZE,device_offset)==0)
213
current_type->length=
type_data
.u.t_ext2_dir_entry.rec_len;
233
if (low_write (
type_data
.u.buffer,file_system_info.block_size,device_offset)==0)
blockbitmap_com.c
183
type_data
.u.buffer [byte_offset] |= bit_mask; /* And apply it */
199
type_data
.u.buffer [byte_offset] &= bit_mask;
216
ptr=
type_data
.u.buffer;
256
ptr=
type_data
.u.buffer+block_bitmap_info.entry_num/8;
inodebitmap_com.c
142
type_data
.u.buffer [byte_offset] |= bit_mask;
156
type_data
.u.buffer [byte_offset] &= bit_mask;
166
ptr=
type_data
.u.buffer;
205
ptr=
type_data
.u.buffer+inode_bitmap_info.entry_num/8;
dir_com.c
22
type_data
is not changed! It still contains the inode of the file - We handle the directory in our own
53
ptr=&
type_data
.u.t_ext2_inode; /*
type_data
contains the inode */
197
type_data
is still intact and contains the inode of the current directory) into the object memory.
268
if (S_ISLNK (
type_data
.u.t_ext2_inode.i_mode)) {/* Symbolic link ? */
270
if (
type_data
.u.t_ext2_inode.i_size > 60) { /* I'm lazy, I guess :-) */
277
strcpy (temp2,(unsigned char *) &
type_data
.u.t_ext2_inode.i_block);
290
if (S_ISDIR (
type_data
.u.t_ext2_inode.i_mode)) { /* Is it an inode of a directory ? */
415
This is trivial, as we
type_data
is still intact and contains the parent inode !
669
We need to override this since the data is not in
type_data
. Instead, we have to write the buffer which correspond
[
all
...]
ext2ed.h
210
extern struct struct_type_data
type_data
;
main.c
79
struct struct_type_data
type_data
; /* The current data is sometimes stored here */
variable in typeref:struct:struct_type_data
file_com.c
28
ptr=&
type_data
.u.t_ext2_inode;
259
/* device_offset and
type_data
points to the inode */
323
/* device_offset and
type_data
points to the inode */
Completed in 73 milliseconds