Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 – 25 of 2486) sorted by relevance

12345678910>>...100

/linux/fs/btrfs/
H A Dtree-checker.c111 if (unlikely(!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), \
217 if (unlikely(!IS_ALIGNED(key->offset, sectorsize))) { in check_extent_data_item()
230 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key))) in check_extent_data_item()
239 if (unlikely(item_size < BTRFS_FILE_EXTENT_INLINE_DATA_START)) { in check_extent_data_item()
246 if (unlikely(btrfs_file_extent_type(leaf, fi) >= in check_extent_data_item()
259 if (unlikely(btrfs_file_extent_compression(leaf, fi) >= in check_extent_data_item()
267 if (unlikely(btrfs_file_extent_encryption(leaf, fi))) { in check_extent_data_item()
275 if (unlikely(key->offset)) { in check_extent_data_item()
288 if (unlikely(item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START + in check_extent_data_item()
300 if (unlikely(item_size != sizeof(*fi))) { in check_extent_data_item()
[all …]
/linux/include/linux/sunrpc/xdrgen/
H A D_builtins.h32 if (unlikely(!p)) in xdrgen_decode_bool()
43 if (unlikely(!p)) in xdrgen_encode_bool()
60 if (unlikely(!p))
77 if (unlikely(!p)) in xdrgen_decode_unsigned_int()
92 if (unlikely(!p))
103 if (unlikely(!p))
114 if (unlikely(!p))
125 if (unlikely(!p))
136 if (unlikely(!p))
147 if (unlikely(! in xdrgen_decode_hyper()
[all...]
/linux/lib/
H A Dasn1_decoder.c66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length()
86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length()
88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length()
99 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { in asn1_find_indefinite_length()
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length()
108 if (unlikely(n > sizeof(len) - 1)) in asn1_find_indefinite_length()
110 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length()
203 if (unlikely(pc >= machlen)) in asn1_ber_decoder()
206 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder()
227 if (unlikely(datalen - dp < 2)) in asn1_ber_decoder()
[all …]
/linux/fs/nfs/
H A Dcallback_xdr.c91 if (unlikely(p == NULL)) in decode_fh()
97 if (unlikely(p == NULL)) in decode_fh()
110 if (unlikely(p == NULL)) in decode_bitmap()
114 if (unlikely(p == NULL)) in decode_bitmap()
130 if (unlikely(p == NULL)) in decode_stateid()
148 if (unlikely(status != 0)) in decode_compound_hdr_arg()
151 if (unlikely(p == NULL)) in decode_compound_hdr_arg()
171 if (unlikely(p == NULL)) in decode_op_hdr()
184 if (unlikely(status != 0)) in decode_getattr_args()
197 if (unlikely(status != 0)) in decode_recall_args()
[all …]
H A Dnfs3xdr.c143 if (unlikely(!p)) in decode_uint32()
154 if (unlikely(!p)) in decode_uint64()
197 if (unlikely(!p)) in decode_inline_filename3()
203 if (unlikely(!p)) in decode_inline_filename3()
232 if (unlikely(!p)) in decode_nfspath3()
235 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3()
238 if (unlikely(count > recvd)) in decode_nfspath3()
283 if (unlikely(!p)) in decode_cookieverf3()
307 if (unlikely(!p)) in decode_writeverf3()
338 if (unlikely(!p)) in decode_nfsstat3()
[all …]
/linux/drivers/net/wireguard/
H A Dreceive.c30 if (unlikely(skb->len < sizeof(struct message_header))) in validate_header_len()
52 if (unlikely(!wg_check_packet_protocol(skb) || in prepare_skb_header()
59 if (unlikely(data_offset > U16_MAX || in prepare_skb_header()
66 if (unlikely(data_len < sizeof(struct udphdr) || in prepare_skb_header()
74 if (unlikely(!pskb_may_pull(skb, in prepare_skb_header()
79 if (unlikely(skb->len != data_len)) in prepare_skb_header()
83 if (unlikely(!header_len)) in prepare_skb_header()
86 if (unlikely(!pskb_may_pull(skb, data_offset + header_len))) in prepare_skb_header()
145 if (unlikely(!peer)) { in wg_receive_handshake_packet()
167 if (unlikely(!peer)) { in wg_receive_handshake_packet()
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_recv.c19 if (unlikely(!qp->valid)) in check_type_state()
26 if (unlikely(pkt_type != IB_OPCODE_RC)) in check_type_state()
30 if (unlikely(pkt_type != IB_OPCODE_UC)) in check_type_state()
35 if (unlikely(pkt_type != IB_OPCODE_UD)) in check_type_state()
44 if (unlikely(qp_state(qp) < IB_QPS_RTR)) { in check_type_state()
49 if (unlikely(qp_state(qp) < IB_QPS_RTS)) { in check_type_state()
91 if (unlikely(deth_qkey(pkt) != qkey)) { in check_keys()
108 if (unlikely(pkt->port_num != qp->attr.port_num)) in check_addr()
144 if (unlikely(bth_tver(pkt) != BTH_TVER)) in hdr_check()
147 if (unlikely(qpn == 0)) in hdr_check()
[all …]
H A Drxe_mw.c54 if (unlikely(mw->state != RXE_MW_STATE_VALID)) { in rxe_check_bind_mw()
61 if (unlikely((access & IB_ZERO_BASED))) { in rxe_check_bind_mw()
69 if (unlikely(mw->state != RXE_MW_STATE_FREE)) { in rxe_check_bind_mw()
76 if (unlikely(qp->pd != to_rpd(mw->ibmw.pd))) { in rxe_check_bind_mw()
83 if (unlikely(!mr || wqe->wr.wr.mw.length == 0)) { in rxe_check_bind_mw()
94 if (unlikely(mr->access & IB_ZERO_BASED)) { in rxe_check_bind_mw()
100 if (unlikely(!(mr->access & IB_ACCESS_MW_BIND))) { in rxe_check_bind_mw()
107 if (unlikely((access & in rxe_check_bind_mw()
117 if (unlikely(wqe->wr.wr.mw.length > mr->ibmr.length)) { in rxe_check_bind_mw()
123 if (unlikely((wqe->wr.wr.mw.addr < mr->ibmr.iova) || in rxe_check_bind_mw()
[all …]
/linux/net/caif/
H A Dcfpkt_skbuff.c77 if (unlikely(skb == NULL)) in cfpkt_create_pfx()
116 if (unlikely(is_erronous(pkt))) in cfpkt_extr_head()
119 if (unlikely(len > skb->len)) { in cfpkt_extr_head()
124 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head()
125 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_head()
143 if (unlikely(is_erronous(pkt))) in cfpkt_extr_trail()
146 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_trail()
150 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { in cfpkt_extr_trail()
173 if (unlikely(is_erronous(pkt))) in cfpkt_add_body()
179 if (unlikely(skb_tailroom(skb) < len)) { in cfpkt_add_body()
[all …]
/linux/drivers/net/ovpn/
H A Dio.c114 if (unlikely(ret == -EINPROGRESS)) in ovpn_decrypt_post()
126 if (unlikely(ret < 0)) in ovpn_decrypt_post()
132 if (unlikely(ret < 0)) { in ovpn_decrypt_post()
157 if (unlikely(!proto)) { in ovpn_decrypt_post()
159 if (unlikely(!pskb_may_pull(skb, 1))) { in ovpn_decrypt_post()
182 if (unlikely(!ovpn_peer_check_by_src(peer->ovpn, skb, peer))) { in ovpn_decrypt_post()
198 if (unlikely(skb)) in ovpn_decrypt_post()
219 if (unlikely(!ks)) { in ovpn_recv()
244 if (unlikely(ret == -EINPROGRESS)) in ovpn_encrypt_post()
255 if (unlikely(ret == -ERANGE)) { in ovpn_encrypt_post()
[all …]
H A Dcrypto_aead.c63 if (unlikely(skb_cow_head(skb, OVPN_HEAD_ROOM))) in ovpn_aead_encrypt()
68 if (unlikely(nfrags < 0)) in ovpn_aead_encrypt()
71 if (unlikely(nfrags + 2 > (MAX_SKB_FRAGS + 2))) in ovpn_aead_encrypt()
77 if (unlikely(!ovpn_skb_cb(skb)->sg)) in ovpn_aead_encrypt()
91 if (unlikely(ret < 0)) { in ovpn_aead_encrypt()
105 if (unlikely(ret < 0)) in ovpn_aead_encrypt()
110 if (unlikely(!ovpn_skb_cb(skb)->iv)) in ovpn_aead_encrypt()
134 if (unlikely(!req)) in ovpn_aead_encrypt()
169 if (unlikely(payload_len < 0)) in ovpn_aead_decrypt()
176 if (unlikely(!pskb_may_pull(skb, payload_offset))) in ovpn_aead_decrypt()
[all …]
/linux/tools/include/asm/
H A Dbug.h12 if (unlikely(__ret_warn_on)) \
14 unlikely(__ret_warn_on); \
19 if (unlikely(__ret_warn_on)) \
22 unlikely(__ret_warn_on); \
29 if (unlikely(__ret_warn_once && !__warned)) { \
33 unlikely(__ret_warn_once); \
40 if (unlikely(__ret_warn_once)) \
43 unlikely(__ret_warn_once); \
/linux/arch/microblaze/mm/
H A Dfault.c100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault()
109 if (unlikely(faulthandler_disabled() || !mm)) { in do_page_fault()
142 if (unlikely(!mmap_read_trylock(mm))) { in do_page_fault()
151 if (unlikely(!vma)) in do_page_fault()
157 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) in do_page_fault()
160 if (unlikely(!is_write)) in do_page_fault()
172 if (unlikely(address + 0x100000 < vma->vm_end)) { in do_page_fault()
203 if (unlikely(is_write)) { in do_page_fault()
204 if (unlikely(!(vma->vm_flags & VM_WRITE))) in do_page_fault()
210 if (unlikely(error_code & 0x08000000)) in do_page_fault()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.c17 if (unlikely(ret)) \
140 if (unlikely(ret)) in get_raw_ingress_record()
145 if (unlikely(ret)) in get_raw_ingress_record()
155 if (unlikely(ret)) in get_raw_ingress_record()
161 if (unlikely(ret)) in get_raw_ingress_record()
233 if (unlikely(ret)) in get_raw_egress_record()
238 if (unlikely(ret)) in get_raw_egress_record()
248 if (unlikely(ret)) in get_raw_egress_record()
254 if (unlikely(ret)) in get_raw_egress_record()
314 if (unlikely(ret)) in get_ingress_prectlf_record()
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.c59 if (unlikely(!io_sq->entries_in_tx_burst_left)) { in ena_com_write_bounce_buffer_to_dev()
83 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_write_bounce_buffer_to_dev()
98 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_write_header_to_bounce()
104 if (unlikely((header_offset + header_len) > llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce()
110 if (unlikely(!bounce_buffer)) { in ena_com_write_header_to_bounce()
128 if (unlikely(!bounce_buffer)) { in get_sq_desc_llq()
146 if (unlikely(io_sq->mem_queue_type == ENA_ADMIN_PLACEMENT_POLICY_HOST)) in ena_com_close_bounce_buffer()
153 if (unlikely(rc)) { in ena_com_close_bounce_buffer()
187 if (unlikely(rc)) { in ena_com_sq_update_llq_tail()
199 if (unlikely(llq_info->desc_stride_ctrl == ENA_ADMIN_SINGLE_DESC_PER_ENTRY)) in ena_com_sq_update_llq_tail()
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dtrans.c25 if (unlikely(!response_skb)) { in qtnf_trans_send_cmd_with_resp()
40 if (unlikely(ret)) in qtnf_trans_send_cmd_with_resp()
54 if (unlikely(status <= 0)) { in qtnf_trans_send_cmd_with_resp()
64 if (unlikely(!resp_skb || resp_not_handled)) { in qtnf_trans_send_cmd_with_resp()
75 if (unlikely(resp_skb && resp_not_handled)) in qtnf_trans_send_cmd_with_resp()
89 if (unlikely(!ctl_node->waiting_for_resp)) { in qtnf_trans_signal_cmdresp()
94 if (unlikely(recvd_seq_num != ctl_node->seq_num)) { in qtnf_trans_signal_cmdresp()
173 if (unlikely(skb->len < sizeof(*header))) { in qtnf_trans_handle_rx_ctl_packet()
179 if (unlikely(skb->len != le16_to_cpu(header->len))) { in qtnf_trans_handle_rx_ctl_packet()
188 if (unlikely(skb->len < sizeof(struct qlink_cmd))) { in qtnf_trans_handle_rx_ctl_packet()
[all …]
/linux/arch/parisc/lib/
H A Diomap.c314 if (unlikely(INDIRECT_ADDR(addr))) in ioread8()
321 if (unlikely(INDIRECT_ADDR(addr))) in ioread16()
328 if (unlikely(INDIRECT_ADDR(addr))) in ioread16be()
335 if (unlikely(INDIRECT_ADDR(addr))) in ioread32()
342 if (unlikely(INDIRECT_ADDR(addr))) in ioread32be()
350 if (unlikely(INDIRECT_ADDR(addr))) in ioread64()
357 if (unlikely(INDIRECT_ADDR(addr))) in ioread64be()
365 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite8()
374 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16()
383 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16be()
[all …]
/linux/arch/mips/kernel/
H A Dftrace.c90 if (unlikely(faulted)) in ftrace_modify_code()
105 if (unlikely(faulted)) in ftrace_modify_code_2()
110 if (unlikely(faulted)) in ftrace_modify_code_2()
126 if (unlikely(faulted)) in ftrace_modify_code_2r()
131 if (unlikely(faulted)) in ftrace_modify_code_2r()
290 if (unlikely(faulted)) in ftrace_get_parent_ra_addr()
308 if (unlikely(faulted)) in ftrace_get_parent_ra_addr()
330 if (unlikely(ftrace_graph_is_dead())) in prepare_ftrace_return()
333 if (unlikely(atomic_read(&current->tracing_graph_pause))) in prepare_ftrace_return()
356 if (unlikely(faulted)) in prepare_ftrace_return()
[all …]
/linux/arch/powerpc/kernel/
H A Dsyscall.c87 unlikely(MSR_TM_TRANSACTIONAL(regs->msr))) in system_call_exception()
97 if (unlikely(MSR_TM_TRANSACTIONAL(regs->msr)) && in system_call_exception()
121 if (unlikely(read_thread_flags() & _TIF_SYSCALL_DOTRACE)) { in system_call_exception()
122 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception()
135 if (unlikely(r0 >= NR_syscalls)) in system_call_exception()
138 } else if (unlikely(r0 >= NR_syscalls)) { in system_call_exception()
139 if (unlikely(trap_is_unsupported_scv(regs))) { in system_call_exception()
155 if (unlikely(is_compat_task())) { in system_call_exception()
/linux/net/llc/
H A Dllc_input.c116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) in llc_fixup_skb()
124 if (unlikely(!pskb_may_pull(skb, llc_len))) in llc_fixup_skb()
142 if (unlikely(pskb_trim_rcsum(skb, data_size))) in llc_fixup_skb()
176 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in llc_rcv()
181 if (unlikely(!skb)) in llc_rcv()
183 if (unlikely(!llc_fixup_skb(skb))) in llc_rcv()
186 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv()
189 if (unlikely(!sap)) {/* unknown SAP */ in llc_rcv()
201 if (unlikely(!sap_handler)) { in llc_rcv()
/linux/security/
H A Dsecurity.c903 if (unlikely(rc)) in security_sb_alloc()
906 if (unlikely(rc)) in security_sb_alloc()
1191 if (unlikely(rc)) in security_inode_alloc()
1194 if (unlikely(rc)) in security_inode_alloc()
1313 if (unlikely(IS_PRIVATE(inode))) in security_inode_init_security()
1389 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mknod()
1404 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_path_post_mknod()
1422 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mkdir()
1439 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_rmdir()
1455 if (unlikely(IS_PRIVAT in security_path_unlink()
[all...]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c212 if (unlikely(err)) in ct_control_enable()
228 if (unlikely(err)) in ct_register_buffer()
235 if (unlikely(err)) in ct_register_buffer()
242 if (unlikely(err)) in ct_register_buffer()
273 if (unlikely(err)) { in intel_guc_ct_init()
358 if (unlikely(err)) in intel_guc_ct_enable()
365 if (unlikely(err)) in intel_guc_ct_enable()
369 if (unlikely(err)) in intel_guc_ct_enable()
443 if (unlikely(desc->status)) in ct_write()
449 if (unlikely(tail != READ_ONCE(desc->tail))) { in ct_write()
[all …]
/linux/arch/powerpc/mm/book3s64/
H A Dhash_64k.c58 if (unlikely(old_pte & H_PAGE_BUSY)) in __hash_page_4K()
61 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_4K()
167 if (unlikely(slot == -1)) { in __hash_page_4K()
177 if (unlikely(soft_invalid)) { in __hash_page_4K()
190 if (unlikely(slot == -1 || soft_invalid)) { in __hash_page_4K()
211 if (unlikely(slot == -2)) { in __hash_page_4K()
247 if (unlikely(old_pte & H_PAGE_BUSY)) in __hash_page_64K()
250 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_64K()
257 unlikely(pte_ci(pte))) in __hash_page_64K()
276 if (unlikely(old_pte & H_PAGE_HASHPTE)) { in __hash_page_64K()
[all …]
/linux/include/linux/
H A Drseq_entry.h142 if (unlikely(work_pending || state.granted)) { in rseq_grant_slice_extension()
282 if (unlikely(start_ip >= tasksize)) in rseq_debug_update_user_cs()
291 if (unlikely(cs_end >= tasksize || cs_end < start_ip)) in rseq_debug_update_user_cs()
300 if (unlikely(abort_ip >= tasksize || abort_ip < sizeof(*uc_sig))) in rseq_debug_update_user_cs()
303 if (unlikely(abort_ip - start_ip < offset)) in rseq_debug_update_user_cs()
312 if (unlikely(head)) in rseq_debug_update_user_cs()
318 if (unlikely(usig != t->rseq.sig)) in rseq_debug_update_user_cs()
324 if (unlikely(!t->rseq.event.user_irq)) in rseq_debug_update_user_cs()
337 if (unlikely(abort_ip)) in rseq_debug_update_user_cs()
402 if (unlikely(csaddr >= tasksize)) { in rseq_update_user_cs()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c97 if (unlikely(ret)) { in hws_bwc_matcher_move_all_simple()
115 if (unlikely(ret)) { in hws_bwc_matcher_move_all_simple()
138 if (unlikely(ret)) { in hws_bwc_matcher_move_all_simple()
156 if (unlikely(move_error)) in hws_bwc_matcher_move_all_simple()
158 if (unlikely(poll_error)) in hws_bwc_matcher_move_all_simple()
160 if (unlikely(drain_error)) in hws_bwc_matcher_move_all_simple()
428 if (unlikely(ret < 0)) { in mlx5hws_bwc_queue_poll()
437 if (unlikely(comp[i].status != MLX5HWS_FLOW_OP_SUCCESS)) { in mlx5hws_bwc_queue_poll()
449 if (unlikely(!got_comp && time_after(jiffies, timeout))) { in mlx5hws_bwc_queue_poll()
485 if (unlikely(!bwc_rule)) in mlx5hws_bwc_rule_alloc()
[all …]

12345678910>>...100