Searched refs:ecu (Results 1 – 3 of 3) sorted by relevance
19 struct j1939_ecu *ecu = container_of(kref, struct j1939_ecu, kref); in __j1939_ecu_release() local20 struct j1939_priv *priv = ecu->priv; in __j1939_ecu_release()22 list_del(&ecu->list); in __j1939_ecu_release()23 kfree(ecu); in __j1939_ecu_release()27 void j1939_ecu_put(struct j1939_ecu *ecu) in j1939_ecu_put() argument29 kref_put(&ecu->kref, __j1939_ecu_release); in j1939_ecu_put()32 static void j1939_ecu_get(struct j1939_ecu *ecu) in j1939_ecu_get() argument34 kref_get(&ecu->kref); in j1939_ecu_get()37 static bool j1939_ecu_is_mapped_locked(struct j1939_ecu *ecu) in j1939_ecu_is_mapped_locked() argument39 struct j1939_priv *priv = ecu->priv; in j1939_ecu_is_mapped_locked()[all …]
87 struct j1939_ecu *ecu; in j1939_ac_fixup() local93 ecu = j1939_ecu_get_by_name(priv, skcb->addr.src_name); in j1939_ac_fixup()94 if (!ecu) in j1939_ac_fixup()97 if (ecu->addr != skcb->addr.sa) in j1939_ac_fixup()99 j1939_ecu_unmap(ecu); in j1939_ac_fixup()100 j1939_ecu_put(ecu); in j1939_ac_fixup()129 struct j1939_ecu *ecu, *prev; in j1939_ac_process() local167 ecu = j1939_ecu_get_by_name_locked(priv, name); in j1939_ac_process()168 if (!ecu && j1939_address_is_unicast(skcb->addr.sa)) in j1939_ac_process()169 ecu = j1939_ecu_create_locked(priv, name); in j1939_ac_process()[all …]
65 struct j1939_ecu *ecu; member92 void j1939_ecu_put(struct j1939_ecu *ecu);120 void j1939_ecu_unmap_locked(struct j1939_ecu *ecu);121 void j1939_ecu_unmap(struct j1939_ecu *ecu);199 void j1939_ecu_timer_start(struct j1939_ecu *ecu);200 void j1939_ecu_timer_cancel(struct j1939_ecu *ecu);