Lines Matching refs:opts
161 static inline void security_init_mnt_opts(struct security_mnt_opts *opts) in security_init_mnt_opts() argument
163 opts->mnt_opts = NULL; in security_init_mnt_opts()
164 opts->mnt_opts_flags = NULL; in security_init_mnt_opts()
165 opts->num_mnt_opts = 0; in security_init_mnt_opts()
168 static inline void security_free_mnt_opts(struct security_mnt_opts *opts) in security_free_mnt_opts() argument
171 if (opts->mnt_opts) in security_free_mnt_opts()
172 for (i = 0; i < opts->num_mnt_opts; i++) in security_free_mnt_opts()
173 kfree(opts->mnt_opts[i]); in security_free_mnt_opts()
174 kfree(opts->mnt_opts); in security_free_mnt_opts()
175 opts->mnt_opts = NULL; in security_free_mnt_opts()
176 kfree(opts->mnt_opts_flags); in security_free_mnt_opts()
177 opts->mnt_opts_flags = NULL; in security_free_mnt_opts()
178 opts->num_mnt_opts = 0; in security_free_mnt_opts()
228 struct security_mnt_opts *opts,
233 int security_sb_parse_opts_str(char *options, struct security_mnt_opts *opts);
363 static inline void security_init_mnt_opts(struct security_mnt_opts *opts) in security_init_mnt_opts() argument
367 static inline void security_free_mnt_opts(struct security_mnt_opts *opts) in security_free_mnt_opts() argument
547 struct security_mnt_opts *opts, in security_sb_set_mnt_opts() argument
560 static inline int security_sb_parse_opts_str(char *options, struct security_mnt_opts *opts) in security_sb_parse_opts_str() argument