Searched refs:expected_size (Results 1 – 2 of 2) sorted by relevance
4644 unsigned long size, expected_size; in packet_mmap() local4655 expected_size = 0; in packet_mmap()4658 expected_size += rb->pg_vec_len in packet_mmap()4664 if (expected_size == 0) in packet_mmap()4668 if (size != expected_size) in packet_mmap()
5347 size_t expected_size = sizeof(*cp); in add_adv_patterns_monitor() local5356 expected_size += cp->pattern_count * sizeof(struct mgmt_adv_pattern); in add_adv_patterns_monitor()5357 if (len != expected_size) { in add_adv_patterns_monitor()5384 size_t expected_size = sizeof(*cp); in add_adv_patterns_monitor_rssi() local5393 expected_size += cp->pattern_count * sizeof(struct mgmt_adv_pattern); in add_adv_patterns_monitor_rssi()5394 if (len != expected_size) { in add_adv_patterns_monitor_rssi()