Searched refs:sockptr_is_kernel (Results 1 – 2 of 2) sorted by relevance
22 static inline bool sockptr_is_kernel(sockptr_t sockptr) in sockptr_is_kernel() function39 if (sockptr_is_kernel(sockptr)) in sockptr_is_null()47 if (!sockptr_is_kernel(src)) in copy_from_sockptr_offset()61 if (!sockptr_is_kernel(dst)) in copy_to_sockptr_offset()96 if (sockptr_is_kernel(src)) { in strncpy_from_sockptr()
73 if (uaccess_kernel() || sockptr_is_kernel(optval)) { in bpfilter_process_sockopt()