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

12345

/freebsd-9.3-release/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c90 if (unlikely(best_bo == NULL))
93 if (unlikely((best_bo->vm_node->start + best_bo->num_pages) <
129 if (unlikely(ret != 0)) {
177 if (unlikely(ret != 0)) {
185 if (unlikely(ret != 0)) {
190 if (unlikely(ret != 0)) {
224 if (unlikely(!m)) {
325 if (unlikely(bo == NULL)) {
331 if (unlikely(!driver->verify_access)) {
336 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))
306 if (unlikely(to_page == NULL)) {
353 if (unlikely(from_page == NULL))
H A Dttm_bo.c207 while (unlikely(atomic_xchg(&bo->reserved, 1) != 0)) {
215 if (unlikely(sequence == bo->val_seq))
221 if (unlikely(sequence - bo->val_seq < (1 << 31)))
230 if (unlikely(ret))
240 if (unlikely((bo->val_seq - sequence < (1 << 31))
305 while (unlikely(atomic_xchg(&bo->reserved, 1) != 0)) {
314 if (unlikely(ret))
389 if (unlikely(bo->ttm == NULL))
396 if (unlikely(bo->ttm == NULL)) {
426 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-9.3-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-9.3-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-9.3-release/sys/ofed/include/linux/
H A Dcompiler.h60 #define unlikely(x) __builtin_expect(!!(x), 0) macro
/freebsd-9.3-release/sys/i386/include/xen/
H A Dxen-os.h29 #define unlikely(x) __builtin_expect((x),0) macro
58 #define PANIC_IF(exp) if (unlikely(exp)) {printk("panic - %s: %s:%d\n",#exp, __FILE__, __LINE__); panic("%s: %s:%d", #exp, __FILE__, __LINE__);}
123 if ( unlikely(_vcpu->evtchn_upcall_pending) ) \
134 if ( unlikely(_vcpu->evtchn_upcall_pending) ) \
337 #define IS_ERR_VALUE(x) unlikely((x) > (unsigned long)-1000L)
/freebsd-9.3-release/sys/amd64/include/xen/
H A Dxen-os.h54 #define unlikely(x) __builtin_expect((x),0) macro
80 if ( unlikely(_vcpu->evtchn_upcall_pending) ) \
91 if ( unlikely(_vcpu->evtchn_upcall_pending) ) \
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_compat.h97 #ifndef unlikely
98 #define unlikely(x) __builtin_expect((x), 0) macro
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dmapi.h71 unlikely ((vfsp)->vfs_flag & VFS_DMI) && \
77 unlikely ((vfsp)->vfs_flag & VFS_DMI) && \
/freebsd-9.3-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-9.3-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-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_object.c142 if (unlikely(r)) {
158 if (unlikely(r != 0)) {
269 if (unlikely(r != 0))
293 if (unlikely(r != 0))
365 if (unlikely(r != 0)) {
377 if (unlikely(r)) {
522 if (unlikely(r != 0))
602 if (unlikely(r != 0))
618 if (unlikely(r != 0))
645 if (unlikely(
[all...]
H A Dradeon_benchmark.c109 if (unlikely(r != 0))
121 if (unlikely(r != 0))
/freebsd-9.3-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-9.3-release/sys/dev/netmap/
H A Dnetmap_generic.c176 if (unlikely(r))
198 if (unlikely(!(ifp->if_capenable & IFCAP_NETMAP)))
406 if (unlikely(m == NULL)) {
409 if (unlikely(m == NULL)) {
448 if (unlikely(e >= n)) {
531 if (unlikely(!m)) {
534 if (unlikely(m == NULL)) {
547 if (unlikely(tx_ret)) {
622 if (unlikely(mbq_len(&na->rx_rings[rr].rx_queue) > 1024)) {
/freebsd-9.3-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-9.3-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-9.3-release/contrib/xz/src/liblzma/lz/
H A Dlz_decoder.h180 return unlikely(*len != 0);
189 if (unlikely(dict->pos == dict->limit))

Completed in 179 milliseconds

12345