Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 38) sorted by relevance

12

/external/squashfs-tools/kernel/fs/squashfs/
Dexport.c74 static struct dentry *squashfs_export_iget(struct super_block *sb, in squashfs_export_iget()
78 struct dentry *dentry = ERR_PTR(-ENOENT); in squashfs_export_iget() local
84 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num)); in squashfs_export_iget()
86 return dentry; in squashfs_export_iget()
90 static struct dentry *squashfs_fh_to_dentry(struct super_block *sb, in squashfs_fh_to_dentry()
101 static struct dentry *squashfs_fh_to_parent(struct super_block *sb, in squashfs_fh_to_parent()
111 static struct dentry *squashfs_get_parent(struct dentry *child) in squashfs_get_parent()
Dnamei.c135 static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry, in squashfs_lookup() argument
138 const unsigned char *name = dentry->d_name.name; in squashfs_lookup()
139 int len = dentry->d_name.len; in squashfs_lookup()
226 return d_splice_alias(inode, dentry); in squashfs_lookup()
227 d_add(dentry, inode); in squashfs_lookup()
Dsuper.c300 static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf) in squashfs_statfs() argument
302 struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info; in squashfs_statfs()
/external/ltp/testcases/kernel/syscalls/utils/
Dinotify.h102 extern void inotify_d_instantiate(struct dentry *, struct inode *);
103 extern void inotify_d_move(struct dentry *);
106 extern void inotify_dentry_parent_queue_event(struct dentry *, __u32, __u32,
132 static inline void inotify_d_instantiate(struct dentry *dentry, in inotify_d_instantiate() argument
137 static inline void inotify_d_move(struct dentry *dentry) in inotify_d_move() argument
148 static inline void inotify_dentry_parent_queue_event(struct dentry *dentry, in inotify_dentry_parent_queue_event() argument
/external/u-boot/fs/ubifs/
Dubifs.c304 struct inode *dir = file->f_path.dentry->d_inode; in ubifs_printdir()
398 struct dentry *dentry; in ubifs_finddir() local
403 dentry = kzalloc(sizeof(struct dentry), 0); in ubifs_finddir()
405 if (!file || !dentry || !dir) { in ubifs_finddir()
412 file->f_path.dentry = dentry; in ubifs_finddir()
413 file->f_path.dentry->d_parent = dentry; in ubifs_finddir()
414 file->f_path.dentry->d_inode = dir; in ubifs_finddir()
415 file->f_path.dentry->d_inode->i_ino = root_inum; in ubifs_finddir()
470 free(dentry); in ubifs_finddir()
586 struct dentry *dentry; in ubifs_ls() local
[all …]
Dubifs.h44 struct dentry;
267 int (*statfs) (struct dentry *, struct kstatfs *);
273 int (*show_options)(struct seq_file *, struct dentry *);
274 int (*show_devname)(struct seq_file *, struct dentry *);
275 int (*show_path)(struct seq_file *, struct dentry *);
276 int (*show_stats)(struct seq_file *, struct dentry *);
300 struct dentry *s_root;
398 struct dentry *(*mount) (struct file_system_type *, int,
419 struct dentry *mnt_root; /* root of the mounted tree */
426 struct dentry *dentry; member
[all …]
Ddebug.h107 struct dentry *dfs_dir;
108 struct dentry *dfs_dump_lprops;
109 struct dentry *dfs_dump_budg;
110 struct dentry *dfs_dump_tnc;
111 struct dentry *dfs_chk_gen;
112 struct dentry *dfs_chk_index;
113 struct dentry *dfs_chk_orph;
114 struct dentry *dfs_chk_lprops;
115 struct dentry *dfs_chk_fs;
116 struct dentry *dfs_tst_rcvry;
[all …]
Ddebug.c2690 static struct dentry *dfs_rootdir;
2728 struct dentry *dent = file->f_path.dentry; in dfs_file_read()
2784 struct dentry *dent = file->f_path.dentry; in dfs_file_write()
2799 if (file->f_path.dentry == d->dfs_dump_lprops) { in dfs_file_write()
2803 if (file->f_path.dentry == d->dfs_dump_budg) { in dfs_file_write()
2807 if (file->f_path.dentry == d->dfs_dump_tnc) { in dfs_file_write()
2862 struct dentry *dent; in dbg_debugfs_init_fs()
2973 static struct dentry *dfs_chk_gen;
2974 static struct dentry *dfs_chk_index;
2975 static struct dentry *dfs_chk_orph;
[all …]
/external/f2fs-tools/fsck/
Ddir.c45 d->dentry = t->dentry; in make_dentry_ptr()
55 d->dentry = (struct f2fs_dir_entry *) in make_dentry_ptr()
80 de = &d->dentry[bit_pos]; in find_target_dentry()
110 unsigned int level, struct dentry *de) in find_in_level()
114 struct f2fs_dir_entry *dentry = NULL; in find_in_level() local
149 dentry = find_in_block(dentry_blk, de->name, de->len, in find_in_level()
151 if (dentry) { in find_in_level()
153 de->ino = le32_to_cpu(dentry->ino); in find_in_level()
166 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
184 struct dentry de = { in f2fs_lookup()
[all …]
Dfsck.c1213 u8 *bitmap, struct f2fs_dir_entry *dentry, in print_dentry() argument
1226 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry()
1255 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1259 static int f2fs_check_hash_code(struct f2fs_dir_entry *dentry, in f2fs_check_hash_code() argument
1265 if (dentry->hash_code != hash_code) { in f2fs_check_hash_code()
1271 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1273 dentry->hash_code = cpu_to_le32(hash_code); in f2fs_check_hash_code()
1320 struct f2fs_dir_entry *dentry, in __chk_dots_dentries() argument
1329 if (le32_to_cpu(dentry->ino) != child->p_ino) { in __chk_dots_dentries()
1331 le32_to_cpu(dentry->ino), child->p_ino); in __chk_dots_dentries()
[all …]
Dsload.c45 int entries, struct dentry *de) in f2fs_make_directory()
95 static int set_perms_and_caps(struct dentry *de) in set_perms_and_caps()
124 static void set_inode_metadata(struct dentry *de) in set_inode_metadata()
174 struct dentry *dentries; in build_directory()
184 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
Dfsck.h241 int f2fs_build_file(struct f2fs_sb_info *, struct dentry *);
255 int f2fs_create(struct f2fs_sb_info *, struct dentry *);
256 int f2fs_mkdir(struct f2fs_sb_info *, struct dentry *);
257 int f2fs_symlink(struct f2fs_sb_info *, struct dentry *);
/external/llvm/test/CodeGen/X86/
D2007-11-04-LiveIntervalCrash.ll4 %struct.dentry = type { %struct.dentry_operations* }
5 %struct.dentry_operations = type { i32 (%struct.dentry*, %struct.qstr*)* }
8 define %struct.dentry* @d_hash_and_lookup(%struct.dentry* %dir, %struct.qstr* %name) {
32 …%tmp75 = tail call i32 null( %struct.dentry* %dir, %struct.qstr* %name ) ; <i32> [#…
33 …%tmp84 = tail call i32 (...) @d_lookup( %struct.dentry* %dir, %struct.qstr* %name ) ; <…
34 ret %struct.dentry* null
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2007-11-04-LiveIntervalCrash.ll4 %struct.dentry = type { %struct.dentry_operations* }
5 %struct.dentry_operations = type { i32 (%struct.dentry*, %struct.qstr*)* }
8 define %struct.dentry* @d_hash_and_lookup(%struct.dentry* %dir, %struct.qstr* %name) {
32 …%tmp75 = tail call i32 null( %struct.dentry* %dir, %struct.qstr* %name ) ; <i32> [#…
33 …%tmp84 = tail call i32 (...)* @d_lookup( %struct.dentry* %dir, %struct.qstr* %name ) ; …
34 ret %struct.dentry* null
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2007-11-04-LiveIntervalCrash.ll4 %struct.dentry = type { %struct.dentry_operations* }
5 %struct.dentry_operations = type { i32 (%struct.dentry*, %struct.qstr*)* }
8 define %struct.dentry* @d_hash_and_lookup(%struct.dentry* %dir, %struct.qstr* %name) {
32 …%tmp75 = tail call i32 null( %struct.dentry* %dir, %struct.qstr* %name ) ; <i32> [#…
33 …%tmp84 = tail call i32 (...) @d_lookup( %struct.dentry* %dir, %struct.qstr* %name ) ; <…
34 ret %struct.dentry* null
/external/selinux/libselinux/src/
Dstringrep.c56 struct dirent *dentry; in discover_class() local
102 dentry = readdir(dir); in discover_class()
103 while (dentry != NULL) { in discover_class()
107 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name); in discover_class()
119 dentry = readdir(dir); in discover_class()
135 node->perms[value-1] = strdup(dentry->d_name); in discover_class()
139 dentry = readdir(dir); in discover_class()
/external/u-boot/include/linux/
Dmbus.h39 struct dentry *debugfs_root;
40 struct dentry *debugfs_sdram;
41 struct dentry *debugfs_devs;
/external/u-boot/drivers/mtd/ubi/
Dubi.h402 struct dentry *dfs_dir;
403 struct dentry *dfs_chk_gen;
404 struct dentry *dfs_chk_io;
405 struct dentry *dfs_chk_fastmap;
406 struct dentry *dfs_disable_bgt;
407 struct dentry *dfs_emulate_bitflips;
408 struct dentry *dfs_emulate_io_failures;
409 struct dentry *dfs_emulate_power_cut;
410 struct dentry *dfs_power_cut_min;
411 struct dentry *dfs_power_cut_max;
Ddebug.c215 static struct dentry *dfs_rootdir;
254 struct dentry *dent = file->f_path.dentry; in dfs_file_read()
317 struct dentry *dent = file->f_path.dentry; in dfs_file_write()
400 struct dentry *dent; in ubi_debugfs_init_dev()
/external/u-boot/cmd/
Dmtdparts.c230 struct list_head *dentry; in index_partitions() local
237 list_for_each(dentry, &devices) { in index_partitions()
238 dev = list_entry(dentry, struct mtd_device, link); in index_partitions()
1080 struct list_head *pentry, *dentry; in generate_mtdparts() local
1099 list_for_each(dentry, &devices) { in generate_mtdparts()
1100 dev = list_entry(dentry, struct mtd_device, link); in generate_mtdparts()
1179 if (dentry->next != &devices) { in generate_mtdparts()
1246 struct list_head *dentry, *pentry; local
1251 list_for_each(dentry, &devices) {
1252 dev = list_entry(dentry, struct mtd_device, link);
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format.c1395 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()
1396 dent_blk->dentry[0].ino = cpu_to_le32(c.lpf_ino); in f2fs_add_default_dentry_lpf()
1397 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_lpf()
1398 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1401 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()
1402 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_lpf()
1403 dent_blk->dentry[1].name_len = cpu_to_le16(2); in f2fs_add_default_dentry_lpf()
1404 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1531 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1532 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
[all …]
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c44 static struct dentry *squashfs_lookup_2(struct inode *i, struct dentry *dentry);
629 static struct dentry *squashfs_lookup_2(struct inode *i, struct dentry *dentry) in squashfs_lookup_2() argument
631 const unsigned char *name = dentry->d_name.name; in squashfs_lookup_2()
632 int len = dentry->d_name.len; in squashfs_lookup_2()
726 d_add(dentry, inode); in squashfs_lookup_2()
Dinode.c50 static struct dentry *squashfs_lookup(struct inode *, struct dentry *);
1866 static struct dentry *squashfs_lookup(struct inode *i, struct dentry *dentry) in squashfs_lookup() argument
1868 const unsigned char *name = dentry->d_name.name; in squashfs_lookup()
1869 int len = dentry->d_name.len; in squashfs_lookup()
1963 d_add(dentry, inode); in squashfs_lookup()
/external/bcc/tools/
Dinject_example.txt69 we want to fail the dentry allocation of a file creatively named 'bananas'. We
72 # ./inject.py kmalloc -v 'd_alloc_parallel(struct dentry *parent, const struct
75 While this script is executing, any operation that would cause a dentry
141 # ./inject.py kmalloc -v 'd_alloc_parallel(struct dentry *parent, const struct \
143 Fails dentry allocations of files named 'bananas'
Dslabratetop_example.txt23 dentry 135 25920
39 more meaningful names ("dentry", "TCP", "pid", etc).

12