Searched refs:unlikely (Results 176 - 200 of 4104) sorted by last modified time

1234567891011>>

/linux-master/mm/
H A Dmadvise.c195 if (unlikely(non_swap_entry(entry)))
360 if (unlikely(!pmd_present(orig_pmd))) {
1327 * on any access, since it is unlikely that the appli-
H A Dinternal.h46 if (unlikely(!(gfp & __GFP_NOWARN) && __ret_warn_once && !__warned)) { \
50 unlikely(__ret_warn_once); \
764 if (unlikely((vma->vm_flags & (VM_LOCKED|VM_SPECIAL)) == VM_LOCKED))
781 if (unlikely(vma->vm_flags & VM_LOCKED))
1202 if (unlikely(!PageHead(page) && PageHuge(page)))
1304 if (unlikely(mas_is_err(&vmi->mas)))
H A Dhuge_memory.c575 if (unlikely(!*hugepage_kobj)) {
888 if (unlikely(!pgtable)) {
902 if (unlikely(!pmd_none(*vmf->pmd))) {
1005 if (unlikely(anon_vma_prepare(vma)))
1016 if (unlikely(!pgtable))
1019 if (unlikely(!zero_page)) {
1050 if (unlikely(!folio)) {
1300 if (unlikely(!pgtable))
1311 if (unlikely(is_swap_pmd(pmd))) {
1336 if (unlikely(!pmd_trans_hug
[all...]
H A Dgup.c79 if (unlikely(!folio_ref_try_add_rcu(folio, refs)))
91 if (unlikely(page_folio(page) != folio)) {
133 if (unlikely(!(flags & FOLL_PCI_P2PDMA) && is_pci_p2pdma_page(page)))
157 if (unlikely((flags & FOLL_LONGTERM) &&
232 if (unlikely(!(flags & FOLL_PCI_P2PDMA) && is_pci_p2pdma_page(page)))
626 } else if (unlikely(!page)) {
652 if (unlikely(ret)) {
722 if (unlikely(!pmd_present(*pmd))) {
726 if (unlikely(!pmd_trans_huge(*pmd))) {
764 if (unlikely(pud_ba
[all...]
/linux-master/lib/
H A Dbootconfig.c121 if (unlikely(!xbc_data))
347 if (unlikely(!xbc_data))
654 if (unlikely(xbc_node_num == 0))
/linux-master/kernel/
H A Dfork.c664 if (unlikely(retval))
797 if (unlikely(!mm->pgd))
828 if (unlikely(x))
943 if (unlikely(atomic_dec_and_test(&mm->mm_count))) {
1034 if (unlikely(*size == 0))
1418 * write access, so this is unlikely to fail.
1420 if (unlikely(deny_write_access(new_exe_file)))
2543 if (unlikely(!(ns_of_pid(pid)->pid_allocated & PIDNS_ADDING))) {
2831 if (unlikely(trace))
2962 if (unlikely(usiz
[all...]
/linux-master/include/net/
H A Dsch_generic.h227 if (unlikely(test_bit(__QDISC_STATE_MISSED,
1270 if (unlikely(r->linklayer == TC_LINKLAYER_ATM))
/linux-master/include/linux/
H A Dswapops.h186 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE);
207 return unlikely(swp_type(entry) == SWP_DEVICE_EXCLUSIVE_WRITE);
254 return unlikely(swp_type(entry) == SWP_MIGRATION_READ ||
261 return unlikely(swp_type(entry) == SWP_MIGRATION_WRITE);
266 return unlikely(swp_type(entry) == SWP_MIGRATION_READ);
271 return unlikely(swp_type(entry) == SWP_MIGRATION_READ_EXCLUSIVE);
/linux-master/fs/nilfs2/
H A Ddir.c192 if (unlikely(!folio_test_checked(folio))) {
363 if (unlikely(n > (dir->i_blocks >> (PAGE_SHIFT - 9)))) {
571 if (unlikely(err)) {
/linux-master/fs/fuse/
H A Dfile.c59 if (unlikely(!ff))
1828 if (unlikely(err))
2043 /* Prevent resurrection of dead bucket in unlikely race with syncfs */
2046 } while (unlikely(!atomic_inc_not_zero(&wpa->bucket->count)));
2229 * Being under writeback is unlikely but possible. For example direct
3238 * It is unlikely that someone would rely on such mixed style
H A Dfuse_i.h998 return unlikely(test_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state));
/linux-master/drivers/scsi/
H A Dscsi_lib.c338 if (unlikely(scmd->resid_len > 0 && scmd->resid_len <= bufflen))
372 if (unlikely(scsi_host_in_recovery(shost))) {
916 if (unlikely(scsi_logging_level))
1052 if (unlikely(result)) /* a nz result may or may not be an error */
1073 if (unlikely(blk_stat && scsi_noretry_cmd(cmd))) {
1133 if (unlikely(sg_alloc_table_chained(&cmd->sdb.table, nr_segs,
1276 if (unlikely(ret != BLK_STS_OK))
1559 if (unlikely(cmd->device->sdev_state == SDEV_DEL)) {
1568 if (unlikely(scsi_device_blocked(cmd->device))) {
1602 if (unlikely(hos
[all...]
/linux-master/drivers/s390/net/
H A Dism_drv.c510 if (unlikely(client_id == NO_CLIENT || !ism->subs[client_id]))
/linux-master/drivers/s390/cio/
H A Dqdio_main.c300 if (unlikely(cc))
346 if (unlikely(*busy_bit)) {
379 if (unlikely(cc))
694 if (unlikely(irq_ptr->state != QDIO_IRQ_STATE_ACTIVE))
/linux-master/drivers/net/
H A Dtun.c515 if (unlikely(e->rps_rxhash != hash))
1113 if (unlikely(skb_orphan_frags_rx(skb, GFP_ATOMIC))) {
1275 if (unlikely(flags & ~XDP_XMIT_FLAGS_MASK))
1289 if (unlikely(!tfile))
1320 if (unlikely(!frame))
1679 if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL)))
1791 if (unlikely(len < ETH_HLEN ||
1944 if (unlikely(!(tun->dev->flags & IFF_UP))) {
1959 if (unlikely(headlen > skb_headlen(skb))) {
1986 if (unlikely(tfil
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c327 if (unlikely(dma_mapping_error(rx_chn->dma_dev, buf_dma))) {
785 if (unlikely(!(skb->dev->features & NETIF_F_RXCSUM)))
927 if (unlikely(common->rx_pace_timeout)) {
1108 if (unlikely(tx_chn->tx_pace_timeout && !tdown)) {
1172 if (unlikely(dma_mapping_error(tx_chn->dma_dev, buf_dma))) {
1230 if (unlikely(dma_mapping_error(tx_chn->dma_dev, buf_dma))) {
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c189 if (unlikely(watchdog < 0))
191 if (unlikely((buf_sz < DEFAULT_BUFSIZE) || (buf_sz > BUF_SIZE_16KiB)))
193 if (unlikely(flow_ctrl > 1))
197 if (unlikely((pause < 0) || (pause > 0xffff)))
2485 if (unlikely(stmmac_tx_avail(priv, queue) < STMMAC_TX_XSK_AVAIL) ||
2579 if (unlikely(priv->xstats.threshold != SF_DMA_MODE) && tc <= 256) {
2645 if (unlikely(status & tx_dma_own))
2658 if (unlikely(status & tx_err)) {
2660 if (unlikely(status & tx_err_bump_tc))
2735 if (unlikely(netif_tx_queue_stoppe
[all...]
H A Ddwmac4_core.c845 if (unlikely(intr_status & mmc_rx_irq))
847 if (unlikely(intr_status & mmc_rx_csum_offload_irq))
850 if (unlikely(intr_status & pmt_irq)) {
H A Ddwmac1000_core.c311 if (unlikely(intr_status & GMAC_INT_STATUS_MMCRIS))
313 if (unlikely(intr_status & GMAC_INT_STATUS_MMCCSUM))
315 if (unlikely(intr_status & GMAC_INT_DISABLE_PMT)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c146 if (unlikely(test_bit(MLX5E_STATE_DESTROYING, &priv->state)))
2579 if (unlikely(err))
2585 if (unlikely(err))
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c205 if (unlikely(ret != 0))
287 if (unlikely(ret != 0))
299 if (unlikely(vmw_be->mob == NULL)) {
302 if (unlikely(vmw_be->mob == NULL))
423 if (unlikely(ret != 0))
579 if (unlikely(ret != 0))
H A Dvmwgfx_kms.c92 if (unlikely(!cmd))
425 if (unlikely(ret != 0)) {
431 if (unlikely(ret != 0))
598 if (unlikely(ret != 0))
605 if (unlikely(ret != 0))
729 if (unlikely(ret != 0))
736 if (unlikely(ret != 0))
743 if (unlikely(ret != 0))
1320 if (unlikely(!surface->metadata.scanout))
1323 if (unlikely(surfac
[all...]
H A Dvmwgfx_gem.c58 if (unlikely(ret != 0))
H A Dvmwgfx_drv.c411 if (unlikely(ret != 0))
429 if (unlikely(ret != 0)) {
504 if (unlikely(ret != 0)) {
529 if (unlikely(ret != 0)) {
545 if (unlikely(ret != 0))
915 if (unlikely(ret != 0)) {
1000 if (unlikely(ret != 0))
1028 if (unlikely(dev_priv->tdev == NULL)) {
1045 if (unlikely(dev_priv->fman == NULL)) {
1056 if (unlikely(re
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv50.c67 if (unlikely(imem->addr != base)) {
87 if (unlikely(imem->addr != base)) {

Completed in 345 milliseconds

1234567891011>>