Home
last modified time | relevance | path

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

/linux-6.1.9/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.h64 struct dentry *dents[AAFS_LOADDATA_NDENTS]; member
Dpolicy_ns.h74 struct dentry *dents[AAFS_NS_SIZEOF]; member
Dpolicy.h164 struct dentry *dents[AAFS_PROF_SIZEOF]; member
/linux-6.1.9/security/apparmor/
Dapparmorfs.c1414 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()
1416 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()
1417 rawdata->dents[i] = NULL; in remove_rawdata_dents()
1456 rawdata->dents[AAFS_LOADDATA_DIR] = dir; in __aa_fs_create_rawdata()
1462 rawdata->dents[AAFS_LOADDATA_ABI] = dent; in __aa_fs_create_rawdata()
1468 rawdata->dents[AAFS_LOADDATA_REVISION] = dent; in __aa_fs_create_rawdata()
1475 rawdata->dents[AAFS_LOADDATA_HASH] = dent; in __aa_fs_create_rawdata()
1483 rawdata->dents[AAFS_LOADDATA_COMPRESSED_SIZE] = dent; in __aa_fs_create_rawdata()
1489 rawdata->dents[AAFS_LOADDATA_DATA] = dent; in __aa_fs_create_rawdata()
1525 if (!profile->dents[i]) in __aafs_profile_rmdir()
[all …]
Dpolicy_unpack.c132 if ((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.c1015 if (!udata->dents[AAFS_LOADDATA_DIR] && aa_g_export_binary) { in aa_replace_profiles()
/linux-6.1.9/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.c100 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
136 for (fd = f->dents; fd; fd = fd->next) { in jffs2_readdir()
431 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_symlink()
576 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mkdir()
599 for (fd = f->dents ; fd; fd = fd->next) { in jffs2_rmdir()
752 jffs2_add_fd_to_list(c, fd, &dir_f->dents); in jffs2_mknod()
790 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.c305 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-6.1.9/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()
/linux-6.1.9/fs/f2fs/
Dsegment.c418 unsigned int dents = get_pages(sbi, F2FS_DIRTY_DENTS); in excess_dirty_threshold() local
427 if (dents >= threshold || qdata >= threshold || in excess_dirty_threshold()
431 return dents + qdata + nodes + meta + imeta > global_threshold; in excess_dirty_threshold()