/linux-4.1.27/tools/include/asm/ |
H A D | bug.h | 10 if (unlikely(__ret_warn_on)) \ 12 unlikely(__ret_warn_on); \ 19 if (unlikely(__ret_warn_once)) \ 22 unlikely(__ret_warn_once); \
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
H A D | compiler.h | 5 #define unlikely macro
|
/linux-4.1.27/tools/include/linux/ |
H A D | compiler.h | 34 #ifndef unlikely 35 # define unlikely(x) __builtin_expect(!!(x), 0) macro
|
/linux-4.1.27/include/asm-generic/ |
H A D | bug.h | 55 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 87 if (unlikely(__ret_warn_on)) \ 89 unlikely(__ret_warn_on); \ 96 if (unlikely(__ret_warn_on)) \ 98 unlikely(__ret_warn_on); \ 104 if (unlikely(__ret_warn_on)) \ 106 unlikely(__ret_warn_on); \ 110 static bool __section(.data.unlikely) __warned; \ 113 if (unlikely(__ret_warn_once)) \ 116 unlikely(__ret_warn_once); \ 120 static bool __section(.data.unlikely) __warned; \ 123 if (unlikely(__ret_warn_once)) \ 126 unlikely(__ret_warn_once); \ 130 static bool __section(.data.unlikely) __warned; \ 133 if (unlikely(__ret_warn_once)) \ 136 unlikely(__ret_warn_once); \ 151 unlikely(__ret_warn_on); \ 159 unlikely(__ret_warn_on); \
|
H A D | rwsem.h | 36 if (unlikely(atomic_long_inc_return((atomic_long_t *)&sem->count) <= 0)) __down_read() 62 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) __down_write_nested() 88 if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) __up_read() 97 if (unlikely(atomic_long_sub_return(RWSEM_ACTIVE_WRITE_BIAS, __up_write()
|
H A D | mutex-dec.h | 23 if (unlikely(atomic_dec_return(count) < 0)) __mutex_fastpath_lock() 38 if (unlikely(atomic_dec_return(count) < 0)) __mutex_fastpath_lock_retval() 59 if (unlikely(atomic_inc_return(count) <= 0)) __mutex_fastpath_unlock()
|
H A D | futex.h | 44 if (unlikely(get_user(oldval, uaddr) != 0)) futex_atomic_op_inuser() 70 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) futex_atomic_op_inuser() 109 if (unlikely(get_user(val, uaddr) != 0)) futex_atomic_cmpxchg_inatomic() 112 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) futex_atomic_cmpxchg_inatomic()
|
H A D | 4level-fixup.h | 15 ((unlikely(pgd_none(*(pud))) && __pmd_alloc(mm, pud, address))? \
|
H A D | mutex-xchg.h | 28 if (unlikely(atomic_xchg(count, 0) != 1)) __mutex_fastpath_lock() 49 if (unlikely(atomic_xchg(count, 0) != 1)) __mutex_fastpath_lock_retval() 70 if (unlikely(atomic_xchg(count, 1) != 0)) __mutex_fastpath_unlock() 96 if (unlikely(prev < 0)) { __mutex_fastpath_trylock()
|
/linux-4.1.27/include/linux/netfilter/ipset/ |
H A D | ip_set_comment.h | 25 if (unlikely(comment->str)) { ip_set_init_comment() 31 if (unlikely(len > IPSET_MAX_COMMENT_SIZE)) ip_set_init_comment() 34 if (unlikely(!comment->str)) ip_set_init_comment() 50 if (unlikely(!comment->str)) ip_set_comment_free()
|
/linux-4.1.27/fs/nfs/ |
H A D | callback_xdr.c | 78 if (unlikely(p == NULL)) read_buf() 88 if (unlikely(p == NULL)) decode_string() 94 if (unlikely(p == NULL)) decode_string() 108 if (unlikely(p == NULL)) decode_fh() 114 if (unlikely(p == NULL)) decode_fh() 127 if (unlikely(p == NULL)) decode_bitmap() 131 if (unlikely(p == NULL)) decode_bitmap() 145 if (unlikely(p == NULL)) decode_stateid() 157 if (unlikely(status != 0)) decode_compound_hdr_arg() 166 if (unlikely(p == NULL)) decode_compound_hdr_arg() 188 if (unlikely(p == NULL)) decode_op_hdr() 199 if (unlikely(status != 0)) decode_getattr_args() 215 if (unlikely(status != 0)) decode_recall_args() 218 if (unlikely(p == NULL)) { decode_recall_args() 241 if (unlikely(p == NULL)) { decode_layoutrecall_args() 257 if (unlikely(status != 0)) decode_layoutrecall_args() 261 if (unlikely(p == NULL)) { decode_layoutrecall_args() 268 if (unlikely(status != 0)) decode_layoutrecall_args() 272 if (unlikely(p == NULL)) { decode_layoutrecall_args() 304 if (unlikely(p == NULL)) { decode_devicenotify_args() 327 if (unlikely(p == NULL)) { decode_devicenotify_args() 358 if (unlikely(p == NULL)) { decode_devicenotify_args() 389 if (unlikely(p == NULL)) decode_sessionid() 409 if (unlikely(p == NULL)) decode_rc_list() 416 if (unlikely(p == NULL)) decode_rc_list() 421 if (unlikely(rc_list->rcl_refcalls == NULL)) decode_rc_list() 448 if (unlikely(p == NULL)) decode_cb_sequence_args() 462 if (unlikely(args->csa_rclists == NULL)) decode_cb_sequence_args() 505 if (unlikely(p == NULL)) decode_recallany_args() 509 if (unlikely(status)) decode_recallany_args() 524 if (unlikely(p == NULL)) decode_recallslot_args() 537 if (unlikely(p == NULL)) encode_string() 554 if (unlikely(p == NULL)) encode_attr_bitmap() 561 if (unlikely(p == NULL)) encode_attr_bitmap() 567 if (unlikely(p == NULL)) encode_attr_bitmap() 582 if (unlikely(!p)) encode_attr_change() 595 if (unlikely(!p)) encode_attr_size() 606 if (unlikely(!p)) encode_attr_time() 632 if (unlikely(hdr->status == NULL)) encode_compound_hdr_res() 635 if (unlikely(status != 0)) encode_compound_hdr_res() 638 if (unlikely(hdr->nops == NULL)) encode_compound_hdr_res() 648 if (unlikely(p == NULL)) encode_op_hdr() 660 if (unlikely(status != 0)) encode_getattr_res() 663 if (unlikely(status != 0)) encode_getattr_res() 666 if (unlikely(status != 0)) encode_getattr_res() 669 if (unlikely(status != 0)) encode_getattr_res() 672 if (unlikely(status != 0)) encode_getattr_res() 690 if (unlikely(p == NULL)) encode_sessionid() 704 if (unlikely(status != 0)) encode_cb_sequence_res() 710 if (unlikely(p == NULL)) encode_cb_sequence_res() 839 if (unlikely(status)) process_op() 879 if (unlikely(res)) process_op() 935 if (unlikely(status == htonl(NFS4ERR_RESOURCE_HDR))) { nfs4_callback_compound()
|
H A D | nfs3xdr.c | 153 if (unlikely(p == NULL)) decode_uint32() 167 if (unlikely(p == NULL)) decode_uint64() 213 if (unlikely(p == NULL)) decode_inline_filename3() 219 if (unlikely(p == NULL)) decode_inline_filename3() 251 if (unlikely(p == NULL)) decode_nfspath3() 254 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) decode_nfspath3() 257 if (unlikely(count > recvd)) decode_nfspath3() 305 if (unlikely(p == NULL)) decode_cookieverf3() 332 if (unlikely(p == NULL)) decode_writeverf3() 366 if (unlikely(p == NULL)) decode_nfsstat3() 455 if (unlikely(p == NULL)) decode_nfs_fh3() 458 if (unlikely(length > NFS3_FHSIZE)) decode_nfs_fh3() 461 if (unlikely(p == NULL)) decode_nfs_fh3() 653 if (unlikely(p == NULL)) decode_fattr3() 708 if (unlikely(p == NULL)) decode_post_op_attr() 731 if (unlikely(p == NULL)) decode_wcc_attr() 771 if (unlikely(p == NULL)) decode_pre_op_attr() 786 if (unlikely(error)) decode_wcc_data() 806 if (unlikely(p == NULL)) decode_post_op_fh3() 1390 if (unlikely(error)) nfs3_xdr_dec_getattr3res() 1427 if (unlikely(error)) nfs3_xdr_dec_setattr3res() 1430 if (unlikely(error)) nfs3_xdr_dec_setattr3res() 1468 if (unlikely(error)) nfs3_xdr_dec_lookup3res() 1473 if (unlikely(error)) nfs3_xdr_dec_lookup3res() 1476 if (unlikely(error)) nfs3_xdr_dec_lookup3res() 1483 if (unlikely(error)) nfs3_xdr_dec_lookup3res() 1515 if (unlikely(error)) nfs3_xdr_dec_access3res() 1518 if (unlikely(error)) nfs3_xdr_dec_access3res() 1556 if (unlikely(error)) nfs3_xdr_dec_readlink3res() 1559 if (unlikely(error)) nfs3_xdr_dec_readlink3res() 1598 if (unlikely(p == NULL)) decode_read3resok() 1603 if (unlikely(ocount != count)) decode_read3resok() 1606 if (unlikely(count > recvd)) decode_read3resok() 1634 if (unlikely(error)) nfs3_xdr_dec_read3res() 1637 if (unlikely(error)) nfs3_xdr_dec_read3res() 1682 if (unlikely(p == NULL)) decode_write3resok() 1686 if (unlikely(result->verf->committed > NFS_FILE_SYNC)) decode_write3resok() 1707 if (unlikely(error)) nfs3_xdr_dec_write3res() 1710 if (unlikely(error)) nfs3_xdr_dec_write3res() 1748 if (unlikely(error)) decode_create3resok() 1751 if (unlikely(error)) decode_create3resok() 1772 if (unlikely(error)) nfs3_xdr_dec_create3res() 1781 if (unlikely(error)) nfs3_xdr_dec_create3res() 1812 if (unlikely(error)) nfs3_xdr_dec_remove3res() 1815 if (unlikely(error)) nfs3_xdr_dec_remove3res() 1853 if (unlikely(error)) nfs3_xdr_dec_rename3res() 1856 if (unlikely(error)) nfs3_xdr_dec_rename3res() 1859 if (unlikely(error)) nfs3_xdr_dec_rename3res() 1896 if (unlikely(error)) nfs3_xdr_dec_link3res() 1899 if (unlikely(error)) nfs3_xdr_dec_link3res() 1902 if (unlikely(error)) nfs3_xdr_dec_link3res() 1955 if (unlikely(p == NULL)) nfs3_decode_dirent() 1959 if (unlikely(p == NULL)) nfs3_decode_dirent() 1968 if (unlikely(error)) nfs3_decode_dirent() 1972 if (unlikely(error)) nfs3_decode_dirent() 1977 if (unlikely(error)) nfs3_decode_dirent() 1985 if (unlikely(error)) nfs3_decode_dirent() 1997 if (unlikely(p == NULL)) nfs3_decode_dirent() 2001 if (unlikely(error)) { nfs3_decode_dirent() 2061 if (unlikely(error)) decode_readdir3resok() 2065 if (unlikely(error)) decode_readdir3resok() 2080 if (unlikely(error)) nfs3_xdr_dec_readdir3res() 2089 if (unlikely(error)) nfs3_xdr_dec_readdir3res() 2125 if (unlikely(p == NULL)) decode_fsstat3resok() 2148 if (unlikely(error)) nfs3_xdr_dec_fsstat3res() 2151 if (unlikely(error)) nfs3_xdr_dec_fsstat3res() 2196 if (unlikely(p == NULL)) decode_fsinfo3resok() 2224 if (unlikely(error)) nfs3_xdr_dec_fsinfo3res() 2227 if (unlikely(error)) nfs3_xdr_dec_fsinfo3res() 2268 if (unlikely(p == NULL)) decode_pathconf3resok() 2287 if (unlikely(error)) nfs3_xdr_dec_pathconf3res() 2290 if (unlikely(error)) nfs3_xdr_dec_pathconf3res() 2328 if (unlikely(error)) nfs3_xdr_dec_commit3res() 2331 if (unlikely(error)) nfs3_xdr_dec_commit3res() 2354 if (unlikely(error)) decode_getacl3resok() 2357 if (unlikely(error)) decode_getacl3resok() 2372 if (unlikely(error <= 0)) decode_getacl3resok() 2382 if (unlikely(error <= 0)) decode_getacl3resok() 2397 if (unlikely(error)) nfs3_xdr_dec_getacl3res() 2416 if (unlikely(error)) nfs3_xdr_dec_setacl3res()
|
H A D | mount_clnt.c | 281 if (unlikely(status < 0)) nfs_umount() 330 if (unlikely(p == NULL)) decode_status() 352 if (unlikely(p == NULL)) decode_fhandle() 367 if (unlikely(status != 0 || res->errno != 0)) mnt_xdr_dec_mountres() 379 if (unlikely(p == NULL)) decode_fhs_status() 402 if (unlikely(p == NULL)) decode_fhandle3() 410 if (unlikely(p == NULL)) decode_fhandle3() 429 if (unlikely(p == NULL)) decode_auth_flavors() 437 if (unlikely(p == NULL)) decode_auth_flavors() 459 if (unlikely(status != 0 || res->errno != 0)) mnt_xdr_dec_mountres3() 462 if (unlikely(status != 0)) { mnt_xdr_dec_mountres3()
|
H A D | nfs4xdr.c | 3014 if (unlikely(!p)) decode_opaque_inline() 3018 if (unlikely(!p)) decode_opaque_inline() 3032 if (unlikely(!p)) decode_compound_hdr() 3038 if (unlikely(!p)) decode_compound_hdr() 3043 if (unlikely(hdr->nops < 1)) decode_compound_hdr() 3059 if (unlikely(!p)) __decode_op_hdr() 3062 if (unlikely(opnum != expected)) __decode_op_hdr() 3110 if (unlikely(!p)) decode_attr_bitmap() 3116 if (unlikely(!p)) decode_attr_bitmap() 3137 if (unlikely(!p)) decode_attr_length() 3152 if (unlikely(ret < 0)) decode_attr_supported() 3168 if (unlikely(bitmap[0] & (FATTR4_WORD0_TYPE - 1U))) decode_attr_type() 3172 if (unlikely(!p)) decode_attr_type() 3195 if (unlikely(bitmap[0] & (FATTR4_WORD0_FH_EXPIRE_TYPE - 1U))) decode_attr_fh_expire_type() 3199 if (unlikely(!p)) decode_attr_fh_expire_type() 3217 if (unlikely(bitmap[0] & (FATTR4_WORD0_CHANGE - 1U))) decode_attr_change() 3221 if (unlikely(!p)) decode_attr_change() 3241 if (unlikely(bitmap[0] & (FATTR4_WORD0_SIZE - 1U))) decode_attr_size() 3245 if (unlikely(!p)) decode_attr_size() 3263 if (unlikely(bitmap[0] & (FATTR4_WORD0_LINK_SUPPORT - 1U))) decode_attr_link_support() 3267 if (unlikely(!p)) decode_attr_link_support() 3284 if (unlikely(bitmap[0] & (FATTR4_WORD0_SYMLINK_SUPPORT - 1U))) decode_attr_symlink_support() 3288 if (unlikely(!p)) decode_attr_symlink_support() 3307 if (unlikely(bitmap[0] & (FATTR4_WORD0_FSID - 1U))) decode_attr_fsid() 3311 if (unlikely(!p)) decode_attr_fsid() 3332 if (unlikely(bitmap[0] & (FATTR4_WORD0_LEASE_TIME - 1U))) decode_attr_lease_time() 3336 if (unlikely(!p)) decode_attr_lease_time() 3352 if (unlikely(bitmap[0] & (FATTR4_WORD0_RDATTR_ERROR - 1U))) decode_attr_error() 3356 if (unlikely(!p)) decode_attr_error() 3375 if (unlikely(bitmap[0] & (FATTR4_WORD0_FILEHANDLE - 1U))) decode_attr_filehandle() 3379 if (unlikely(!p)) decode_attr_filehandle() 3385 if (unlikely(!p)) decode_attr_filehandle() 3404 if (unlikely(bitmap[0] & (FATTR4_WORD0_ACLSUPPORT - 1U))) decode_attr_aclsupport() 3408 if (unlikely(!p)) decode_attr_aclsupport() 3426 if (unlikely(bitmap[0] & (FATTR4_WORD0_FILEID - 1U))) decode_attr_fileid() 3430 if (unlikely(!p)) decode_attr_fileid() 3449 if (unlikely(bitmap[1] & (FATTR4_WORD1_MOUNTED_ON_FILEID - 1U))) decode_attr_mounted_on_fileid() 3453 if (unlikely(!p)) decode_attr_mounted_on_fileid() 3472 if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_AVAIL - 1U))) decode_attr_files_avail() 3476 if (unlikely(!p)) decode_attr_files_avail() 3494 if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_FREE - 1U))) decode_attr_files_free() 3498 if (unlikely(!p)) decode_attr_files_free() 3516 if (unlikely(bitmap[0] & (FATTR4_WORD0_FILES_TOTAL - 1U))) decode_attr_files_total() 3520 if (unlikely(!p)) decode_attr_files_total() 3539 if (unlikely(!p)) decode_pathname() 3552 if (unlikely(status != 0)) decode_pathname() 3583 if (unlikely(bitmap[0] & (FATTR4_WORD0_FS_LOCATIONS -1U))) decode_attr_fs_locations() 3586 if (unlikely(!(bitmap[0] & FATTR4_WORD0_FS_LOCATIONS))) decode_attr_fs_locations() 3590 if (unlikely(res == NULL)) decode_attr_fs_locations() 3594 if (unlikely(status != 0)) decode_attr_fs_locations() 3597 if (unlikely(!p)) decode_attr_fs_locations() 3610 if (unlikely(!p)) decode_attr_fs_locations() 3629 if (unlikely(status != 0)) decode_attr_fs_locations() 3636 if (unlikely(status != 0)) decode_attr_fs_locations() 3641 if (unlikely(status != 0)) decode_attr_fs_locations() 3662 if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXFILESIZE - 1U))) decode_attr_maxfilesize() 3666 if (unlikely(!p)) decode_attr_maxfilesize() 3684 if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXLINK - 1U))) decode_attr_maxlink() 3688 if (unlikely(!p)) decode_attr_maxlink() 3706 if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXNAME - 1U))) decode_attr_maxname() 3710 if (unlikely(!p)) decode_attr_maxname() 3728 if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXREAD - 1U))) decode_attr_maxread() 3733 if (unlikely(!p)) decode_attr_maxread() 3754 if (unlikely(bitmap[0] & (FATTR4_WORD0_MAXWRITE - 1U))) decode_attr_maxwrite() 3759 if (unlikely(!p)) decode_attr_maxwrite() 3781 if (unlikely(bitmap[1] & (FATTR4_WORD1_MODE - 1U))) decode_attr_mode() 3785 if (unlikely(!p)) decode_attr_mode() 3805 if (unlikely(bitmap[1] & (FATTR4_WORD1_NUMLINKS - 1U))) decode_attr_nlink() 3809 if (unlikely(!p)) decode_attr_nlink() 3831 if (unlikely(bitmap[1] & (FATTR4_WORD1_OWNER - 1U))) decode_attr_owner() 3835 if (unlikely(!p)) decode_attr_owner() 3839 if (unlikely(!p)) decode_attr_owner() 3874 if (unlikely(bitmap[1] & (FATTR4_WORD1_OWNER_GROUP - 1U))) decode_attr_group() 3878 if (unlikely(!p)) decode_attr_group() 3882 if (unlikely(!p)) decode_attr_group() 3915 if (unlikely(bitmap[1] & (FATTR4_WORD1_RAWDEV - 1U))) decode_attr_rdev() 3921 if (unlikely(!p)) decode_attr_rdev() 3944 if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_AVAIL - 1U))) decode_attr_space_avail() 3948 if (unlikely(!p)) decode_attr_space_avail() 3966 if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_FREE - 1U))) decode_attr_space_free() 3970 if (unlikely(!p)) decode_attr_space_free() 3988 if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_TOTAL - 1U))) decode_attr_space_total() 3992 if (unlikely(!p)) decode_attr_space_total() 4010 if (unlikely(bitmap[1] & (FATTR4_WORD1_SPACE_USED - 1U))) decode_attr_space_used() 4014 if (unlikely(!p)) decode_attr_space_used() 4035 if (unlikely(!p)) decode_attr_time() 4053 if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_ACCESS - 1U))) decode_attr_time_access() 4071 if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_METADATA - 1U))) decode_attr_time_metadata() 4090 if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_DELTA - 1U))) decode_attr_time_delta() 4110 if (unlikely(bitmap[2] & (FATTR4_WORD2_SECURITY_LABEL - 1U))) decode_attr_security_label() 4114 if (unlikely(!p)) decode_attr_security_label() 4118 if (unlikely(!p)) decode_attr_security_label() 4122 if (unlikely(!p)) decode_attr_security_label() 4126 if (unlikely(!p)) decode_attr_security_label() 4157 if (unlikely(bitmap[1] & (FATTR4_WORD1_TIME_MODIFY - 1U))) decode_attr_time_modify() 4174 if (unlikely(attrwords != nwords)) { verify_attr_len() 4191 if (unlikely(!p)) decode_change_info() 4212 if (unlikely(!p)) decode_access() 4286 if (unlikely(!p)) decode_create() 4392 if (unlikely(!p)) decode_threshold_hint() 4412 if (unlikely(!p)) { decode_first_threshold_item4() 4465 if (unlikely(bitmap[2] & (FATTR4_WORD2_MDSTHRESHOLD - 1U))) decode_attr_mdsthreshold() 4469 if (unlikely(res == NULL)) decode_attr_mdsthreshold() 4472 if (unlikely(!p)) decode_attr_mdsthreshold() 4668 if (unlikely(!p)) decode_first_pnfs_layout_type() 4683 if (unlikely(!p)) decode_first_pnfs_layout_type() 4702 if (unlikely(bitmap[1] & (FATTR4_WORD1_FS_LAYOUT_TYPES - 1U))) decode_attr_pnfstype() 4724 if (unlikely(!p)) { decode_attr_layout_blksize() 4789 if (unlikely(!p)) decode_getfh() 4796 if (unlikely(!p)) decode_getfh() 4825 if (unlikely(!p)) decode_lock_denied() 4859 if (unlikely(status)) decode_lock() 4908 if (unlikely(!p)) decode_space_limit() 4934 if (unlikely(status)) decode_rw_delegation() 4937 if (unlikely(!p)) decode_rw_delegation() 4962 if (unlikely(!p)) decode_no_delegation() 4983 if (unlikely(!p)) decode_delegation() 5014 if (unlikely(status)) decode_open() 5020 if (unlikely(!p)) decode_open() 5028 if (unlikely(!p)) decode_open() 5090 if (unlikely(!p)) decode_read() 5117 if (unlikely(status)) decode_readdir() 5138 if (unlikely(!p)) decode_readlink() 5226 if (unlikely(bitmap[0] & (FATTR4_WORD0_ACL - 1U))) decode_getacl() 5266 if (unlikely(!p)) decode_setattr() 5284 if (unlikely(!p)) decode_setclientid() 5295 if (unlikely(!p)) decode_setclientid() 5304 if (unlikely(!p)) decode_setclientid() 5308 if (unlikely(!p)) decode_setclientid() 5313 if (unlikely(!p)) decode_setclientid() 5317 if (unlikely(!p)) decode_setclientid() 5344 if (unlikely(!p)) decode_write() 5366 if (unlikely(!p)) decode_secinfo_gss() 5373 if (unlikely(!p)) decode_secinfo_gss() 5379 if (unlikely(!p)) decode_secinfo_gss() 5401 if (unlikely(!p)) decode_secinfo_common() 5413 if (unlikely(!p)) decode_secinfo_common() 5481 if (unlikely(!p)) decode_exchange_id() 5485 if (unlikely(!p)) decode_exchange_id() 5509 if (unlikely(!p)) decode_exchange_id() 5515 if (unlikely(status)) decode_exchange_id() 5517 if (unlikely(dummy > NFS4_OPAQUE_LIMIT)) decode_exchange_id() 5524 if (unlikely(status)) decode_exchange_id() 5526 if (unlikely(dummy > NFS4_OPAQUE_LIMIT)) decode_exchange_id() 5533 if (unlikely(!p)) decode_exchange_id() 5540 if (unlikely(status)) decode_exchange_id() 5542 if (unlikely(dummy > NFS4_OPAQUE_LIMIT)) decode_exchange_id() 5548 if (unlikely(status)) decode_exchange_id() 5550 if (unlikely(dummy > NFS4_OPAQUE_LIMIT)) decode_exchange_id() 5556 if (unlikely(!p)) decode_exchange_id() 5576 if (unlikely(!p)) decode_chan_attrs() 5587 if (unlikely(nr_attrs > 1)) { decode_chan_attrs() 5594 if (unlikely(!p)) decode_chan_attrs() 5617 if (unlikely(status)) decode_bind_conn_to_session() 5622 if (unlikely(!p)) decode_bind_conn_to_session() 5648 if (unlikely(status)) decode_create_session() 5653 if (unlikely(!p)) decode_create_session() 5703 if (unlikely(status)) decode_sequence() 5720 if (unlikely(!p)) decode_sequence() 5767 if (unlikely(!p)) decode_getdeviceinfo() 5777 if (unlikely(!p)) decode_getdeviceinfo() 5796 if (unlikely(!p)) decode_getdeviceinfo() 5803 if (unlikely(!p)) decode_getdeviceinfo() 5833 if (unlikely(!p)) decode_layoutget() 5838 if (unlikely(!p)) decode_layoutget() 5848 if (unlikely(!p)) decode_layoutget() 5898 if (unlikely(!p)) decode_layoutreturn() 5923 if (unlikely(!p)) decode_layoutcommit() 5930 if (unlikely(!p)) decode_layoutcommit() 5951 if (unlikely(!p)) decode_test_stateid() 5958 if (unlikely(!p)) decode_test_stateid() 7228 if (unlikely(!p)) nfs4_decode_dirent() 7232 if (unlikely(!p)) nfs4_decode_dirent() 7241 if (unlikely(!p)) nfs4_decode_dirent() 7248 if (unlikely(!p)) nfs4_decode_dirent()
|
H A D | nfs2xdr.c | 112 if (unlikely(p == NULL)) decode_nfsdata() 116 if (unlikely(count > recvd)) decode_nfsdata() 159 if (unlikely(p == NULL)) decode_stat() 184 if (unlikely(*type > NF2FIFO)) xdr_decode_ftype() 207 if (unlikely(p == NULL)) decode_fhandle() 284 if (unlikely(p == NULL)) decode_fattr() 413 if (unlikely(p == NULL)) decode_filename_inline() 419 if (unlikely(p == NULL)) decode_filename_inline() 452 if (unlikely(p == NULL)) decode_path() 455 if (unlikely(length >= xdr->buf->page_len || length > NFS_MAXPATHLEN)) decode_path() 458 if (unlikely(length > recvd)) decode_path() 491 if (unlikely(error)) decode_attrstat() 537 if (unlikely(error)) decode_diropok() 550 if (unlikely(error)) decode_diropres() 801 if (unlikely(error)) nfs2_xdr_dec_stat() 840 if (unlikely(error)) nfs2_xdr_dec_readlinkres() 869 if (unlikely(error)) nfs2_xdr_dec_readres() 875 if (unlikely(error)) nfs2_xdr_dec_readres() 922 if (unlikely(p == NULL)) nfs2_decode_dirent() 926 if (unlikely(p == NULL)) nfs2_decode_dirent() 935 if (unlikely(p == NULL)) nfs2_decode_dirent() 940 if (unlikely(error)) nfs2_decode_dirent() 949 if (unlikely(p == NULL)) nfs2_decode_dirent() 991 if (unlikely(error)) nfs2_xdr_dec_readdirres() 1023 if (unlikely(p == NULL)) decode_info() 1043 if (unlikely(error)) nfs2_xdr_dec_statfsres()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | enh_desc.c | 35 if (unlikely(p->des01.etx.error_summary)) { enh_desc_get_tx_status() 36 if (unlikely(p->des01.etx.jabber_timeout)) enh_desc_get_tx_status() 39 if (unlikely(p->des01.etx.frame_flushed)) { enh_desc_get_tx_status() 44 if (unlikely(p->des01.etx.loss_carrier)) { enh_desc_get_tx_status() 48 if (unlikely(p->des01.etx.no_carrier)) { enh_desc_get_tx_status() 52 if (unlikely(p->des01.etx.late_collision)) enh_desc_get_tx_status() 55 if (unlikely(p->des01.etx.excessive_collisions)) enh_desc_get_tx_status() 58 if (unlikely(p->des01.etx.excessive_deferral)) enh_desc_get_tx_status() 61 if (unlikely(p->des01.etx.underflow_error)) { enh_desc_get_tx_status() 66 if (unlikely(p->des01.etx.ip_header_error)) enh_desc_get_tx_status() 69 if (unlikely(p->des01.etx.payload_error)) { enh_desc_get_tx_status() 77 if (unlikely(p->des01.etx.deferred)) enh_desc_get_tx_status() 129 if (unlikely(p->basic.des01.erx.rx_mac_addr)) { enh_desc_get_ext_status() 183 if (unlikely(p->des01.erx.error_summary)) { enh_desc_get_rx_status() 184 if (unlikely(p->des01.erx.descriptor_error)) { enh_desc_get_rx_status() 188 if (unlikely(p->des01.erx.overflow_error)) enh_desc_get_rx_status() 191 if (unlikely(p->des01.erx.ipc_csum_error)) enh_desc_get_rx_status() 194 if (unlikely(p->des01.erx.late_collision)) { enh_desc_get_rx_status() 197 if (unlikely(p->des01.erx.receive_watchdog)) enh_desc_get_rx_status() 200 if (unlikely(p->des01.erx.error_gmii)) enh_desc_get_rx_status() 203 if (unlikely(p->des01.erx.crc_error)) { enh_desc_get_rx_status() 217 if (unlikely(p->des01.erx.dribbling)) enh_desc_get_rx_status() 220 if (unlikely(p->des01.erx.sa_filter_fail)) { enh_desc_get_rx_status() 224 if (unlikely(p->des01.erx.da_filter_fail)) { enh_desc_get_rx_status() 228 if (unlikely(p->des01.erx.length_error)) { enh_desc_get_rx_status()
|
H A D | norm_desc.c | 35 if (unlikely(p->des01.tx.error_summary)) { ndesc_get_tx_status() 36 if (unlikely(p->des01.tx.underflow_error)) { ndesc_get_tx_status() 40 if (unlikely(p->des01.tx.no_carrier)) { ndesc_get_tx_status() 44 if (unlikely(p->des01.tx.loss_carrier)) { ndesc_get_tx_status() 48 if (unlikely((p->des01.tx.excessive_deferral) || ndesc_get_tx_status() 58 if (unlikely(p->des01.tx.deferred)) ndesc_get_tx_status() 79 if (unlikely(p->des01.rx.last_descriptor == 0)) { ndesc_get_rx_status() 86 if (unlikely(p->des01.rx.error_summary)) { ndesc_get_rx_status() 87 if (unlikely(p->des01.rx.descriptor_error)) ndesc_get_rx_status() 89 if (unlikely(p->des01.rx.sa_filter_fail)) ndesc_get_rx_status() 91 if (unlikely(p->des01.rx.overflow_error)) ndesc_get_rx_status() 93 if (unlikely(p->des01.rx.ipc_csum_error)) ndesc_get_rx_status() 95 if (unlikely(p->des01.rx.collision)) { ndesc_get_rx_status() 99 if (unlikely(p->des01.rx.crc_error)) { ndesc_get_rx_status() 105 if (unlikely(p->des01.rx.dribbling)) ndesc_get_rx_status() 108 if (unlikely(p->des01.rx.length_error)) { ndesc_get_rx_status() 112 if (unlikely(p->des01.rx.mii_error)) { ndesc_get_rx_status()
|
H A D | dwmac_lib.c | 157 if (unlikely(intr_status & DMA_STATUS_AIS)) { dwmac_dma_interrupt() 158 if (unlikely(intr_status & DMA_STATUS_UNF)) { dwmac_dma_interrupt() 162 if (unlikely(intr_status & DMA_STATUS_TJT)) dwmac_dma_interrupt() 165 if (unlikely(intr_status & DMA_STATUS_OVF)) dwmac_dma_interrupt() 168 if (unlikely(intr_status & DMA_STATUS_RU)) dwmac_dma_interrupt() 170 if (unlikely(intr_status & DMA_STATUS_RPS)) dwmac_dma_interrupt() 172 if (unlikely(intr_status & DMA_STATUS_RWT)) dwmac_dma_interrupt() 174 if (unlikely(intr_status & DMA_STATUS_ETI)) dwmac_dma_interrupt() 176 if (unlikely(intr_status & DMA_STATUS_TPS)) { dwmac_dma_interrupt() 180 if (unlikely(intr_status & DMA_STATUS_FBI)) { dwmac_dma_interrupt() 200 if (unlikely(intr_status & DMA_STATUS_ERI)) dwmac_dma_interrupt() 204 if (unlikely(intr_status & dwmac_dma_interrupt()
|
/linux-4.1.27/lib/ |
H A D | asn1_decoder.c | 64 if (unlikely(datalen - dp < 2)) { asn1_find_indefinite_length() 84 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { asn1_find_indefinite_length() 86 if (unlikely(datalen - dp < 2)) asn1_find_indefinite_length() 99 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { asn1_find_indefinite_length() 101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) asn1_find_indefinite_length() 108 if (unlikely(n > sizeof(size_t) - 1)) asn1_find_indefinite_length() 110 if (unlikely(n > datalen - dp)) asn1_find_indefinite_length() 198 if (unlikely(pc >= machlen)) asn1_ber_decoder() 201 if (unlikely(pc + asn1_op_lengths[op] > machlen)) asn1_ber_decoder() 222 if (unlikely(dp >= datalen - 1)) asn1_ber_decoder() 225 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) asn1_ber_decoder() 257 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { asn1_ber_decoder() 259 if (unlikely(!(tag & ASN1_CONS_BIT))) asn1_ber_decoder() 262 if (unlikely(2 > datalen - dp)) asn1_ber_decoder() 266 if (unlikely(n > 2)) asn1_ber_decoder() 268 if (unlikely(dp >= datalen - n)) asn1_ber_decoder() 275 if (unlikely(len > datalen - dp)) asn1_ber_decoder() 284 if (unlikely(csp >= NR_CONS_STACK)) asn1_ber_decoder() 343 if (unlikely(jsp == NR_JUMP_STACK)) asn1_ber_decoder() 350 if (unlikely(!(flags & FLAG_MATCHED))) asn1_ber_decoder() 356 if (unlikely(jsp != 0 || csp != 0)) { asn1_ber_decoder() 365 if (unlikely(!(flags & FLAG_MATCHED))) asn1_ber_decoder() 373 if (unlikely(csp <= 0)) asn1_ber_decoder() 385 if (unlikely(datalen - dp < 2)) asn1_ber_decoder() 431 if (unlikely(jsp <= 0)) asn1_ber_decoder()
|
H A D | syscall.c | 11 if (unlikely(!regs)) collect_syscall() 57 if (unlikely(maxargs > 6)) task_current_syscall() 64 if (unlikely(!state)) task_current_syscall() 68 if (unlikely(!ncsw) || task_current_syscall() 69 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) || task_current_syscall() 70 unlikely(wait_task_inactive(target, state) != ncsw)) task_current_syscall()
|
H A D | stmp_device.c | 49 if (unlikely(ret)) stmp_reset_block() 62 if (unlikely(!timeout)) stmp_reset_block() 67 if (unlikely(ret)) stmp_reset_block() 72 if (unlikely(ret)) stmp_reset_block()
|
H A D | iov_iter.c | 22 while (unlikely(!left && n)) { \ 25 if (unlikely(!__v.iov_len)) \ 46 while (unlikely(n)) { \ 49 if (unlikely(!__v.iov_len)) \ 70 while (unlikely(n)) { \ 73 if (unlikely(!__v.bv_len)) \ 86 if (unlikely(i->type & ITER_BVEC)) { \ 90 } else if (unlikely(i->type & ITER_KVEC)) { \ 103 if (unlikely(i->type & ITER_BVEC)) { \ 113 } else if (unlikely(i->type & ITER_KVEC)) { \ 146 if (unlikely(bytes > i->count)) copy_page_to_iter_iovec() 149 if (unlikely(!bytes)) copy_page_to_iter_iovec() 169 while (unlikely(!left && bytes)) { copy_page_to_iter_iovec() 196 while (unlikely(!left && bytes)) { copy_page_to_iter_iovec() 227 if (unlikely(bytes > i->count)) copy_page_from_iter_iovec() 230 if (unlikely(!bytes)) copy_page_from_iter_iovec() 250 while (unlikely(!left && bytes)) { copy_page_from_iter_iovec() 277 while (unlikely(!left && bytes)) { copy_page_from_iter_iovec() 338 if (unlikely(err)) iov_iter_fault_in_multipages_readable() 389 if (unlikely(bytes > i->count)) copy_to_iter() 392 if (unlikely(!bytes)) copy_to_iter() 410 if (unlikely(bytes > i->count)) copy_from_iter() 413 if (unlikely(!bytes)) copy_from_iter() 431 if (unlikely(bytes > i->count)) copy_from_iter_nocache() 434 if (unlikely(!bytes)) copy_from_iter_nocache() 477 if (unlikely(bytes > i->count)) iov_iter_zero() 480 if (unlikely(!bytes)) iov_iter_zero() 593 if (unlikely(res < 0)) iov_iter_get_pages() 641 if (unlikely(res < 0)) { iov_iter_get_pages_alloc() 669 if (unlikely(bytes > i->count)) csum_and_copy_from_iter() 672 if (unlikely(!bytes)) csum_and_copy_from_iter() 713 if (unlikely(bytes > i->count)) csum_and_copy_to_iter() 716 if (unlikely(!bytes)) csum_and_copy_to_iter() 844 if (unlikely(!access_ok(!rw, buf, len))) import_single_range()
|
H A D | is_single_threaded.c | 34 if (unlikely(p->flags & PF_KTHREAD)) for_each_process() 36 if (unlikely(p == task->group_leader)) for_each_process() 41 if (unlikely(t->mm == mm)) for_each_process()
|
H A D | strncpy_from_user.c | 42 if (unlikely(__get_user(c,(unsigned long __user *)(src+res)))) do_strncpy_from_user() 58 if (unlikely(__get_user(c,src+res))) do_strncpy_from_user() 103 if (unlikely(count <= 0)) strncpy_from_user()
|
H A D | strnlen_user.c | 48 if (unlikely(__get_user(c,(unsigned long __user *)src))) do_strnlen_user() 61 if (unlikely(max <= sizeof(unsigned long))) do_strnlen_user() 64 if (unlikely(__get_user(c,(unsigned long __user *)(src+res)))) do_strnlen_user() 107 if (unlikely(count <= 0)) strnlen_user()
|
/linux-4.1.27/arch/xtensa/kernel/ |
H A D | Makefile | 31 -e 's/\.text\.unlikely/.literal.unlikely .text.unlikely/g' \
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | bug.h | 15 * unlikely to ever be implemented. 61 if (unlikely(__ret_warn_on)) \ 63 unlikely(__ret_warn_on); \
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | bug.h | 59 if (unlikely(__ret_warn_on)) \ 62 unlikely(__ret_warn_on); \
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | bug.h | 61 if (unlikely(__ret_warn_on)) \ 63 unlikely(__ret_warn_on); \
|
/linux-4.1.27/mm/kasan/ |
H A D | kasan.c | 73 if (unlikely(shadow_value)) { memory_is_poisoned_1() 75 return unlikely(last_accessible_byte >= shadow_value); memory_is_poisoned_1() 85 if (unlikely(*shadow_addr)) { memory_is_poisoned_2() 92 return unlikely(*(u8 *)shadow_addr); memory_is_poisoned_2() 102 if (unlikely(*shadow_addr)) { memory_is_poisoned_4() 109 return unlikely(*(u8 *)shadow_addr); memory_is_poisoned_4() 119 if (unlikely(*shadow_addr)) { memory_is_poisoned_8() 126 return unlikely(*(u8 *)shadow_addr); memory_is_poisoned_8() 136 if (unlikely(*shadow_addr)) { memory_is_poisoned_16() 140 if (unlikely(shadow_first_bytes)) memory_is_poisoned_16() 156 if (unlikely(*start)) bytes_is_zero() 178 if (unlikely(ret)) memory_is_zero() 185 if (unlikely(*(u64 *)start)) memory_is_zero() 202 if (unlikely(ret)) { memory_is_poisoned_n() 206 if (unlikely(ret != (unsigned long)last_shadow || memory_is_poisoned_n() 241 if (unlikely(size == 0)) check_memory_region() 244 if (unlikely((void *)addr < check_memory_region() 333 if (unlikely(cache->flags & SLAB_DESTROY_BY_RCU)) kasan_slab_free() 344 if (unlikely(object == NULL)) kasan_kmalloc() 364 if (unlikely(ptr == NULL)) kasan_kmalloc_large() 381 if (unlikely(object == ZERO_SIZE_PTR)) kasan_krealloc() 386 if (unlikely(!PageSlab(page))) kasan_krealloc() 398 if (unlikely(!PageSlab(page))) kasan_kfree()
|
/linux-4.1.27/lib/lzo/ |
H A D | lzo1x_compress.c | 44 if (unlikely(ip >= ip_end)) lzo1x_1_do_compress() 50 if (unlikely(dv != get_unaligned_le32(m_pos))) lzo1x_1_do_compress() 72 while (unlikely(tt > 255)) { lzo1x_1_do_compress() 97 if (unlikely(v == 0)) { lzo1x_1_do_compress() 102 if (unlikely(ip + m_len >= ip_end)) lzo1x_1_do_compress() 117 if (unlikely(v == 0)) { lzo1x_1_do_compress() 127 if (unlikely(ip + m_len >= ip_end)) lzo1x_1_do_compress() 139 if (unlikely(ip[m_len] == m_pos[m_len])) { lzo1x_1_do_compress() 163 if (unlikely(ip + m_len >= ip_end)) lzo1x_1_do_compress() 185 while (unlikely(m_len > 255)) { lzo1x_1_do_compress() 201 while (unlikely(m_len > 255)) { lzo1x_1_do_compress()
|
H A D | lzo1x_decompress_safe.c | 52 if (unlikely(in_len < 3)) lzo1x_decompress_safe() 67 if (unlikely(t == 0)) { lzo1x_decompress_safe() 71 while (unlikely(*ip == 0)) { lzo1x_decompress_safe() 76 if (unlikely(offset > MAX_255_COUNT)) lzo1x_decompress_safe() 135 if (unlikely(t == 2)) { lzo1x_decompress_safe() 139 while (unlikely(*ip == 0)) { lzo1x_decompress_safe() 144 if (unlikely(offset > MAX_255_COUNT)) lzo1x_decompress_safe() 160 if (unlikely(t == 2)) { lzo1x_decompress_safe() 164 while (unlikely(*ip == 0)) { lzo1x_decompress_safe() 169 if (unlikely(offset > MAX_255_COUNT)) lzo1x_decompress_safe()
|
/linux-4.1.27/net/caif/ |
H A D | cfpkt_skbuff.c | 89 if (unlikely(skb == NULL)) cfpkt_create_pfx() 128 if (unlikely(is_erronous(pkt))) cfpkt_extr_head() 131 if (unlikely(len > skb->len)) { cfpkt_extr_head() 136 if (unlikely(len > skb_headlen(skb))) { cfpkt_extr_head() 137 if (unlikely(skb_linearize(skb) != 0)) { cfpkt_extr_head() 155 if (unlikely(is_erronous(pkt))) cfpkt_extr_trail() 158 if (unlikely(skb_linearize(skb) != 0)) { cfpkt_extr_trail() 162 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { cfpkt_extr_trail() 185 if (unlikely(is_erronous(pkt))) cfpkt_add_body() 191 if (unlikely(skb_tailroom(skb) < len)) { cfpkt_add_body() 199 if (unlikely((addlen > 0) || skb_cloned(skb) || skb_shared(skb))) { cfpkt_add_body() 202 if (unlikely(skb_cow_data(skb, addlen, &lastskb) < 0)) { cfpkt_add_body() 227 if (unlikely(is_erronous(pkt))) cfpkt_add_head() 229 if (unlikely(skb_headroom(skb) < len)) { cfpkt_add_head() 236 if (unlikely(ret < 0)) { cfpkt_add_head() 266 if (unlikely(is_erronous(pkt))) cfpkt_iterate() 268 if (unlikely(skb_linearize(&pkt->skb) != 0)) { cfpkt_iterate() 280 if (unlikely(is_erronous(pkt))) cfpkt_setlen() 284 if (unlikely(skb->data_len)) cfpkt_setlen() 293 if (unlikely(!cfpkt_pad_trail(pkt, len - skb->len))) cfpkt_setlen() 310 if (unlikely(is_erronous(dstpkt) || is_erronous(addpkt))) { cfpkt_append() 348 if (unlikely(is_erronous(pkt))) cfpkt_split()
|
/linux-4.1.27/include/linux/sched/ |
H A D | deadline.h | 14 if (unlikely(prio < MAX_DL_PRIO)) dl_prio()
|
H A D | rt.h | 8 if (unlikely(prio < MAX_RT_PRIO)) rt_prio()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | bug.h | 72 if (unlikely(__ret_warn_on)) \ 75 unlikely(__ret_warn_on); \ 97 if (unlikely(__ret_unwinder_on)) \ 100 unlikely(__ret_unwinder_on); \
|
H A D | mutex-llsc.h | 35 if (unlikely(!__done || __res != 0)) __mutex_fastpath_lock() 53 if (unlikely(!__done || __res != 0)) __mutex_fastpath_lock_retval() 73 if (unlikely(!__done || __res <= 0)) __mutex_fastpath_unlock()
|
H A D | atomic.h | 55 if (unlikely(c == (u))) __atomic_add_unless()
|
/linux-4.1.27/tools/virtio/linux/ |
H A D | err.h | 5 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
|
H A D | kernel.h | 86 # ifndef unlikely 87 # define unlikely(x) (__builtin_expect(!!(x), 0)) macro
|
/linux-4.1.27/arch/mips/lantiq/ |
H A D | clk.c | 69 if (unlikely(!clk_good(clk))) clk_get_rate() 84 if (unlikely(!clk_good(clk))) clk_set_rate() 104 if (unlikely(!clk_good(clk))) clk_round_rate() 121 if (unlikely(!clk_good(clk))) clk_enable() 133 if (unlikely(!clk_good(clk))) clk_disable() 143 if (unlikely(!clk_good(clk))) clk_activate() 155 if (unlikely(!clk_good(clk))) clk_deactivate()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-mc13xxx.c | 107 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 113 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 122 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 126 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 130 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 137 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 143 if (unlikely(ret)) mc13xxx_rtc_set_mmss() 168 if (unlikely(ret)) mc13xxx_rtc_read_alarm() 176 if (unlikely(ret)) mc13xxx_rtc_read_alarm() 210 if (unlikely(ret)) mc13xxx_rtc_set_alarm() 214 if (unlikely(ret)) mc13xxx_rtc_set_alarm() 224 if (unlikely(ret)) mc13xxx_rtc_set_alarm() 230 if (unlikely(ret)) mc13xxx_rtc_set_alarm()
|
/linux-4.1.27/arch/tile/kernel/vdso/ |
H A D | vgettimeofday.c | 28 while (unlikely(high != high2)) { get_cycles_inline() 75 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); do_realtime() 94 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); do_monotonic() 111 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); do_realtime_coarse() 125 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); do_monotonic_coarse() 138 if (unlikely(tz != NULL)) { __vdso_gettimeofday() 143 } while (unlikely(read_seqcount_retry(&vdso->tz_seq, count))); __vdso_gettimeofday() 146 if (unlikely(tv == NULL)) __vdso_gettimeofday()
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
H A D | clock.c | 28 if (unlikely(ret)) { clk_init() 35 if (unlikely(ret)) { clk_init()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | acenv.h | 30 } while (unlikely (val != old)); ia64_acpi_acquire_global_lock() 42 } while (unlikely (val != old)); ia64_acpi_release_global_lock()
|
H A D | mutex.h | 24 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) __mutex_fastpath_lock() 39 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) __mutex_fastpath_lock_retval() 61 if (unlikely(ret < 0)) __mutex_fastpath_unlock()
|
H A D | delay.h | 67 while (unlikely((__s32) result == -1)) { ia64_get_itc() 80 if (unlikely(loops < 1)) __delay()
|
H A D | futex.h | 41 if (unlikely (r8)) \ 43 } while (unlikely (val != oldval)); \
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 110 if (unlikely(ret != 0)) { vmw_gb_shader_init() 144 if (unlikely(ret != 0)) { vmw_gb_shader_create() 149 if (unlikely(res->id >= VMWGFX_NUM_GB_SHADER)) { vmw_gb_shader_create() 155 if (unlikely(cmd == NULL)) { vmw_gb_shader_create() 191 if (unlikely(cmd == NULL)) { vmw_gb_shader_bind() 222 if (unlikely(cmd == NULL)) { vmw_gb_shader_unbind() 265 if (unlikely(cmd == NULL)) { vmw_gb_shader_destroy() 355 if (unlikely(vmw_user_shader_size == 0)) vmw_user_shader_alloc() 362 if (unlikely(ret != 0)) { vmw_user_shader_alloc() 370 if (unlikely(ushader == NULL)) { vmw_user_shader_alloc() 388 if (unlikely(ret != 0)) vmw_user_shader_alloc() 396 if (unlikely(ret != 0)) { vmw_user_shader_alloc() 424 if (unlikely(vmw_shader_size == 0)) vmw_shader_alloc() 431 if (unlikely(ret != 0)) { vmw_shader_alloc() 439 if (unlikely(shader == NULL)) { vmw_shader_alloc() 474 if (unlikely(ret != 0)) { vmw_shader_define_ioctl() 505 if (unlikely(ret != 0)) vmw_shader_define_ioctl() 599 if (unlikely(buf == NULL)) vmw_compat_shader_add() 604 if (unlikely(ret != 0)) vmw_compat_shader_add() 608 if (unlikely(ret != 0)) vmw_compat_shader_add() 614 if (unlikely(ret != 0)) { vmw_compat_shader_add() 628 if (unlikely(ret != 0)) vmw_compat_shader_add()
|
H A D | vmwgfx_surface.c | 324 if (unlikely(cmd == NULL)) { vmw_hw_surface_destroy() 372 if (unlikely(dev_priv->used_memory_size + res->backup_size >= vmw_legacy_srf_create() 381 if (unlikely(ret != 0)) { vmw_legacy_srf_create() 386 if (unlikely(res->id >= SVGA3D_MAX_SURFACE_IDS)) { vmw_legacy_srf_create() 397 if (unlikely(cmd == NULL)) { vmw_legacy_srf_create() 450 if (unlikely(cmd == NULL)) { vmw_legacy_srf_dma() 512 if (unlikely(readback)) vmw_legacy_srf_unbind() 538 if (unlikely(cmd == NULL)) { vmw_legacy_srf_destroy() 585 if (unlikely(ret != 0)) { vmw_surface_init() 709 if (unlikely(vmw_user_surface_size == 0)) vmw_surface_define_ioctl() 727 if (unlikely(desc->block_desc == SVGA3DBLOCKDESC_NONE)) { vmw_surface_define_ioctl() 733 if (unlikely(ret != 0)) vmw_surface_define_ioctl() 738 if (unlikely(ret != 0)) { vmw_surface_define_ioctl() 746 if (unlikely(user_srf == NULL)) { vmw_surface_define_ioctl() 763 if (unlikely(srf->sizes == NULL)) { vmw_surface_define_ioctl() 769 if (unlikely(srf->sizes == NULL)) { vmw_surface_define_ioctl() 779 if (unlikely(ret != 0)) { vmw_surface_define_ioctl() 838 if (unlikely(ret != 0)) vmw_surface_define_ioctl() 854 if (unlikely(ret != 0)) { vmw_surface_define_ioctl() 865 if (unlikely(ret != 0)) { vmw_surface_define_ioctl() 905 if (unlikely(ret != 0)) vmw_surface_handle_reference() 908 if (unlikely(drm_is_render_client(file_priv))) { vmw_surface_handle_reference() 918 if (unlikely(base == NULL)) { vmw_surface_handle_reference() 923 if (unlikely(ttm_base_object_type(base) != VMW_RES_SURFACE)) { vmw_surface_handle_reference() 945 if (unlikely(ret != 0)) { vmw_surface_handle_reference() 988 if (unlikely(ret != 0)) vmw_surface_reference_ioctl() 1003 if (unlikely(ret != 0)) { vmw_surface_reference_ioctl() 1037 if (unlikely(ret != 0)) { vmw_gb_surface_create() 1042 if (unlikely(res->id >= VMWGFX_NUM_GB_SURFACE)) { vmw_gb_surface_create() 1050 if (unlikely(cmd == NULL)) { vmw_gb_surface_create() 1100 if (unlikely(cmd1 == NULL)) { vmw_gb_surface_bind() 1150 if (unlikely(cmd == NULL)) { vmw_gb_surface_unbind() 1207 if (unlikely(cmd == NULL)) { vmw_gb_surface_destroy() 1251 if (unlikely(vmw_user_surface_size == 0)) vmw_gb_surface_define_ioctl() 1258 if (unlikely(desc->block_desc == SVGA3DBLOCKDESC_NONE)) { vmw_gb_surface_define_ioctl() 1264 if (unlikely(ret != 0)) vmw_gb_surface_define_ioctl() 1269 if (unlikely(ret != 0)) { vmw_gb_surface_define_ioctl() 1277 if (unlikely(user_srf == NULL)) { vmw_gb_surface_define_ioctl() 1311 if (unlikely(ret != 0)) vmw_gb_surface_define_ioctl() 1328 if (unlikely(ret != 0)) { vmw_gb_surface_define_ioctl() 1340 if (unlikely(ret != 0)) { vmw_gb_surface_define_ioctl() 1395 if (unlikely(ret != 0)) vmw_gb_surface_reference_ioctl() 1410 if (unlikely(ret != 0)) { vmw_gb_surface_reference_ioctl()
|
H A D | vmwgfx_execbuf.c | 116 if (unlikely(val->staged_bindings)) { list_for_each_entry() 152 if (unlikely(p_node != NULL)) vmw_resource_val_add() 158 if (unlikely(node == NULL)) { vmw_resource_val_add() 166 if (unlikely(ret != 0)) { vmw_resource_val_add() 176 if (unlikely(p_node != NULL)) vmw_resource_val_add() 207 if (unlikely(res == NULL)) list_for_each_entry() 212 if (unlikely(ret != 0)) list_for_each_entry() 235 if (unlikely(rel == NULL)) { vmw_resource_relocation_add() 325 if (unlikely(vval_buf->validate_as_mob != validate_as_mob)) { vmw_bo_to_validate_list() 333 if (unlikely(val_node >= VMWGFX_MAX_VALIDATIONS)) { vmw_bo_to_validate_list() 341 if (unlikely(ret != 0)) { vmw_bo_to_validate_list() 379 if (unlikely(ret != 0)) vmw_resources_reserve() 389 if (unlikely(ret != 0)) vmw_resources_reserve() 414 if (unlikely(ret != 0)) { vmw_resources_validate() 450 if (unlikely(ret != 0)) vmw_cmd_res_reloc_add() 454 if (unlikely(ret != 0)) vmw_cmd_res_reloc_add() 468 if (unlikely(ret != 0)) vmw_cmd_res_reloc_add() 546 if (unlikely(ret != 0)) { vmw_cmd_res_check() 559 if (unlikely(ret != 0)) vmw_cmd_res_check() 589 if (unlikely(!val->staged_bindings)) vmw_rebind_contexts() 593 if (unlikely(ret != 0)) { vmw_rebind_contexts() 644 if (unlikely(ret != 0)) vmw_cmd_set_render_target_check() 650 if (unlikely(ret != 0)) vmw_cmd_set_render_target_check() 680 if (unlikely(ret != 0)) vmw_cmd_surface_copy_check() 701 if (unlikely(ret != 0)) vmw_cmd_stretch_blt_check() 765 if (unlikely(new_query_bo != sw_context->cur_query_bo)) { vmw_query_bo_switch_prepare() 767 if (unlikely(new_query_bo->num_pages > 4)) { vmw_query_bo_switch_prepare() 772 if (unlikely(sw_context->cur_query_bo != NULL)) { vmw_query_bo_switch_prepare() 777 if (unlikely(ret != 0)) vmw_query_bo_switch_prepare() 785 if (unlikely(ret != 0)) vmw_query_bo_switch_prepare() 830 if (unlikely(ret != 0)) vmw_query_bo_switch_commit() 892 if (unlikely(ret != 0)) { vmw_translate_mob_ptr() 899 if (unlikely(sw_context->cur_reloc >= VMWGFX_MAX_RELOCATIONS)) { vmw_translate_mob_ptr() 911 if (unlikely(ret != 0)) vmw_translate_mob_ptr() 955 if (unlikely(ret != 0)) { vmw_translate_guest_ptr() 962 if (unlikely(sw_context->cur_reloc >= VMWGFX_MAX_RELOCATIONS)) { vmw_translate_guest_ptr() 973 if (unlikely(ret != 0)) vmw_translate_guest_ptr() 1028 if (unlikely(dev_priv->has_mob)) { vmw_cmd_begin_query() 1070 if (unlikely(ret != 0)) vmw_cmd_end_gb_query() 1076 if (unlikely(ret != 0)) vmw_cmd_end_gb_query() 1124 if (unlikely(ret != 0)) vmw_cmd_end_query() 1130 if (unlikely(ret != 0)) vmw_cmd_end_query() 1159 if (unlikely(ret != 0)) vmw_cmd_wait_gb_query() 1165 if (unlikely(ret != 0)) vmw_cmd_wait_gb_query() 1211 if (unlikely(ret != 0)) vmw_cmd_wait_query() 1217 if (unlikely(ret != 0)) vmw_cmd_wait_query() 1243 if (unlikely(suffix->suffixSize != sizeof(*suffix))) { vmw_cmd_dma() 1251 if (unlikely(ret != 0)) vmw_cmd_dma() 1256 if (unlikely(cmd->dma.guest.ptr.offset > bo_size)) { vmw_cmd_dma() 1262 if (unlikely(suffix->maximumOffset > bo_size)) vmw_cmd_dma() 1268 if (unlikely(ret != 0)) { vmw_cmd_dma() 1269 if (unlikely(ret != -ERESTARTSYS)) vmw_cmd_dma() 1300 if (unlikely(ret != 0)) vmw_cmd_draw() 1306 if (unlikely(cmd->body.numVertexDecls > maxnum)) { vmw_cmd_draw() 1315 if (unlikely(ret != 0)) vmw_cmd_draw() 1321 if (unlikely(cmd->body.numRanges > maxnum)) { vmw_cmd_draw() 1331 if (unlikely(ret != 0)) vmw_cmd_draw() 1361 if (unlikely(ret != 0)) vmw_cmd_tex_state() 1371 if (unlikely(ret != 0)) vmw_cmd_tex_state() 1404 if (unlikely(ret != 0)) vmw_cmd_check_define_gmrfb() 1442 if (unlikely(ret != 0)) vmw_cmd_switch_backup() 1446 if (unlikely(ret != 0)) vmw_cmd_switch_backup() 1655 if (unlikely(ret != 0)) vmw_cmd_shader_define() 1658 if (unlikely(!dev_priv->has_mob)) vmw_cmd_shader_define() 1667 if (unlikely(ret != 0)) vmw_cmd_shader_define() 1702 if (unlikely(ret != 0)) vmw_cmd_shader_destroy() 1705 if (unlikely(!dev_priv->has_mob)) vmw_cmd_shader_destroy() 1712 if (unlikely(ret != 0)) vmw_cmd_shader_destroy() 1749 if (unlikely(ret != 0)) vmw_cmd_set_shader() 1767 if (unlikely(ret != 0)) vmw_cmd_set_shader() 1777 if (unlikely(ret != 0)) vmw_cmd_set_shader() 1812 if (unlikely(ret != 0)) vmw_cmd_set_shader_const() 1879 if (unlikely(!sw_context->kernel)) { vmw_cmd_check_not_3d() 2072 if (unlikely(cmd_id < SVGA_CMD_MAX)) vmw_cmd_check() 2080 if (unlikely(*size > size_remaining)) vmw_cmd_check() 2083 if (unlikely(cmd_id >= SVGA_3D_CMD_MAX - SVGA_3D_CMD_BASE)) vmw_cmd_check() 2087 if (unlikely(!entry->func)) vmw_cmd_check() 2090 if (unlikely(!entry->user_allow && !sw_context->kernel)) vmw_cmd_check() 2093 if (unlikely(entry->gb_disable && gb)) vmw_cmd_check() 2096 if (unlikely(entry->gb_enable && !gb)) vmw_cmd_check() 2100 if (unlikely(ret != 0)) vmw_cmd_check() 2135 if (unlikely(ret != 0)) vmw_cmd_check_all() 2141 if (unlikely(cur_size != 0)) { vmw_cmd_check_all() 2200 if (unlikely(val->staged_bindings)) list_for_each_entry_safe() 2276 if (unlikely(ret != 0)) vmw_validate_buffers() 2335 if (unlikely(ret != 0)) { vmw_execbuf_fence_commands() 2346 if (unlikely(ret != 0 && !synced)) { vmw_execbuf_fence_commands() 2413 if (unlikely(ret != 0) && (fence_rep.error == 0)) { vmw_execbuf_copy_fence_user() 2443 if (unlikely(ret != 0)) vmw_execbuf_process() 2450 if (unlikely(ret != 0)) vmw_execbuf_process() 2457 if (unlikely(ret != 0)) { vmw_execbuf_process() 2478 if (unlikely(ret != 0)) vmw_execbuf_process() 2487 if (unlikely(ret != 0)) vmw_execbuf_process() 2491 if (unlikely(ret != 0)) vmw_execbuf_process() 2496 if (unlikely(ret != 0)) vmw_execbuf_process() 2500 if (unlikely(ret != 0)) vmw_execbuf_process() 2504 if (unlikely(ret != 0)) vmw_execbuf_process() 2511 if (unlikely(ret != 0)) vmw_execbuf_process() 2516 if (unlikely(ret != 0)) { vmw_execbuf_process() 2523 if (unlikely(ret != 0)) vmw_execbuf_process() 2528 if (unlikely(cmd == NULL)) { vmw_execbuf_process() 2561 if (unlikely(dev_priv->pinned_bo != NULL && vmw_execbuf_process() 2570 if (unlikely(out_fence != NULL)) { vmw_execbuf_process() 2598 if (unlikely(dev_priv->pinned_bo != NULL && vmw_execbuf_process() 2613 if (unlikely(error_resource != NULL)) vmw_execbuf_process() 2687 if (unlikely(ret != 0)) { __vmw_execbuf_release_pinned_bo() 2695 if (unlikely(ret != 0)) { __vmw_execbuf_release_pinned_bo() 2771 if (unlikely(arg->version != DRM_VMW_EXECBUF_VERSION)) { vmw_execbuf_ioctl() 2779 if (unlikely(ret != 0)) vmw_execbuf_ioctl() 2788 if (unlikely(ret != 0)) vmw_execbuf_ioctl()
|
H A D | vmwgfx_context.c | 132 if (unlikely(cmd == NULL)) { vmw_hw_context_destroy() 157 if (unlikely(ret != 0)) vmw_gb_context_init() 162 if (unlikely(IS_ERR(uctx->man))) { vmw_gb_context_init() 200 if (unlikely(ret != 0)) { vmw_context_init() 205 if (unlikely(res->id >= SVGA3D_MAX_CONTEXT_IDS)) { vmw_context_init() 212 if (unlikely(cmd == NULL)) { vmw_context_init() 240 if (unlikely(res == NULL)) vmw_context_alloc() 262 if (unlikely(ret != 0)) { vmw_gb_context_create() 267 if (unlikely(res->id >= VMWGFX_NUM_GB_CONTEXT)) { vmw_gb_context_create() 273 if (unlikely(cmd == NULL)) { vmw_gb_context_create() 307 if (unlikely(cmd == NULL)) { vmw_gb_context_bind() 354 if (unlikely(cmd == NULL)) { vmw_gb_context_unbind() 404 if (unlikely(cmd == NULL)) { vmw_gb_context_destroy() 485 if (unlikely(vmw_user_context_size == 0)) vmw_context_define_ioctl() 490 if (unlikely(ret != 0)) vmw_context_define_ioctl() 496 if (unlikely(ret != 0)) { vmw_context_define_ioctl() 504 if (unlikely(ctx == NULL)) { vmw_context_define_ioctl() 520 if (unlikely(ret != 0)) vmw_context_define_ioctl() 527 if (unlikely(ret != 0)) { vmw_context_define_ioctl() 556 if (unlikely(cmd == NULL)) { vmw_context_scrub_shader() 589 if (unlikely(cmd == NULL)) { vmw_context_scrub_render_target() 629 if (unlikely(cmd == NULL)) { vmw_context_scrub_texture() 681 if (unlikely((unsigned)bi->i1.rt_type >= SVGA3D_RT_MAX)) { vmw_context_binding_add() 689 if (unlikely((unsigned)bi->i1.texture_stage >= vmw_context_binding_add() 698 if (unlikely((unsigned)bi->i1.shader_type >= vmw_context_binding_add() 896 if (unlikely(ret != 0)) vmw_context_rebind_all()
|
H A D | vmwgfx_resource.c | 276 if (unlikely(res == NULL)) vmw_resource_lookup() 308 if (unlikely(base == NULL)) vmw_user_resource_lookup_handle() 311 if (unlikely(ttm_base_object_type(base) != converter->object_type)) vmw_user_resource_lookup_handle() 381 if (unlikely(struct_size == 0)) { vmw_dmabuf_acc_size() 445 if (unlikely(base == NULL)) vmw_user_dmabuf_release() 494 if (unlikely(user_bo == NULL)) { vmw_user_dmabuf_alloc() 504 if (unlikely(ret != 0)) vmw_user_dmabuf_alloc() 515 if (unlikely(ret != 0)) { vmw_user_dmabuf_alloc() 543 if (unlikely(bo->destroy != vmw_user_dmabuf_destroy)) vmw_user_dmabuf_verify_access() 592 if (unlikely(ret != 0)) vmw_user_dmabuf_synccpu_grab() 656 if (unlikely(ret != 0)) vmw_user_dmabuf_synccpu_ioctl() 664 if (unlikely(ret != 0 && ret != -ERESTARTSYS && vmw_user_dmabuf_synccpu_ioctl() 674 if (unlikely(ret != 0)) { vmw_user_dmabuf_synccpu_ioctl() 701 if (unlikely(ret != 0)) vmw_dmabuf_alloc_ioctl() 707 if (unlikely(ret != 0)) vmw_dmabuf_alloc_ioctl() 742 if (unlikely(base == NULL)) { vmw_user_dmabuf_lookup() 748 if (unlikely(ttm_base_object_type(base) != ttm_buffer_type)) { vmw_user_dmabuf_lookup() 810 if (unlikely(ret != 0)) { vmw_stream_init() 870 if (unlikely(res == NULL)) vmw_stream_unref_ioctl() 906 if (unlikely(vmw_user_stream_size == 0)) vmw_stream_claim_ioctl() 910 if (unlikely(ret != 0)) vmw_stream_claim_ioctl() 916 if (unlikely(ret != 0)) { vmw_stream_claim_ioctl() 925 if (unlikely(stream == NULL)) { vmw_stream_claim_ioctl() 941 if (unlikely(ret != 0)) vmw_stream_claim_ioctl() 948 if (unlikely(ret != 0)) { vmw_stream_claim_ioctl() 971 if (unlikely(res == NULL)) vmw_user_stream_lookup() 1017 if (unlikely(ret != 0)) vmw_dumb_create() 1023 if (unlikely(ret != 0)) vmw_dumb_create() 1097 if (unlikely(backup == NULL)) vmw_resource_buf_alloc() 1104 if (unlikely(ret != 0)) vmw_resource_buf_alloc() 1130 if (unlikely(res->id == -1)) { vmw_resource_do_validate() 1132 if (unlikely(ret != 0)) vmw_resource_do_validate() 1141 if (unlikely(ret != 0)) vmw_resource_do_validate() 1228 if (unlikely(res->backup == NULL)) { vmw_resource_check_buffer() 1230 if (unlikely(ret != 0)) vmw_resource_check_buffer() 1239 if (unlikely(ret != 0)) vmw_resource_check_buffer() 1250 if (unlikely(ret != 0)) vmw_resource_check_buffer() 1287 if (unlikely(ret != 0)) vmw_resource_reserve() 1332 if (unlikely(ret != 0)) vmw_resource_do_evict() 1335 if (unlikely(func->unbind != NULL && vmw_resource_do_evict() 1338 if (unlikely(ret != 0)) vmw_resource_do_evict() 1401 if (unlikely(ret != 0)) { vmw_resource_validate() 1415 if (unlikely(ret != 0)) vmw_resource_validate() 1498 if (unlikely(res->func->unbind == NULL)) vmw_resource_move_notify() 1551 if (unlikely(ret != 0)) { vmw_resource_evict_type()
|
H A D | vmwgfx_drv.c | 317 if (unlikely(ret != 0)) vmw_dummy_query_bo_create() 334 if (unlikely(ret != 0)) { vmw_dummy_query_bo_create() 348 if (unlikely(ret != 0)) { vmw_request_device() 355 if (unlikely(ret != 0)) { vmw_request_device() 362 if (unlikely(ret != 0)) vmw_request_device() 405 if (unlikely(dev_priv->num_3d_resources++ == 0)) { vmw_3d_resource_inc() 407 if (unlikely(ret != 0)) vmw_3d_resource_inc() 433 if (unlikely(--dev_priv->num_3d_resources == 0)) vmw_3d_resource_dec() 589 if (unlikely(dev_priv == NULL)) { vmw_driver_load() 637 if (unlikely(ret != 0)) { vmw_driver_load() 681 if (unlikely(ret != 0)) vmw_driver_load() 709 if (unlikely(ret != 0)) vmw_driver_load() 724 if (unlikely(ret != 0)) { vmw_driver_load() 735 if (unlikely(dev_priv->mmio_virt == NULL)) { vmw_driver_load() 753 if (unlikely(dev_priv->tdev == NULL)) { vmw_driver_load() 771 if (unlikely(ret != 0)) { vmw_driver_load() 786 if (unlikely(dev_priv->fman == NULL)) { vmw_driver_load() 794 if (unlikely(ret != 0)) { vmw_driver_load() 822 if (unlikely(ret != 0)) vmw_driver_load() 828 if (unlikely(ret != 0)) vmw_driver_load() 957 if (unlikely(vmw_fp == NULL)) vmw_driver_open() 962 if (unlikely(vmw_fp->tfile == NULL)) vmw_driver_open() 987 if (unlikely(ret != 0)) vmw_master_check() 1021 if (unlikely(ret != 0)) vmw_master_check() 1048 if (unlikely(ioctl->cmd != cmd)) { vmw_generic_ioctl() 1058 if (unlikely(IS_ERR(vmaster))) { vmw_generic_ioctl() 1122 if (unlikely(vmaster == NULL)) vmw_master_create() 1154 if (unlikely(ret != 0)) vmw_master_set() 1163 if (unlikely(ret != 0)) vmw_master_set() 1168 if (unlikely(ret != 0)) { vmw_master_set() 1212 if (unlikely((ret != 0))) { vmw_master_drop() 1222 if (unlikely(ret != 0)) vmw_master_drop()
|
H A D | vmwgfx_scrn.c | 123 if (unlikely(cmd == NULL)) { vmw_sou_fifo_create() 172 if (unlikely(!sou->defined)) vmw_sou_fifo_destroy() 178 if (unlikely(cmd == NULL)) { vmw_sou_fifo_destroy() 191 if (unlikely(ret != 0)) vmw_sou_fifo_destroy() 207 if (unlikely(sou->buffer == NULL)) vmw_sou_backing_free() 232 if (unlikely(sou->buffer == NULL)) vmw_sou_backing_alloc() 244 if (unlikely(ret != 0)) vmw_sou_backing_alloc() 306 if (unlikely(ret != 0)) vmw_sou_crtc_set_config() 344 if (unlikely(ret != 0)) vmw_sou_crtc_set_config() 354 if (unlikely(ret != 0)) vmw_sou_crtc_set_config() 359 if (unlikely(ret != 0)) { vmw_sou_crtc_set_config() 502 if (unlikely(!dev_priv->sou_priv)) vmw_kms_init_screen_object_display() 509 if (unlikely(ret != 0)) vmw_kms_init_screen_object_display() 513 if (unlikely(ret != 0)) vmw_kms_init_screen_object_display()
|
H A D | vmwgfx_mob.c | 114 if (unlikely(mob == NULL)) { vmw_setup_otable_base() 127 if (unlikely(ret != 0)) vmw_setup_otable_base() 135 if (unlikely(cmd == NULL)) { vmw_setup_otable_base() 191 if (unlikely(cmd == NULL)) { vmw_takedown_otable_base() 241 if (unlikely(otables == NULL)) { vmw_otables_setup() 272 if (unlikely(ret != 0)) vmw_otables_setup() 278 if (unlikely(ret != 0)) vmw_otables_setup() 281 if (unlikely(ret != 0)) vmw_otables_setup() 290 if (unlikely(ret != 0)) vmw_otables_setup() 369 if (unlikely(mob == NULL)) vmw_mob_create() 398 if (unlikely(ret != 0)) vmw_mob_pt_populate() 405 if (unlikely(ret != 0)) vmw_mob_pt_populate() 408 if (unlikely(ret != 0)) vmw_mob_pt_populate() 474 if (unlikely(--num_data_pages == 0)) vmw_mob_build_pt() 564 if (unlikely(cmd == NULL)) { vmw_mob_unbind() 611 if (unlikely(!vmw_piter_next(&data_iter))) vmw_mob_bind() 620 } else if (unlikely(mob->pt_bo == NULL)) { vmw_mob_bind() 622 if (unlikely(ret != 0)) vmw_mob_bind() 633 if (unlikely(cmd == NULL)) { vmw_mob_bind()
|
H A D | vmwgfx_ttm_glue.c | 36 if (unlikely(vma->vm_pgoff < VMWGFX_FILE_PAGE_OFFSET)) { vmw_mmap() 69 if (unlikely(ret != 0)) { vmw_ttm_global_init() 83 if (unlikely(ret != 0)) { vmw_ttm_global_init()
|
H A D | vmwgfx_gmr.c | 55 if (unlikely(cmd == NULL)) vmw_gmr2_bind() 114 if (unlikely(cmd == NULL)) { vmw_gmr2_unbind() 137 if (unlikely(!vmw_piter_next(&data_iter))) vmw_gmr_bind() 140 if (unlikely(!(dev_priv->capabilities & SVGA_CAP_GMR2))) vmw_gmr_bind()
|
H A D | vmwgfx_gmrid_manager.c | 63 if (unlikely(gman->used_gmr_pages > gman->max_gmr_pages)) vmw_gmrid_man_get_node() 69 if (unlikely(ida_pre_get(&gman->gmr_ida, GFP_KERNEL) == 0)) { vmw_gmrid_man_get_node() 76 if (unlikely(ret == 0 && id >= gman->max_gmr_ids)) { vmw_gmrid_man_get_node() 124 if (unlikely(gman == NULL)) vmw_gmrid_man_init()
|
H A D | vmwgfx_ioctl.c | 164 if (unlikely(arg->pad64 != 0)) { vmw_get_cap_3d_ioctl() 181 if (unlikely(bounce == NULL)) { vmw_get_cap_3d_ioctl() 202 if (unlikely(ret != 0)) vmw_get_cap_3d_ioctl() 215 if (unlikely(ret != 0)) vmw_get_cap_3d_ioctl() 240 if (unlikely(num_clips == 0)) vmw_present_ioctl() 274 if (unlikely(ret != 0)) vmw_present_ioctl() 323 if (unlikely(num_clips == 0)) vmw_present_readback_ioctl() 363 if (unlikely(ret != 0)) vmw_present_readback_ioctl()
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | cio_debug.h | 25 if (unlikely(!cio_debug_trace_id)) CIO_HEX_EVENT()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | rwsem.h | 28 if (unlikely(atomic64_inc_return((atomic64_t *)(&sem->count)) <= 0L)) __down_read() 54 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) __down_write_nested() 80 if (unlikely(tmp < -1L && (tmp & RWSEM_ACTIVE_MASK) == 0L)) __up_read() 89 if (unlikely(atomic64_sub_return(RWSEM_ACTIVE_WRITE_BIAS, __up_write()
|
H A D | atomic_64.h | 80 if (unlikely(c == (u))) __atomic_add_unless() 99 if (unlikely(c == (u))) atomic64_add_unless()
|
H A D | futex_64.h | 40 if (unlikely(!access_ok(VERIFY_WRITE, uaddr, sizeof(u32)))) futex_atomic_op_inuser() 42 if (unlikely((((unsigned long) uaddr) & 0x3UL))) futex_atomic_op_inuser()
|
/linux-4.1.27/fs/hfsplus/ |
H A D | posix_acl.c | 37 if (unlikely(!value)) hfsplus_get_posix_acl() 90 if (unlikely(size > HFSPLUS_MAX_INLINE_DATA_SIZE)) hfsplus_set_posix_acl() 93 if (unlikely(!value)) hfsplus_set_posix_acl() 96 if (unlikely(err < 0)) hfsplus_set_posix_acl()
|
/linux-4.1.27/include/linux/ |
H A D | signalfd.h | 20 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) signalfd_notify()
|
H A D | mmdebug.h | 20 if (unlikely(cond)) { \ 27 if (unlikely(cond)) { \ 34 if (unlikely(cond)) { \
|
H A D | audit.h | 149 if (unlikely(task->audit_context)) audit_free() 156 if (unlikely(current->audit_context)) audit_syscall_entry() 161 if (unlikely(current->audit_context)) { audit_syscall_exit() 170 if (unlikely(!audit_dummy_context())) audit_reusename() 176 if (unlikely(!audit_dummy_context())) audit_getname() 182 if (unlikely(!audit_dummy_context())) { audit_inode() 191 if (unlikely(!audit_dummy_context())) audit_file() 197 if (unlikely(!audit_dummy_context())) audit_inode_parent_hidden() 204 if (unlikely(!audit_dummy_context())) audit_inode_child() 212 if (signr || unlikely(!audit_dummy_context())) audit_seccomp() 218 if (unlikely(!audit_dummy_context())) audit_ptrace() 256 if (unlikely(!audit_dummy_context())) audit_ipc_obj() 261 if (unlikely(!audit_dummy_context())) audit_fd_pair() 266 if (unlikely(!audit_dummy_context())) audit_ipc_set_perm() 271 if (unlikely(!audit_dummy_context())) audit_bprm() 276 if (unlikely(!audit_dummy_context())) audit_socketcall() 282 if (unlikely(!audit_dummy_context())) audit_sockaddr() 288 if (unlikely(!audit_dummy_context())) audit_mq_open() 293 if (unlikely(!audit_dummy_context())) audit_mq_sendrecv() 298 if (unlikely(!audit_dummy_context())) audit_mq_notify() 303 if (unlikely(!audit_dummy_context())) audit_mq_getsetattr() 311 if (unlikely(!audit_dummy_context())) audit_log_bprm_fcaps() 319 if (unlikely(!audit_dummy_context())) audit_log_capset() 325 if (unlikely(!audit_dummy_context())) audit_mmap_fd()
|
H A D | vmacache.h | 34 if (unlikely(mm->vmacache_seqnum == 0)) vmacache_invalidate()
|
H A D | dynamic_debug.h | 77 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 85 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 93 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 103 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \
|
H A D | latencytop.h | 34 if (unlikely(latencytop_enabled)) account_scheduler_latency()
|
H A D | ratelimit.h | 62 if (unlikely(rtn && __ratelimit(&_rs))) \
|
H A D | debug_locks.h | 28 if (!oops_in_progress && unlikely(c)) { \
|
H A D | bit_spinlock.h | 26 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { bit_spin_lock() 44 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { bit_spin_trylock()
|
/linux-4.1.27/arch/sh/boards/mach-se/7343/ |
H A D | irq.c | 55 if (unlikely(!se7343_irq_domain)) { se7343_domain_init() 63 if (unlikely(irq == 0)) { se7343_domain_init() 80 if (unlikely(!gc)) se7343_gc_init() 112 if (unlikely(!se7343_irq_regs)) { init_7343se_IRQ()
|
/linux-4.1.27/arch/sh/boards/mach-se/7722/ |
H A D | irq.c | 54 if (unlikely(!se7722_irq_domain)) { se7722_domain_init() 62 if (unlikely(irq == 0)) { se7722_domain_init() 79 if (unlikely(!gc)) se7722_gc_init() 105 if (unlikely(!se7722_irq_regs)) { init_se7722_IRQ()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | watch.h | 22 if (unlikely(test_bit(TIF_LOAD_WATCH, \
|
/linux-4.1.27/arch/parisc/lib/ |
H A D | iomap.c | 273 if (unlikely(INDIRECT_ADDR(addr))) ioread8() 280 if (unlikely(INDIRECT_ADDR(addr))) ioread16() 287 if (unlikely(INDIRECT_ADDR(addr))) ioread16be() 294 if (unlikely(INDIRECT_ADDR(addr))) ioread32() 301 if (unlikely(INDIRECT_ADDR(addr))) ioread32be() 308 if (unlikely(INDIRECT_ADDR(addr))) { iowrite8() 317 if (unlikely(INDIRECT_ADDR(addr))) { iowrite16() 326 if (unlikely(INDIRECT_ADDR(addr))) { iowrite16be() 335 if (unlikely(INDIRECT_ADDR(addr))) { iowrite32() 344 if (unlikely(INDIRECT_ADDR(addr))) { iowrite32be() 355 if (unlikely(INDIRECT_ADDR(addr))) { ioread8_rep() 367 if (unlikely(INDIRECT_ADDR(addr))) { ioread16_rep() 379 if (unlikely(INDIRECT_ADDR(addr))) { ioread32_rep() 391 if (unlikely(INDIRECT_ADDR(addr))) { iowrite8_rep() 403 if (unlikely(INDIRECT_ADDR(addr))) { iowrite16_rep() 415 if (unlikely(INDIRECT_ADDR(addr))) { iowrite32_rep()
|
/linux-4.1.27/arch/powerpc/lib/ |
H A D | checksum_wrappers_64.c | 40 if (unlikely((len < 0) || !access_ok(VERIFY_READ, src, len))) { csum_and_copy_from_user() 49 if (unlikely(*err_ptr)) { csum_and_copy_from_user() 81 if (unlikely((len < 0) || !access_ok(VERIFY_WRITE, dst, len))) { csum_and_copy_to_user() 90 if (unlikely(*err_ptr)) { csum_and_copy_to_user()
|
/linux-4.1.27/include/asm-generic/bitops/ |
H A D | sched.h | 4 #include <linux/compiler.h> /* unlikely() */
|
/linux-4.1.27/drivers/sh/intc/ |
H A D | userimask.c | 64 if (unlikely(!uimask)) userimask_sysdev_init() 73 if (unlikely(uimask)) register_intc_userimask() 77 if (unlikely(!uimask)) register_intc_userimask()
|
H A D | virq.c | 70 if (unlikely(tagged)) intc_irq_lookup() 177 if (unlikely(err < 0)) intc_subgroup_init_one() 217 if (unlikely(!entry)) intc_subgroup_map() 223 if (unlikely(irq < 0)) { intc_subgroup_map()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | tlbex_32.c | 39 if (unlikely(address >= TASK_SIZE || !current->mm)) handle_tlbmiss() 53 if (unlikely(pte_none(entry) || pte_not_present(entry))) handle_tlbmiss() 55 if (unlikely(error_code && !pte_write(entry))) handle_tlbmiss()
|
H A D | fault.c | 66 if (unlikely(!pgd)) show_pte() 369 if (unlikely(!(vma->vm_flags & VM_WRITE))) access_error() 375 if (unlikely((error_code & FAULT_CODE_ITLB) && access_error() 380 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) access_error() 420 if (unlikely(fault_in_kernel_space(address))) { do_page_fault() 430 if (unlikely(notify_page_fault(regs, vec))) do_page_fault() 443 if (unlikely(in_atomic() || !mm)) { do_page_fault() 452 if (unlikely(!vma)) { do_page_fault() 458 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) { do_page_fault() 462 if (unlikely(expand_stack(vma, address))) { do_page_fault() 472 if (unlikely(access_error(error_code, vma))) { do_page_fault() 491 if (unlikely(fault & (VM_FAULT_RETRY | VM_FAULT_ERROR))) do_page_fault()
|
H A D | sram.c | 30 if (unlikely(!sram_pool)) sram_pool_init()
|
/linux-4.1.27/arch/sh/boards/mach-sdk7786/ |
H A D | sram.c | 38 if (unlikely(area == LCLASR_AREA_MASK)) { fpga_sram_init() 54 if (unlikely(!vaddr)) { fpga_sram_init() 64 if (unlikely(ret < 0)) { fpga_sram_init()
|
/linux-4.1.27/tools/perf/util/ |
H A D | cpumap.h | 60 if (unlikely(!max_node_num)) cpu__max_node() 68 if (unlikely(!max_cpu_num)) cpu__max_cpu() 76 if (unlikely(cpunode_map == NULL)) { cpu__get_node()
|
/linux-4.1.27/drivers/mtd/tests/ |
H A D | subpagetest.c | 64 if (unlikely(err || written != subpgsize)) { write_eraseblock() 78 if (unlikely(err || written != subpgsize)) { write_eraseblock() 102 if (unlikely(err || written != subpgsize * k)) { write_eraseblock2() 139 if (unlikely(err || read != subpgsize)) { verify_eraseblock() 150 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { verify_eraseblock() 166 if (unlikely(err || read != subpgsize)) { verify_eraseblock() 177 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { verify_eraseblock() 203 if (unlikely(err || read != subpgsize * k)) { verify_eraseblock2() 214 if (unlikely(memcmp(readbuf, writebuf, subpgsize * k))) { verify_eraseblock2() 236 if (unlikely(err || read != subpgsize)) { verify_eraseblock_ff() 247 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { verify_eraseblock_ff() 348 if (unlikely(err)) mtd_subpagetest_init() 365 if (unlikely(err)) mtd_subpagetest_init() 391 if (unlikely(err)) mtd_subpagetest_init() 409 if (unlikely(err)) mtd_subpagetest_init()
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | rwsem.h | 44 if (unlikely(oldcount < 0)) __down_read() 86 if (unlikely(oldcount)) __down_write() 122 if (unlikely(oldcount < 0)) __up_read() 148 if (unlikely(count)) __up_write() 176 if (unlikely(oldcount < 0)) __downgrade_write()
|
/linux-4.1.27/sound/sh/ |
H A D | aica.c | 257 if (unlikely(err < 0)) { aica_dma_transfer() 282 if (unlikely(dreamcastcard->dma_check == 0)) { run_spu_dma() 299 if (unlikely(dreamcastcard->clicks >= AICA_PERIOD_NUMBER)) run_spu_dma() 328 if (unlikely(dreamcastcard->dma_check == 0)) aica_period_elapsed() 342 if (unlikely(dreamcastcard->timer.data)) { spu_begin_dma() 463 if (unlikely(err < 0)) snd_aicapcmchip() 515 if (unlikely(!dreamcastcard->channel)) aica_pcmvolume_get() 527 if (unlikely(!dreamcastcard->channel)) aica_pcmvolume_put() 532 if (unlikely(dreamcastcard->channel->vol == vol)) aica_pcmvolume_put() 565 if (unlikely(err)) load_aica_firmware() 581 if (unlikely(err < 0)) add_aicamixer_controls() 586 if (unlikely(err < 0)) add_aicamixer_controls() 595 if (unlikely(!dreamcastcard)) snd_aica_remove() 607 if (unlikely(!dreamcastcard)) snd_aica_probe() 611 if (unlikely(err < 0)) { snd_aica_probe() 623 if (unlikely(err < 0)) snd_aica_probe() 629 if (unlikely(err < 0)) snd_aica_probe() 633 if (unlikely(err < 0)) snd_aica_probe() 637 if (unlikely(!aica_queue)) snd_aica_probe() 660 if (unlikely(err < 0)) aica_init()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | isph3a_aewb.c | 120 if (unlikely(user_cfg->saturation_limit > h3a_aewb_validate_params() 124 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || h3a_aewb_validate_params() 129 if (unlikely(user_cfg->win_width < OMAP3ISP_AEWB_MIN_WIN_W || h3a_aewb_validate_params() 134 if (unlikely(user_cfg->ver_win_count < OMAP3ISP_AEWB_MIN_WINVC || h3a_aewb_validate_params() 138 if (unlikely(user_cfg->hor_win_count < OMAP3ISP_AEWB_MIN_WINHC || h3a_aewb_validate_params() 142 if (unlikely(user_cfg->ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) h3a_aewb_validate_params() 145 if (unlikely(user_cfg->hor_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) h3a_aewb_validate_params() 148 if (unlikely(user_cfg->blk_ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) h3a_aewb_validate_params() 151 if (unlikely(user_cfg->blk_win_height < OMAP3ISP_AEWB_MIN_WIN_H || h3a_aewb_validate_params() 156 if (unlikely(user_cfg->subsample_ver_inc < OMAP3ISP_AEWB_MIN_SUB_INC || h3a_aewb_validate_params() 161 if (unlikely(user_cfg->subsample_hor_inc < OMAP3ISP_AEWB_MIN_SUB_INC || h3a_aewb_validate_params()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 78 if (unlikely(ret != 0)) ttm_bo_vm_fault_idle() 111 if (unlikely(ret != 0)) { ttm_bo_vm_fault() 161 if (unlikely(ret != 0)) { ttm_bo_vm_fault() 167 if (unlikely(ret != 0)) { ttm_bo_vm_fault() 172 if (unlikely(ret != 0)) { ttm_bo_vm_fault() 182 if (unlikely(page_offset >= bo->num_pages)) { ttm_bo_vm_fault() 219 if (unlikely(!page && i == 0)) { ttm_bo_vm_fault() 222 } else if (unlikely(!page)) { ttm_bo_vm_fault() 241 if (unlikely((ret == -EBUSY) || (ret != 0 && i > 0))) ttm_bo_vm_fault() 243 else if (unlikely(ret != 0)) { ttm_bo_vm_fault() 250 if (unlikely(++page_offset >= page_last)) ttm_bo_vm_fault() 316 if (unlikely(!bo)) ttm_bo_mmap() 320 if (unlikely(!driver->verify_access)) { ttm_bo_mmap() 325 if (unlikely(ret != 0)) ttm_bo_mmap()
|
H A D | ttm_memory.c | 228 if (unlikely(ret != 0)) ttm_shrink() 252 if (unlikely(!zone)) ttm_mem_init_kernel_zone() 268 if (unlikely(ret != 0)) { ttm_mem_init_kernel_zone() 288 if (unlikely(!zone)) ttm_mem_init_highmem_zone() 305 if (unlikely(ret != 0)) { ttm_mem_init_highmem_zone() 320 if (unlikely(!zone)) ttm_mem_init_dma32_zone() 352 if (unlikely(ret != 0)) { ttm_mem_init_dma32_zone() 373 if (unlikely(ret != 0)) { ttm_mem_global_init() 381 if (unlikely(ret != 0)) ttm_mem_global_init() 385 if (unlikely(ret != 0)) ttm_mem_global_init() 389 if (unlikely(ret != 0)) ttm_mem_global_init() 445 if (unlikely(needs_swapping)) ttm_check_swapping() 521 while (unlikely(ttm_mem_global_reserve(glob, ttm_mem_global_alloc_zone() 527 if (unlikely(count-- == 0)) ttm_mem_global_alloc_zone()
|
H A D | ttm_lock.c | 70 if (unlikely(lock->kill_takers)) { __ttm_read_lock() 103 if (unlikely(lock->kill_takers)) { __ttm_read_trylock() 131 if (unlikely(ret != 0)) { ttm_read_trylock() 153 if (unlikely(lock->kill_takers)) { __ttm_write_lock() 176 if (unlikely(ret != 0)) { ttm_write_lock() 194 if (unlikely(!(lock->flags & TTM_VT_LOCK))) __ttm_vt_unlock() 239 if (unlikely(ret != 0)) { ttm_vt_lock()
|
H A D | ttm_tt.c | 131 if (unlikely(ret != 0)) ttm_tt_set_caching() 169 if (unlikely(ttm == NULL)) ttm_tt_destroy() 280 if (unlikely(ret != 0)) ttm_tt_bind() 310 if (unlikely(to_page == NULL)) ttm_tt_swapin() 343 if (unlikely(IS_ERR(swap_storage))) { ttm_tt_swapout() 354 if (unlikely(from_page == NULL)) ttm_tt_swapout() 357 if (unlikely(IS_ERR(to_page))) { ttm_tt_swapout()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | recovery.c | 152 if (unlikely(!bh_sr)) { nilfs_read_super_root_block() 229 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) nilfs_validate_log() 267 if (unlikely(!*pbh)) nilfs_read_summary_info() 334 if (unlikely(!bh)) nilfs_scan_dsync_log() 344 if (unlikely(!finfo)) nilfs_scan_dsync_log() 358 if (unlikely(!binfo)) nilfs_scan_dsync_log() 362 if (unlikely(!rb)) { nilfs_scan_dsync_log() 378 if (unlikely(!bh)) nilfs_scan_dsync_log() 407 if (unlikely(!ent)) nilfs_segment_list_add() 448 if (unlikely(err)) nilfs_prepare_segment_for_recovery() 453 if (unlikely(err)) nilfs_prepare_segment_for_recovery() 464 if (unlikely(err)) list_for_each_entry_safe() 473 if (unlikely(err)) 493 if (unlikely(!bh_org)) nilfs_recovery_copy_block() 527 if (unlikely(err)) { list_for_each_entry_safe() 536 if (unlikely(err)) list_for_each_entry_safe() 540 if (unlikely(err)) list_for_each_entry_safe() 648 if (unlikely(err)) nilfs_do_roll_forward() 654 if (unlikely(err)) nilfs_do_roll_forward() 718 if (unlikely(err)) nilfs_finish_roll_forward() 755 if (unlikely(err)) { nilfs_salvage_orphan_logs() 762 if (unlikely(err)) nilfs_salvage_orphan_logs() 767 if (unlikely(err)) { nilfs_salvage_orphan_logs() 774 if (unlikely(err)) nilfs_salvage_orphan_logs() 781 if (unlikely(err)) { nilfs_salvage_orphan_logs() 859 if (unlikely(pseg_end > seg_end)) { nilfs_search_super_root() 942 if (unlikely(ret)) nilfs_search_super_root()
|
H A D | segment.c | 188 if (unlikely(ret < 0)) nilfs_transaction_begin() 345 if (unlikely(ssp->offset + bytes > blocksize)) { nilfs_segctor_map_segsum_entry() 371 if (unlikely(err)) nilfs_segctor_reset_segment_buffer() 491 if (unlikely(required)) { nilfs_segctor_add_file_block() 493 if (unlikely(err)) nilfs_segctor_add_file_block() 635 if (unlikely(start != 0 || end != LLONG_MAX)) { nilfs_lookup_dirty_data_buffers() 646 if (unlikely(index > last) || nilfs_lookup_dirty_data_buffers() 656 if (unlikely(page->index > last)) nilfs_lookup_dirty_data_buffers() 671 if (unlikely(ndirties >= nlimit)) { nilfs_lookup_dirty_data_buffers() 726 if (unlikely(ii->i_bh)) { list_for_each_entry_safe() 839 if (unlikely(err)) { nilfs_segctor_fill_in_checkpoint() 960 if (unlikely(err)) list_for_each_entry_safe() 1009 if (unlikely(err)) { nilfs_segctor_scan_file() 1020 if (unlikely(err)) nilfs_segctor_scan_file() 1026 if (unlikely(err)) nilfs_segctor_scan_file() 1095 if (unlikely(err)) { list_for_each_entry_continue() 1116 if (unlikely(err)) { list_for_each_entry_continue() 1137 if (unlikely(err)) 1142 if (unlikely(err)) 1148 if (unlikely(err)) 1154 if (unlikely(err)) { 1164 if (unlikely(err)) 1171 if (unlikely(err)) 1182 if (unlikely(err)) 1197 if (unlikely(err)) 1225 if (unlikely(!segbuf)) nilfs_segctor_begin_construction() 1294 if (unlikely(err)) nilfs_segctor_extend_segments() 1301 if (unlikely(!segbuf)) nilfs_segctor_extend_segments() 1310 if (unlikely(err)) nilfs_segctor_extend_segments() 1433 if (unlikely(err)) nilfs_segctor_collect() 1441 if (unlikely(err != -E2BIG)) nilfs_segctor_collect() 1460 if (unlikely(err)) nilfs_segctor_collect() 1532 if (unlikely(err)) nilfs_segctor_update_payload_blocknr() 1562 if (unlikely(err)) nilfs_segctor_assign() 1881 if (unlikely(err)) { nilfs_segctor_collect_dirty_files() 1953 if (unlikely(err)) nilfs_segctor_do_construct() 1966 if (unlikely(err)) nilfs_segctor_do_construct() 1973 if (unlikely(err)) nilfs_segctor_do_construct() 1984 if (unlikely(err)) nilfs_segctor_do_construct() 1993 if (unlikely(err)) nilfs_segctor_do_construct() 2007 if (unlikely(err)) nilfs_segctor_do_construct() 2362 if (unlikely(!sci)) nilfs_clean_segments() 2368 if (unlikely(err)) nilfs_clean_segments() 2372 if (unlikely(err)) { nilfs_clean_segments()
|
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_input.c | 28 if (unlikely(afinfo == NULL)) xfrm_input_register_afinfo() 30 if (unlikely(afinfo->family >= NPROTO)) xfrm_input_register_afinfo() 33 if (unlikely(xfrm_input_afinfo[afinfo->family] != NULL)) xfrm_input_register_afinfo() 46 if (unlikely(afinfo == NULL)) xfrm_input_unregister_afinfo() 48 if (unlikely(afinfo->family >= NPROTO)) xfrm_input_unregister_afinfo() 52 if (unlikely(xfrm_input_afinfo[afinfo->family] != afinfo)) xfrm_input_unregister_afinfo() 67 if (unlikely(family >= NPROTO)) xfrm_input_get_afinfo() 71 if (unlikely(!afinfo)) xfrm_input_get_afinfo() 257 if (unlikely(x->km.state == XFRM_STATE_ACQ)) { xfrm_input() 262 if (unlikely(x->km.state != XFRM_STATE_VALID)) { xfrm_input()
|
H A D | xfrm_output.c | 65 if (unlikely(x->km.state != XFRM_STATE_VALID)) { xfrm_output_one() 126 if (unlikely(err != 1)) xfrm_output_resume() 135 if (unlikely(err != 1)) xfrm_output_resume() 172 if (unlikely(err)) { xfrm_output_gso()
|
/linux-4.1.27/arch/microblaze/mm/ |
H A D | fault.c | 101 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { do_page_fault() 110 if (unlikely(in_atomic() || !mm)) { do_page_fault() 141 if (unlikely(!down_read_trylock(&mm->mmap_sem))) { do_page_fault() 150 if (unlikely(!vma)) do_page_fault() 156 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) do_page_fault() 159 if (unlikely(!is_write)) do_page_fault() 171 if (unlikely(address + 0x100000 < vma->vm_end)) { do_page_fault() 201 if (unlikely(is_write)) { do_page_fault() 202 if (unlikely(!(vma->vm_flags & VM_WRITE))) do_page_fault() 208 if (unlikely(error_code & 0x08000000)) do_page_fault() 210 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC)))) do_page_fault() 224 if (unlikely(fault & VM_FAULT_ERROR)) { do_page_fault() 235 if (unlikely(fault & VM_FAULT_MAJOR)) do_page_fault()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | io.c | 36 if (unlikely(count <= 0)) _insb() 52 if (unlikely(count <= 0)) _outsb() 67 if (unlikely(count <= 0)) _insw_ns() 83 if (unlikely(count <= 0)) _outsw_ns() 98 if (unlikely(count <= 0)) _insl_ns() 114 if (unlikely(count <= 0)) _outsl_ns()
|
/linux-4.1.27/arch/blackfin/kernel/cplb-nompu/ |
H A D | cplbmgr.c | 104 if (unlikely(status & FAULT_USERSUPV)) icplb_miss() 116 if (unlikely(idx == icplb_nr_bounds)) icplb_miss() 120 if (unlikely(i_data == 0)) icplb_miss() 151 if (unlikely(status & FAULT_USERSUPV)) dcplb_miss() 163 if (unlikely(idx == dcplb_nr_bounds)) dcplb_miss() 167 if (unlikely(d_data == 0)) dcplb_miss()
|
/linux-4.1.27/net/sunrpc/ |
H A D | socklib.c | 33 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) xdr_skb_read_bits() 90 if (unlikely(pglen == 0)) xdr_partial_copy_from_skb() 92 if (unlikely(base >= pglen)) { xdr_partial_copy_from_skb() 107 if (unlikely(*ppage == NULL)) { xdr_partial_copy_from_skb() 109 if (unlikely(*ppage == NULL)) { xdr_partial_copy_from_skb() 176 if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE) && csum_partial_copy_to_xdr()
|
H A D | addr.c | 74 if (unlikely(len == 0)) rpc_ntop6() 84 if (unlikely((size_t)rc > sizeof(scopebuf))) rpc_ntop6() 88 if (unlikely(len > buflen)) rpc_ntop6() 328 if (unlikely(c == NULL)) rpc_uaddr2sockaddr() 330 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) rpc_uaddr2sockaddr() 335 if (unlikely(c == NULL)) rpc_uaddr2sockaddr() 337 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) rpc_uaddr2sockaddr()
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-block-manager.c | 426 if (unlikely(!aux->validator)) { dm_bm_validate_buffer() 431 if (unlikely(r)) { dm_bm_validate_buffer() 438 if (unlikely(aux->validator != v)) { dm_bm_validate_buffer() 457 if (unlikely(IS_ERR(p))) dm_bm_read_lock() 462 if (unlikely(r)) { dm_bm_read_lock() 471 if (unlikely(r)) { dm_bm_read_lock() 493 if (unlikely(IS_ERR(p))) dm_bm_write_lock() 507 if (unlikely(r)) { dm_bm_write_lock() 526 if (unlikely(IS_ERR(p))) dm_bm_read_try_lock() 528 if (unlikely(!p)) dm_bm_read_try_lock() 541 if (unlikely(r)) { dm_bm_read_try_lock() 562 if (unlikely(IS_ERR(p))) dm_bm_write_lock_zero()
|
/linux-4.1.27/arch/sh/boards/mach-x3proto/ |
H A D | gpio.c | 107 if (unlikely(ilsel < 0)) x3proto_gpio_setup() 111 if (unlikely(ret)) x3proto_gpio_setup() 116 if (unlikely(!x3proto_irq_domain)) x3proto_gpio_setup()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | mutex.h | 77 if (unlikely(__mutex_dec_return_lock(count) < 0)) __mutex_fastpath_lock() 92 if (unlikely(__mutex_dec_return_lock(count) < 0)) __mutex_fastpath_lock_retval() 109 if (unlikely(__mutex_inc_return_unlock(count) <= 0)) __mutex_fastpath_unlock()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | libfcoe.h | 12 if (unlikely(libfcoe_debug_logging & LEVEL)) \
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
H A D | ehca_uverbs.c | 123 if (unlikely(ret)) { ehca_mmap_fw() 148 if (unlikely(ret)) { ehca_mmap_queue() 170 if (unlikely(ret)) { ehca_mmap_cq() 181 if (unlikely(ret)) { ehca_mmap_cq() 207 if (unlikely(ret)) { ehca_mmap_qp() 219 if (unlikely(ret)) { ehca_mmap_qp() 231 if (unlikely(ret)) { ehca_mmap_qp() 273 if (unlikely(ret)) { ehca_mmap() 295 if (unlikely(ret)) { ehca_mmap()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | jump_label.c | 54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) __jump_label_transform() 62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) __jump_label_transform() 78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) __jump_label_transform() 84 if (unlikely(memcmp((void *)entry->code, &code, 5) != 0)) __jump_label_transform()
|
H A D | irq_32.c | 92 if (unlikely(curstk == irqstk)) execute_on_irq_stack() 101 if (unlikely(overflow)) execute_on_irq_stack() 165 if (unlikely(!desc)) handle_irq() 169 if (unlikely(overflow)) handle_irq()
|
/linux-4.1.27/arch/x86/pci/ |
H A D | numachip.c | 36 if (unlikely((bus > 255) || (devfn > 255) || (reg > 4095))) { pci_mmcfg_read_numachip() 42 if (unlikely(bus == 0 && devfn >= limit)) { pci_mmcfg_read_numachip() 76 if (unlikely((bus > 255) || (devfn > 255) || (reg > 4095))) pci_mmcfg_write_numachip() 80 if (unlikely(bus == 0 && devfn >= limit)) pci_mmcfg_write_numachip()
|
/linux-4.1.27/arch/x86/vdso/ |
H A D | vclock_gettime.c | 116 } while (unlikely(cpu != cpu1 || vread_pvclock() 120 if (unlikely(!(flags & PVCLOCK_TSC_STABLE_BIT))) vread_pvclock() 243 } while (unlikely(gtod_read_retry(gtod, seq))); do_realtime() 264 } while (unlikely(gtod_read_retry(gtod, seq))); do_monotonic() 279 } while (unlikely(gtod_read_retry(gtod, seq))); do_realtime_coarse() 289 } while (unlikely(gtod_read_retry(gtod, seq))); do_monotonic_coarse() 323 if (unlikely(do_realtime((struct timespec *)tv) == VCLOCK_NONE)) __vdso_gettimeofday() 327 if (unlikely(tz != NULL)) { __vdso_gettimeofday() 339 * unlikely
|
/linux-4.1.27/crypto/ |
H A D | crypto_wq.c | 26 if (unlikely(!kcrypto_wq)) crypto_wq_init()
|
/linux-4.1.27/arch/sh/drivers/ |
H A D | push-switch.c | 53 if (unlikely(!psw)) switch_drv_probe() 57 if (unlikely(irq < 0)) { switch_drv_probe() 68 if (unlikely(ret < 0)) switch_drv_probe() 73 if (unlikely(ret)) { switch_drv_probe()
|
H A D | heartbeat.c | 83 if (unlikely(pdev->num_resources != 1)) { heartbeat_drv_probe() 89 if (unlikely(res == NULL)) { heartbeat_drv_probe() 98 if (unlikely(!hd)) heartbeat_drv_probe() 103 if (unlikely(!hd->base)) { heartbeat_drv_probe()
|
/linux-4.1.27/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 36 if (unlikely(pgd_none(*pgd) || pgd_bad(*pgd))) pin_page_for_write() 40 if (unlikely(pud_none(*pud) || pud_bad(*pud))) pin_page_for_write() 44 if (unlikely(pmd_none(*pmd))) pin_page_for_write() 57 if (unlikely(pmd_thp_or_huge(*pmd))) { pin_page_for_write() 60 if (unlikely(!pmd_thp_or_huge(*pmd) pin_page_for_write() 72 if (unlikely(pmd_bad(*pmd))) pin_page_for_write() 76 if (unlikely(!pte_present(*pte) || !pte_young(*pte) || pin_page_for_write() 93 if (unlikely(segment_eq(get_fs(), KERNEL_DS))) { __copy_to_user_memcpy() 156 if (unlikely(segment_eq(get_fs(), KERNEL_DS))) { __clear_user_memset()
|
/linux-4.1.27/net/llc/ |
H A D | llc_input.c | 116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) llc_fixup_skb() 124 if (unlikely(!pskb_may_pull(skb, llc_len))) llc_fixup_skb() 136 if (unlikely(pskb_trim_rcsum(skb, data_size))) llc_fixup_skb() 172 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { llc_rcv() 177 if (unlikely(!skb)) llc_rcv() 179 if (unlikely(!llc_fixup_skb(skb))) llc_rcv() 182 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ llc_rcv() 185 if (unlikely(!sap)) {/* unknown SAP */ llc_rcv() 197 if (unlikely(!sap_handler)) { llc_rcv()
|
/linux-4.1.27/include/linux/lockd/ |
H A D | debug.h | 22 # define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 69 if (unlikely(verbose_request)) command_write() 78 if (unlikely(verbose_request)) command_write() 87 if (unlikely(verbose_request)) command_write() 92 if (unlikely(verbose_request)) command_write() 100 if (unlikely(verbose_request)) command_write() 112 if (unlikely(verbose_request)) command_write() 139 if (unlikely(!bar)) { rom_write() 173 if (unlikely(!bar)) { bar_write() 201 if (unlikely(!bar)) { bar_read()
|
H A D | pciback_ops.c | 144 if (unlikely(verbose_request)) xen_pcibk_enable_msi() 161 if (unlikely(verbose_request)) xen_pcibk_enable_msi() 178 if (unlikely(verbose_request)) xen_pcibk_disable_msi() 184 if (unlikely(verbose_request)) xen_pcibk_disable_msi() 202 if (unlikely(verbose_request)) xen_pcibk_enable_msix() 237 if (unlikely(verbose_request)) xen_pcibk_enable_msix() 263 if (unlikely(verbose_request)) xen_pcibk_disable_msix() 273 if (unlikely(verbose_request)) xen_pcibk_disable_msix()
|
/linux-4.1.27/net/openvswitch/ |
H A D | flow.c | 81 if (node == 0 && unlikely(flow->stats_last_writer != node)) ovs_flow_stats_update() 90 if (unlikely(flow->stats_last_writer != node)) { ovs_flow_stats_update() 182 if (unlikely(skb->len < len)) check_header() 184 if (unlikely(!pskb_may_pull(skb, len))) check_header() 202 if (unlikely(err)) check_iphdr() 206 if (unlikely(ip_len < sizeof(struct iphdr) || check_iphdr() 219 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) tcphdr_ok() 223 if (unlikely(tcp_len < sizeof(struct tcphdr) || tcphdr_ok() 259 if (unlikely(err)) parse_ipv6hdr() 274 if (unlikely(payload_ofs < 0)) parse_ipv6hdr() 306 if (unlikely(skb->len < sizeof(struct qtag_prefix) + sizeof(__be16))) parse_vlan() 309 if (unlikely(!pskb_may_pull(skb, sizeof(struct qtag_prefix) + parse_vlan() 341 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) parse_ethertype() 380 if (unlikely(icmp_len < sizeof(*nd))) parse_icmpv6() 383 if (unlikely(skb_linearize(skb))) parse_icmpv6() 396 if (unlikely(!opt_len || opt_len > icmp_len)) parse_icmpv6() 405 if (unlikely(!is_zero_ether_addr(key->ipv6.nd.sll))) parse_icmpv6() 411 if (unlikely(!is_zero_ether_addr(key->ipv6.nd.tll))) parse_icmpv6() 480 if (unlikely(parse_vlan(skb, key))) key_extract() 484 if (unlikely(key->eth.type == htons(0))) key_extract() 497 if (unlikely(error)) { key_extract() 606 if (unlikely(error)) key_extract() 624 if (unlikely(nh_len < 0)) { key_extract()
|
H A D | vport-netdev.c | 41 if (unlikely(!vport)) netdev_port_receive() 44 if (unlikely(skb_warn_if_lro(skb))) netdev_port_receive() 51 if (unlikely(!skb)) netdev_port_receive() 70 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) netdev_frame_hook() 202 if (unlikely(packet_length(skb) > mtu && !skb_is_gso(skb))) { netdev_send()
|
/linux-4.1.27/security/ |
H A D | security.c | 371 if (unlikely(IS_PRIVATE(inode))) security_inode_init_security() 402 if (unlikely(IS_PRIVATE(inode))) security_old_inode_init_security() 413 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) security_path_mknod() 421 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) security_path_mkdir() 429 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) security_path_rmdir() 436 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) security_path_unlink() 445 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) security_path_symlink() 453 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) security_path_link() 462 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || security_path_rename() 480 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) security_path_truncate() 487 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) security_path_chmod() 494 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) security_path_chown() 507 if (unlikely(IS_PRIVATE(dir))) security_inode_create() 516 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) security_inode_link() 523 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_unlink() 531 if (unlikely(IS_PRIVATE(dir))) security_inode_symlink() 538 if (unlikely(IS_PRIVATE(dir))) security_inode_mkdir() 546 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_rmdir() 553 if (unlikely(IS_PRIVATE(dir))) security_inode_mknod() 562 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || security_inode_rename() 579 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_readlink() 586 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_follow_link() 593 if (unlikely(IS_PRIVATE(inode))) security_inode_permission() 602 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_setattr() 613 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) security_inode_getattr() 623 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_setxattr() 637 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_post_setxattr() 645 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_getxattr() 652 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_listxattr() 661 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) security_inode_removexattr() 684 if (unlikely(IS_PRIVATE(inode))) security_inode_getsecurity() 691 if (unlikely(IS_PRIVATE(inode))) security_inode_setsecurity() 698 if (unlikely(IS_PRIVATE(inode))) security_inode_listsecurity() 1092 if (unlikely(inode && IS_PRIVATE(inode))) security_d_instantiate()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | ftrace.c | 98 if (unlikely(faulted)) ftrace_modify_code() 117 if (unlikely(faulted)) ftrace_modify_code_2() 122 if (unlikely(faulted)) ftrace_modify_code_2() 142 if (unlikely(faulted)) ftrace_modify_code_2r() 147 if (unlikely(faulted)) ftrace_modify_code_2r() 302 if (unlikely(faulted)) ftrace_get_parent_ra_addr() 320 if (unlikely(faulted)) ftrace_get_parent_ra_addr() 343 if (unlikely(ftrace_graph_is_dead())) prepare_ftrace_return() 346 if (unlikely(atomic_read(¤t->tracing_graph_pause))) prepare_ftrace_return() 368 if (unlikely(faulted)) prepare_ftrace_return() 382 if (unlikely(faulted)) prepare_ftrace_return()
|
/linux-4.1.27/net/tipc/ |
H A D | msg.c | 97 if (unlikely(!buf)) tipc_msg_create() 139 if (unlikely(head)) tipc_buf_append() 141 if (unlikely(skb_unclone(frag, GFP_ATOMIC))) tipc_buf_append() 175 if (unlikely(!tipc_msg_validate(head))) 208 if (unlikely(TIPC_SKB_CB(skb)->validated)) tipc_msg_validate() 210 if (unlikely(!pskb_may_pull(skb, MIN_H_SIZE))) tipc_msg_validate() 214 if (unlikely(hsz < MIN_H_SIZE) || (hsz > MAX_H_SIZE)) tipc_msg_validate() 216 if (unlikely(!pskb_may_pull(skb, hsz))) tipc_msg_validate() 220 if (unlikely(msg_version(msg) != TIPC_VERSION)) tipc_msg_validate() 224 if (unlikely(msz < hsz)) tipc_msg_validate() 226 if (unlikely((msz - hsz) > TIPC_MAX_USER_MSG_SIZE)) tipc_msg_validate() 228 if (unlikely(skb->len < msz)) tipc_msg_validate() 264 if (unlikely(!skb)) tipc_msg_build() 364 if (unlikely(msg_user(msg) == TUNNEL_PROTOCOL)) tipc_msg_bundle() 366 if (unlikely(msg_user(msg) == BCAST_PROTOCOL)) tipc_msg_bundle() 370 if (unlikely(skb_tailroom(bskb) < (pad + msz))) tipc_msg_bundle() 372 if (unlikely(max < (start + msz))) tipc_msg_bundle() 398 if (unlikely(skb_linearize(skb))) tipc_msg_extract() 403 if (unlikely(offset > (msg_size(msg) - MIN_H_SIZE))) tipc_msg_extract() 407 if (unlikely(!*iskb)) tipc_msg_extract() 412 if (unlikely(!tipc_msg_validate(*iskb))) tipc_msg_extract()
|
/linux-4.1.27/drivers/net/team/ |
H A D | team_mode_random.c | 25 if (unlikely(!port)) rnd_transmit() 28 if (unlikely(!port)) rnd_transmit()
|
H A D | team_mode_roundrobin.c | 36 if (unlikely(!port)) rr_transmit() 39 if (unlikely(!port)) rr_transmit()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_debug.h | 29 if (unlikely(bnx2fc_debug_level & LOG_ELS)) \ 35 if (unlikely(bnx2fc_debug_level & LOG_MISC)) \
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | rfkill.c | 44 if (unlikely(b43_status(dev) < B43_STAT_INITIALIZED)) { b43_rfkill_poll() 55 if (unlikely(enabled != dev->radio_hw_enable)) { b43_rfkill_poll()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | vgtod.h | 46 if (unlikely(ret & 1)) { gtod_read_begin() 58 return unlikely(s->seq != start); gtod_read_retry()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | physaddr.c | 18 if (unlikely(x > y)) { __phys_addr() 50 if (unlikely(x > y)) { __virt_addr_valid()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | bug.h | 84 if (unlikely(__ret_warn_on)) \ 87 unlikely(__ret_warn_on); \
|
H A D | mmzone.h | 43 if (unlikely(pfn_is_io(pfn))) pfn_to_nid()
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
H A D | io.c | 33 if (unlikely(!iop13xx_atux_mem_base)) __iop13xx_ioremap_caller() 40 if (unlikely(!iop13xx_atue_mem_base)) __iop13xx_ioremap_caller()
|
/linux-4.1.27/kernel/irq/ |
H A D | migration.c | 25 if (unlikely(cpumask_empty(desc->pending_mask))) irq_move_masked_irq() 58 if (unlikely(irqd_irq_disabled(idata))) irq_move_irq()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_sched_switch.c | 21 if (unlikely(!sched_ref)) probe_sched_switch() 31 if (unlikely(!sched_ref)) probe_sched_wakeup()
|
/linux-4.1.27/lib/lz4/ |
H A D | lz4_decompress.c | 76 if (unlikely(length > (size_t)(length + len))) lz4_uncompress() 83 if (unlikely(cpy > oend - COPYLENGTH)) { lz4_uncompress() 104 if (unlikely(ref < (BYTE *const) dest)) lz4_uncompress() 112 if (unlikely(length > (size_t)(length + *ip))) lz4_uncompress() 118 if (unlikely((op - ref) < STEPSIZE)) { lz4_uncompress() 194 if (unlikely(length > (size_t)(length + s))) lz4_uncompress_unknownoutputsize() 236 if (unlikely(length > (size_t)(length + s))) lz4_uncompress_unknownoutputsize() 246 if (unlikely((op - ref) < STEPSIZE)) { lz4_uncompress_unknownoutputsize()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-switch.c | 168 if (unlikely(path_nr >= sctx->nr_paths)) switch_get_path_nr() 387 if (unlikely(*string == ',')) { process_set_region_mappings() 392 if (unlikely(*string != ',')) { process_set_region_mappings() 397 if (unlikely(!*string)) { process_set_region_mappings() 402 if (unlikely(*string)) { process_set_region_mappings() 407 if (unlikely(!cycle_length) || unlikely(cycle_length - 1 > region_index)) { process_set_region_mappings() 412 if (unlikely(region_index + num_write < region_index) || process_set_region_mappings() 413 unlikely(region_index + num_write >= sctx->nr_regions)) { process_set_region_mappings() 432 if (unlikely(*string != ':')) { process_set_region_mappings() 439 if (unlikely(!*string)) { process_set_region_mappings() 445 if (unlikely(*string)) { process_set_region_mappings() 449 if (unlikely(region_index >= sctx->nr_regions)) { process_set_region_mappings() 453 if (unlikely(path_nr >= sctx->nr_paths)) { process_set_region_mappings()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_uc.c | 254 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) ipath_uc_rcv() 288 if (unlikely(ipath_cmp24(psn, qp->r_psn) != 0)) { ipath_uc_rcv() 365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { OP() 371 if (unlikely(qp->r_rcv_len > qp->r_len)) { 397 if (unlikely(tlen < (hdrsize + pad + 4))) { 405 if (unlikely(wc.byte_len > qp->r_len)) { 448 if (unlikely(!ok)) { 459 if (unlikely(!(qp->qp_access_flags & 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { OP() 476 if (unlikely(qp->r_rcv_len > qp->r_len)) { 499 if (unlikely(tlen < (hdrsize + pad + 4))) { 505 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) { 525 if (unlikely(tlen < (hdrsize + pad + 4))) { 531 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) {
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | ftrace.c | 55 if (unlikely(index < 0)) { pop_return_trace() 88 if (unlikely(!ret)) { ftrace_return_to_handler() 115 if (unlikely(ftrace_graph_is_dead())) prepare_ftrace_return() 118 if (unlikely(atomic_read(¤t->tracing_graph_pause))) prepare_ftrace_return() 125 if (unlikely(!__kernel_text_address(old))) { prepare_ftrace_return()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | hugepage-hash64.c | 40 if (unlikely(old_pmd & _PAGE_BUSY)) __hash_page_thp() 43 if (unlikely(old_pmd & _PAGE_SPLITTING)) __hash_page_thp() 46 if (unlikely(access & ~old_pmd)) __hash_page_thp() 150 if (unlikely(slot == -1)) { __hash_page_thp() 169 if (unlikely(slot == -2)) { __hash_page_thp()
|
H A D | hugetlbpage-book3e.c | 39 if (unlikely(index == ncams - 1)) tlb1_next() 91 if (unlikely(is_kernel_addr(ea))) book3e_hugetlb_preload() 112 if (unlikely(book3e_tlb_exists(ea, mm->context.id))) { book3e_hugetlb_preload()
|
H A D | hugetlbpage-hash64.c | 50 if (unlikely(old_pte & _PAGE_BUSY)) __hash_page_huge() 53 if (unlikely(access & ~old_pte)) __hash_page_huge() 73 if (unlikely(old_pte & _PAGE_HASHPTE)) { __hash_page_huge() 114 if (unlikely(slot == -2)) { __hash_page_huge()
|
/linux-4.1.27/net/ipv4/ |
H A D | ip_tunnel_core.c | 81 if (unlikely(net_xmit_eval(err))) iptunnel_xmit() 89 if (unlikely(!pskb_may_pull(skb, hdr_len))) iptunnel_pull_header() 97 if (unlikely(!pskb_may_pull(skb, ETH_HLEN))) iptunnel_pull_header() 134 if (unlikely(err)) iptunnel_handle_offloads() 150 if (unlikely(err)) iptunnel_handle_offloads()
|
H A D | xfrm4_mode_beet.c | 47 if (unlikely(optlen)) xfrm4_beet_output() 65 if (unlikely(optlen)) { xfrm4_beet_output() 90 if (unlikely(XFRM_MODE_SKB_CB(skb)->protocol == IPPROTO_BEETPH)) { xfrm4_beet_input()
|
/linux-4.1.27/sound/aoa/core/ |
H A D | gpio-pmf.c | 20 if (unlikely(!rt)) return; \ 30 if (unlikely(!rt)) return 0; \ 43 if (unlikely(!rt)) return; pmf_gpio_set_hw_reset() 54 if (unlikely(!rt)) return; pmf_gpio_all_amps_off() 66 if (unlikely(!rt)) return; pmf_gpio_all_amps_restore()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
H A D | sq.c | 155 if (unlikely(!size || end < phys)) sq_remap() 158 if (unlikely(phys < virt_to_phys(high_memory))) sq_remap() 165 if (unlikely(!map)) sq_remap() 174 if (unlikely(page < 0)) { sq_remap() 182 if (unlikely(ret != 0)) sq_remap() 218 if (unlikely(!map)) { sq_unmap() 347 if (unlikely(!sq_kobject[cpu])) sq_dev_add() 384 if (unlikely(!sq_cache)) sq_api_init() 388 if (unlikely(!sq_bitmap)) sq_api_init() 392 if (unlikely(ret != 0)) sq_api_init()
|
/linux-4.1.27/fs/exofs/ |
H A D | ore.c | 162 if (unlikely(!_aios)) { _ore_get_io_state() 182 if (unlikely(!_aio_small)) { _ore_get_io_state() 189 if (unlikely(!extra_part)) { _ore_get_io_state() 284 if (unlikely(ret)) ore_get_rw_state() 373 if (unlikely(!or)) ore_io_execute() 377 if (unlikely(ret)) { ore_io_execute() 388 if (unlikely(!or)) ore_io_execute() 432 if (unlikely(!or)) ore_check_io() 616 if (unlikely(!per_dev->bio)) { _ore_add_stripe_unit() 632 if (unlikely(pglen != added_len)) { _ore_add_stripe_unit() 684 if (unlikely(ret)) _add_parity_units() 743 if (unlikely(ret)) _prepare_for_striping() 750 if (unlikely((dev == si->par_dev) || (!length && ios->sp2d))) { _prepare_for_striping() 766 if (unlikely(ret)) _prepare_for_striping() 794 if (unlikely(!or)) { ore_create() 819 if (unlikely(!or)) { ore_remove() 851 if (unlikely(!or)) { _write_mirror() 864 if (unlikely(!bio)) { _write_mirror() 903 if (unlikely(ret)) _write_mirror() 935 if (unlikely(ios->sp2d && !ios->r4w)) { ore_write() 944 if (unlikely(ret)) ore_write() 949 if (unlikely(ret)) ore_write() 970 if (unlikely(!or)) { _ore_read_mirror() 980 if (unlikely(!per_dev->cur_sg)) _ore_read_mirror() 1018 if (unlikely(ret)) ore_read() 1023 if (unlikely(ret)) ore_read() 1064 if (unlikely(!or)) { _truncate_mirrors() 1112 if (unlikely(ret)) ore_truncate() 1119 if (unlikely(!size_attrs)) { ore_truncate() 1150 if (unlikely(ret)) ore_truncate()
|
H A D | inode.c | 140 if (unlikely(pcol->nr_pages >= pcol->alloc_pages)) pcol_add_page() 182 if (unlikely(ret == PAGE_WAS_NOT_IN_IO)) update_write_page() 293 if (unlikely(ret)) _maybe_not_all_in_one_io() 349 if (unlikely(ret)) read_exec() 356 if (unlikely(ret)) read_exec() 428 if (unlikely(pcol->pg_first == -1)) { readpage_strip() 430 } else if (unlikely((pcol->pg_first + pcol->nr_pages) != readpage_strip() 434 if (unlikely(ret)) readpage_strip() 441 if (unlikely(ret)) readpage_strip() 459 if (unlikely(ret)) readpage_strip() 488 if (unlikely(ret)) exofs_readpages() 588 if (unlikely(!page)) { __r4w_get_page() 641 if (unlikely(ret)) write_exec() 663 if (unlikely(ret)) write_exec() 670 if (unlikely(ret)) { write_exec() 709 if (unlikely(ret)) writepage_strip() 723 if (unlikely(ret)) writepage_strip() 737 if (unlikely(pcol->pg_first == -1)) { writepage_strip() 739 } else if (unlikely((pcol->pg_first + pcol->nr_pages) != writepage_strip() 743 if (unlikely(ret)) writepage_strip() 753 if (unlikely(ret)) writepage_strip() 761 if (unlikely(ret)) { writepage_strip() 768 if (unlikely(ret)) { writepage_strip() 817 if (unlikely(ret)) { exofs_writepages() 823 if (unlikely(ret)) exofs_writepages() 913 if (unlikely(ret)) exofs_write_begin() 940 if (unlikely(ret)) exofs_write_end() 1038 if (unlikely(error)) exofs_setattr() 1042 if (unlikely(error)) exofs_setattr() 1048 if (unlikely(error)) exofs_setattr() 1084 if (unlikely(ret)) { exofs_get_inode() 1096 if (unlikely(ret)) { exofs_get_inode() 1257 return unlikely(is_bad_inode(&oi->vfs_inode)) ? -EIO : 0; __exofs_wait_obj_created() 1277 if (unlikely(ret)) { create_done() 1332 if (unlikely(ret)) { exofs_new_inode() 1421 if (unlikely(ret)) { exofs_update_inode() 1504 if (unlikely(ret)) { exofs_evict_inode()
|
H A D | super.c | 104 if (unlikely(!opts->dev_name)) { parse_options() 232 if (unlikely(!or)) { exofs_read_kern() 237 if (unlikely(ret)) { exofs_read_kern() 243 if (unlikely(ret)) { exofs_read_kern() 249 if (unlikely(ret)) exofs_read_kern() 275 if (unlikely(ret)) { __sbi_read_stats() 284 if (unlikely(ret)) { __sbi_read_stats() 297 if (unlikely(attrs[0].len != sizeof(*ess))) { __sbi_read_stats() 330 if (unlikely(ret)) { exofs_sbi_write_stats() 346 if (unlikely(ret)) { exofs_sbi_write_stats() 373 if (unlikely(!fscb)) exofs_sync_fs() 389 if (unlikely(ret)) exofs_sync_fs() 404 if (unlikely(ret)) exofs_sync_fs() 538 if (unlikely(odi->osdname_len >= sizeof(dt_dev->osdname))) exofs_devs_2_odi() 560 if (unlikely(!aoded)) { __alloc_dev_table() 586 if (unlikely(!dt)) { exofs_read_lookup_dev_table() 600 if (unlikely(ret)) { exofs_read_lookup_dev_table() 606 if (unlikely(!numdevs)) { exofs_read_lookup_dev_table() 613 if (unlikely(ret)) exofs_read_lookup_dev_table() 617 if (unlikely(ret)) exofs_read_lookup_dev_table() 678 if (unlikely(ret)) { exofs_read_lookup_dev_table() 694 if (unlikely(fscb_od && !ret)) { exofs_read_lookup_dev_table() 767 if (unlikely(ret)) exofs_fill_super() 796 if (unlikely(ret)) exofs_fill_super() 802 if (unlikely(ret)) exofs_fill_super() 908 if (unlikely(ret)) exofs_statfs() 914 if (unlikely(!capacity)) exofs_statfs()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | pci_sun4v.c | 75 if (unlikely(num < 0)) { iommu_batch_flush() 144 if (unlikely(order >= MAX_ORDER)) dma_4v_alloc_coherent() 151 if (unlikely(!page)) dma_4v_alloc_coherent() 162 if (unlikely(entry == DMA_ERROR_CODE)) dma_4v_alloc_coherent() 178 if (unlikely(err < 0L)) dma_4v_alloc_coherent() 182 if (unlikely(iommu_batch_end() < 0L)) dma_4v_alloc_coherent() 249 if (unlikely(direction == DMA_NONE)) dma_4v_map_page() 259 if (unlikely(entry == DMA_ERROR_CODE)) dma_4v_map_page() 275 if (unlikely(err < 0L)) dma_4v_map_page() 278 if (unlikely(iommu_batch_end() < 0L)) dma_4v_map_page() 305 if (unlikely(direction == DMA_NONE)) { dma_4v_unmap_page() 379 if (unlikely(entry == DMA_ERROR_CODE)) { for_each_sg() 396 if (unlikely(err < 0L)) for_each_sg() 432 if (unlikely(err < 0L)) 659 if (unlikely(err)) pci_sun4v_get_head() 663 if (unlikely(*head >= limit)) pci_sun4v_get_head() 686 if (unlikely(type != MSIQ_TYPE_MSI32 && pci_sun4v_dequeue_msi() 695 if (unlikely(err)) pci_sun4v_dequeue_msi() 715 if (unlikely(err)) pci_sun4v_set_head()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | csio_isr.c | 51 if (unlikely(!hw)) csio_nondata_isr() 54 if (unlikely(pci_channel_offline(hw->pdev))) { csio_nondata_isr() 112 if (unlikely(!hw)) csio_fwevt_isr() 115 if (unlikely(pci_channel_offline(hw->pdev))) { csio_fwevt_isr() 157 if (unlikely(*scsiwr == FW_SCSI_ABRT_CLS_WR)) { csio_process_scsi_cmpl() 185 if (unlikely(cmnd == NULL)) csio_process_scsi_cmpl() 190 if (unlikely(cmnd == NULL)) csio_process_scsi_cmpl() 223 if (unlikely(csio_wr_process_iq(hw, iq, csio_process_scsi_cmpl, csio_scsi_isr_handler() 233 if (unlikely(ioreq->dcopy)) csio_scsi_isr_handler() 261 if (unlikely(!iq)) csio_scsi_isr() 266 if (unlikely(pci_channel_offline(hw->pdev))) { csio_scsi_isr() 310 if (unlikely(!hw)) csio_fcoe_isr() 313 if (unlikely(pci_channel_offline(hw->pdev))) { csio_fcoe_isr()
|
/linux-4.1.27/drivers/ssb/ |
H A D | sdio.c | 115 if (unlikely(error)) { ssb_sdio_writeb() 130 if (unlikely(error)) { 175 if (unlikely(error)) { ssb_sdio_scan_read32() 210 if (unlikely(bus->sdio_sbaddr != sbaddr)) { ssb_sdio_switch_core() 236 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_read8() 258 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_read16() 280 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_read32() 305 if (unlikely(ssb_sdio_switch_core(bus, dev))) { ssb_sdio_block_read() 349 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_write8() 368 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_write16() 387 if (unlikely(ssb_sdio_switch_core(bus, dev))) ssb_sdio_write32() 412 if (unlikely(ssb_sdio_switch_core(bus, dev))) { ssb_sdio_block_write() 466 if (unlikely(condition)) { \
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 272 if (unlikely(qib_cmp24(psn, qp->r_psn) != 0)) { qib_uc_rcv() 371 if (unlikely(tlen != (hdrsize + pmtu + 4))) qib_uc_rcv() 374 if (unlikely(qp->r_rcv_len > qp->r_len)) qib_uc_rcv() 394 if (unlikely(tlen < (hdrsize + pad + 4))) qib_uc_rcv() 399 if (unlikely(wc.byte_len > qp->r_len)) qib_uc_rcv() 426 if (unlikely(!(qp->qp_access_flags & OP() 443 if (unlikely(!ok)) 462 if (unlikely(tlen != (hdrsize + pmtu + 4))) 465 if (unlikely(qp->r_rcv_len > qp->r_len)) 480 if (unlikely(tlen < (hdrsize + pad + 4))) 484 if (unlikely(tlen + qp->r_rcv_len != qp->r_len)) 507 if (unlikely(tlen < (hdrsize + pad + 4))) 511 if (unlikely(tlen + qp->r_rcv_len != qp->r_len))
|
H A D | qib_keys.c | 175 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) qib_lkey_ok() 189 if (unlikely(!mr || mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) qib_lkey_ok() 193 if (unlikely(sge->addr < mr->user_base || qib_lkey_ok() 197 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) qib_lkey_ok() 274 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) qib_rkey_ok() 289 if (unlikely(!mr || mr->lkey != rkey || qp->ibqp.pd != mr->pd)) qib_rkey_ok() 293 if (unlikely(vaddr < mr->iova || off + len > mr->length || qib_rkey_ok() 296 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) qib_rkey_ok() 360 if (unlikely(mr == NULL || qp->ibqp.pd != mr->pd)) qib_fast_reg_mr()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-ibm_iic.c | 234 if (unlikely(time_after(jiffies, x))) iic_dc_wait() 249 if (unlikely(p->flags & I2C_M_TEN)){ iic_smbus_quick() 262 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSDA | DIRCNTL_MSC))) iic_smbus_quick() 281 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) iic_smbus_quick() 292 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) iic_smbus_quick() 301 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) iic_smbus_quick() 349 if (unlikely(in_8(&iic->sts) & STS_ERR)){ iic_xfer_result() 420 if (unlikely(ret < 0)) iic_wait_for_tc() 422 else if (unlikely(in_8(&iic->sts) & STS_PT)){ iic_wait_for_tc() 432 if (unlikely(time_after(jiffies, x))){ iic_wait_for_tc() 438 if (unlikely(signal_pending(current))){ iic_wait_for_tc() 447 if (unlikely(ret < 0)) iic_wait_for_tc() 494 if (unlikely(ret < 0)) iic_xfer_bytes() 496 else if (unlikely(ret != count)){ iic_xfer_bytes() 568 if (unlikely(iic_invalid_address(&msgs[0]))){ iic_xfer() 574 if (unlikely(msgs[i].len <= 0)){ iic_xfer() 586 if (unlikely(iic_address_neq(&msgs[0], &msgs[i]))){ iic_xfer() 593 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){ iic_xfer()
|
/linux-4.1.27/arch/arm/plat-omap/ |
H A D | dmtimer.c | 323 if (unlikely(!timer)) omap_dm_timer_free() 426 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) { omap_dm_timer_trigger() 440 if (unlikely(!timer)) omap_dm_timer_start() 461 if (unlikely(!timer)) omap_dm_timer_stop() 488 if (unlikely(!timer)) omap_dm_timer_set_source() 543 if (unlikely(!timer)) omap_dm_timer_set_load() 570 if (unlikely(!timer)) omap_dm_timer_set_load_start() 599 if (unlikely(!timer)) omap_dm_timer_set_match() 624 if (unlikely(!timer)) omap_dm_timer_set_pwm() 649 if (unlikely(!timer)) omap_dm_timer_set_prescaler() 671 if (unlikely(!timer)) omap_dm_timer_set_int_enable() 696 if (unlikely(!timer)) omap_dm_timer_set_int_disable() 720 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) { omap_dm_timer_read_status() 733 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) omap_dm_timer_write_status() 744 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) { omap_dm_timer_read_counter() 755 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) { omap_dm_timer_write_counter() 813 if (unlikely(!irq)) { omap_dm_timer_probe() 819 if (unlikely(!mem)) { omap_dm_timer_probe()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dma.c | 143 if (unlikely(ret)) nv50_dma_wait() 148 if (unlikely(get < 0)) { nv50_dma_wait() 163 if (unlikely(get < 0)) { nv50_dma_wait() 190 if (unlikely(get == -EBUSY)) nouveau_dma_wait() 202 if (unlikely(get == -EINVAL) || get < NOUVEAU_DMA_SKIPS) nouveau_dma_wait() 236 if (unlikely(get == -EBUSY)) nouveau_dma_wait() 238 if (unlikely(get == -EINVAL)) nouveau_dma_wait()
|
H A D | nouveau_gem.c | 343 if (unlikely(nvbo->validate_mapped)) { validate_fini_no_ticket() 416 if (unlikely(ret == -EDEADLK)) { validate_init() 422 if (unlikely(ret)) { validate_init() 479 if (unlikely(ret)) { list_for_each_entry() 485 if (unlikely(ret)) { list_for_each_entry() 492 if (unlikely(ret)) { list_for_each_entry() 539 if (unlikely(ret)) { nouveau_gem_pushbuf_validate() 546 if (unlikely(ret < 0)) { nouveau_gem_pushbuf_validate() 606 if (unlikely(r->bo_index > req->nr_buffers)) { nouveau_gem_pushbuf_reloc_apply() 616 if (unlikely(r->reloc_bo_index > req->nr_buffers)) { nouveau_gem_pushbuf_reloc_apply() 623 if (unlikely(r->reloc_bo_offset + 4 > nouveau_gem_pushbuf_reloc_apply() 684 if (unlikely(!abi16)) nouveau_gem_ioctl_pushbuf() 699 if (unlikely(req->nr_push == 0)) nouveau_gem_ioctl_pushbuf() 702 if (unlikely(req->nr_push > NOUVEAU_GEM_MAX_PUSH)) { nouveau_gem_ioctl_pushbuf() 708 if (unlikely(req->nr_buffers > NOUVEAU_GEM_MAX_BUFFERS)) { nouveau_gem_ioctl_pushbuf() 714 if (unlikely(req->nr_relocs > NOUVEAU_GEM_MAX_RELOCS)) { nouveau_gem_ioctl_pushbuf() 800 if (unlikely(cmd != req->suffix0)) { nouveau_gem_ioctl_pushbuf()
|
/linux-4.1.27/net/ipv6/ |
H A D | ip6_offload.c | 33 if (unlikely(!ops)) ipv6_gso_pull_exthdrs() 40 if (unlikely(!pskb_may_pull(skb, 8))) ipv6_gso_pull_exthdrs() 46 if (unlikely(!pskb_may_pull(skb, len))) ipv6_gso_pull_exthdrs() 71 if (unlikely(skb_shinfo(skb)->gso_type & ipv6_gso_segment() 89 if (unlikely(!pskb_may_pull(skb, sizeof(*ipv6h)))) ipv6_gso_segment() 153 if (unlikely(!(*opps))) ipv6_exthdrs_len() 184 if (unlikely(!iph)) ipv6_gro_receive()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_fs.c | 228 if (unlikely(ret < 0)) __ffs_ep0_queue_wait() 232 if (unlikely(ret)) { __ffs_ep0_queue_wait() 269 if (unlikely(ret < 0)) ffs_ep0_write() 277 if (unlikely(len < 16)) { ffs_ep0_write() 292 if (unlikely(ret < 0)) ffs_ep0_write() 300 if (unlikely(ret < 0)) ffs_ep0_write() 304 if (unlikely(ret)) { ffs_ep0_write() 313 if (unlikely(ret < 0)) { ffs_ep0_write() 367 * from user space in vain but it's unlikely. ffs_ep0_write() 426 return unlikely(__copy_to_user(buf, events, size)) ? -EFAULT : size; __ffs_ep0_read_events() 445 if (unlikely(ret < 0)) ffs_ep0_read() 467 if (unlikely(!n)) { ffs_ep0_read() 499 if (unlikely(!data)) { ffs_ep0_read() 516 if (likely(ret > 0) && unlikely(__copy_to_user(buf, data, len))) ffs_ep0_read() 538 if (unlikely(ffs->state == FFS_CLOSING)) ffs_ep0_open() 587 if (unlikely(ret < 0)) ffs_ep0_poll() 744 if (unlikely(!data)) ffs_epfile_io() 757 if (unlikely(ret)) ffs_epfile_io() 787 if (unlikely(data_len == -EINVAL)) { ffs_epfile_io() 795 if (unlikely(!req)) ffs_epfile_io() 810 if (unlikely(ret)) { ffs_epfile_io() 831 if (unlikely(ret < 0)) { ffs_epfile_io() 833 } else if (unlikely( ffs_epfile_io() 912 if (unlikely(!p)) ffs_epfile_write_iter() 948 if (unlikely(!p)) ffs_epfile_read_iter() 1122 if (unlikely(!dentry)) ffs_sb_create_file() 1126 if (unlikely(!inode)) { ffs_sb_create_file() 1173 if (unlikely(!sb->s_root)) ffs_sb_fill() 1177 if (unlikely(!ffs_sb_create_file(sb, "ep0", ffs, ffs_sb_fill() 1202 if (unlikely(!eq)) { ffs_fs_parse_opts() 1296 if (unlikely(ret < 0)) ffs_fs_mount() 1300 if (unlikely(!ffs)) ffs_fs_mount() 1306 if (unlikely(!ffs->dev_name)) { ffs_fs_mount() 1403 if (unlikely(atomic_dec_and_test(&ffs->ref))) { ffs_data_put() 1443 if (unlikely(!ffs)) ffs_data_new() 1522 if (unlikely(first_id < 0)) functionfs_bind() 1526 if (unlikely(!ffs->ep0req)) functionfs_bind() 1583 if (unlikely(!epfile->dentry)) { ffs_epfiles_create() 1741 if (unlikely(!__entity_check_ ##type(val))) { \ ffs_do_single_desc() 1746 if (unlikely(ret < 0)) { \ ffs_do_single_desc() 1858 if (unlikely(ret < 0)) { ffs_do_descs() 1868 if (unlikely(ret < 0)) { ffs_do_descs() 1974 if (unlikely(ret < 0)) { ffs_do_single_os_desc() 2014 if (unlikely(ret < 0)) { ffs_do_os_descs() 2035 if (unlikely(ret < 0)) { ffs_do_os_descs() 2246 if (unlikely(get_unaligned_le32(data) != FUNCTIONFS_STRINGS_MAGIC || __ffs_data_got_strings() 2253 if (unlikely(!str_count != !lang_count)) __ffs_data_got_strings() 2258 if (unlikely(str_count < needed_count)) __ffs_data_got_strings() 2282 if (unlikely(!vlabuf)) { __ffs_data_got_strings() 2310 if (unlikely(len < 3)) __ffs_data_got_strings() 2323 if (unlikely(length == len)) __ffs_data_got_strings() 2353 if (unlikely(len)) __ffs_data_got_strings() 2500 if (unlikely(ffs_ep->descs[ep_desc_id])) { __ffs_func_bind_do_descs() 2525 if (unlikely(!ep)) __ffs_func_bind_do_descs() 2530 if (unlikely(!req)) __ffs_func_bind_do_descs() 2567 if (unlikely(id < 0)) __ffs_func_bind_do_nums() 2588 if (unlikely(!func->eps[idx].ep)) __ffs_func_bind_do_nums() 2772 if (unlikely(!(full | high | super))) _ffs_func_bind() 2777 if (unlikely(!vlabuf)) _ffs_func_bind() 2815 if (unlikely(fs_len < 0)) { _ffs_func_bind() 2829 if (unlikely(hs_len < 0)) { _ffs_func_bind() 2843 if (unlikely(ss_len < 0)) { _ffs_func_bind() 2861 if (unlikely(ret < 0)) _ffs_func_bind() 2881 if (unlikely(ret < 0)) _ffs_func_bind() 2925 if (unlikely(intf < 0)) ffs_func_set_alt() 2991 if (unlikely(ret < 0)) ffs_func_setup() 2997 if (unlikely(ret < 0)) ffs_func_setup() 3256 if (unlikely(!func)) ffs_alloc() 3482 if (unlikely(!len)) ffs_prepare_buffer() 3486 if (unlikely(!data)) ffs_prepare_buffer() 3489 if (unlikely(__copy_from_user(data, buf, len))) { ffs_prepare_buffer()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | acl.c | 104 if (unlikely(old_count <= new_count)) lustre_posix_acl_xattr_reduce_space() 108 if (unlikely(new == NULL)) lustre_posix_acl_xattr_reduce_space() 126 if (unlikely(old_count <= ext_count)) lustre_ext_acl_xattr_reduce_space() 130 if (unlikely(new == NULL)) lustre_ext_acl_xattr_reduce_space() 148 if (unlikely(size < 0)) lustre_posix_acl_xattr_2ext() 156 if (unlikely(new == NULL)) lustre_posix_acl_xattr_2ext() 187 if (unlikely(new == NULL)) lustre_posix_acl_xattr_filter() 313 if (unlikely(new == NULL)) lustre_acl_xattr_merge2posix() 353 if (unlikely(size < 0)) lustre_acl_xattr_merge2posix() 364 if (unlikely(new == NULL)) lustre_acl_xattr_merge2posix() 425 if (unlikely(size < 0)) lustre_acl_xattr_merge2ext() 436 if (unlikely(new == NULL)) lustre_acl_xattr_merge2ext()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | vendor_cmd.c | 53 if (unlikely(wl->state != WLCORE_STATE_ON)) { wlcore_vendor_cmd_smart_config_start() 85 if (unlikely(wl->state != WLCORE_STATE_ON)) { wlcore_vendor_cmd_smart_config_stop() 129 if (unlikely(wl->state != WLCORE_STATE_ON)) { wlcore_vendor_cmd_smart_config_set_group_key()
|
H A D | debug.h | 80 if (unlikely(level & wl12xx_debug_level)) \ 86 if (unlikely(level & wl12xx_debug_level)) \
|
/linux-4.1.27/arch/x86/lib/ |
H A D | csum-partial_64.c | 39 if (unlikely(len == 0)) do_csum() 42 if (unlikely(odd)) { do_csum() 114 if (unlikely(odd)) { do_csum()
|
H A D | csum-wrappers_64.c | 40 if (unlikely((unsigned long)src & 6)) { csum_partial_copy_from_user() 59 if (unlikely(*errp)) csum_partial_copy_from_user() 91 if (unlikely(!access_ok(VERIFY_WRITE, dst, len))) { csum_partial_copy_to_user() 96 if (unlikely((unsigned long)dst & 6)) { csum_partial_copy_to_user()
|
/linux-4.1.27/arch/tile/lib/ |
H A D | spinlock_64.c | 37 if (unlikely(my_ticket & __ARCH_SPIN_NEXT_OVERFLOW)) { arch_spin_lock_slow() 58 if (unlikely(arch_spin_current(val) != arch_spin_next(val))) arch_spin_trylock() 84 } while (unlikely(arch_write_val_locked(val))); __read_lock_failed()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | base.c | 52 if (unlikely(end >= max)) nvkm_vm_map_at() 60 if (unlikely(end >= max)) { nvkm_vm_map_at() 96 if (unlikely(end >= max)) nvkm_vm_map_sg_table() 110 if (unlikely(end >= max)) { nvkm_vm_map_sg_table() 151 if (unlikely(end >= max)) nvkm_vm_map_sg() 160 if (unlikely(end >= max)) { nvkm_vm_map_sg() 199 if (unlikely(end >= max)) nvkm_vm_unmap_at() 207 if (unlikely(end >= max)) { nvkm_vm_unmap_at() 267 if (unlikely(ret)) nvkm_vm_map_pgt() 271 if (unlikely(vpgt->refcount[big]++)) { nvkm_vm_map_pgt() 299 if (unlikely(ret != 0)) { nvkm_vm_get() 341 if (unlikely(vma->node == NULL)) nvkm_vm_put()
|
/linux-4.1.27/fs/lockd/ |
H A D | clnt4xdr.c | 134 if (unlikely(p == NULL)) decode_netobj() 137 if (unlikely(length > XDR_MAX_NETOBJ)) decode_netobj() 166 if (unlikely(p == NULL)) decode_cookie() 175 if (unlikely(p == NULL)) decode_cookie() 237 if (unlikely(p == NULL)) decode_nlm4_stat() 239 if (unlikely(ntohl(*p) > ntohl(nlm4_failed))) decode_nlm4_stat() 292 if (unlikely(p == NULL)) decode_nlm4_holder() 299 if (unlikely(error)) decode_nlm4_holder() 303 if (unlikely(p == NULL)) decode_nlm4_holder() 518 if (unlikely(error)) decode_nlm4_testrply() 533 if (unlikely(error)) nlm4_xdr_dec_testres() 553 if (unlikely(error)) nlm4_xdr_dec_res()
|
H A D | clntxdr.c | 131 if (unlikely(p == NULL)) decode_netobj() 134 if (unlikely(length > XDR_MAX_NETOBJ)) decode_netobj() 163 if (unlikely(p == NULL)) decode_cookie() 172 if (unlikely(p == NULL)) decode_cookie() 232 if (unlikely(p == NULL)) decode_nlm_stat() 234 if (unlikely(ntohl(*p) > ntohl(nlm_lck_denied_grace_period))) decode_nlm_stat() 286 if (unlikely(p == NULL)) decode_nlm_holder() 293 if (unlikely(error)) decode_nlm_holder() 297 if (unlikely(p == NULL)) decode_nlm_holder() 516 if (unlikely(error)) decode_nlm_testrply() 531 if (unlikely(error)) nlm_xdr_dec_testres() 551 if (unlikely(error)) nlm_xdr_dec_res()
|
/linux-4.1.27/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 36 if (unlikely(!info) || !channel) dma_show_devices() 54 if (unlikely(ret)) dma_subsys_init() 143 if (unlikely(ret)) { dma_create_sysfs_files()
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | mmu_context.c | 65 if (unlikely(CTX_PID(next_mmu_context) == 0)) { get_new_context() 74 if (unlikely(CTX_VERSION(next_mmu_context) == 0)) get_new_context() 89 if (unlikely(CTX_VERSION(next->context) != switch_mm()
|
/linux-4.1.27/arch/arm/mach-mmp/ |
H A D | gplugd.c | 146 if (unlikely(gpio_request(104, "ETH_RESET_N"))) { gplugd_eth_init() 168 if (unlikely(gpio_request(35, "DISP_FREQ_SEL"))) { select_disp_freq() 176 if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { select_disp_freq()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_lib_dma.c | 31 if (unlikely(!nseg)) scsi_dma_map()
|
/linux-4.1.27/arch/sh/oprofile/ |
H A D | common.c | 46 if (unlikely(!sh_pmu_op_name)) oprofile_arch_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | client.h | 23 if (unlikely(!nv_iclass(obj, NV_CLIENT_CLASS))) nv_client()
|
H A D | engctx.h | 22 if (unlikely(!nv_iclass(obj, NV_ENGCTX_CLASS))) nv_engctx()
|
H A D | engine.h | 24 if (unlikely(!nv_iclass(obj, NV_ENGINE_CLASS))) nv_engine()
|
H A D | namedb.h | 16 if (unlikely(!nv_iclass(obj, NV_NAMEDB_CLASS))) nv_namedb()
|
H A D | parent.h | 30 if (unlikely(!(nv_iclass(obj, NV_PARENT_CLASS)))) nv_parent()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | instmem.h | 17 if (unlikely(!nv_iclass(obj, NV_MEMOBJ_CLASS))) nv_memobj()
|
/linux-4.1.27/arch/metag/oprofile/ |
H A D | common.c | 47 if (unlikely(!metag_pmu_op_name)) oprofile_arch_init()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | ftrace.c | 30 if (unlikely(ftrace_graph_is_dead())) prepare_ftrace_return() 33 if (unlikely(atomic_read(¤t->tracing_graph_pause))) prepare_ftrace_return() 60 if (unlikely(faulted)) { prepare_ftrace_return() 101 if (unlikely(faulted)) ftrace_modify_code()
|
/linux-4.1.27/arch/mips/ath25/ |
H A D | early_printk.c | 32 if (unlikely(base == NULL)) { prom_putchar()
|
/linux-4.1.27/drivers/w1/ |
H A D | w1_log.h | 31 if(unlikely(!(expr))) { \
|
/linux-4.1.27/fs/hpfs/ |
H A D | buffer.c | 18 if (n <= 0 || unlikely(secno >= hpfs_sb(s)->sb_fs_size)) hpfs_prefetch_sectors() 32 if (unlikely(secno >= hpfs_sb(s)->sb_fs_size)) hpfs_prefetch_sectors() 184 if (unlikely(qbh->data != qbh->bh[0]->b_data)) hpfs_brelse4() 194 if (unlikely(qbh->data != qbh->bh[0]->b_data)) { hpfs_mark_4buffers_dirty()
|
/linux-4.1.27/arch/mips/lib/ |
H A D | iomap-pci.c | 20 if (unlikely(!ctrl->io_map_base)) { __pci_ioport_map()
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-display.c | 28 if (unlikely(display == NULL)) mips_display_message()
|
/linux-4.1.27/arch/cris/kernel/ |
H A D | ptrace.c | 53 if (unlikely(!user_mode(regs))) do_work_pending()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | insn.c | 45 if (unlikely(offset < -33554432 || offset > 33554428)) { __arm_gen_branch_arm()
|
/linux-4.1.27/fs/gfs2/ |
H A D | util.h | 35 if (unlikely(!(assertion))) { \ 88 if (unlikely(magic != GFS2_MAGIC)) { gfs2_meta_check() 110 if (unlikely(magic != GFS2_MAGIC)) gfs2_metatype_check_i() 113 if (unlikely(t != type)) gfs2_metatype_check_i()
|
/linux-4.1.27/drivers/xen/ |
H A D | preempt.c | 33 if (unlikely(__this_cpu_read(xen_in_preemptible_hcall) xen_maybe_preempt_hcall()
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
H A D | zd_def.h | 41 if (unlikely(__cond)) \ 53 if (unlikely(!(x))) { \
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | rfkill.c | 61 if (unlikely(b43legacy_status(dev) < B43legacy_STAT_INITIALIZED)) { b43legacy_rfkill_poll() 72 if (unlikely(enabled != dev->radio_hw_enable)) { b43legacy_rfkill_poll()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | ad714x-i2c.c | 39 if (unlikely(error < 0)) { ad714x_i2c_write() 62 if (unlikely(error < 0)) { ad714x_i2c_read()
|
H A D | ad714x-spi.c | 54 if (unlikely(error)) { ad714x_spi_read() 76 if (unlikely(error)) { ad714x_spi_write()
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | sg_sw_sec4.h | 92 if (unlikely(chained)) { dma_map_sg_chained() 108 if (unlikely(chained)) { dma_unmap_sg_chained()
|
/linux-4.1.27/arch/x86/kernel/kprobes/ |
H A D | ftrace.c | 37 if (unlikely(p->post_handler)) { __skip_singlestep() 69 if (unlikely(!p) || kprobe_disabled(p)) kprobe_ftrace_handler()
|
/linux-4.1.27/arch/mips/loongson/lemote-2f/ |
H A D | clock.c | 65 if (unlikely(clkp->flags & CLK_RATE_PROPAGATES)) propagate_rate() 107 if (unlikely(clk->flags & CLK_RATE_PROPAGATES)) clk_set_rate()
|