Lines Matching +full:key +full:- +full:value
1 // SPDX-License-Identifier: GPL-2.0
17 __type(key, __u32);
18 __type(value, __u64);
24 __type(key, __u32);
25 __type(value, __u64);
31 __type(key, __u32);
32 __type(value, __u64);
38 __type(key, __u32);
39 __type(value, __u64);
45 __type(key, __u32);
46 __type(value, __u64);
52 __type(key, __u32);
53 __type(value, __u64);
59 __type(key, int);
60 __type(value, __u64);
98 is_stack = (vma->vm_start <= vma->vm_mm->start_stack && in BPF_PROG()
99 vma->vm_end >= vma->vm_mm->start_stack); in BPF_PROG()
103 ret = -EPERM; in BPF_PROG()
115 __u32 key = 0; in BPF_PROG() local
116 __u64 *value; in BPF_PROG() local
121 bpf_copy_from_user(args, sizeof(args), (void *)bprm->vma->vm_mm->arg_start); in BPF_PROG()
122 bpf_copy_from_user(args, sizeof(args), (void *)bprm->mm->arg_start); in BPF_PROG()
124 value = bpf_map_lookup_elem(&array, &key); in BPF_PROG()
125 if (value) in BPF_PROG()
126 *value = 0; in BPF_PROG()
127 value = bpf_map_lookup_elem(&hash, &key); in BPF_PROG()
128 if (value) in BPF_PROG()
129 *value = 0; in BPF_PROG()
130 value = bpf_map_lookup_elem(&lru_hash, &key); in BPF_PROG()
131 if (value) in BPF_PROG()
132 *value = 0; in BPF_PROG()
133 value = bpf_map_lookup_elem(&percpu_array, &key); in BPF_PROG()
134 if (value) in BPF_PROG()
135 *value = 0; in BPF_PROG()
136 value = bpf_map_lookup_elem(&percpu_hash, &key); in BPF_PROG()
137 if (value) in BPF_PROG()
138 *value = 0; in BPF_PROG()
139 value = bpf_map_lookup_elem(&lru_percpu_hash, &key); in BPF_PROG()
140 if (value) in BPF_PROG()
141 *value = 0; in BPF_PROG()
142 inner_map = bpf_map_lookup_elem(&outer_arr, &key); in BPF_PROG()
144 value = bpf_map_lookup_elem(inner_map, &key); in BPF_PROG()
145 if (value) in BPF_PROG()
146 *value = 0; in BPF_PROG()
148 inner_map = bpf_map_lookup_elem(&outer_hash, &key); in BPF_PROG()
150 value = bpf_map_lookup_elem(inner_map, &key); in BPF_PROG()
151 if (value) in BPF_PROG()
152 *value = 0; in BPF_PROG()
174 if (len == -2 && ret == 0 && buf == 1234) in BPF_PROG()
176 if (len == -3 && ret == -EFAULT) in BPF_PROG()
178 if (len == -4 && ret == -EFAULT) in BPF_PROG()