Home
last modified time | relevance | path

Searched refs:dents (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/security/apparmor/include/
Dapparmorfs.h99 #define ns_dir(X) ((X)->dents[AAFS_NS_DIR])
100 #define ns_subns_dir(X) ((X)->dents[AAFS_NS_NS])
101 #define ns_subprofs_dir(X) ((X)->dents[AAFS_NS_PROFS])
102 #define ns_subdata_dir(X) ((X)->dents[AAFS_NS_RAW_DATA])
103 #define ns_subload(X) ((X)->dents[AAFS_NS_LOAD])
104 #define ns_subreplace(X) ((X)->dents[AAFS_NS_REPLACE])
105 #define ns_subremove(X) ((X)->dents[AAFS_NS_REMOVE])
106 #define ns_subrevision(X) ((X)->dents[AAFS_NS_REVISION])
108 #define prof_dir(X) ((X)->dents[AAFS_PROF_DIR])
109 #define prof_child_dir(X) ((X)->dents[AAFS_PROF_PROFS])
Dpolicy_unpack.h65 struct dentry *dents[AAFS_LOADDATA_NDENTS]; member
Dpolicy_ns.h78 struct dentry *dents[AAFS_NS_SIZEOF]; member
Dpolicy.h161 struct dentry *dents[AAFS_PROF_SIZEOF]; member
/Linux-v4.19/security/apparmor/
Dapparmorfs.c1321 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()
1323 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()
1324 rawdata->dents[i] = NULL; in remove_rawdata_dents()
1363 rawdata->dents[AAFS_LOADDATA_DIR] = dir; in __aa_fs_create_rawdata()
1369 rawdata->dents[AAFS_LOADDATA_ABI] = dent; in __aa_fs_create_rawdata()
1375 rawdata->dents[AAFS_LOADDATA_REVISION] = dent; in __aa_fs_create_rawdata()
1382 rawdata->dents[AAFS_LOADDATA_HASH] = dent; in __aa_fs_create_rawdata()
1389 rawdata->dents[AAFS_LOADDATA_DATA] = dent; in __aa_fs_create_rawdata()
1423 if (!profile->dents[i]) in __aafs_profile_rmdir()
1426 proxy = d_inode(profile->dents[i])->i_private; in __aafs_profile_rmdir()
[all …]
Dpolicy_unpack.c131 AA_BUG(!data->dents[AAFS_LOADDATA_REVISION]); in __aa_loaddata_update()
136 d_inode(data->dents[AAFS_LOADDATA_DIR])->i_mtime = in __aa_loaddata_update()
137 current_time(d_inode(data->dents[AAFS_LOADDATA_DIR])); in __aa_loaddata_update()
138 d_inode(data->dents[AAFS_LOADDATA_REVISION])->i_mtime = in __aa_loaddata_update()
139 current_time(d_inode(data->dents[AAFS_LOADDATA_REVISION])); in __aa_loaddata_update()
Dpolicy.c973 if (!udata->dents[AAFS_LOADDATA_DIR]) { in aa_replace_profiles()
/Linux-v4.19/fs/jffs2/
Dwrite.c538 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_create()
598 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_unlink()
603 fd = dir_f->dents; in jffs2_do_unlink()
609 for (fd = dir_f->dents; fd; fd = fd->next) { in jffs2_do_unlink()
637 while (dead_f->dents) { in jffs2_do_unlink()
639 fd = dead_f->dents; in jffs2_do_unlink()
641 dead_f->dents = fd->next; in jffs2_do_unlink()
717 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_do_link()
Djffs2_fs_i.h43 struct jffs2_full_dirent *dents; member
Ddir.c97 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
133 for (fd = f->dents; fd; fd = fd->next) { in jffs2_readdir()
427 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_symlink()
571 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mkdir()
593 for (fd = f->dents ; fd; fd = fd->next) { in jffs2_rmdir()
742 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mknod()
779 for (fd = victim_f->dents; fd; fd = fd->next) { in jffs2_rename()
Dos-linux.h56 f->dents = NULL; in jffs2_init_inode_info()
Dgc.c566 for (fd = f->dents; fd; fd=fd->next) { in jffs2_garbage_collect_live()
891 jffs2_add_fd_to_list(c, new_fd, &f->dents); in jffs2_garbage_collect_dirent()
898 struct jffs2_full_dirent **fdp = &f->dents; in jffs2_garbage_collect_deletion_dirent()
Dreadinode.c1179 f->dents = rii.fds; in jffs2_do_read_inode_internal()
1422 fds = f->dents; in jffs2_do_clear_inode()
Dfs.c303 for (fd=f->dents; fd; fd = fd->next) { in jffs2_iget()
Dwbuf.c213 for (fd = f->dents; fd; fd = fd->next) { in jffs2_incore_replace_raw()
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_dir2_node.c897 struct xfs_dir2_leaf_entry *dents, in xfs_dir3_leafn_moveents() argument
917 memmove(&dents[start_d + count], &dents[start_d], in xfs_dir3_leafn_moveents()
939 memcpy(&dents[start_d], &sents[start_s], in xfs_dir3_leafn_moveents()
1569 struct xfs_dir2_leaf_entry *dents; in xfs_dir2_leafn_unbalance() local
1581 dents = dp->d_ops->leaf_ents_p(drop_leaf); in xfs_dir2_leafn_unbalance()
1595 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
1597 xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, in xfs_dir2_leafn_unbalance()
1601 xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, in xfs_dir2_leafn_unbalance()