Searched refs:dir_ent (Results 1 – 14 of 14) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | action.c | 92 extern char *pathname(struct dir_ent *); 94 extern char *subpathname(struct dir_ent *); 880 void eval_actions(struct dir_info *root, struct dir_ent *dir_ent) in eval_actions() argument 884 int st_mode = dir_ent->inode->buf.st_mode; in eval_actions() 886 action_data.name = dir_ent->name; in eval_actions() 887 action_data.pathname = strdup(pathname(dir_ent)); in eval_actions() 888 action_data.subpath = strdup(subpathname(dir_ent)); in eval_actions() 889 action_data.buf = &dir_ent->inode->buf; in eval_actions() 890 action_data.depth = dir_ent->our_dir->depth; in eval_actions() 891 action_data.dir_ent = dir_ent; in eval_actions() [all …]
|
D | mksquashfs.c | 314 struct dir_ent *(_readdir)(struct dir_info *), int); 756 char *_pathname(struct dir_ent *dir_ent, char *pathname, int *size) in _pathname() argument 766 dir_ent->our_dir->pathname, in _pathname() 767 dir_ent->source_name ? : dir_ent->name); in _pathname() 788 char *pathname(struct dir_ent *dir_ent) in pathname() argument 793 if (dir_ent->nonstandard_pathname) in pathname() 794 return dir_ent->nonstandard_pathname; in pathname() 796 return pathname = _pathname(dir_ent, pathname, &size); in pathname() 800 char *pathname_reader(struct dir_ent *dir_ent) in pathname_reader() argument 805 if (dir_ent->nonstandard_pathname) in pathname_reader() [all …]
|
D | info.c | 47 static struct dir_ent *ent = NULL; 58 void update_info(struct dir_ent *dir_ent) in update_info() argument 60 ent = dir_ent; in update_info() 66 struct dir_ent *dir_ent = ent; in print_filename() local 68 if(dir_ent == NULL) in print_filename() 71 if(dir_ent->our_dir->subpath[0] != '\0') in print_filename() 72 INFO("%s/%s\n", dir_ent->our_dir->subpath, dir_ent->name); in print_filename() 74 INFO("/%s\n", dir_ent->name); in print_filename()
|
D | action.h | 207 void (*run_action)(struct action *, struct dir_ent *); 217 struct dir_ent *dir_ent; member 287 struct dir_ent *dir_ent; member 312 extern void *eval_frag_actions(struct dir_info *, struct dir_ent *); 315 struct dir_ent *); 316 extern void eval_actions(struct dir_info *, struct dir_ent *); 317 extern int eval_empty_actions(struct dir_info *, struct dir_ent *dir_ent); 318 extern void eval_move_actions(struct dir_info *, struct dir_ent *); 319 extern int eval_prune_actions(struct dir_info *, struct dir_ent *);
|
D | sort.c | 61 extern void write_file(squashfs_inode *inode, struct dir_ent *dir_ent, 63 extern char *pathname(struct dir_ent *dir_ent); 66 void add_priority_list(struct dir_ent *dir, int priority) in add_priority_list() 193 struct dir_ent *dir_ent = dir->list; in generate_file_priorities() local 197 for(; dir_ent; dir_ent = dir_ent->next) { in generate_file_priorities() 198 struct stat *buf = &dir_ent->inode->buf; in generate_file_priorities() 199 if(dir_ent->inode->root_entry) in generate_file_priorities() 204 add_priority_list(dir_ent, in generate_file_priorities() 205 get_priority(pathname(dir_ent), buf, in generate_file_priorities() 209 generate_file_priorities(dir_ent->dir, in generate_file_priorities()
|
D | mksquashfs.h | 42 struct dir_ent *dir_ent; member 43 struct dir_ent *list; 47 struct dir_ent { struct 54 struct dir_ent *next; argument
|
D | xattr.c | 116 extern char *pathname(struct dir_ent *); 119 extern char *subpathname(struct dir_ent *); 680 struct dir_ent *dir_ent = d; in read_xattrs() local 681 struct inode_info *inode = dir_ent->inode; in read_xattrs() 682 char *filename = pathname(dir_ent); in read_xattrs() 704 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); in read_xattrs() 715 if (dir_ent->capabilities != 0) { in read_xattrs() 717 set_caps_xattr(dir_ent->capabilities, next_xattr); in read_xattrs()
|
D | unsquashfs.h | 174 struct dir_ent { struct 189 struct dir_ent *dirs; argument
|
D | info.h | 28 extern void update_info(struct dir_ent *);
|
D | sort.h | 28 struct dir_ent *dir;
|
D | xattr.h | 91 static inline int read_xattrs(void *dir_ent) in read_xattrs() argument
|
D | unsquash-1.c | 214 struct dir_ent *new_dir; in squashfs_opendir_1() 293 DIR_ENT_SIZE) * sizeof(struct dir_ent)); in squashfs_opendir_1()
|
D | unsquash-3.c | 291 struct dir_ent *new_dir; in squashfs_opendir_3() 371 DIR_ENT_SIZE) * sizeof(struct dir_ent)); in squashfs_opendir_3()
|
D | unsquash-4.c | 260 struct dir_ent *new_dir; in squashfs_opendir_4() 329 DIR_ENT_SIZE) * sizeof(struct dir_ent)); in squashfs_opendir_4()
|