Home
last modified time | relevance | path

Searched refs:xc_flags (Results 1 – 4 of 4) sorted by relevance

/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c302 if (!(cur->xc_flags & XC_HEAD_DONE)) { in frwr_map()
309 cur->xc_flags |= XC_HEAD_DONE; in frwr_map()
322 if (!(cur->xc_flags & XC_PAGES_DONE) && xdrbuf->page_len) { in frwr_map()
351 cur->xc_flags |= XC_PAGES_DONE; in frwr_map()
352 } else if (!(cur->xc_flags & XC_PAGES_DONE)) { in frwr_map()
353 cur->xc_flags |= XC_PAGES_DONE; in frwr_map()
357 if (!(cur->xc_flags & XC_TAIL_DONE) && xdrbuf->tail[0].iov_len && in frwr_map()
372 cur->xc_flags |= XC_TAIL_DONE; in frwr_map()
374 } else if (!(cur->xc_flags & XC_TAIL_DONE) && in frwr_map()
376 cur->xc_flags |= XC_TAIL_DONE; in frwr_map()
H A Drpc_rdma.c210 cur->xc_flags = 0; in rpcrdma_xdr_cursor_init()
213 cur->xc_flags |= XC_HEAD_DONE; in rpcrdma_xdr_cursor_init()
215 cur->xc_flags |= XC_PAGES_DONE; in rpcrdma_xdr_cursor_init()
218 cur->xc_flags |= XC_TAIL_DONE; in rpcrdma_xdr_cursor_init()
224 return (cur->xc_flags & (XC_HEAD_DONE | XC_PAGES_DONE | in rpcrdma_xdr_cursor_done()
H A Dxprt_rdma.h310 unsigned int xc_flags; member
/linux/fs/xfs/
H A Dxfs_log_cil.c74 if (test_bit(XLOG_CIL_EMPTY, &cil->xc_flags)) in xlog_item_in_current_chkpt()
163 if (!test_and_clear_bit(XLOG_CIL_PCP_SPACE, &cil->xc_flags)) in xlog_cil_insert_pcp_aggregate()
186 set_bit(XLOG_CIL_EMPTY, &cil->xc_flags); in xlog_cil_ctx_switch()
187 set_bit(XLOG_CIL_PCP_SPACE, &cil->xc_flags); in xlog_cil_ctx_switch()
683 if (test_bit(XLOG_CIL_EMPTY, &cil->xc_flags) && in xlog_cil_insert_items()
684 test_and_clear_bit(XLOG_CIL_EMPTY, &cil->xc_flags)) in xlog_cil_insert_items()
722 if (!test_bit(XLOG_CIL_PCP_SPACE, &cil->xc_flags)) { in xlog_cil_insert_items()
1423 if (test_bit(XLOG_CIL_EMPTY, &cil->xc_flags)) { in xlog_cil_push_work()
1638 ASSERT(!test_bit(XLOG_CIL_EMPTY, &cil->xc_flags)); in xlog_cil_push_background()
1742 if (test_bit(XLOG_CIL_EMPTY, &cil->xc_flags) || in xlog_cil_push_now()
[all …]