Lines Matching refs:tt_len

545 static u16 batadv_tt_entries(u16 tt_len)  in batadv_tt_entries()  argument
547 return tt_len / batadv_tt_len(1); in batadv_tt_entries()
844 s32 *tt_len) in batadv_tt_prepare_tvlv_global_data() argument
864 if (*tt_len < 0) in batadv_tt_prepare_tvlv_global_data()
865 *tt_len = batadv_tt_len(num_entries); in batadv_tt_prepare_tvlv_global_data()
867 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_global_data()
872 *tt_len = 0; in batadv_tt_prepare_tvlv_global_data()
919 s32 *tt_len) in batadv_tt_prepare_tvlv_local_data() argument
944 if (*tt_len < 0) in batadv_tt_prepare_tvlv_local_data()
945 *tt_len = batadv_tt_len(total_entries); in batadv_tt_prepare_tvlv_local_data()
947 tvlv_len = *tt_len; in batadv_tt_prepare_tvlv_local_data()
2754 void *tvlv_buff, u16 tt_len, in batadv_tt_tvlv_generate() argument
2768 tt_tot = batadv_tt_entries(tt_len); in batadv_tt_tvlv_generate()
3009 s32 tt_len; in batadv_send_other_tt_response() local
3047 tt_len = req_dst_orig_node->tt_buff_len; in batadv_send_other_tt_response()
3052 &tt_len); in batadv_send_other_tt_response()
3053 if (!tt_len) in batadv_send_other_tt_response()
3064 tt_len = -1; in batadv_send_other_tt_response()
3068 &tt_len); in batadv_send_other_tt_response()
3069 if (!tt_len) in batadv_send_other_tt_response()
3074 tt_change, tt_len, in batadv_send_other_tt_response()
3080 tt_len = sizeof(struct batadv_unicast_tvlv_packet) + tvlv_len; in batadv_send_other_tt_response()
3081 if (tt_len > atomic_read(&bat_priv->packet_size_max)) { in batadv_send_other_tt_response()
3138 s32 tt_len; in batadv_send_my_tt_response() local
3173 tt_len = bat_priv->tt.last_changeset_len; in batadv_send_my_tt_response()
3177 &tt_len); in batadv_send_my_tt_response()
3178 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3191 tt_len = -1; in batadv_send_my_tt_response()
3195 &tt_len); in batadv_send_my_tt_response()
3196 if (!tt_len || !tvlv_len) in batadv_send_my_tt_response()
3201 tt_change, tt_len, in batadv_send_my_tt_response()