Lines Matching refs:i
289 int i = 0; in smack_str_from_perm() local
292 string[i++] = 'r'; in smack_str_from_perm()
294 string[i++] = 'w'; in smack_str_from_perm()
296 string[i++] = 'x'; in smack_str_from_perm()
298 string[i++] = 'a'; in smack_str_from_perm()
300 string[i++] = 't'; in smack_str_from_perm()
302 string[i++] = 'l'; in smack_str_from_perm()
303 string[i] = '\0'; in smack_str_from_perm()
447 int i; in smk_parse_smack() local
460 for (i = 0; i < len; i++) in smk_parse_smack()
461 if (string[i] > '~' || string[i] <= ' ' || string[i] == '/' || in smk_parse_smack()
462 string[i] == '"' || string[i] == '\\' || string[i] == '\'') in smk_parse_smack()
465 if (i == 0 || i >= SMK_LONGLABEL) in smk_parse_smack()
468 smack = kzalloc(i + 1, GFP_NOFS); in smk_parse_smack()
472 strncpy(smack, string, i); in smk_parse_smack()