Home
last modified time | relevance | path

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

/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/f2fs-tools/fsck/
Ddir.c43 d->dentry = t->dentry; in make_dentry_ptr()
49 d->dentry = t->dentry; in make_dentry_ptr()
71 de = &d->dentry[bit_pos]; in find_target_dentry()
101 unsigned int level, struct dentry *de) in find_in_level()
105 struct f2fs_dir_entry *dentry = NULL; in find_in_level() local
139 dentry = find_in_block(dentry_blk, de->name, de->len, in find_in_level()
141 if (dentry) { in find_in_level()
143 de->ino = le32_to_cpu(dentry->ino); in find_in_level()
156 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
178 de = &d->dentry[bit_pos]; in f2fs_update_dentry()
[all …]
Dfsck.c1021 u8 *bitmap, struct f2fs_dir_entry *dentry, in print_dentry() argument
1034 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry()
1063 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1067 static int f2fs_check_hash_code(struct f2fs_dir_entry *dentry, in f2fs_check_hash_code() argument
1073 if (dentry->hash_code != hash_code) { in f2fs_check_hash_code()
1079 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1081 dentry->hash_code = cpu_to_le32(hash_code); in f2fs_check_hash_code()
1128 struct f2fs_dir_entry *dentry, in __chk_dots_dentries() argument
1137 if (le32_to_cpu(dentry->ino) != child->p_ino) { in __chk_dots_dentries()
1139 le32_to_cpu(dentry->ino), child->p_ino); in __chk_dots_dentries()
[all …]
Dfsck.h217 int f2fs_build_file(struct f2fs_sb_info *, struct dentry *);
224 int f2fs_create(struct f2fs_sb_info *, struct dentry *);
225 int f2fs_mkdir(struct f2fs_sb_info *, struct dentry *);
226 int f2fs_symlink(struct f2fs_sb_info *, struct dentry *);
Dsload.c29 static void handle_selabel(struct dentry *de, int dir, char *target_out) in handle_selabel()
53 int entries, struct dentry *de) in f2fs_make_directory()
72 struct dentry *dentries; in build_directory()
83 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
Df2fs.h129 struct f2fs_dir_entry *dentry; member
134 struct dentry { struct
Dsegment.c166 int f2fs_build_file(struct f2fs_sb_info *sbi, struct dentry *de) in f2fs_build_file()
/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/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/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/f2fs-tools/mkfs/
Df2fs_format.c1014 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1015 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
1016 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_root()
1017 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_root()
1020 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_root()
1021 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_root()
1022 dent_blk->dentry[1].name_len = cpu_to_le16(2); in f2fs_add_default_dentry_root()
1023 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_root()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c273 inode = nd.dentry->d_inode; in lookup_bdev()
/external/f2fs-tools/include/
Df2fs_fs.h908 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK]; member
926 struct f2fs_dir_entry dentry[NR_INLINE_DENTRY]; member
/external/selinux/python/sepolgen/tests/test_data/
Daudit.log155 …850401.622:1046): avc: denied { read } for pid=6514 comm="sadc" name="dentry-state" dev=proc in…
157 …401.622:1047): avc: denied { getattr } for pid=6514 comm="sadc" name="dentry-state" dev=proc in…
159 type=AVC_PATH msg=audit(1162850401.622:1047): path="/proc/sys/fs/dentry-state"
329 …851001.860:1129): avc: denied { read } for pid=6859 comm="sadc" name="dentry-state" dev=proc in…
331 …001.860:1130): avc: denied { getattr } for pid=6859 comm="sadc" name="dentry-state" dev=proc in…
333 type=AVC_PATH msg=audit(1162851001.860:1130): path="/proc/sys/fs/dentry-state"
546 …851601.937:1216): avc: denied { read } for pid=6949 comm="sadc" name="dentry-state" dev=proc in…
548 …601.937:1217): avc: denied { getattr } for pid=6949 comm="sadc" name="dentry-state" dev=proc in…
550 type=AVC_PATH msg=audit(1162851601.937:1217): path="/proc/sys/fs/dentry-state"
993 …856401.589:1406): avc: denied { read } for pid=7298 comm="sadc" name="dentry-state" dev=proc in…
[all …]
Dhttpd.log3687 …73201.798:11484): avc: denied { read } for pid=8276 comm="sadc" name="dentry-state" dev=proc in…
3689 …01.798:11485): avc: denied { getattr } for pid=8276 comm="sadc" name="dentry-state" dev=proc in…
3691 type=AVC_PATH msg=audit(1163773201.798:11485): path="/proc/sys/fs/dentry-state"
4115 …74401.661:11660): avc: denied { read } for pid=8808 comm="sadc" name="dentry-state" dev=proc in…
4117 …01.661:11661): avc: denied { getattr } for pid=8808 comm="sadc" name="dentry-state" dev=proc in…
4119 type=AVC_PATH msg=audit(1163774401.661:11661): path="/proc/sys/fs/dentry-state"
5904 …5602.840:12393): avc: denied { read } for pid=12196 comm="sadc" name="dentry-state" dev=proc in…
5906 …2.840:12394): avc: denied { getattr } for pid=12196 comm="sadc" name="dentry-state" dev=proc in…
5908 type=AVC_PATH msg=audit(1163775602.840:12394): path="/proc/sys/fs/dentry-state"
6540 …6204.758:12667): avc: denied { read } for pid=13076 comm="sadc" name="dentry-state" dev=proc in…
[all …]