Lines Matching refs:tvlv_len

848 	u16 tvlv_len;  in batadv_tt_prepare_tvlv_global_data()  local
866 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data()
867 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_global_data()
869 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_global_data()
893 return tvlv_len; in batadv_tt_prepare_tvlv_global_data()
925 u16 tvlv_len; in batadv_tt_prepare_tvlv_local_data() local
946 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data()
947 tvlv_len += change_offset; in batadv_tt_prepare_tvlv_local_data()
949 *tt_data = kmalloc(tvlv_len, GFP_ATOMIC); in batadv_tt_prepare_tvlv_local_data()
951 tvlv_len = 0; in batadv_tt_prepare_tvlv_local_data()
977 return tvlv_len; in batadv_tt_prepare_tvlv_local_data()
993 u16 tvlv_len; in batadv_tt_tvlv_container_update() local
1004 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, &tt_data, in batadv_tt_tvlv_container_update()
1006 if (!tvlv_len) in batadv_tt_tvlv_container_update()
1052 tvlv_len); in batadv_tt_tvlv_container_update()
3007 u16 tvlv_len; in batadv_send_other_tt_response() local
3048 tvlv_len = batadv_tt_prepare_tvlv_global_data(req_dst_orig_node, in batadv_send_other_tt_response()
3064 tvlv_len = batadv_tt_prepare_tvlv_global_data(req_dst_orig_node, in batadv_send_other_tt_response()
3079 tt_len = sizeof(struct batadv_unicast_tvlv_packet) + tvlv_len; in batadv_send_other_tt_response()
3102 tvlv_len); in batadv_send_other_tt_response()
3135 u16 tvlv_len; in batadv_send_my_tt_response() local
3173 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, in batadv_send_my_tt_response()
3177 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3191 tvlv_len = batadv_tt_prepare_tvlv_local_data(bat_priv, in batadv_send_my_tt_response()
3195 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3218 tvlv_len); in batadv_send_my_tt_response()