Lines Matching refs:s
423 #define A(s, has_arg) {#s, sizeof(#s) - 1, Opt_##s, has_arg} argument
438 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix() argument
444 if (len > l || memcmp(s, tokens[i].name, len)) in match_opt_prefix()
447 if (len == l || s[len] != '=') in match_opt_prefix()
449 *arg = s + len + 1; in match_opt_prefix()
632 static int parse_sid(struct super_block *sb, const char *s, u32 *sid) in parse_sid() argument
634 int rc = security_context_str_to_sid(&selinux_state, s, in parse_sid()
639 s, sb->s_id, sb->s_type->name, rc); in parse_sid()
997 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument
1010 if (!s) in selinux_add_opt()
1016 opts->context = s; in selinux_add_opt()
1021 opts->fscontext = s; in selinux_add_opt()
1026 opts->rootcontext = s; in selinux_add_opt()
1031 opts->defcontext = s; in selinux_add_opt()
2611 static inline int opt_len(const char *s) in opt_len() argument
2617 for (len = 0; (c = s[len]) != '\0'; len++) { in opt_len()