Home
last modified time | relevance | path

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

/third_party/exfatprogs/include/
Dexfat_ondisk.h193 } __attribute__((packed)) dentry; member
196 #define vol_char_cnt dentry.vol.character_count
197 #define vol_label dentry.vol.volume_label
198 #define file_num_ext dentry.file.num_ext
199 #define file_checksum dentry.file.checksum
200 #define file_attr dentry.file.attr
201 #define file_create_time dentry.file.create_time
202 #define file_create_date dentry.file.create_date
203 #define file_modify_time dentry.file.modify_time
204 #define file_modify_date dentry.file.modify_date
[all …]
Dexfat_dir.h56 int ith, struct exfat_dentry **dentry);
58 int ith, struct exfat_dentry **dentry);
81 void exfat_calc_dentry_checksum(struct exfat_dentry *dentry,
/third_party/exfatprogs/lib/
Dexfat_dir.c254 int ith, struct exfat_dentry **dentry) in exfat_de_iter_get() argument
282 *dentry = (struct exfat_dentry *) in exfat_de_iter_get()
289 int ith, struct exfat_dentry **dentry) in exfat_de_iter_get_dirty() argument
295 ret = exfat_de_iter_get(iter, ith, dentry); in exfat_de_iter_get_dirty()
355 struct exfat_dentry *dentry = NULL; in exfat_lookup_dentry_set() local
372 retval = exfat_de_iter_get(&de_iter, 0, &dentry); in exfat_lookup_dentry_set()
382 if (dentry->type == filter->in.type) { in exfat_lookup_dentry_set()
410 } else if ((dentry->type == EXFAT_LAST || in exfat_lookup_dentry_set()
411 IS_EXFAT_DELETED(dentry->type))) { in exfat_lookup_dentry_set()
463 if (file_de->dentry.file.num_ext < in filter_lookup_file()
[all …]
Dlibexfat.c409 struct exfat_dentry *dentry; in exfat_read_volume_label() local
421 dentry = filter.out.dentry_set; in exfat_read_volume_label()
423 if (dentry->vol_char_cnt == 0) in exfat_read_volume_label()
426 if (dentry->vol_char_cnt > VOLUME_LABEL_MAX_LEN) { in exfat_read_volume_label()
427 exfat_err("too long label. %d\n", dentry->vol_char_cnt); in exfat_read_volume_label()
432 memcpy(disk_label, dentry->vol_label, sizeof(disk_label)); in exfat_read_volume_label()
433 if (exfat_utf16_dec(disk_label, dentry->vol_char_cnt*2, in exfat_read_volume_label()
/third_party/exfatprogs/fsck/
Dfsck.c592 struct exfat_dentry *dentry; in check_inode() local
612 exfat_de_iter_get_dirty(iter, 1, &dentry); in check_inode()
613 dentry->stream_flags &= ~EXFAT_SF_CONTIGUOUS; in check_inode()
628 exfat_de_iter_get(iter, 0, &dentry); in check_inode()
629 if (checksum != le16_to_cpu(dentry->file_checksum)) { in check_inode()
630 exfat_de_iter_get_dirty(iter, 0, &dentry); in check_inode()
631 dentry->file_checksum = cpu_to_le16(checksum); in check_inode()
745 struct exfat_dentry *dentry, in handle_dot_dotdot_filename() argument
752 if (!memcmp(dentry->name_unicode, MSDOS_DOT, strm_name_len * 2)) in handle_dot_dotdot_filename()
754 else if (!memcmp(dentry->name_unicode, MSDOS_DOTDOT, in handle_dot_dotdot_filename()
[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.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.c1393 u8 *bitmap, struct f2fs_dir_entry *dentry, in print_dentry() argument
1408 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry()
1433 struct f2fs_dentry *d = fsck->dentry; in print_dentry()
1435 if (dentry[idx].file_type != F2FS_FT_REG_FILE) in print_dentry()
1444 if (dump_node(sbi, le32_to_cpu(dentry[idx].ino), 0)) in print_dentry()
1452 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1458 struct f2fs_dir_entry *dentry, in f2fs_check_hash_code() argument
1467 if (dentry->hash_code != hash_code) { in f2fs_check_hash_code()
1472 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1474 dentry->hash_code = cpu_to_le32(hash_code); in f2fs_check_hash_code()
[all …]
Dfsck.h121 struct f2fs_dentry *dentry; member
293 int f2fs_build_file(struct f2fs_sb_info *, struct dentry *);
319 int f2fs_create(struct f2fs_sb_info *, struct dentry *);
320 int f2fs_mkdir(struct f2fs_sb_info *, struct dentry *);
321 int f2fs_symlink(struct f2fs_sb_info *, struct dentry *);
328 struct dentry *de);
Dsload.c49 int entries, struct dentry *de) in f2fs_make_directory()
107 static int set_perms_and_caps(struct dentry *de) in set_perms_and_caps()
144 static void set_inode_metadata(struct dentry *de) in set_inode_metadata()
208 struct dentry *dentries; in build_directory()
218 dentries = calloc(entries, sizeof(struct dentry)); in build_directory()
Df2fs.h205 struct f2fs_dir_entry *dentry; member
211 struct dentry { struct
Dsegment.c568 int f2fs_build_file(struct f2fs_sb_info *sbi, struct dentry *de) in f2fs_build_file()
Ddump.c758 de = &d.dentry[i]; in dump_dirent()
/third_party/exfatprogs/exfat2img/
Dexfat2img.c300 struct exfat_dentry *file_de, *stream_de, *dentry; in read_file_dentry_set() local
323 ret = exfat_de_iter_get(iter, i, &dentry); in read_file_dentry_set()
324 if (ret || dentry->type != EXFAT_NAME) in read_file_dentry_set()
327 (i - 2) * ENTRY_NAME_MAX, dentry->name_unicode, in read_file_dentry_set()
328 sizeof(dentry->name_unicode)); in read_file_dentry_set()
368 struct exfat_dentry *dentry; in read_bitmap() local
371 ret = exfat_de_iter_get(iter, 0, &dentry); in read_bitmap()
372 if (ret || dentry->type != EXFAT_BITMAP) { in read_bitmap()
378 le32_to_cpu(dentry->bitmap_start_clu), in read_bitmap()
379 le64_to_cpu(dentry->bitmap_size)); in read_bitmap()
[all …]
/third_party/selinux/libselinux/src/
Dstringrep.c56 struct dirent *dentry; in discover_class() local
111 dentry = readdir(dir); in discover_class()
112 while (dentry != NULL) { in discover_class()
116 ret = snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name); in discover_class()
131 dentry = readdir(dir); in discover_class()
147 node->perms[value-1] = strdup(dentry->d_name); in discover_class()
151 dentry = readdir(dir); in discover_class()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1503 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_lpf()
1504 dent_blk->dentry[0].ino = cpu_to_le32(c.lpf_ino); in f2fs_add_default_dentry_lpf()
1505 dent_blk->dentry[0].name_len = cpu_to_le16(1); in f2fs_add_default_dentry_lpf()
1506 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1509 dent_blk->dentry[1].hash_code = 0; in f2fs_add_default_dentry_lpf()
1510 dent_blk->dentry[1].ino = sb->root_ino; in f2fs_add_default_dentry_lpf()
1511 dent_blk->dentry[1].name_len = cpu_to_le16(2); in f2fs_add_default_dentry_lpf()
1512 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in f2fs_add_default_dentry_lpf()
1640 dent_blk->dentry[0].hash_code = 0; in f2fs_add_default_dentry_root()
1641 dent_blk->dentry[0].ino = sb->root_ino; in f2fs_add_default_dentry_root()
[all …]
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h155 struct dentry;
166 struct dentry * (*mount)(struct file_system_type *, int, const char *, void *);
3178 struct dentry *dentry; member
4323 struct dentry { struct
4327 struct dentry *d_parent; argument
4431 int (*d_revalidate)(struct dentry *, unsigned int);
4432 int (*d_weak_revalidate)(struct dentry *, unsigned int);
4433 int (*d_hash)(const struct dentry *, struct qstr *);
4434 int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *);
4435 int (*d_delete)(const struct dentry *);
[all …]
/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/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c273 inode = nd.dentry->d_inode; in lookup_bdev()
/third_party/f2fs-tools/include/
Df2fs_fs.h1381 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK]; member
/third_party/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi911 …<class-decl name='dentry' size-in-bits='1536' is-struct='yes' visibility='default' filepath='/ws/a…
4910 …<var-decl name='dentry' type-id='type-id-238' visibility='default' filepath='/ws/android/kernel/ao…
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi4639 …<var-decl name="dentry" type-id="27675065" visibility="default" filepath="include/linux/path.h" li…
5386 …<class-decl name="dentry" size-in-bits="1664" is-struct="yes" visibility="default" filepath="inclu…
31544 …<class-decl name="dentry" is-struct="yes" visibility="default" is-declaration-only="yes" id="d6ebc…
71590 …<var-decl name="dentry" type-id="27675065" visibility="default" filepath="include/linux/path.h" li…
71593 …<class-decl name="dentry" size-in-bits="1664" is-struct="yes" visibility="default" filepath="inclu…
Dtest-PR27569-v1.abi4639 …<var-decl name="dentry" type-id="27675065" visibility="default" filepath="include/linux/path.h" li…
5386 …<class-decl name="dentry" size-in-bits="1664" is-struct="yes" visibility="default" filepath="inclu…
31573 …<class-decl name="dentry" is-struct="yes" visibility="default" is-declaration-only="yes" id="d6ebc…
71604 …<var-decl name="dentry" type-id="27675065" visibility="default" filepath="include/linux/path.h" li…
71607 …<class-decl name="dentry" size-in-bits="1664" is-struct="yes" visibility="default" filepath="inclu…