Lines Matching refs:dir_entry_ptr

101 	struct ext2_dir_entry_2 *dir_entry_ptr;					/* contain the current search entries */  in search_dir_entries()  local
106 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
117 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
120 next = dir_entry_ptr->rec_len; in search_dir_entries()
138 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); in search_dir_entries()
221 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___cd() local
223 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___cd()
228 strncpy (full_dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___cd()
229 full_dir_name [dir_entry_ptr->name_len]=0; in type_dir___cd()
255 if (dir_entry_ptr->name_len != strlen (dir_name) || in type_dir___cd()
256 strncmp (dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len)!=0) in type_dir___cd()
322 struct ext2_dir_entry_2 *dir_entry_ptr; in action_name() local
324 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info->buffer+info->dir_entry_offset); in action_name()
326 if (dir_entry_ptr->name_len != strlen (name_search)) in action_name()
329 if (strncmp (dir_entry_ptr->name,name_search,dir_entry_ptr->name_len)==0) in action_name()
400 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___followinode() local
403 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___followinode()
405 inode_offset=inode_num_to_inode_offset (dir_entry_ptr->inode); /* Compute the inode's offset */ in type_dir___followinode()
454 struct ext2_dir_entry_2 *dir_entry_ptr; in action_show() local
456 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info->buffer+info->dir_entry_offset); in action_show()
461 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); /* The name is not terminated */ in action_show()
462 temp [dir_entry_ptr->name_len]=0; in action_show()
463 if (dir_entry_ptr->name_len > (COLS - 55) && COLS > 55) in action_show()
466 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in action_show()
596 struct ext2_dir_entry_2 *dir_entry_ptr; in type_dir___set() local
598 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___set()
615 dir_entry_ptr->inode=atol (value); in type_dir___set()
616 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->inode);refresh_command_win… in type_dir___set()
622 dir_entry_ptr->rec_len=(unsigned int) atol (value); in type_dir___set()
623 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->rec_len);refresh_command_w… in type_dir___set()
629 dir_entry_ptr->name_len=(unsigned int) atol (value); in type_dir___set()
630 …wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->name_len);refresh_command_… in type_dir___set()
636 if (strlen (value) > dir_entry_ptr->name_len) { in type_dir___set()
640 strncpy (dir_entry_ptr->name,value,strlen (value)); in type_dir___set()
647 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___set()
648 temp [dir_entry_ptr->name_len]=0; in type_dir___set()
651 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); in type_dir___set()