Searched refs:tlv_top (Results 1 – 2 of 2) sorted by relevance
31 void *tlv_top; in mlxfw_mfa2_tlv_payload_get() local33 tlv_top = (void *) tlv + be16_to_cpu(tlv->len) - 1; in mlxfw_mfa2_tlv_payload_get()35 !mlxfw_mfa2_valid_ptr(mfa2_file, tlv_top)) in mlxfw_mfa2_tlv_payload_get()
167 const struct i2400m_tlv_hdr *tlv_top = tlv_buf + buf_size; in i2400m_tlv_buffer_walk() local176 if (tlv_pos == tlv_top) { /* buffer done */ in i2400m_tlv_buffer_walk()180 if (tlv_pos > tlv_top) { in i2400m_tlv_buffer_walk()