Lines Matching refs:unlikely

345     if (unlikely(r < 0)) {  in vhost_vdpa_net_log_global_enable()
445 if (unlikely(r < 0)) { in vhost_vdpa_get_vring_group()
467 if (unlikely(r < 0)) { in vhost_vdpa_set_address_space_id()
487 if (unlikely(!map)) { in vhost_vdpa_cvq_unmap_buf()
494 if (unlikely(r != 0)) { in vhost_vdpa_cvq_unmap_buf()
512 if (unlikely(r != IOVA_OK)) { in vhost_vdpa_cvq_map_buf()
525 if (unlikely(r < 0)) { in vhost_vdpa_cvq_map_buf()
573 if (unlikely(cvq_group < 0)) { in vhost_vdpa_net_cvq_start()
579 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_start()
593 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_start()
599 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_start()
628 if (unlikely(r != 0)) { in vhost_vdpa_net_cvq_add()
629 if (unlikely(r == -ENOSPC)) { in vhost_vdpa_net_cvq_add()
675 if (unlikely(dev_written != len)) { in vhost_vdpa_net_svq_flush()
718 if (unlikely(r < 0)) { in vhost_vdpa_net_load_cmd()
737 if (unlikely(r < 0)) { in vhost_vdpa_net_load_cmd()
764 if (unlikely(r < 0)) { in vhost_vdpa_net_load_mac()
814 if (unlikely(r < 0)) { in vhost_vdpa_net_load_mac()
911 if (unlikely(r < 0)) { in vhost_vdpa_net_load_rss()
941 if (unlikely(r < 0)) { in vhost_vdpa_net_load_mq()
948 if (unlikely(r < 0)) { in vhost_vdpa_net_load_mq()
955 if (unlikely(r < 0)) { in vhost_vdpa_net_load_mq()
1001 if (unlikely(r < 0)) { in vhost_vdpa_net_load_offloads()
1022 if (unlikely(r < 0)) { in vhost_vdpa_net_load_rx_mode()
1061 if (unlikely(r < 0)) { in vhost_vdpa_net_load_rx()
1086 if (unlikely(r < 0)) { in vhost_vdpa_net_load_rx()
1184 if (unlikely(r < 0)) { in vhost_vdpa_net_load_single_vlan()
1207 if (unlikely(r != 0)) { in vhost_vdpa_net_load_vlan()
1228 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_load()
1236 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_load()
1240 if (unlikely(r)) { in vhost_vdpa_net_cvq_load()
1244 if (unlikely(r)) { in vhost_vdpa_net_cvq_load()
1248 if (unlikely(r)) { in vhost_vdpa_net_cvq_load()
1252 if (unlikely(r)) { in vhost_vdpa_net_cvq_load()
1263 if (unlikely(r)) { in vhost_vdpa_net_cvq_load()
1270 if (unlikely(r < 0)) { in vhost_vdpa_net_cvq_load()
1332 if (unlikely(r != sizeof(mac_data))) { in vhost_vdpa_net_excessive_mac_filter_cvq_add()
1381 if (unlikely(r < 0)) { in vhost_vdpa_net_excessive_mac_filter_cvq_add()
1390 if (unlikely(r < sizeof(*s->status))) { in vhost_vdpa_net_excessive_mac_filter_cvq_add()
1493 } else if (unlikely(ctrl->class == VIRTIO_NET_CTRL_MAC && in vhost_vdpa_net_handle_ctrl_avail()
1508 if (unlikely(dev_written < 0)) { in vhost_vdpa_net_handle_ctrl_avail()
1514 if (unlikely(r < 0)) { in vhost_vdpa_net_handle_ctrl_avail()
1526 if (unlikely(dev_written < sizeof(status))) { in vhost_vdpa_net_handle_ctrl_avail()
1544 if (unlikely(in_len < sizeof(status))) { in vhost_vdpa_net_handle_ctrl_avail()
1585 if (unlikely(r < 0)) { in vhost_vdpa_probe_cvq_isolation()
1595 if (unlikely(r)) { in vhost_vdpa_probe_cvq_isolation()
1601 if (unlikely(r)) { in vhost_vdpa_probe_cvq_isolation()
1608 if (unlikely(r)) { in vhost_vdpa_probe_cvq_isolation()
1614 if (unlikely(cvq_group < 0)) { in vhost_vdpa_probe_cvq_isolation()
1633 if (unlikely(group < 0)) { in vhost_vdpa_probe_cvq_isolation()
1678 if (unlikely(cvq_isolated < 0)) { in net_vhost_vdpa_init()
1729 if (unlikely(ret < 0)) { in vhost_vdpa_get_features()
1810 if (unlikely(r < 0)) { in net_init_vhost_vdpa()
1822 if (unlikely(r < 0)) { in net_init_vhost_vdpa()