Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 30) 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/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-project/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/f2fs-tools/fsck/
Ddir.c46 d->dentry = t->dentry; in make_dentry_ptr()
56 d->dentry = (struct f2fs_dir_entry *) in make_dentry_ptr()
81 de = &d->dentry[bit_pos]; in find_target_dentry()
111 unsigned int level, struct dentry *de) in find_in_level()
115 struct f2fs_dir_entry *dentry = NULL; in find_in_level() local
151 dentry = find_in_block(dentry_blk, de->name, de->len, in find_in_level()
153 if (dentry) { in find_in_level()
155 de->ino = le32_to_cpu(dentry->ino); in find_in_level()
168 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
186 struct dentry de = { in f2fs_lookup()
[all …]
Dfsck.c1302 u8 *bitmap, struct f2fs_dir_entry *dentry, in print_dentry() argument
1315 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry()
1344 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1349 struct f2fs_dir_entry *dentry, in f2fs_check_hash_code() argument
1358 if (dentry->hash_code != hash_code) { in f2fs_check_hash_code()
1363 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1365 dentry->hash_code = cpu_to_le32(hash_code); in f2fs_check_hash_code()
1385 static int f2fs_check_dirent_position(const struct f2fs_dir_entry *dentry, in f2fs_check_dirent_position() argument
1399 le32_to_cpu(dentry->hash_code) % nbucket); in f2fs_check_dirent_position()
1414 struct f2fs_dir_entry *dentry, in __chk_dots_dentries() argument
[all …]
Dfsck.h275 int f2fs_build_file(struct f2fs_sb_info *, struct dentry *);
300 int f2fs_create(struct f2fs_sb_info *, struct dentry *);
301 int f2fs_mkdir(struct f2fs_sb_info *, struct dentry *);
302 int f2fs_symlink(struct f2fs_sb_info *, struct dentry *);
309 struct dentry *de);
Dsload.c46 int entries, struct dentry *de) in f2fs_make_directory()
102 static int set_perms_and_caps(struct dentry *de) in set_perms_and_caps()
139 static void set_inode_metadata(struct dentry *de) in set_inode_metadata()
203 struct dentry *dentries; in build_directory()
213 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
Df2fs.h201 struct f2fs_dir_entry *dentry; member
207 struct dentry { struct
Dsegment.c453 int f2fs_build_file(struct f2fs_sb_info *sbi, struct dentry *de) in f2fs_build_file()
Ddump.c656 de = &d.dentry[i]; in dump_dirent()
/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.c1509 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()
1510 dent_blk->dentry[0].ino = cpu_to_le32(c.lpf_ino); in f2fs_add_default_dentry_lpf()
1511 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_lpf()
1512 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1515 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()
1516 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_lpf()
1517 dent_blk->dentry[1].name_len = cpu_to_le16(2); in f2fs_add_default_dentry_lpf()
1518 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1646 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1647 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
[all …]
/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).
/external/rust/crates/walkdir/src/
Dlib.rs678 if let Some(dentry) = self.get_deferred_dir() { in next()
679 return Some(Ok(dentry)); in next()
706 if let Some(dentry) = self.get_deferred_dir() { in next()
707 return Some(Ok(dentry)); in next()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c273 inode = nd.dentry->d_inode; in lookup_bdev()
/external/toybox/www/doc/
Dmount.txt107 These drivers essentially mount the VFS's page/dentry cache as if it was a
108 filesystem. (Page cache stores file contents, dentry cache stores directory
129 page and dentry caches the way ramfs does.
/external/libcups/systemv/
Dcupstestppd.c3884 cups_dentry_t *dentry; /* Current directory entry */ in valid_path() local
3917 dentry = NULL; in valid_path()
3920 while ((dentry = cupsDirRead(dir)) != NULL) in valid_path()
3922 if (!strcmp(dentry->filename, ptr)) in valid_path()
3934 if (!dentry) in valid_path()
/external/f2fs-tools/include/
Df2fs_fs.h1250 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK]; 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 …]

12