Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/apparmor/include/
Dapparmorfs.h95 #define ns_dir(X) ((X)->dents[AAFS_NS_DIR])
96 #define ns_subns_dir(X) ((X)->dents[AAFS_NS_NS])
97 #define ns_subprofs_dir(X) ((X)->dents[AAFS_NS_PROFS])
98 #define ns_subdata_dir(X) ((X)->dents[AAFS_NS_RAW_DATA])
99 #define ns_subload(X) ((X)->dents[AAFS_NS_LOAD])
100 #define ns_subreplace(X) ((X)->dents[AAFS_NS_REPLACE])
101 #define ns_subremove(X) ((X)->dents[AAFS_NS_REMOVE])
102 #define ns_subrevision(X) ((X)->dents[AAFS_NS_REVISION])
104 #define prof_dir(X) ((X)->dents[AAFS_PROF_DIR])
105 #define prof_child_dir(X) ((X)->dents[AAFS_PROF_PROFS])
Dpolicy_unpack.h62 struct dentry *dents[AAFS_LOADDATA_NDENTS]; member
Dpolicy_ns.h74 struct dentry *dents[AAFS_NS_SIZEOF]; member
Dpolicy.h160 struct dentry *dents[AAFS_PROF_SIZEOF]; member
/kernel/linux/linux-5.10/security/apparmor/
Dapparmorfs.c1407 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()
1409 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()
1410 rawdata->dents[i] = NULL; in remove_rawdata_dents()
1449 rawdata->dents[AAFS_LOADDATA_DIR] = dir; in __aa_fs_create_rawdata()
1455 rawdata->dents[AAFS_LOADDATA_ABI] = dent; in __aa_fs_create_rawdata()
1461 rawdata->dents[AAFS_LOADDATA_REVISION] = dent; in __aa_fs_create_rawdata()
1468 rawdata->dents[AAFS_LOADDATA_HASH] = dent; in __aa_fs_create_rawdata()
1476 rawdata->dents[AAFS_LOADDATA_COMPRESSED_SIZE] = dent; in __aa_fs_create_rawdata()
1482 rawdata->dents[AAFS_LOADDATA_DATA] = dent; in __aa_fs_create_rawdata()
1516 if (!profile->dents[i]) in __aafs_profile_rmdir()
[all …]
Dpolicy_unpack.c128 AA_BUG(!data->dents[AAFS_LOADDATA_REVISION]); in __aa_loaddata_update()
133 d_inode(data->dents[AAFS_LOADDATA_DIR])->i_mtime = in __aa_loaddata_update()
134 current_time(d_inode(data->dents[AAFS_LOADDATA_DIR])); in __aa_loaddata_update()
135 d_inode(data->dents[AAFS_LOADDATA_REVISION])->i_mtime = in __aa_loaddata_update()
136 current_time(d_inode(data->dents[AAFS_LOADDATA_REVISION])); in __aa_loaddata_update()
Dpolicy.c972 if (!udata->dents[AAFS_LOADDATA_DIR]) { in aa_replace_profiles()
/kernel/linux/linux-5.10/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()
594 for (fd = f->dents ; fd; fd = fd->next) { in jffs2_rmdir()
746 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mknod()
783 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.c1195 f->dents = rii.fds; in jffs2_do_read_inode_internal()
1433 fds = f->dents; in jffs2_do_clear_inode()
Dfs.c304 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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_dir2_node.c957 struct xfs_dir2_leaf_entry *dents, in xfs_dir3_leafn_moveents() argument
977 memmove(&dents[start_d + count], &dents[start_d], in xfs_dir3_leafn_moveents()
999 memcpy(&dents[start_d], &sents[start_s], in xfs_dir3_leafn_moveents()
1625 struct xfs_dir2_leaf_entry *dents; in xfs_dir2_leafn_unbalance() local
1637 dents = drophdr.ents; in xfs_dir2_leafn_unbalance()
1651 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); in xfs_dir2_leafn_unbalance()
1653 xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, in xfs_dir2_leafn_unbalance()
1657 xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, in xfs_dir2_leafn_unbalance()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch1275 - for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) {
1280 + for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= hash; fd_list = fd_list->next) {
1311 - for (fd = f->dents; fd; fd = fd->next) {
1725 for (fd = f->dents ; fd; fd = fd->next) {
1951 - jffs2_add_fd_to_list(c, fd, &dir_f->dents);
2009 - for (fd = victim_f->dents; fd; fd = fd->next) {
2017 + for (fd = f->dents; fd; fd = fd->next) {
3107 - for (fd=f->dents; fd; fd = fd->next) {
4992 - f->dents = NULL;
5540 fds = f->dents;
[all …]