Lines Matching refs:token
1004 static int selinux_add_opt(int token, const char *s, void **mnt_opts) in selinux_add_opt() argument
1010 if (token == Opt_seclabel) in selinux_add_opt()
1028 switch (token) { in selinux_add_opt()
2607 int token; in selinux_sb_eat_lsm_opts() local
2610 token = match_opt_prefix(from, len, &arg); in selinux_sb_eat_lsm_opts()
2612 if (token != Opt_error) { in selinux_sb_eat_lsm_opts()
2628 rc = selinux_add_opt(token, arg, mnt_opts); in selinux_sb_eat_lsm_opts()
7102 struct bpf_token *token, bool kernel) in selinux_bpf_map_create() argument
7125 struct bpf_token *token, bool kernel) in selinux_bpf_prog_load() argument
7147 static int selinux_bpf_token_create(struct bpf_token *token, union bpf_attr *attr, in selinux_bpf_token_create() argument
7157 token->security = bpfsec; in selinux_bpf_token_create()
7162 static void selinux_bpf_token_free(struct bpf_token *token) in selinux_bpf_token_free() argument
7164 struct bpf_security_struct *bpfsec = token->security; in selinux_bpf_token_free()
7166 token->security = NULL; in selinux_bpf_token_free()