Home
last modified time | relevance | path

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

/third_party/exfatprogs/include/
Dexfat_ondisk.h190 } __attribute__((packed)) dentry; member
193 #define vol_char_cnt dentry.vol.character_count
194 #define vol_label dentry.vol.volume_label
195 #define file_num_ext dentry.file.num_ext
196 #define file_checksum dentry.file.checksum
197 #define file_attr dentry.file.attr
198 #define file_create_time dentry.file.create_time
199 #define file_create_date dentry.file.create_date
200 #define file_modify_time dentry.file.modify_time
201 #define file_modify_date dentry.file.modify_date
[all …]
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/
Ddebugfs.h2 static inline struct dentry *debugfs_create_file(const char *name, mode_t mode, in debugfs_create_file()
3 struct dentry *parent, void *data, in debugfs_create_file()
9 static inline struct dentry *debugfs_create_dir(const char *name, struct dentry *parent) in debugfs_create_dir()
15 static inline void debugfs_remove(struct dentry *dentry) { } in debugfs_remove() argument
Dfs.h3 struct dentry;
/third_party/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
/third_party/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
150 dentry = find_in_block(dentry_blk, de->name, de->len, in find_in_level()
152 if (dentry) { in find_in_level()
154 de->ino = le32_to_cpu(dentry->ino); in find_in_level()
167 struct f2fs_node *dir, struct dentry *de) in f2fs_find_entry()
185 struct dentry de = { in f2fs_lookup()
[all …]
Dfsck.c1283 u8 *bitmap, struct f2fs_dir_entry *dentry, in print_dentry() argument
1296 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry()
1325 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1330 struct f2fs_dir_entry *dentry, in f2fs_check_hash_code() argument
1339 if (dentry->hash_code != hash_code) { in f2fs_check_hash_code()
1344 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1346 dentry->hash_code = cpu_to_le32(hash_code); in f2fs_check_hash_code()
1366 static int f2fs_check_dirent_position(const struct f2fs_dir_entry *dentry, in f2fs_check_dirent_position() argument
1380 le32_to_cpu(dentry->hash_code) % nbucket); in f2fs_check_dirent_position()
1395 struct f2fs_dir_entry *dentry, in __chk_dots_dentries() argument
[all …]
Dsload.c48 int entries, struct dentry *de) in f2fs_make_directory()
104 static int set_perms_and_caps(struct dentry *de) in set_perms_and_caps()
141 static void set_inode_metadata(struct dentry *de) in set_inode_metadata()
191 struct dentry *dentries; in build_directory()
201 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
Dfsck.h275 int f2fs_build_file(struct f2fs_sb_info *, struct dentry *);
291 int f2fs_create(struct f2fs_sb_info *, struct dentry *);
292 int f2fs_mkdir(struct f2fs_sb_info *, struct dentry *);
293 int f2fs_symlink(struct f2fs_sb_info *, struct dentry *);
Df2fs.h201 struct f2fs_dir_entry *dentry; member
207 struct dentry { struct
Dsegment.c345 int f2fs_build_file(struct f2fs_sb_info *sbi, struct dentry *de) in f2fs_build_file()
Ddump.c655 de = &d.dentry[i]; in dump_dirent()
/third_party/exfatprogs/fsck/
Dfsck.c848 static void dentry_calc_checksum(struct exfat_dentry *dentry, in dentry_calc_checksum() argument
854 bytes = (uint8_t *)dentry; in dentry_calc_checksum()
860 for (; i < sizeof(*dentry); i++) { in dentry_calc_checksum()
890 struct exfat_dentry *dentry; in check_inode() local
910 exfat_de_iter_get_dirty(iter, 1, &dentry); in check_inode()
911 dentry->stream_flags &= ~EXFAT_SF_CONTIGUOUS; in check_inode()
926 exfat_de_iter_get(iter, 0, &dentry); in check_inode()
927 if (checksum != le16_to_cpu(dentry->file_checksum)) { in check_inode()
930 exfat_de_iter_get_dirty(iter, 0, &dentry); in check_inode()
931 dentry->file_checksum = cpu_to_le16(checksum); in check_inode()
[all …]
Dfsck.h92 int ith, struct exfat_dentry **dentry);
94 int ith, struct exfat_dentry **dentry);
Dde_iter.c234 int ith, struct exfat_dentry **dentry) in exfat_de_iter_get() argument
262 *dentry = (struct exfat_dentry *) in exfat_de_iter_get()
269 int ith, struct exfat_dentry **dentry) in exfat_de_iter_get_dirty() argument
275 ret = exfat_de_iter_get(iter, ith, dentry); in exfat_de_iter_get_dirty()
/third_party/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()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1440 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()
1441 dent_blk->dentry[0].ino = cpu_to_le32(c.lpf_ino); in f2fs_add_default_dentry_lpf()
1442 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_lpf()
1443 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1446 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()
1447 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_lpf()
1448 dent_blk->dentry[1].name_len = cpu_to_le16(2); in f2fs_add_default_dentry_lpf()
1449 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1577 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1578 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
[all …]
/third_party/glib/glib/
Dgtestutils.c2704 DestroyEntry *dentry; in g_test_queue_destroy() local
2708 dentry = g_slice_new0 (DestroyEntry); in g_test_queue_destroy()
2709 dentry->destroy_func = destroy_func; in g_test_queue_destroy()
2710 dentry->destroy_data = destroy_data; in g_test_queue_destroy()
2711 dentry->next = test_destroy_queue; in g_test_queue_destroy()
2712 test_destroy_queue = dentry; in g_test_queue_destroy()
2781 DestroyEntry *dentry = test_destroy_queue; in test_case_run() local
2782 test_destroy_queue = dentry->next; in test_case_run()
2783 dentry->destroy_func (dentry->destroy_data); in test_case_run()
2784 g_slice_free (DestroyEntry, dentry); in test_case_run()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c273 inode = nd.dentry->d_inode; in lookup_bdev()
/third_party/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.
/third_party/f2fs-tools/include/
Df2fs_fs.h1149 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK]; member