Searched refs:elem (Results 1 – 5 of 5) sorted by relevance
/kernel/bpf/ |
D | arraymap.c | 809 void **elem, *ptr; in bpf_fd_array_map_lookup_elem() local 816 elem = array_map_lookup_elem(map, key); in bpf_fd_array_map_lookup_elem() 817 if (elem && (ptr = READ_ONCE(*elem))) in bpf_fd_array_map_lookup_elem() 924 void **elem, *ptr; in prog_array_map_seq_show_elem() local 929 elem = array_map_lookup_elem(map, key); in prog_array_map_seq_show_elem() 930 if (elem) { in prog_array_map_seq_show_elem() 931 ptr = READ_ONCE(*elem); in prog_array_map_seq_show_elem() 952 struct prog_poke_elem *elem; in prog_array_map_poke_track() local 958 list_for_each_entry(elem, &aux->poke_progs, list) { in prog_array_map_poke_track() 959 if (elem->aux == prog_aux) in prog_array_map_poke_track() [all …]
|
D | hashtab.c | 234 struct htab_elem *elem; in htab_free_prealloced_timers() local 236 elem = get_htab_elem(htab, i); in htab_free_prealloced_timers() 237 bpf_timer_cancel_and_free(elem->key + in htab_free_prealloced_timers() 255 struct htab_elem *elem; in htab_free_prealloced_kptrs() local 257 elem = get_htab_elem(htab, i); in htab_free_prealloced_kptrs() 258 bpf_map_free_kptrs(&htab->map, elem->key + round_up(htab->map.key_size, 8)); in htab_free_prealloced_kptrs() 766 struct htab_elem *elem) in check_and_free_fields() argument 768 void *map_value = elem->key + round_up(htab->map.key_size, 8); in check_and_free_fields() 1165 static void htab_lru_push_free(struct bpf_htab *htab, struct htab_elem *elem) in htab_lru_push_free() argument 1167 check_and_free_fields(htab, elem); in htab_lru_push_free() [all …]
|
D | verifier.c | 1263 struct bpf_verifier_stack_elem *elem, *head = env->head; in pop_stack() local 1280 elem = head->next; in pop_stack() 1283 env->head = elem; in pop_stack() 1293 struct bpf_verifier_stack_elem *elem; in push_stack() local 1296 elem = kzalloc(sizeof(struct bpf_verifier_stack_elem), GFP_KERNEL); in push_stack() 1297 if (!elem) in push_stack() 1300 elem->insn_idx = insn_idx; in push_stack() 1301 elem->prev_insn_idx = prev_insn_idx; in push_stack() 1302 elem->next = env->head; in push_stack() 1303 elem->log_pos = env->log.len_used; in push_stack() [all …]
|
/kernel/ |
D | params.c | 417 void *elem, int elemsize, in param_array() argument 428 kp.arg = elem; in param_array() 467 return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem, in param_array_set() 482 p.arg = arr->elem + arr->elemsize * i; in param_array_get() 500 arr->ops->free(arr->elem + arr->elemsize * i); in param_array_free()
|
/kernel/locking/ |
D | lockdep.c | 1478 static inline int __cq_enqueue(struct circular_queue *cq, struct lock_list *elem) in __cq_enqueue() argument 1483 cq->element[cq->rear] = elem; in __cq_enqueue()
|