Lines Matching refs:dir_entry_ptr
102 struct ext2_dir_entry_2 *dir_entry_ptr; /* contain the current search entries */ in search_dir_entries() local
107 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
118 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
121 next = dir_entry_ptr->rec_len; in search_dir_entries()
139 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
222 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___cd() local
224 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___cd()
229 strncpy (full_dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___cd()
230 full_dir_name [dir_entry_ptr->name_len]=0; in type_dir___cd()
256 if (dir_entry_ptr->name_len != strlen (dir_name) || in type_dir___cd()
257 strncmp (dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len)!=0) in type_dir___cd()
323 struct ext2_dir_entry_2 *dir_entry_ptr; in action_name() local
325 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info->buffer+info->dir_entry_offset); in action_name()
327 if (dir_entry_ptr->name_len != strlen (name_search)) in action_name()
330 if (strncmp (dir_entry_ptr->name,name_search,dir_entry_ptr->name_len)==0) in action_name()
401 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___followinode() local
404 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___followinode()
406 inode_offset=inode_num_to_inode_offset (dir_entry_ptr->inode); /* Compute the inode's offset */ in type_dir___followinode()
455 struct ext2_dir_entry_2 *dir_entry_ptr; in action_show() local
457 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info->buffer+info->dir_entry_offset); in action_show()
462 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); /* The name is not terminated */ in action_show()
463 temp [dir_entry_ptr->name_len]=0; in action_show()
464 if (dir_entry_ptr->name_len > (COLS - 55) && COLS > 55) in action_show()
467 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in action_show()
597 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___set() local
599 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___set()
616 dir_entry_ptr->inode=atol (value); in type_dir___set()
617 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->inode);refresh_command_win… in type_dir___set()
623 dir_entry_ptr->rec_len=(unsigned int) atol (value); in type_dir___set()
624 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->rec_len);refresh_command_w… in type_dir___set()
630 dir_entry_ptr->name_len=(unsigned int) atol (value); in type_dir___set()
631 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->name_len);refresh_command_… in type_dir___set()
637 if (strlen (value) > dir_entry_ptr->name_len) { in type_dir___set()
641 strncpy (dir_entry_ptr->name,value,strlen (value)); in type_dir___set()
648 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___set()
649 temp [dir_entry_ptr->name_len]=0; in type_dir___set()
652 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in type_dir___set()