Searched refs:sfilter (Results 1 – 1 of 1) sorted by relevance
170 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument176 static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter) in seccomp_cache_prepare() argument357 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument361 const struct action_cache *cache = &sfilter->cache; in seccomp_cache_check_allow()631 struct seccomp_filter *sfilter; in seccomp_prepare_filter() local656 sfilter = kzalloc(sizeof(*sfilter), GFP_KERNEL | __GFP_NOWARN); in seccomp_prepare_filter()657 if (!sfilter) in seccomp_prepare_filter()660 mutex_init(&sfilter->notify_lock); in seccomp_prepare_filter()661 ret = bpf_prog_create_from_user(&sfilter->prog, fprog, in seccomp_prepare_filter()664 kfree(sfilter); in seccomp_prepare_filter()[all …]