Lines Matching refs:tvlv_len
858 u16 tvlv_len; in batadv_tt_prepare_tvlv_global_data() local
876 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data()
877 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
879 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_global_data()
903 return tvlv_len; in batadv_tt_prepare_tvlv_global_data()
935 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local
956 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data()
957 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data()
959 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_local_data()
961 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data()
987 return tvlv_len; in batadv_tt_prepare_tvlv_local_data()
1003 u16 tvlv_len; in batadv_tt_tvlv_container_update() local
1014 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, &tt_data, in batadv_tt_tvlv_container_update()
1016 if (!tvlv_len) in batadv_tt_tvlv_container_update()
1062 tvlv_len); in batadv_tt_tvlv_container_update()
3241 u16 tvlv_len; in batadv_send_other_tt_response() local
3282 tvlv_len = batadv_tt_prepare_tvlv_global_data(req_dst_orig_node, in batadv_send_other_tt_response()
3298 tvlv_len = batadv_tt_prepare_tvlv_global_data(req_dst_orig_node, in batadv_send_other_tt_response()
3313 tt_len = sizeof(struct batadv_unicast_tvlv_packet) + tvlv_len; in batadv_send_other_tt_response()
3336 tvlv_len); in batadv_send_other_tt_response()
3371 u16 tvlv_len; in batadv_send_my_tt_response() local
3409 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, in batadv_send_my_tt_response()
3413 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3427 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, in batadv_send_my_tt_response()
3431 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3454 tvlv_len); in batadv_send_my_tt_response()