| /linux/include/linux/ |
| H A 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()
|
| H A 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()
|
| /linux/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_cq.c | 134 cq->is_kernel = !udata; in pvrdma_create_cq() 136 if (!cq->is_kernel) { in pvrdma_create_cq() 166 ret = pvrdma_page_dir_init(dev, &cq->pdir, npages, cq->is_kernel); in pvrdma_create_cq() 174 if (cq->is_kernel) in pvrdma_create_cq() 203 if (!cq->is_kernel) { in pvrdma_create_cq() 284 if (!cq->is_kernel) in _pvrdma_flush_cqe()
|
| H A D | pvrdma.h | 95 bool is_kernel; member 197 bool is_kernel; member
|
| H A 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/drivers/infiniband/hw/mthca/ |
| H A 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()
|
| H A D | mthca_provider.h | 191 int is_kernel; member
|
| H A D | mthca_provider.c | 716 if (cq->is_kernel) { in mthca_resize_cq() 743 if (cq->is_kernel) { in mthca_resize_cq()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 103 if (uaddr.is_kernel) in bpf_check_uarg_tail_zero() 1565 bpfptr_t uprog_hash = make_bpfptr(attr->excl_prog_hash, uattr.is_kernel); in map_create() 1587 err = security_bpf_map_create(map, attr, token, uattr.is_kernel); in map_create() 1775 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_update_elem() 1776 bpfptr_t uvalue = make_bpfptr(attr->value, uattr.is_kernel); in map_update_elem() 1828 bpfptr_t ukey = make_bpfptr(attr->key, uattr.is_kernel); in map_delete_elem() 2809 bool is_kernel) in bpf_prog_verify_signature() argument 2811 bpfptr_t usig = make_bpfptr(attr->signature, is_kernel); in bpf_prog_verify_signature() 3020 make_bpfptr(attr->insns, uattr.is_kernel), in bpf_prog_load() 3025 make_bpfptr(attr->license, uattr.is_kernel), in bpf_prog_load() [all...] |
| H A D | bpf_iter.c | 520 ulinfo = make_bpfptr(attr->link_create.iter_info, uattr.is_kernel); in bpf_iter_link_attach()
|
| H A D | verifier.c | 19049 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func_early() 19149 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func() 19248 ulinfo = make_bpfptr(attr->line_info, uattr.is_kernel); in check_btf_line() 19366 u_core_relo = make_bpfptr(attr->core_relos, uattr.is_kernel); in check_core_relo() 25396 env->fd_array = make_bpfptr(attr->fd_array, uattr.is_kernel); in process_fd_array()
|
| H A D | btf.c | 5877 bpfptr_t btf_data = make_bpfptr(attr->btf, uattr.is_kernel); in btf_parse()
|
| /linux/mm/kasan/ |
| H A D | report.c | 359 if (is_kernel((unsigned long)addr)) in kernel_or_module_addr()
|
| /linux/net/ipv6/ |
| H A D | ipv6_sockglue.c | 1120 if (optval.is_kernel) { in do_ipv6_getsockopt()
|
| /linux/tools/perf/util/ |
| H A D | synthetic-events.c | 369 bool is_kernel) in perf_record_mmap2__read_build_id() argument 378 if (is_kernel) { in perf_record_mmap2__read_build_id()
|
| /linux/net/ |
| H A D | socket.c | 2379 if (WARN_ONCE(optval.is_kernel || optlen.is_kernel, in do_sock_getsockopt()
|
| /linux/net/ipv4/ |
| H A D | ip_sockglue.c | 1651 if (optval.is_kernel) { in do_ip_getsockopt()
|