Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 4 of 4) sorted by relevance

/kernel/bpf/
Darraymap.c507 void **elem, *ptr; in bpf_fd_array_map_lookup_elem() local
514 elem = array_map_lookup_elem(map, key); in bpf_fd_array_map_lookup_elem()
515 if (elem && (ptr = READ_ONCE(*elem))) in bpf_fd_array_map_lookup_elem()
608 void **elem, *ptr; in prog_array_map_seq_show_elem() local
613 elem = array_map_lookup_elem(map, key); in prog_array_map_seq_show_elem()
614 if (elem) { in prog_array_map_seq_show_elem()
615 ptr = READ_ONCE(*elem); in prog_array_map_seq_show_elem()
Dverifier.c780 struct bpf_verifier_stack_elem *elem, *head = env->head; in pop_stack() local
795 elem = head->next; in pop_stack()
798 env->head = elem; in pop_stack()
808 struct bpf_verifier_stack_elem *elem; in push_stack() local
811 elem = kzalloc(sizeof(struct bpf_verifier_stack_elem), GFP_KERNEL); in push_stack()
812 if (!elem) in push_stack()
815 elem->insn_idx = insn_idx; in push_stack()
816 elem->prev_insn_idx = prev_insn_idx; in push_stack()
817 elem->next = env->head; in push_stack()
818 env->head = elem; in push_stack()
[all …]
/kernel/
Dparams.c398 void *elem, int elemsize, in param_array() argument
409 kp.arg = elem; in param_array()
448 return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem, in param_array_set()
463 p.arg = arr->elem + arr->elemsize * i; in param_array_get()
481 arr->ops->free(arr->elem + arr->elemsize * i); in param_array_free()
/kernel/locking/
Dlockdep.c1373 static inline int __cq_enqueue(struct circular_queue *cq, struct lock_list *elem) in __cq_enqueue() argument
1378 cq->element[cq->rear] = elem; in __cq_enqueue()