Searched refs:dentry (Results 1 - 14 of 14) sorted by relevance

/external/oprofile/module/
H A Dcompat.c28 int wind_dentries_2_2(struct dentry * dentry) argument
30 struct dentry * root = current->fs->root;
32 if (dentry->d_parent != dentry && list_empty(&dentry->d_hash))
36 struct dentry * parent;
38 if (dentry == root)
41 dentry = dentry
56 do_path_hash_2_2(struct dentry * dentry) argument
[all...]
H A Dop_dname.c3 * dentry stack walking
114 int wind_dentries_2_4(struct dentry * dentry, struct vfsmount * vfsmnt, struct dentry * root, struct vfsmount * rootmnt) argument
116 struct dentry * d = dentry;
146 uint do_path_hash_2_4(struct dentry * dentry, struct vfsmount * vfsmnt) argument
150 struct dentry * root;
159 value = do_hash(dentry, vfsmn
169 do_hash(struct dentry * dentry, struct vfsmount * vfsmnt, struct dentry * root, struct vfsmount * rootmnt) argument
[all...]
H A Dop_dcache.h28 uint do_hash(struct dentry * dentry, struct vfsmount * vfsmnt, struct dentry * root, struct vfsmount * rootmnt);
H A Dcompat22.h52 extern int wind_dentries_2_2(struct dentry * dentry);
53 extern uint do_path_hash_2_2(struct dentry * dentry);
H A Dcompat24.h27 extern uint do_path_hash_2_4(struct dentry * dentry, struct vfsmount * vfsmnt);
/external/yaffs2/yaffs2/
H A Dyaffs_fs.c112 static int yaffs_sync_object(struct file *file, struct dentry *dentry,
118 static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode,
120 static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry,
123 static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode);
124 static struct dentry *yaffs_looku
257 yaffs_readlink(struct dentry *dentry, char __user * buffer, int buflen) argument
280 yaffs_follow_link(struct dentry *dentry, struct nameidata *nd) argument
319 yaffs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *n) argument
950 yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t rdev) argument
1042 yaffs_mkdir(struct inode *dir, struct dentry *dentry, int mode) argument
1057 yaffs_create(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *n) argument
1067 yaffs_unlink(struct inode *dir, struct dentry *dentry) argument
1097 yaffs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
1140 yaffs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) argument
1172 yaffs_sync_object(struct file *file, struct dentry *dentry, int datasync) argument
1248 yaffs_setattr(struct dentry *dentry, struct iattr *attr) argument
1276 yaffs_statfs(struct dentry *dentry, struct kstatfs *buf) argument
[all...]
/external/qemu/distrib/ext4_utils/src/
H A Dcontents.h20 struct dentry { struct
36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
H A Dcontents.c41 static u32 dentry_size(u32 entries, struct dentry *dentries)
63 struct ext4_dir_entry_2 *dentry; local
68 /* Adding this dentry will cross a block boundary, so pad the previous
69 dentry to the block boundary */
76 dentry = (struct ext4_dir_entry_2 *)(data + *offset);
77 dentry->inode = inode;
78 dentry->rec_len = rec_len;
79 dentry->name_len = name_len;
80 dentry->file_type = file_type;
81 memcpy(dentry
103 struct ext4_dir_entry_2 *dentry; local
[all...]
H A Dmake_ext4fs.c87 struct dentry dentries = {
133 struct dentry *dentries;
160 dentries = calloc(entries, sizeof(struct dentry));
239 struct dentry *tmp = calloc(entries + 1, sizeof(struct dentry));
240 memset(tmp, 0, sizeof(struct dentry));
241 memcpy(tmp + 1, dentries, entries * sizeof(struct dentry));
/external/libselinux/src/
H A Dstringrep.c60 struct dirent *dentry; local
106 dentry = readdir(dir);
107 while (dentry != NULL) {
111 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name);
116 dentry = readdir(dir);
133 node->perms[value-1] = strdup(dentry->d_name);
137 dentry = readdir(dir);
/external/qemu/distrib/libselinux/src/
H A Dstringrep.c60 struct dirent *dentry; local
106 dentry = readdir(dir);
107 while (dentry != NULL) {
111 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name);
116 dentry = readdir(dir);
133 node->perms[value-1] = strdup(dentry->d_name);
137 dentry = readdir(dir);
/external/f2fs-tools/fsck/
H A Dfsck.c422 DBG(3, "ino[0x%x] has inline dentry!\n", nid);
581 struct f2fs_dir_entry *dentry,
593 name_len = le16_to_cpu(dentry[idx].name_len);
617 name, le32_to_cpu(dentry[idx].ino));
623 struct f2fs_dir_entry *dentry,
643 if (!IS_VALID_NID(sbi, le32_to_cpu(dentry[i].ino))) {
644 DBG(1, "Bad dentry 0x%x with invalid NID/ino 0x%x",
645 i, le32_to_cpu(dentry[i].ino));
647 FIX_MSG("Clear bad dentry 0x%x with bad ino 0x%x",
648 i, le32_to_cpu(dentry[
579 print_dentry(__u32 depth, __u8 *name, unsigned long *bitmap, struct f2fs_dir_entry *dentry, int max, int idx, int last_blk) argument
620 __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt, u32* child_files, unsigned long *bitmap, struct f2fs_dir_entry *dentry, __u8 (*filenames)[F2FS_SLOT_LEN], int max, int last_blk) argument
[all...]
/external/f2fs-tools/mkfs/
H A Df2fs_format.c722 raw_node->i.i_size = cpu_to_le64(1 * blk_size_bytes); /* dentry */
823 dent_blk->dentry[0].hash_code = 0;
824 dent_blk->dentry[0].ino = super_block.root_ino;
825 dent_blk->dentry[0].name_len = cpu_to_le16(1);
826 dent_blk->dentry[0].file_type = F2FS_FT_DIR;
829 dent_blk->dentry[1].hash_code = 0;
830 dent_blk->dentry[1].ino = super_block.root_ino;
831 dent_blk->dentry[1].name_len = cpu_to_le16(2);
832 dent_blk->dentry[1].file_type = F2FS_FT_DIR;
843 DBG(1, "\tWriting default dentry roo
[all...]
/external/f2fs-tools/include/
H A Df2fs_fs.h428 #define F2FS_INLINE_DENTRY 0x04 /* file inline dentry flag */
492 __le32 flag; /* include cold/fsync/dentry marks and offset */
673 /* the number of dentry in a block */
699 struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK]; member in struct:f2fs_dentry_block
717 struct f2fs_dir_entry dentry[NR_INLINE_DENTRY]; member in struct:f2fs_inline_dentry

Completed in 130 milliseconds