Searched refs:is_kernel (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/include/linux/ |
D | bpfptr.h | 13 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()
|
D | sockptr.h | 19 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()
|
D | kallsyms.h | 34 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/ |
D | pvrdma_cq.c | 133 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()
|
D | pvrdma.h | 95 bool is_kernel; member 197 bool is_kernel; member
|
D | pvrdma_qp.c | 249 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/ |
D | mthca_cq.c | 777 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()
|
D | mthca_provider.h | 191 int is_kernel; member
|
D | mthca_provider.c | 715 if (cq->is_kernel) { in mthca_resize_cq() 742 if (cq->is_kernel) { in mthca_resize_cq()
|
/linux-6.1.9/arch/s390/kernel/ |
D | kprobes.c | 105 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/ |
D | report.c | 265 if (is_kernel((unsigned long)addr)) in kernel_or_module_addr()
|
/linux-6.1.9/kernel/bpf/ |
D | bpf_iter.c | 523 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
|
D | syscall.c | 92 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()
|
D | verifier.c | 11038 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()
|
D | btf.c | 6902 btf = btf_parse(make_bpfptr(attr->btf, uattr.is_kernel), in btf_new_fd()
|
/linux-6.1.9/tools/perf/util/ |
D | synthetic-events.c | 368 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/ |
D | ipv6_sockglue.c | 1172 if (optval.is_kernel) { in do_ipv6_getsockopt()
|
/linux-6.1.9/net/ipv4/ |
D | ip_sockglue.c | 1707 if (optval.is_kernel) { in do_ip_getsockopt()
|