Lines Matching refs:iocb
63 #define ocfs2_iocb_is_rw_locked(iocb) \ argument
64 test_bit(0, (unsigned long *)&iocb->private)
65 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked() argument
67 set_bit(0, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
69 set_bit(1, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
71 clear_bit(1, (unsigned long *)&iocb->private); in ocfs2_iocb_set_rw_locked()
86 #define ocfs2_iocb_clear_rw_locked(iocb) \ argument
87 clear_bit(OCFS2_IOCB_RW_LOCK, (unsigned long *)&iocb->private)
88 #define ocfs2_iocb_rw_locked_level(iocb) \ argument
89 test_bit(OCFS2_IOCB_RW_LOCK_LEVEL, (unsigned long *)&iocb->private)
91 #define ocfs2_iocb_set_unaligned_aio(iocb) \ argument
92 set_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private)
93 #define ocfs2_iocb_clear_unaligned_aio(iocb) \ argument
94 clear_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private)
95 #define ocfs2_iocb_is_unaligned_aio(iocb) \ argument
96 test_bit(OCFS2_IOCB_UNALIGNED_IO, (unsigned long *)&iocb->private)