Home
last modified time | relevance | path

Searched refs:sfilter (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/
H A Dseccomp.c177 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
183 static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter) in seccomp_cache_prepare() argument
362 * @sfilter: The seccomp filter
367 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
371 const struct action_cache *cache = &sfilter->cache; in seccomp_cache_check_allow()
671 struct seccomp_filter *sfilter; in seccomp_prepare_filter() local
696 sfilter = kzalloc_obj(*sfilter, GFP_KERNEL | __GFP_NOWARN); in seccomp_prepare_filter()
697 if (!sfilter) in seccomp_prepare_filter()
700 mutex_init(&sfilter in seccomp_prepare_filter()
847 seccomp_cache_prepare_bitmap(struct seccomp_filter * sfilter,void * bitmap,const void * bitmap_prev,size_t bitmap_size,int arch) seccomp_cache_prepare_bitmap() argument
889 seccomp_cache_prepare(struct seccomp_filter * sfilter) seccomp_cache_prepare() argument
[all...]
/linux/net/can/
H A Draw.c571 struct can_filter sfilter; /* single filter */ in raw_setsockopt_locked() local
594 if (copy_from_sockptr(&sfilter, optval, sizeof(sfilter))) in raw_setsockopt_locked()
609 &sfilter, 1); in raw_setsockopt_locked()
631 ro->dfilter = sfilter; in raw_setsockopt_locked()