#include <net/sock.h>
#include "j1939-priv.h"
static void __j1939_ecu_release(struct kref *kref)
{ … }
void j1939_ecu_put(struct j1939_ecu *ecu)
{ … }
static void j1939_ecu_get(struct j1939_ecu *ecu)
{ … }
static bool j1939_ecu_is_mapped_locked(struct j1939_ecu *ecu)
{ … }
static void j1939_ecu_map_locked(struct j1939_ecu *ecu)
{ … }
void j1939_ecu_unmap_locked(struct j1939_ecu *ecu)
{ … }
void j1939_ecu_unmap(struct j1939_ecu *ecu)
{ … }
void j1939_ecu_unmap_all(struct j1939_priv *priv)
{ … }
void j1939_ecu_timer_start(struct j1939_ecu *ecu)
{ … }
void j1939_ecu_timer_cancel(struct j1939_ecu *ecu)
{ … }
static enum hrtimer_restart j1939_ecu_timer_handler(struct hrtimer *hrtimer)
{ … }
struct j1939_ecu *j1939_ecu_create_locked(struct j1939_priv *priv, name_t name)
{ … }
struct j1939_ecu *j1939_ecu_find_by_addr_locked(struct j1939_priv *priv,
u8 addr)
{ … }
struct j1939_ecu *j1939_ecu_get_by_addr_locked(struct j1939_priv *priv, u8 addr)
{ … }
struct j1939_ecu *j1939_ecu_get_by_addr(struct j1939_priv *priv, u8 addr)
{ … }
static struct j1939_ecu *j1939_ecu_find_by_name_locked(struct j1939_priv *priv,
name_t name)
{ … }
struct j1939_ecu *j1939_ecu_get_by_name_locked(struct j1939_priv *priv,
name_t name)
{ … }
struct j1939_ecu *j1939_ecu_get_by_name(struct j1939_priv *priv, name_t name)
{ … }
u8 j1939_name_to_addr(struct j1939_priv *priv, name_t name)
{ … }
int j1939_local_ecu_get(struct j1939_priv *priv, name_t name, u8 sa)
{ … }
void j1939_local_ecu_put(struct j1939_priv *priv, name_t name, u8 sa)
{ … }