Lines Matching refs:ogm_buff
195 unsigned char *ogm_buff; in batadv_iv_ogm_iface_enable() local
205 ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC); in batadv_iv_ogm_iface_enable()
206 if (!ogm_buff) { in batadv_iv_ogm_iface_enable()
211 hard_iface->bat_iv.ogm_buff = ogm_buff; in batadv_iv_ogm_iface_enable()
213 batadv_ogm_packet = (struct batadv_ogm_packet *)ogm_buff; in batadv_iv_ogm_iface_enable()
230 kfree(hard_iface->bat_iv.ogm_buff); in batadv_iv_ogm_iface_disable()
231 hard_iface->bat_iv.ogm_buff = NULL; in batadv_iv_ogm_iface_disable()
239 void *ogm_buff; in batadv_iv_ogm_iface_update_mac() local
243 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_iface_update_mac()
244 if (!ogm_buff) in batadv_iv_ogm_iface_update_mac()
247 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_iface_update_mac()
261 void *ogm_buff; in batadv_iv_ogm_primary_iface_set() local
265 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_primary_iface_set()
266 if (!ogm_buff) in batadv_iv_ogm_primary_iface_set()
269 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_primary_iface_set()
783 unsigned char **ogm_buff = &hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_schedule_buff() local
794 if (!*ogm_buff) in batadv_iv_ogm_schedule_buff()
813 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff()
818 batadv_ogm_packet = (struct batadv_ogm_packet *)(*ogm_buff); in batadv_iv_ogm_schedule_buff()
834 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, *ogm_buff_len, in batadv_iv_ogm_schedule_buff()
850 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, in batadv_iv_ogm_schedule_buff()