Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
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()
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()
Dkallsyms.h34 static inline int is_kernel(unsigned long addr) in is_kernel() function
44 return is_kernel(addr); in is_ksym_addr()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
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()
Dpvrdma.h95 bool is_kernel; member
197 bool is_kernel; member
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-6.1.9/drivers/infiniband/hw/mthca/
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()
Dmthca_provider.h191 int is_kernel; member
Dmthca_provider.c715 if (cq->is_kernel) { in mthca_resize_cq()
742 if (cq->is_kernel) { in mthca_resize_cq()
/linux-6.1.9/arch/s390/kernel/
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-6.1.9/mm/kasan/
Dreport.c265 if (is_kernel((unsigned long)addr)) in kernel_or_module_addr()
/linux-6.1.9/kernel/bpf/
Dbpf_iter.c523 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
Dsyscall.c92 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero()
1385 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_update_elem()
1386 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_update_elem()
1441 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_delete_elem()
2488 make_bpfptr(attr->license, uattr.is_kernel), in bpf_prog_load()
2575 make_bpfptr(attr->insns, uattr.is_kernel), in bpf_prog_load()
Dverifier.c11038 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func()
11182 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line()
11300 u_core_relo = make_bpfptr(attr->core_relos, uattr.is_kernel); in check_core_relo()
15230 env->fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in bpf_check()
Dbtf.c6902 btf = btf_parse(make_bpfptr(attr->btf, uattr.is_kernel), in btf_new_fd()
/linux-6.1.9/tools/perf/util/
Dsynthetic-events.c368 bool is_kernel) in perf_record_mmap2__read_build_id() argument
377 if (is_kernel) { in perf_record_mmap2__read_build_id()
/linux-6.1.9/net/ipv6/
Dipv6_sockglue.c1172 if (optval.is_kernel) { in do_ipv6_getsockopt()
/linux-6.1.9/net/ipv4/
Dip_sockglue.c1707 if (optval.is_kernel) { in do_ip_getsockopt()