Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 78) sorted by relevance

1234

/include/net/
A Dgre.h56 if (test_bit(IP_TUNNEL_CSUM_BIT, o_flags)) in gre_calc_hlen()
58 if (test_bit(IP_TUNNEL_KEY_BIT, o_flags)) in gre_calc_hlen()
60 if (test_bit(IP_TUNNEL_SEQ_BIT, o_flags)) in gre_calc_hlen()
84 if (test_bit(IP_TUNNEL_CSUM_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
88 if (test_bit(IP_TUNNEL_KEY_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
90 if (test_bit(IP_TUNNEL_SEQ_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
92 if (test_bit(IP_TUNNEL_STRICT_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
94 if (test_bit(IP_TUNNEL_REC_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
124 if (test_bit(IP_TUNNEL_SEQ_BIT, flags)) { in gre_build_header()
128 if (test_bit(IP_TUNNEL_KEY_BIT, flags)) { in gre_build_header()
[all …]
A D6lowpan.h126 return test_bit(LOWPAN_IPHC_CTX_FLAG_ACTIVE, &ctx->flags); in lowpan_iphc_ctx_is_active()
132 return test_bit(LOWPAN_IPHC_CTX_FLAG_COMPRESSION, &ctx->flags); in lowpan_iphc_ctx_is_compression()
/include/linux/
A Dbit_spinlock.h31 } while (test_bit(bitnum, addr)); in bit_spin_lock()
60 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()
77 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
92 return test_bit(bitnum, addr); in bit_spin_is_locked()
A Dtty_port.h171 return test_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_cts_enabled()
181 return test_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_active()
191 return test_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_check_carrier()
201 return test_bit(TTY_PORT_SUSPENDED, &port->iflags); in tty_port_suspended()
211 return test_bit(TTY_PORT_INITIALIZED, &port->iflags); in tty_port_initialized()
221 return test_bit(TTY_PORT_KOPENED, &port->iflags); in tty_port_kopened()
A Dkhugepaged.h23 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags)) in khugepaged_fork()
29 if (test_bit(MMF_VM_HUGEPAGE, &mm->flags)) in khugepaged_exit()
A Ddma-fence.h421 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_is_signaled_locked()
451 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_is_signaled()
477 if (test_bit(DMA_FENCE_FLAG_SEQNO64_BIT, &fence->flags)) in __dma_fence_is_later()
585 WARN_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)); in dma_fence_set_error()
601 if (WARN_ON(!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))) in dma_fence_timestamp()
604 while (!test_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &fence->flags)) in dma_fence_timestamp()
A Datmdev.h74 (test_bit(ATM_VF_READY,&(flags)) ? ATM_VS_CONNECTED : \
75 test_bit(ATM_VF_RELEASED,&(flags)) ? ATM_VS_CLOSING : \
76 test_bit(ATM_VF_LISTEN,&(flags)) ? ATM_VS_LISTEN : \
77 test_bit(ATM_VF_REGIS,&(flags)) ? ATM_VS_INUSE : \
78 test_bit(ATM_VF_BOUND,&(flags)) ? ATM_VS_BOUND : ATM_VS_IDLE)
286 BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); in atm_dev_put()
A Dksm.h59 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) in ksm_fork()
65 if (test_bit(MMF_VM_MERGE_ANY, &mm->flags)) in ksm_execve()
73 if (test_bit(MMF_VM_MERGEABLE, &mm->flags)) in ksm_exit()
A Dpage_idle.h22 page_young = test_bit(PAGE_EXT_YOUNG, &page_ext->flags); in folio_test_young()
61 page_idle = test_bit(PAGE_EXT_IDLE, &page_ext->flags); in folio_test_idle()
A Dthread_info.h126 return test_bit(flag, (unsigned long *)&ti->flags); in test_ti_thread_flag()
160 test_bit(SYSCALL_WORK_BIT_##fl, &current_thread_info()->syscall_work)
167 test_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work)
200 return test_bit(bit, in tif_test_bit()
A Dfolio_queue.h111 return test_bit(slot, &folioq->marks); in folioq_is_marked()
150 return test_bit(slot, &folioq->marks2); in folioq_is_marked2()
A Dwatchdog.h134 return test_bit(WDOG_ACTIVE, &wdd->status); in watchdog_active()
143 return test_bit(WDOG_HW_RUNNING, &wdd->status); in watchdog_hw_running()
A Dpage-flags.h220 test_bit(PG_head, &page->flags)) { in page_fixed_fake_head()
328 return test_bit(PG_head, &page->flags) || in PageCompound()
352 VM_BUG_ON_PGFLAGS(n > 0 && !test_bit(PG_head, &page->flags), page); in const_folio_flags()
361 VM_BUG_ON_PGFLAGS(n > 0 && !test_bit(PG_head, &page->flags), page); in folio_flags()
418 { return test_bit(PG_##name, const_folio_flags(folio, page)); }
452 { return test_bit(PG_##lname, &policy(page, 0)->flags); }
633 test_bit(PG_swapcache, const_folio_flags(folio, 0)); in PAGEFLAG()
786 bool ret = test_bit(PG_uptodate, const_folio_flags(folio, 0)); in folio_test_uptodate()
843 return test_bit(PG_head, const_folio_flags(folio, FOLIO_PF_ANY)); in folio_test_head()
849 return test_bit(PG_head, &page->flags) && !page_is_fake_head(page); in PageHead()
[all …]
A Doom.h94 if (unlikely(test_bit(MMF_UNSTABLE, &mm->flags))) in check_stable_address_space()
A Dbitops.h60 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) macro
81 __check_bitop_pr(test_bit);
352 test_bit(nr, (unsigned long *)(addr)); \
A Dblkdev.h250 !test_bit(GD_SUPPRESS_PART_SCAN, &disk->state); in disk_has_partscan()
667 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags)
669 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags)
671 test_bit(QUEUE_FLAG_NOXMERGES, &(q)->queue_flags)
680 test_bit(QUEUE_FLAG_RQ_ALLOC_TIME, &(q)->queue_flags)
688 #define blk_queue_quiesced(q) test_bit(QUEUE_FLAG_QUIESCED, &(q)->queue_flags)
691 #define blk_queue_sq_sched(q) test_bit(QUEUE_FLAG_SQ_SCHED, &(q)->queue_flags)
695 test_bit(QUEUE_FLAG_DISABLE_WBT_DEF, &(q)->queue_flags)
697 test_bit(QUEUE_FLAG_NO_ELV_SWITCH, &(q)->queue_flags)
803 test_bit(GD_READ_ONLY, &disk->state); in get_disk_ro()
[all …]
A Dlinkmode.h47 #define linkmode_test_bit test_bit
A Dfdtable.h97 return test_bit(fd, files_fdtable(files)->close_on_exec); in close_on_exec()
A Dnfs_page.h125 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags))
175 if (test_bit(PG_FOLIO, &req->wb_flags)) in nfs_page_to_folio()
A Dfscache.h27 #define fscache_cookie_enabled(cookie) (cookie && !test_bit(FSCACHE_COOKIE_DISABLED, &cookie->flags…
648 test_bit(FSCACHE_COOKIE_HAVE_DATA, &cookie->flags) && in fscache_note_page_release()
649 test_bit(FSCACHE_COOKIE_NO_DATA_TO_READ, &cookie->flags)) in fscache_note_page_release()
/include/linux/sunrpc/
A Dsvc_xprt.h117 if (test_bit(XPT_TEMP, &xpt->xpt_flags) && in svc_xprt_set_valid()
137 if (test_bit(XPT_CLOSE, &xpt->xpt_flags)) { in register_xpt_user()
153 return (test_bit(XPT_DEAD, &xprt->xpt_flags) != 0) || in svc_xprt_is_dead()
154 (test_bit(XPT_CLOSE, &xprt->xpt_flags) != 0); in svc_xprt_is_dead()
/include/asm-generic/bitops/
A Dle.h21 return test_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_bit_le()
/include/media/
A Dmedia-devnode.h165 return test_bit(MEDIA_FLAG_REGISTERED, &devnode->flags); in media_devnode_is_registered()
/include/rv/
A Dltl_monitor.h134 if (test_bit(i, mon->atoms)) { in ltl_trace_event()
151 if (test_bit(i, mon->states)) in ltl_validate()
/include/net/netfilter/
A Dnf_conntrack.h259 return test_bit(IPS_TEMPLATE_BIT, &ct->status); in nf_ct_is_template()
265 return test_bit(IPS_CONFIRMED_BIT, &ct->status); in nf_ct_is_confirmed()
270 return test_bit(IPS_DYING_BIT, &ct->status); in nf_ct_is_dying()

Completed in 42 milliseconds

1234