Home
last modified time | relevance | path

Searched refs:is_kernel (Results 1 – 10 of 10) 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()
/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
/linux/kernel/bpf/
H A Dcheck_btf.c63 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in prepare_btf_func()
163 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func()
250 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
368 u_core_relo = make_bpfptr(attr->core_relos, uattr.is_kernel); in bpf_check_core_relo()
H A Dsyscall.c103 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero()
1595 bpfptr_t uprog_hash = make_bpfptr(attr->excl_prog_hash, uattr.is_kernel); in map_create_alloc()
1662 err = security_bpf_map_create(map, attr, token, uattr.is_kernel); in map_create()
1849 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_update_elem()
1850 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_update_elem()
1902 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_delete_elem()
3090 make_bpfptr(attr->insns, uattr.is_kernel), in BTF_ID_LIST_GLOBAL_SINGLE()
3095 make_bpfptr(attr->license, uattr.is_kernel), in BTF_ID_LIST_GLOBAL_SINGLE()
6358 err = security_bpf(cmd, &attr, size, uattr.is_kernel); in __sys_bpf()
H A Dbpf_iter.c520 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
H A Dverifier.c20788 bpfptr_t fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in process_fd_array()
21090 union bpf_attr *attr, bool is_kernel) in bpf_prog_verify_signature()
21092 bpfptr_t usig = make_bpfptr(attr->signature, is_kernel); in bpf_prog_verify_signature()
21263 ret = bpf_prog_verify_signature(env, attr, uattr.is_kernel); in bpf_check()
21269 uattr.is_kernel); in bpf_check()
21082 bpf_prog_verify_signature(struct bpf_verifier_env * env,union bpf_attr * attr,bool is_kernel) bpf_prog_verify_signature() argument
H A Dbtf.c6001 bpfptr_t btf_data = make_bpfptr(attr->btf, uattr.is_kernel); in btf_parse()
/linux/net/
H A Dsocket.c2451 if (optval.is_kernel) { in sockptr_to_sockopt()
2499 if (WARN_ONCE(optval.is_kernel || optlen.is_kernel, in do_sock_getsockopt()
/linux/tools/perf/util/
H A Dsynthetic-events.c440 bool is_kernel) in perf_event__synthesize_mmap_events()
449 if (is_kernel) { in perf_event__synthesize_mmap_events()
369 perf_record_mmap2__read_build_id(struct perf_record_mmap2 * event,struct machine * machine,bool is_kernel) perf_record_mmap2__read_build_id() argument