Lines Matching full:unlikely
68 unlikely(READ_ONCE(peer->is_dead))) in wg_packet_send_queued_handshake_initiation()
137 if (unlikely(send)) in keep_key_fresh()
145 if (unlikely(!PACKET_CB(skb)->mtu)) in calculate_skb_padding()
154 if (unlikely(last_unit > PACKET_CB(skb)->mtu)) in calculate_skb_padding()
182 if (unlikely(num_frags < 0 || num_frags > ARRAY_SIZE(sg))) in encrypt_packet()
193 if (unlikely(skb_cow_head(skb, DATA_PACKET_HEAD_ROOM) < 0)) in encrypt_packet()
197 if (unlikely(skb->ip_summed == CHECKSUM_PARTIAL && in encrypt_packet()
228 if (unlikely(!skb)) in wg_packet_send_keepalive()
317 if (unlikely(READ_ONCE(peer->is_dead))) in wg_packet_create_data()
322 if (unlikely(ret == -EPIPE)) in wg_packet_create_data()
353 if (unlikely(skb_queue_empty(&packets))) in wg_packet_send_staged_packets()
361 if (unlikely(!keypair)) in wg_packet_send_staged_packets()
363 if (unlikely(!READ_ONCE(keypair->sending.is_valid))) in wg_packet_send_staged_packets()
365 if (unlikely(wg_birthdate_has_expired(keypair->sending.birthdate, in wg_packet_send_staged_packets()
381 if (unlikely(PACKET_CB(skb)->nonce >= REJECT_AFTER_MESSAGES)) in wg_packet_send_staged_packets()