Home
last modified time | relevance | path

Searched refs:cp_flags (Results 1 – 24 of 24) sorted by relevance

/linux/mm/
H A Dmprotect.c95 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in change_pte_range()
320 if (!(cp_flags & MM_CP_UFFD_WP)) in pgtable_populate_needed()
401 addr, newprot, cp_flags); in change_pmd_range()
416 cp_flags); in change_pmd_range()
468 addr, newprot, cp_flags); in change_pud_range()
479 cp_flags); in change_pud_range()
505 cp_flags); in change_p4d_range()
533 cp_flags); in change_protection_range()
556 if (cp_flags & MM_CP_PROT_NUMA) in change_protection()
564 cp_flags); in change_protection()
[all …]
H A Dhuge_memory.c2193 unsigned long cp_flags) in change_huge_pmd() argument
2198 bool prot_numa = cp_flags & MM_CP_PROT_NUMA; in change_huge_pmd()
2199 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in change_huge_pmd()
2200 bool uffd_wp_resolve = cp_flags & MM_CP_UFFD_WP_RESOLVE; in change_huge_pmd()
2308 if ((cp_flags & MM_CP_TRY_CHANGE_WRITABLE) && !pmd_write(entry) && in change_huge_pmd()
2332 unsigned long cp_flags) in change_huge_pud() argument
2341 if (cp_flags & MM_CP_PROT_NUMA) in change_huge_pud()
2348 if (WARN_ON_ONCE(cp_flags & MM_CP_UFFD_WP_ALL)) in change_huge_pud()
H A Dhugetlb.c6750 pgprot_t newprot, unsigned long cp_flags) in hugetlb_change_protection() argument
6761 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in hugetlb_change_protection()
6762 bool uffd_wp_resolve = cp_flags & MM_CP_UFFD_WP_RESOLVE; in hugetlb_change_protection()
/linux/include/uapi/linux/
H A Dnilfs2_ondisk.h505 __le32 cp_flags; member
536 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) | \
542 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) & \
548 return !!(__le32_to_cpu(cp->cp_flags) & \
H A Dchio.h92 int cp_flags; member
/linux/net/rds/
H A Dthreads.c138 set_bit(RDS_RECONNECT_PENDING, &cp->cp_flags); in rds_queue_reconnect()
173 clear_bit(RDS_RECONNECT_PENDING, &cp->cp_flags); in rds_connect_worker()
199 clear_bit(RDS_LL_SEND_FULL, &cp->cp_flags); in rds_send_worker()
H A Dconnection.c122 cp->cp_flags = 0; in rds_conn_path_reset()
149 cp->cp_flags = 0; in __rds_conn_path_init()
394 !test_bit(RDS_IN_XMIT, &cp->cp_flags)); in rds_conn_shutdown()
396 !test_bit(RDS_RECV_REFILL, &cp->cp_flags)); in rds_conn_shutdown()
756 rds_conn_info_set(cinfo->flags, test_bit(RDS_IN_XMIT, &cp->cp_flags), in rds_conn_info_visitor()
782 rds_conn_info_set(cinfo6->flags, test_bit(RDS_IN_XMIT, &cp->cp_flags), in rds6_conn_info_visitor()
912 !test_and_set_bit(RDS_RECONNECT_PENDING, &cp->cp_flags)) in rds_conn_path_connect_if_down()
H A Drds_single_path.h20 #define c_flags c_path[0].cp_flags
H A Dib.c508 return (test_bit(RDS_DESTROY_PENDING, &cp->cp_flags) || in rds_ib_is_unloading()
H A Dsend.c106 return test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags) == 0; in acquire_in_xmit()
111 clear_bit_unlock(RDS_IN_XMIT, &cp->cp_flags); in release_in_xmit()
H A Dtcp.c167 wait_event(cp->cp_waitq, !test_bit(RDS_IN_XMIT, &cp->cp_flags)); in rds_tcp_reset_callbacks()
H A Drds.h123 unsigned long cp_flags; member
/linux/include/linux/
H A Dhuge_mm.h39 unsigned long cp_flags);
395 unsigned long cp_flags);
400 unsigned long cp_flags) { return 0; } in change_huge_pud() argument
651 unsigned long cp_flags) in change_huge_pud() argument
H A Dhugetlb.h271 unsigned long cp_flags);
445 unsigned long cp_flags) in hugetlb_change_protection() argument
H A Dmm.h2571 unsigned long end, unsigned long cp_flags);
/linux/fs/nfsd/
H A Dxdr4.h690 unsigned long cp_flags; member
722 set_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags); in nfsd4_copy_set_sync()
724 clear_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags); in nfsd4_copy_set_sync()
729 return test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags); in nfsd4_copy_is_sync()
734 return !test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags); in nfsd4_copy_is_async()
739 return !test_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags); in nfsd4_ssc_is_inter()
H A Dtrace.h2166 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags);
2167 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags);
2225 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags);
2226 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags);
2267 __entry->intra = test_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags);
2268 __entry->async = !test_bit(NFSD4_COPY_F_SYNCHRONOUS, &copy->cp_flags);
H A Dnfs4proc.c1290 if (!test_and_set_bit(NFSD4_COPY_F_STOPPED, &copy->cp_flags)) in nfsd4_stop_copy()
1624 test_bit(NFSD4_COPY_F_COMMITTED, &copy->cp_flags) ? in nfsd4_init_copy_res()
1665 set_bit(NFSD4_COPY_F_COMMITTED, &copy->cp_flags); in _nfsd_copy_file_range()
1696 dst->cp_flags = src->cp_flags; in dup_copy_fields()
1789 set_bit(NFSD4_COPY_F_COMPLETED, &copy->cp_flags); in nfsd4_do_async_copy()
2021 if (test_bit(NFSD4_COPY_F_COMPLETED, &copy->cp_flags)) { in nfsd4_offload_status()
H A Dnfs4xdr.c2031 __set_bit(NFSD4_COPY_F_INTRA, &copy->cp_flags); in nfsd4_decode_copy()
/linux/include/linux/sunrpc/
H A Drpc_rdma.h103 u8 cp_flags; member
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c211 newxprt->sc_snd_w_inv = pmsg->cp_flags & in svc_rdma_parse_connect_private()
531 pmsg.cp_flags = 0; in svc_rdma_accept()
H A Dverbs.c447 pmsg->cp_flags |= RPCRDMA_CMP_F_SND_W_INV_OK; in rpcrdma_ep_create()
/linux/drivers/scsi/
H A Dch.c704 pos.cp_flags & CP_INVERT); in ch_ioctl()
/linux/fs/nilfs2/
H A Dcpfile.c529 ci->ci_flags = le32_to_cpu(cp->cp_flags); in nilfs_cpfile_checkpoint_to_cpinfo()