Lines Matching refs:ogm_buff

194 	unsigned char *ogm_buff;  in batadv_iv_ogm_iface_enable()  local
204 ogm_buff = kmalloc(hard_iface->bat_iv.ogm_buff_len, GFP_ATOMIC); in batadv_iv_ogm_iface_enable()
205 if (!ogm_buff) { in batadv_iv_ogm_iface_enable()
210 hard_iface->bat_iv.ogm_buff = ogm_buff; in batadv_iv_ogm_iface_enable()
212 batadv_ogm_packet = (struct batadv_ogm_packet *)ogm_buff; in batadv_iv_ogm_iface_enable()
229 kfree(hard_iface->bat_iv.ogm_buff); in batadv_iv_ogm_iface_disable()
230 hard_iface->bat_iv.ogm_buff = NULL; in batadv_iv_ogm_iface_disable()
238 void *ogm_buff; in batadv_iv_ogm_iface_update_mac() local
242 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_iface_update_mac()
243 if (!ogm_buff) in batadv_iv_ogm_iface_update_mac()
246 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_iface_update_mac()
260 void *ogm_buff; in batadv_iv_ogm_primary_iface_set() local
264 ogm_buff = hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_primary_iface_set()
265 if (!ogm_buff) in batadv_iv_ogm_primary_iface_set()
268 batadv_ogm_packet = ogm_buff; in batadv_iv_ogm_primary_iface_set()
782 unsigned char **ogm_buff = &hard_iface->bat_iv.ogm_buff; in batadv_iv_ogm_schedule_buff() local
793 if (!*ogm_buff) in batadv_iv_ogm_schedule_buff()
812 tvlv_len = batadv_tvlv_container_ogm_append(bat_priv, ogm_buff, in batadv_iv_ogm_schedule_buff()
817 batadv_ogm_packet = (struct batadv_ogm_packet *)(*ogm_buff); in batadv_iv_ogm_schedule_buff()
833 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, *ogm_buff_len, in batadv_iv_ogm_schedule_buff()
849 batadv_iv_ogm_queue_add(bat_priv, *ogm_buff, in batadv_iv_ogm_schedule_buff()