/** * batadv_choose_orig() - Return the index of the orig entry in the hash table * @data: mac address of the originator node * @size: the size of the hash table * * Return: the hash index where the object represented by @data should be * stored at.
*/ staticinline u32 batadv_choose_orig(constvoid *data, u32 size)
{
u32 hash = 0;
/** * batadv_orig_node_vlan_put() - decrement the refcounter and possibly release * the originator-vlan object * @orig_vlan: the originator-vlan object to release
*/ staticinlinevoid
batadv_orig_node_vlan_put(struct batadv_orig_node_vlan *orig_vlan)
{ if (!orig_vlan) return;
/** * batadv_neigh_ifinfo_put() - decrement the refcounter and possibly release * the neigh_ifinfo * @neigh_ifinfo: the neigh_ifinfo object to release
*/ staticinlinevoid
batadv_neigh_ifinfo_put(struct batadv_neigh_ifinfo *neigh_ifinfo)
{ if (!neigh_ifinfo) return;
/** * batadv_orig_ifinfo_put() - decrement the refcounter and possibly release * the orig_ifinfo * @orig_ifinfo: the orig_ifinfo object to release
*/ staticinlinevoid
batadv_orig_ifinfo_put(struct batadv_orig_ifinfo *orig_ifinfo)
{ if (!orig_ifinfo) return;
/** * batadv_orig_node_put() - decrement the orig node refcounter and possibly * release it * @orig_node: the orig node to free
*/ staticinlinevoid batadv_orig_node_put(struct batadv_orig_node *orig_node)
{ if (!orig_node) return;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.