Home
last modified time | relevance | path

Searched refs:is_kernel (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dbpfptr.h13 return bpfptr.is_kernel; in bpfptr_is_kernel()
18 return (bpfptr_t) { .kernel = p, .is_kernel = true }; in KERNEL_BPFPTR()
26 static inline bpfptr_t make_bpfptr(u64 addr, bool is_kernel) in make_bpfptr() argument
28 if (is_kernel) in make_bpfptr()
H A Dsockptr.h19 bool is_kernel : 1; member
24 return sockptr.is_kernel; in sockptr_is_kernel()
29 return (sockptr_t) { .kernel = p, .is_kernel = true }; in KERNEL_SOCKPTR()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c777 cq->is_kernel = !ctx; in mthca_init_cq()
788 if (cq->is_kernel) { in mthca_init_cq()
813 if (cq->is_kernel) { in mthca_init_cq()
866 if (cq->is_kernel) in mthca_init_cq()
873 if (cq->is_kernel && mthca_is_memfree(dev)) in mthca_init_cq()
877 if (cq->is_kernel && mthca_is_memfree(dev)) in mthca_init_cq()
922 cq->is_kernel ? !!next_cqe_sw(cq) : 0); in mthca_free_cq()
940 if (cq->is_kernel) { in mthca_free_cq()
H A Dmthca_provider.h191 int is_kernel; member
H A Dmthca_provider.c738 if (cq->is_kernel) { in mthca_resize_cq()
764 if (cq->is_kernel) { in mthca_resize_cq()
/linux/kernel/bpf/
H A Dsyscall.c104 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero()
1584 bpfptr_t uprog_hash = make_bpfptr(attr->excl_prog_hash, uattr.is_kernel); in map_create()
1658 err = security_bpf_map_create(map, attr, token, uattr.is_kernel); in __bpf_map_inc_not_zero()
1846 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_delete_elem()
1847 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_delete_elem()
1899 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_get_next_key()
2904 bool is_kernel, s32 *keyring_serial) in bpf_prog_load()
2906 bpfptr_t usig = make_bpfptr(attr->signature, is_kernel); in bpf_prog_load()
3124 make_bpfptr(attr->insns, uattr.is_kernel), in bpf_prog_load()
3129 make_bpfptr(attr->license, uattr.is_kernel), in bpf_prog_load()
2802 bpf_prog_verify_signature(struct bpf_prog * prog,union bpf_attr * attr,bool is_kernel) bpf_prog_verify_signature() argument
[all...]
H A Dbpf_iter.c520 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
H A Dbtf.c5912 bpfptr_t btf_data = make_bpfptr(attr->btf, uattr.is_kernel); in btf_check_type_tags()
H A Dverifier.c19467 env->fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in bpf_check_attach_target()
/linux/net/
H A Dsocket.c2422 if (optval.is_kernel) {
2470 if (WARN_ONCE(optval.is_kernel || optlen.is_kernel, in do_sock_getsockopt()
/linux/tools/perf/util/
H A Dsynthetic-events.c369 bool is_kernel) in perf_record_mmap2__read_build_id() argument
378 if (is_kernel) { in perf_record_mmap2__read_build_id()