Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dhashtab.c1083 static int check_flags(struct bpf_htab *htab, struct htab_elem *l_old, in check_flags() argument
1086 if (l_old && (map_flags & ~BPF_F_LOCK) == BPF_NOEXIST) in check_flags()
1090 if (!l_old && (map_flags & ~BPF_F_LOCK) == BPF_EXIST) in check_flags()
1102 struct htab_elem *l_new = NULL, *l_old; in htab_map_update_elem() local
1128 l_old = lookup_nulls_elem_raw(head, hash, key, key_size, in htab_map_update_elem()
1130 ret = check_flags(htab, l_old, map_flags); in htab_map_update_elem()
1133 if (l_old) { in htab_map_update_elem()
1136 l_old->key + round_up(key_size, 8), in htab_map_update_elem()
1150 l_old = lookup_elem_raw(head, hash, key, key_size); in htab_map_update_elem()
1152 ret = check_flags(htab, l_old, map_flags); in htab_map_update_elem()
[all …]