• Home
  • Raw
  • Download

Lines Matching refs:i

102 	int i;  in selinux_fs_info_free()  local
105 for (i = 0; i < fsi->bool_num; i++) in selinux_fs_info_free()
106 kfree(fsi->bool_pending_names[i]); in selinux_fs_info_free()
1036 int i, rc; in sel_write_user() local
1070 for (i = 0; i < nsids; i++) { in sel_write_user()
1071 rc = security_sid_to_context(state, sids[i], &newcon, &len); in sel_write_user()
1328 int i, ret; in sel_make_bools() local
1340 for (i = 0; i < fsi->bool_num; i++) in sel_make_bools()
1341 kfree(fsi->bool_pending_names[i]); in sel_make_bools()
1359 for (i = 0; i < num; i++) { in sel_make_bools()
1361 dentry = d_alloc_name(dir, names[i]); in sel_make_bools()
1373 len = snprintf(page, PAGE_SIZE, "/%s/%s", BOOL_DIR_NAME, names[i]); in sel_make_bools()
1392 inode->i_ino = i|SEL_BOOL_INO_OFFSET; in sel_make_bools()
1405 for (i = 0; i < num; i++) in sel_make_bools()
1406 kfree(names[i]); in sel_make_bools()
1600 int i; in sel_make_avc_files() local
1610 for (i = 0; i < ARRAY_SIZE(files); i++) { in sel_make_avc_files()
1614 dentry = d_alloc_name(dir, files[i].name); in sel_make_avc_files()
1618 inode = sel_make_inode(dir->d_sb, S_IFREG|files[i].mode); in sel_make_avc_files()
1624 inode->i_fop = files[i].ops; in sel_make_avc_files()
1636 int i; in sel_make_ss_files() local
1641 for (i = 0; i < ARRAY_SIZE(files); i++) { in sel_make_ss_files()
1645 dentry = d_alloc_name(dir, files[i].name); in sel_make_ss_files()
1649 inode = sel_make_inode(dir->d_sb, S_IFREG|files[i].mode); in sel_make_ss_files()
1655 inode->i_fop = files[i].ops; in sel_make_ss_files()
1688 int i; in sel_make_initcon_files() local
1690 for (i = 1; i <= SECINITSID_NUM; i++) { in sel_make_initcon_files()
1693 dentry = d_alloc_name(dir, security_get_initial_sid_context(i)); in sel_make_initcon_files()
1704 inode->i_ino = i|SEL_INITCON_INO_OFFSET; in sel_make_initcon_files()
1783 int i, rc, nperms; in sel_make_perm_files() local
1790 for (i = 0; i < nperms; i++) { in sel_make_perm_files()
1795 dentry = d_alloc_name(dir, perms[i]); in sel_make_perm_files()
1808 inode->i_ino = sel_perm_to_ino(classvalue, i + 1); in sel_make_perm_files()
1813 for (i = 0; i < nperms; i++) in sel_make_perm_files()
1814 kfree(perms[i]); in sel_make_perm_files()
1854 int rc, nclasses, i; in sel_make_classes() local
1867 for (i = 0; i < nclasses; i++) { in sel_make_classes()
1870 class_name_dir = sel_make_dir(fsi->class_dir, classes[i], in sel_make_classes()
1878 rc = sel_make_class_dir_entries(classes[i], i + 1, in sel_make_classes()
1885 for (i = 0; i < nclasses; i++) in sel_make_classes()
1886 kfree(classes[i]); in sel_make_classes()