Searched refs:new_len (Results 1 – 4 of 4) sorted by relevance
359 uint16_t org_len, new_len; in BNEP_WriteBuf() local362 new_len = 0; in BNEP_WriteBuf()364 if ((new_len + 2) > org_len) { in BNEP_WriteBuf()373 new_len += (length + 2); in BNEP_WriteBuf()375 if (new_len > org_len) { in BNEP_WriteBuf()385 new_len += 4; in BNEP_WriteBuf()386 if (new_len > org_len) return BNEP_IGNORE_CMD; in BNEP_WriteBuf()390 p_buf->len = new_len; in BNEP_WriteBuf()463 uint16_t org_len, new_len; in BNEP_Write() local466 new_len = 0; in BNEP_Write()[all …]
484 uint16_t org_len, new_len; in bnep_data_ind() local495 new_len = (length + 2); in bnep_data_ind()496 if (new_len > org_len) { in bnep_data_ind()513 org_len -= new_len; in bnep_data_ind()
1269 uint16_t new_len = 0; in bnep_is_packet_allowed() local1274 if ((new_len + 2) > org_len) { in bnep_is_packet_allowed()1282 new_len += (len + 2); in bnep_is_packet_allowed()1286 if ((new_len + 4) > org_len) { in bnep_is_packet_allowed()
160 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry() argument162 result.len = new_len; in RemoveSecondPartOfMapEntry()