Home
last modified time | relevance | path

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

/linux/include/linux/
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()
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()
A Dkallsyms.h34 static inline int is_kernel(unsigned long addr) in is_kernel() function
44 return is_kernel(addr); in is_ksym_addr()
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_cq.c133 cq->is_kernel = !udata; in pvrdma_create_cq()
135 if (!cq->is_kernel) { in pvrdma_create_cq()
165 ret = pvrdma_page_dir_init(dev, &cq->pdir, npages, cq->is_kernel); in pvrdma_create_cq()
173 if (cq->is_kernel) in pvrdma_create_cq()
202 if (!cq->is_kernel) { in pvrdma_create_cq()
283 if (!cq->is_kernel) in _pvrdma_flush_cqe()
A Dpvrdma.h95 bool is_kernel; member
197 bool is_kernel; member
A Dpvrdma_qp.c249 qp->is_kernel = !udata; in pvrdma_create_qp()
251 if (!qp->is_kernel) { in pvrdma_create_qp()
329 qp->is_kernel); in pvrdma_create_qp()
336 if (!qp->is_kernel) { in pvrdma_create_qp()
/linux/drivers/infiniband/hw/mthca/
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()
A Dmthca_provider.h191 int is_kernel; member
A Dmthca_provider.c723 if (cq->is_kernel) { in mthca_resize_cq()
750 if (cq->is_kernel) { in mthca_resize_cq()
/linux/arch/s390/kernel/
A Dkprobes.c105 if (is_kernel((unsigned long)p->addr)) in s390_get_insn_slot()
117 if (is_kernel((unsigned long)p->addr)) in s390_free_insn_slot()
/linux/mm/kasan/
A Dreport.c229 if (is_kernel((unsigned long)addr)) in kernel_or_module_addr()
/linux/kernel/bpf/
A Dbpf_iter.c515 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
A Dsyscall.c88 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero()
1135 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_update_elem()
1136 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_update_elem()
2229 make_bpfptr(attr->license, uattr.is_kernel), in bpf_prog_load()
2315 make_bpfptr(attr->insns, uattr.is_kernel), in bpf_prog_load()
A Dverifier.c10022 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func()
10167 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
13946 env->fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in bpf_check()
A Dbtf.c5982 btf = btf_parse(make_bpfptr(attr->btf, uattr.is_kernel), in btf_new_fd()
/linux/tools/perf/util/
A Dsynthetic-events.c367 bool is_kernel) in perf_record_mmap2__read_build_id() argument
372 if (is_kernel) in perf_record_mmap2__read_build_id()

Completed in 65 milliseconds