Searched refs:likely (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-9.3-release/sys/ofed/include/linux/
H A Dcompiler.h59 #define likely(x) __builtin_expect(!!(x), 1) macro
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_compat.h93 #ifndef likely
94 #define likely(x) __builtin_expect((x), 1) macro
H A Dxfs_frw.c254 if (likely((ioflags & IO_INVIS) == 0)) {
605 if (likely(!error))
/freebsd-9.3-release/contrib/xz/src/liblzma/common/
H A Dcommon.h40 # define likely(expr) __builtin_expect(expr, true) macro
43 # define likely(expr) (expr) macro
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_benchmark.c153 if (likely(r == 0)) {
161 if (likely(r == 0)) {
H A Dradeon_fence.c65 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
86 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
H A Dradeon_cursor.c209 if (likely(ret == 0)) {
H A Dradeon_fb.c98 if (likely(ret == 0)) {
/freebsd-9.3-release/sys/i386/include/xen/
H A Dxen-os.h28 #define likely(x) __builtin_expect((x),1) macro
44 if (likely(gdtset))
64 a mechanism by which the user can annotate likely branch directions and
/freebsd-9.3-release/sys/amd64/include/xen/
H A Dxen-os.h53 #define likely(x) __builtin_expect((x),1) macro
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dlz4.c255 #if defined(likely)
256 #undef likely macro
262 #define likely(expr) expect((expr) != 0, 1) macro
560 while likely(ip < matchlimit - (STEPSIZE - 1)) {
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_os_freebsd.h40 #define likely(x) __builtin_expect(!!(x), 1) macro
/freebsd-9.3-release/sys/dev/drm2/ttm/
H A Dttm_bo_util.c78 if (likely(man->io_reserve_fastpath))
94 if (likely(man->io_reserve_fastpath))
124 if (likely(man->io_reserve_fastpath))
145 if (likely(man->io_reserve_fastpath))
H A Dttm_tt.c123 if (likely(cur_page != NULL)) {
171 if (likely(ttm->pages != NULL)) {
H A Dttm_bo_vm.c321 if (likely(bo != NULL))
414 if (likely(bo != NULL))
H A Dttm_bo.c289 if (likely(ret == 0)) {
341 if (likely(!ret)) {
763 if (likely(bo->vm_node != NULL)) {
1356 if (likely(ret == 0))
1720 if (likely(bo->sync_obj == NULL))
1748 if (likely(bo->sync_obj == sync_obj)) {
1781 if (likely(ret == 0))
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-mips.c808 /* Branch without likely bit. If label is out of range, we turn:
837 Branch likely. If label is out of range, we turn:
853 likely bit, generating something like:
875 #define RELAX_BRANCH_ENCODE(uncond, likely, link, toofar) \
880 | ((likely) ? 4 : 0) \
3154 /* We don't yet optimize a branch likely. What we should do
4566 int likely = 0;
4699 likely = 1;
4706 likely = 1;
4719 likely
4559 int likely = 0; local
7245 int likely = 0; local
[all...]
/freebsd-9.3-release/sys/net/
H A Dnetmap_user.h72 #ifndef likely
73 #define likely(x) __builtin_expect(!!(x), 1) macro
75 #endif /* likely and unlikely */
256 for (; likely(l > 0); l-=64) {
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h648 if (likely(c > SDP_MIN_TX_CREDITS))
651 likely(tx_credits(ssk) > 0) &&
652 likely(sdp_tx_ring_slots_left(ssk));
H A Dsdp_tx.c228 if (likely(wc->wr_id & SDP_OP_SEND)) {
265 if (likely(!wc->status))
/freebsd-9.3-release/contrib/bmake/
H A Dbsd.after-import.mk27 # likely locations?
/freebsd-9.3-release/sys/cddl/boot/zfs/
H A Dlz4.c106 #define likely(expr) expect((expr) != 0, 1) macro
/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_vale.c255 for (; likely(l > 0); l-=64) {
950 for (; likely(j != end); j = nm_next(j, lim)) {
1195 for (i = 0; likely(i < n); i += ft[i].ft_frags) {
1253 for (j = 0; likely(j < b->bdg_active_ports); j++) {
1479 if (likely(j != my_start)) {
1566 for (n = 0; likely(nm_i != head); n++) {
/freebsd-9.3-release/contrib/llvm/lib/Support/Unix/
H A DSignals.inc315 // the stack offset for a stack dump isn't likely to cause any problems.
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c572 if (likely(nreq)) {
644 if (likely(nreq)) {

Completed in 318 milliseconds

123