Lines Matching refs:bool_dir
71 struct dentry *bool_dir; member
327 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir,
518 tmp_ino = fsi->bool_dir->d_inode->i_ino - 1; /* sel_make_dir will increment and set */ in sel_make_policy_nodes()
545 d_exchange(tmp_bool_dir, fsi->bool_dir); in sel_make_policy_nodes()
551 fsi->bool_dir = tmp_bool_dir; in sel_make_policy_nodes()
1349 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir, in sel_make_bools() argument
1380 dentry = d_alloc_name(bool_dir, names[i]); in sel_make_bools()
1386 inode = sel_make_inode(bool_dir->d_sb, S_IFREG | S_IRUGO | S_IWUSR); in sel_make_bools()
2016 fsi->bool_dir = sel_make_dir(sb->s_root, BOOL_DIR_NAME, &fsi->last_ino); in sel_fill_super()
2017 if (IS_ERR(fsi->bool_dir)) { in sel_fill_super()
2018 ret = PTR_ERR(fsi->bool_dir); in sel_fill_super()
2019 fsi->bool_dir = NULL; in sel_fill_super()