Lines Matching refs:ogm_buff
196 unsigned char *ogm_buff; in batadv_iv_ogm_iface_enable() local
206 ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC); in batadv_iv_ogm_iface_enable()
207 if (!ogm_buff) { in batadv_iv_ogm_iface_enable()
212 hard_iface->bat_iv.ogm_buff = ogm_buff; in batadv_iv_ogm_iface_enable()
214 batadv_ogm_packet = (struct batadv_ogm_packet *)ogm_buff; in batadv_iv_ogm_iface_enable()
231 kfree(hard_iface->bat_iv.ogm_buff); in batadv_iv_ogm_iface_disable()
232 hard_iface->bat_iv.ogm_buff = NULL; in batadv_iv_ogm_iface_disable()
240 void *ogm_buff; in batadv_iv_ogm_iface_update_mac() local
244 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_iface_update_mac()
245 if (!ogm_buff) in batadv_iv_ogm_iface_update_mac()
248 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_iface_update_mac()
262 void *ogm_buff; in batadv_iv_ogm_primary_iface_set() local
266 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_primary_iface_set()
267 if (!ogm_buff) in batadv_iv_ogm_primary_iface_set()
270 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_primary_iface_set()
785 unsigned char **ogm_buff = &hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_schedule_buff() local
796 if (!*ogm_buff) in batadv_iv_ogm_schedule_buff()
815 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff()
820 batadv_ogm_packet = (struct batadv_ogm_packet *)(*ogm_buff); in batadv_iv_ogm_schedule_buff()
836 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, *ogm_buff_len, in batadv_iv_ogm_schedule_buff()
852 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, in batadv_iv_ogm_schedule_buff()