Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dseccomp.c179 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
185 static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter) in seccomp_cache_prepare() argument
369 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
373 const struct action_cache *cache = &sfilter->cache; in seccomp_cache_check_allow()
663 struct seccomp_filter *sfilter; in seccomp_prepare_filter() local
688 sfilter = kzalloc(sizeof(*sfilter), GFP_KERNEL | __GFP_NOWARN); in seccomp_prepare_filter()
689 if (!sfilter) in seccomp_prepare_filter()
692 mutex_init(&sfilter->notify_lock); in seccomp_prepare_filter()
693 ret = bpf_prog_create_from_user(&sfilter->prog, fprog, in seccomp_prepare_filter()
696 kfree(sfilter); in seccomp_prepare_filter()
[all …]
/linux-6.12.1/net/can/
Draw.c556 struct can_filter sfilter; /* single filter */ in raw_setsockopt() local
582 if (copy_from_sockptr(&sfilter, optval, sizeof(sfilter))) in raw_setsockopt()
603 &sfilter, 1); in raw_setsockopt()
625 ro->dfilter = sfilter; in raw_setsockopt()