• Home
  • Raw
  • Download

Lines Matching refs:i

914 	int i, rc;  in sel_write_user()  local
945 for (i = 0; i < nsids; i++) { in sel_write_user()
946 rc = security_sid_to_context(sids[i], &newcon, &len); in sel_write_user()
1218 int i, ret; in sel_make_bools() local
1230 for (i = 0; i < bool_num; i++) in sel_make_bools()
1231 kfree(bool_pending_names[i]); in sel_make_bools()
1249 for (i = 0; i < num; i++) { in sel_make_bools()
1251 dentry = d_alloc_name(dir, names[i]); in sel_make_bools()
1261 len = snprintf(page, PAGE_SIZE, "/%s/%s", BOOL_DIR_NAME, names[i]); in sel_make_bools()
1273 inode->i_ino = i|SEL_BOOL_INO_OFFSET; in sel_make_bools()
1286 for (i = 0; i < num; i++) in sel_make_bools()
1287 kfree(names[i]); in sel_make_bools()
1454 int i; in sel_make_avc_files() local
1464 for (i = 0; i < ARRAY_SIZE(files); i++) { in sel_make_avc_files()
1468 dentry = d_alloc_name(dir, files[i].name); in sel_make_avc_files()
1472 inode = sel_make_inode(dir->d_sb, S_IFREG|files[i].mode); in sel_make_avc_files()
1476 inode->i_fop = files[i].ops; in sel_make_avc_files()
1508 int i; in sel_make_initcon_files() local
1510 for (i = 1; i <= SECINITSID_NUM; i++) { in sel_make_initcon_files()
1513 dentry = d_alloc_name(dir, security_get_initial_sid_context(i)); in sel_make_initcon_files()
1522 inode->i_ino = i|SEL_INITCON_INO_OFFSET; in sel_make_initcon_files()
1599 int i, rc, nperms; in sel_make_perm_files() local
1606 for (i = 0; i < nperms; i++) { in sel_make_perm_files()
1611 dentry = d_alloc_name(dir, perms[i]); in sel_make_perm_files()
1622 inode->i_ino = sel_perm_to_ino(classvalue, i + 1); in sel_make_perm_files()
1627 for (i = 0; i < nperms; i++) in sel_make_perm_files()
1628 kfree(perms[i]); in sel_make_perm_files()
1687 int rc, nclasses, i; in sel_make_classes() local
1700 for (i = 0; i < nclasses; i++) { in sel_make_classes()
1703 class_name_dir = sel_make_dir(class_dir, classes[i], in sel_make_classes()
1711 rc = sel_make_class_dir_entries(classes[i], i + 1, in sel_make_classes()
1718 for (i = 0; i < nclasses; i++) in sel_make_classes()
1719 kfree(classes[i]); in sel_make_classes()