Searched refs:unlikely (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-10.2-release/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c91 if (unlikely(best_bo == NULL))
94 if (unlikely((best_bo->vm_node->start + best_bo->num_pages) <
130 if (unlikely(ret != 0)) {
178 if (unlikely(ret != 0)) {
186 if (unlikely(ret != 0)) {
191 if (unlikely(ret != 0)) {
229 if (unlikely(!m)) {
340 if (unlikely(bo == NULL)) {
346 if (unlikely(!driver->verify_access)) {
351 if (unlikely(re
[all...]
H A Dttm_execbuf_util.c154 if (unlikely(ret != -EAGAIN))
171 if (unlikely(ret != 0)) {
176 if (unlikely(atomic_read(&bo->cpu_writers) > 0)) {
186 if (unlikely(atomic_read(&bo->cpu_writers) > 0)) {
H A Dttm_object.c170 if (unlikely(ret != 0))
174 if (unlikely(ret != 0))
242 if (unlikely(ret != 0))
284 if (unlikely(ret != 0))
287 if (unlikely(ref == NULL)) {
351 if (unlikely(ret != 0)) {
H A Dttm_bo_manager.c69 if (unlikely(ret))
76 if (unlikely(node == NULL)) {
H A Dttm_lock.c82 if (unlikely(lock->kill_takers)) {
124 if (unlikely(lock->kill_takers)) {
179 if (unlikely(lock->kill_takers)) {
237 if (unlikely(!(lock->flags & TTM_VT_LOCK)))
H A Dttm_tt.c127 if (unlikely(ret != 0))
164 if (unlikely(ttm == NULL))
272 if (unlikely(ret != 0))
307 if (unlikely(to_page == NULL)) {
352 if (unlikely(from_page == NULL))
H A Dttm_bo.c208 while (unlikely(atomic_xchg(&bo->reserved, 1) != 0)) {
216 if (unlikely(sequence == bo->val_seq))
222 if (unlikely(sequence - bo->val_seq < (1U << 31)))
231 if (unlikely(ret))
241 if (unlikely((bo->val_seq - sequence < (1U << 31))
306 while (unlikely(atomic_xchg(&bo->reserved, 1) != 0)) {
315 if (unlikely(ret))
390 if (unlikely(bo->ttm == NULL))
397 if (unlikely(bo->ttm == NULL)) {
427 if (unlikely(re
[all...]
H A Dttm_memory.c177 if (unlikely(ret != 0))
267 if (unlikely(ret != 0))
270 if (unlikely(ret != 0))
323 if (unlikely(needs_swapping))
398 while (unlikely(ttm_mem_global_reserve(glob,
404 if (unlikely(count-- == 0))
/freebsd-10.2-release/contrib/llvm/lib/Support/Unix/
H A DTimeValue.inc38 // This is *really* unlikely to occur because the only gettimeofday
40 // In the unlikely case it does happen, just return MinTime, no error
/freebsd-10.2-release/contrib/wpa/src/utils/
H A Dradiotap.c29 #define unlikely(cond) (cond) macro
104 if (unlikely(iterator->bitmap_shifter & (1<<IEEE80211_RADIOTAP_EXT))) {
266 if (unlikely((iterator->arg_index & 31) == 0)) {
/freebsd-10.2-release/sys/ofed/include/linux/
H A Dcompiler.h61 #define unlikely(x) __builtin_expect(!!(x), 0) macro
H A Dscatterlist.h182 if (unlikely(!table->sgl))
267 if (unlikely(!sg)) {
323 if (unlikely(ret))
/freebsd-10.2-release/sys/dev/drm2/
H A Ddrm_global.c80 if (unlikely(item->object == NULL)) {
87 if (unlikely(ret != 0))
/freebsd-10.2-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_tx.c91 if (unlikely(h->mid == SDP_MID_SRCAVAIL)) {
104 if (unlikely(mb->m_flags & M_URG))
142 if (unlikely(tx_req->mb->m_flags & M_URG))
146 if (unlikely(rc)) {
172 if (unlikely(mseq != ring_tail(*tx_ring))) {
201 if (unlikely(wc->status)) {
212 if (unlikely(!mb))
319 if (unlikely(ssk->state == TCPS_CLOSED)) {
H A Dsdp_rx.c144 if (unlikely(rc)) {
244 if (unlikely(h->flags & SDP_OOB_PRES))
307 if (unlikely(id != ring_tail(ssk->rx_ring))) {
437 if (unlikely(h->mid == SDP_MID_DATA &&
490 if (unlikely(!mb))
493 if (unlikely(wc->status)) {
507 if (unlikely(wc->byte_len < sizeof(struct sdp_bsdh))) {
581 if (unlikely(!ssk->qp)) {
585 if (unlikely(!ssk->rx_ring.cq)) {
590 if (unlikely(!ss
[all...]
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dlz4.c258 #if defined(unlikely)
259 #undef unlikely macro
263 #define unlikely(expr) expect((expr) != 0, 0) macro
514 if unlikely(forwardIp > mflimit) {
526 unlikely(ip[-1] == ref[-1])) {
536 if unlikely(op + length + (2 + 1 + LASTLITERALS) +
587 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend)
729 if unlikely(op + length + (2 + 1 + LASTLITERALS) +
780 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend)
957 if unlikely(o
[all...]
/freebsd-10.2-release/sys/dev/drm2/radeon/
H A Dradeon_object.c146 if (unlikely(r)) {
162 if (unlikely(r != 0)) {
273 if (unlikely(r != 0))
297 if (unlikely(r != 0))
371 if (unlikely(r != 0)) {
383 if (unlikely(r)) {
528 if (unlikely(r != 0))
608 if (unlikely(r != 0))
624 if (unlikely(r != 0))
651 if (unlikely(
[all...]
H A Dradeon_benchmark.c109 if (unlikely(r != 0))
121 if (unlikely(r != 0))
/freebsd-10.2-release/sys/dev/drm/
H A Ddrm_mm.c91 if (unlikely(child == NULL)) {
117 if (unlikely(node == NULL)) {
136 if (unlikely(child == NULL))
172 if (unlikely(child == NULL))
206 if (unlikely(align_splitoff == NULL))
/freebsd-10.2-release/sys/dev/netmap/
H A Dnetmap_generic.c204 if (unlikely(r))
236 if (unlikely(!nm_netmap_on(na)))
441 if (unlikely(m == NULL)) {
444 if (unlikely(m == NULL)) {
500 if (unlikely(e >= n)) {
584 if (unlikely(!m)) {
587 if (unlikely(m == NULL)) {
600 if (unlikely(tx_ret)) {
675 if (unlikely(mbq_len(&na->rx_rings[rr].rx_queue) > 1024)) {
/freebsd-10.2-release/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c125 if (unlikely(ib_dma_mapping_error(priv->ca,
158 if (unlikely(ret)) {
206 if (unlikely(wr_id >= ipoib_recvq_size)) {
214 if (unlikely(wc->status != IB_WC_SUCCESS)) {
241 if (unlikely(!ipoib_alloc_rx_mb(priv, wr_id))) {
266 if (unlikely(ipoib_ib_post_receive(priv, wr_id)))
301 if (unlikely(ib_dma_mapping_error(ca, mapping[i]))) {
337 if (unlikely(wr_id >= ipoib_sendq_size)) {
352 if (unlikely(--priv->tx_outstanding == ipoib_sendq_size >> 1) &&
480 if (unlikely(pri
[all...]
/freebsd-10.2-release/contrib/xz/src/liblzma/common/
H A Dcommon.h41 # define unlikely(expr) __builtin_expect(expr, false) macro
44 # define unlikely(expr) (expr) macro
/freebsd-10.2-release/contrib/xz/src/liblzma/lz/
H A Dlz_decoder.h180 return unlikely(*len != 0);
189 if (unlikely(dict->pos == dict->limit))
/freebsd-10.2-release/contrib/gcc/config/rs6000/
H A Ddarwin-ldouble.c60 #define unlikely(x) __builtin_expect ((x), 0) macro
62 #define nonfinite(a) unlikely (! isless (fabs (a), inf ()))
160 if (unlikely (t == 0) /* Preserve -0. */
193 if (unlikely (t == 0) /* Preserve -0. */
/freebsd-10.2-release/sys/ofed/include/asm/
H A Datomic.h91 if (unlikely(c == (u)))

Completed in 268 milliseconds

1234