Lines Matching refs:data_length

54 	int32_t data_length;  in tlv_mgmt_post_recv()  local
77 data_length = length; in tlv_mgmt_post_recv()
81 data_length -= sizeof(*clock_desc->type); in tlv_mgmt_post_recv()
82 if (data_length < 0) { in tlv_mgmt_post_recv()
89 data_length -= sizeof(*clock_desc->phy_protocol); in tlv_mgmt_post_recv()
90 if (data_length < 0) { in tlv_mgmt_post_recv()
94 data_length -= clock_desc->phy_protocol->length; in tlv_mgmt_post_recv()
95 if (data_length < 0) { in tlv_mgmt_post_recv()
101 data_length -= sizeof(*clock_desc->phy_addr_len); in tlv_mgmt_post_recv()
102 if (data_length < 0) { in tlv_mgmt_post_recv()
112 data_length -= *clock_desc->phy_addr_len; in tlv_mgmt_post_recv()
113 if (data_length < 0) { in tlv_mgmt_post_recv()
119 data_length -= sizeof(*clock_desc->protocol_addr); in tlv_mgmt_post_recv()
120 if (data_length < 0) { in tlv_mgmt_post_recv()
130 data_length -= clock_desc->protocol_addr->addr_len; in tlv_mgmt_post_recv()
131 if (data_length < 0) { in tlv_mgmt_post_recv()
138 data_length -= TLV_MANUFACTURER_ID_LEN + 1; in tlv_mgmt_post_recv()
139 if (data_length < 0) { in tlv_mgmt_post_recv()
145 data_length -= sizeof(*clock_desc->product_desc); in tlv_mgmt_post_recv()
146 if (data_length < 0) { in tlv_mgmt_post_recv()
150 data_length -= clock_desc->product_desc->length; in tlv_mgmt_post_recv()
151 if (data_length < 0) { in tlv_mgmt_post_recv()
157 data_length -= sizeof(*clock_desc->revision_data); in tlv_mgmt_post_recv()
158 if (data_length < 0) { in tlv_mgmt_post_recv()
162 data_length -= clock_desc->revision_data->length; in tlv_mgmt_post_recv()
163 if (data_length < 0) { in tlv_mgmt_post_recv()
169 data_length -= sizeof(*clock_desc->user_desc); in tlv_mgmt_post_recv()
170 if (data_length < 0) { in tlv_mgmt_post_recv()
174 data_length -= clock_desc->user_desc->length; in tlv_mgmt_post_recv()
175 if (data_length < 0) { in tlv_mgmt_post_recv()
181 data_length -= TLV_PROFILE_ID_LEN; in tlv_mgmt_post_recv()