Searched refs:elem_new (Results 1 – 2 of 2) sorted by relevance
/linux/net/core/ |
H A D | sock_map.c | 990 struct bpf_shtab_elem *elem, *elem_new; in sock_hash_update_common() local 1024 elem_new = sock_hash_alloc_elem(htab, key, key_size, hash, sk, elem); in sock_hash_update_common() 1025 if (IS_ERR(elem_new)) { in sock_hash_update_common() 1026 ret = PTR_ERR(elem_new); in sock_hash_update_common() 1030 sock_map_add_link(psock, link, map, elem_new); in sock_hash_update_common() 1034 hlist_add_head_rcu(&elem_new->node, &bucket->head); in sock_hash_update_common()
|
/linux/net/wireless/ |
H A D | scan.c | 1783 const struct element *elem_new, *elem_old; in cfg80211_check_stuck_ecsa() local 1802 elem_new = cfg80211_find_elem(WLAN_EID_EXT_CHANSWITCH_ANN, in cfg80211_check_stuck_ecsa() 1804 if (!elem_new) in cfg80211_check_stuck_ecsa() 1814 if (elem_new->datalen != elem_old->datalen) in cfg80211_check_stuck_ecsa() 1816 if (elem_new->datalen < sizeof(struct ieee80211_ext_chansw_ie)) in cfg80211_check_stuck_ecsa() 1818 if (memcmp(elem_new->data, elem_old->data, elem_new->datalen)) in cfg80211_check_stuck_ecsa() 1821 ecsa = (void *)elem_new->data; in cfg80211_check_stuck_ecsa()
|