Lines Matching refs:s
62 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s} argument
73 static int match_opt_prefix(char *s, int l, char **arg) in match_opt_prefix() argument
79 if (len > l || memcmp(s, smk_mount_opts[i].name, len)) in match_opt_prefix()
81 if (len == l || s[len] != '=') in match_opt_prefix()
83 *arg = s + len + 1; in match_opt_prefix()
97 static void smk_bu_mode(int mode, char *s) in smk_bu_mode() argument
102 s[i++] = 'r'; in smk_bu_mode()
104 s[i++] = 'w'; in smk_bu_mode()
106 s[i++] = 'x'; in smk_bu_mode()
108 s[i++] = 'a'; in smk_bu_mode()
110 s[i++] = 't'; in smk_bu_mode()
112 s[i++] = 'l'; in smk_bu_mode()
114 s[i++] = '-'; in smk_bu_mode()
115 s[i] = '\0'; in smk_bu_mode()
588 static int smack_add_opt(int token, const char *s, void **mnt_opts) in smack_add_opt() argument
598 if (!s) in smack_add_opt()
605 opts->fsdefault = s; in smack_add_opt()
610 opts->fsfloor = s; in smack_add_opt()
615 opts->fshat = s; in smack_add_opt()
620 opts->fsroot = s; in smack_add_opt()
625 opts->fstransmute = s; in smack_add_opt()
4004 u32 s = 0; /* 0 is the invalid secid */ in smack_socket_getpeersec_dgram() local
4021 s = ssp->smk_out->smk_secid; in smack_socket_getpeersec_dgram()
4025 s = skb->secmark; in smack_socket_getpeersec_dgram()
4026 if (s != 0) in smack_socket_getpeersec_dgram()
4038 s = skp->smk_secid; in smack_socket_getpeersec_dgram()
4044 s = skb->secmark; in smack_socket_getpeersec_dgram()
4048 *secid = s; in smack_socket_getpeersec_dgram()
4049 if (s == 0) in smack_socket_getpeersec_dgram()