Searched refs:mpcpu (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | vfs_mount.c | 502 struct mount_pcpu *mpcpu; in vfs_ref_from_vp() local 508 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_ref_from_vp() 510 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_ref_from_vp() 511 vfs_op_thread_exit(mp, mpcpu); in vfs_ref_from_vp() 513 vfs_op_thread_exit(mp, mpcpu); in vfs_ref_from_vp() 532 struct mount_pcpu *mpcpu; in vfs_ref() local 535 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_ref() 536 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_ref() 537 vfs_op_thread_exit(mp, mpcpu); in vfs_ref() 650 struct mount_pcpu *mpcpu; in vfs_rel() local [all …]
|
| H A D | vfs_cache.c | 5725 struct mount_pcpu *mpcpu, *prev_mpcpu; in cache_fplookup_climb_mount() local 5740 if (!vfs_op_thread_enter_crit(mp, &mpcpu)) { in cache_fplookup_climb_mount() 5748 vfs_op_thread_exit_crit(mp, mpcpu); in cache_fplookup_climb_mount() 5752 vfs_op_thread_exit_crit(mp, mpcpu); in cache_fplookup_climb_mount() 5757 vfs_op_thread_exit_crit(mp, mpcpu); in cache_fplookup_climb_mount() 5762 vfs_op_thread_exit_crit(mp, mpcpu); in cache_fplookup_climb_mount() 5766 prev_mpcpu = mpcpu; in cache_fplookup_climb_mount() 5782 struct mount_pcpu *mpcpu; in cache_fplookup_cross_mount() local 5795 if (!vfs_op_thread_enter_crit(mp, &mpcpu)) { in cache_fplookup_cross_mount() 5799 vfs_op_thread_exit_crit(mp, mpcpu); in cache_fplookup_cross_mount() [all …]
|
| H A D | vfs_subr.c | 881 struct mount_pcpu *mpcpu; in vfs_busy() local 887 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_busy() 891 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_busy() 892 vfs_mp_count_add_pcpu(mpcpu, lockref, 1); in vfs_busy() 893 vfs_op_thread_exit(mp, mpcpu); in vfs_busy() 959 struct mount_pcpu *mpcpu; in vfs_unbusy() local 964 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_unbusy() 966 vfs_mp_count_sub_pcpu(mpcpu, lockref, 1); in vfs_unbusy() 967 vfs_mp_count_sub_pcpu(mpcpu, ref, 1); in vfs_unbusy() 968 vfs_op_thread_exit(mp, mpcpu); in vfs_unbusy() [all …]
|
| H A D | vfs_vnops.c | 2083 struct mount_pcpu *mpcpu; in vn_start_write_refed() local 2086 if ((flags & V_XSLEEP) == 0 && vfs_op_thread_enter(mp, &mpcpu)) { in vn_start_write_refed() 2088 vfs_mp_count_add_pcpu(mpcpu, writeopcount, 1); in vn_start_write_refed() 2089 vfs_op_thread_exit(mp, mpcpu); in vn_start_write_refed() 2249 struct mount_pcpu *mpcpu; in vn_finished_write() local 2255 if (vfs_op_thread_enter(mp, &mpcpu)) { in vn_finished_write() 2256 vfs_mp_count_sub_pcpu(mpcpu, writeopcount, 1); in vn_finished_write() 2257 vfs_mp_count_sub_pcpu(mpcpu, ref, 1); in vn_finished_write() 2258 vfs_op_thread_exit(mp, mpcpu); in vn_finished_write()
|
| /freebsd/sys/sys/ |
| H A D | mount.h | 1165 static void vfs_op_thread_exit_crit(struct mount *mp, struct mount_pcpu *mpcpu); 1170 struct mount_pcpu *mpcpu = vfs_mount_pcpu(mp); in vfs_op_thread_entered() local 1173 return (mpcpu->mntp_thread_in_ops == 1); in vfs_op_thread_entered() 1179 struct mount_pcpu *mpcpu; in vfs_op_thread_enter_crit() local 1183 mpcpu = vfs_mount_pcpu(mp); in vfs_op_thread_enter_crit() 1184 MPASS(mpcpu->mntp_thread_in_ops == 0); in vfs_op_thread_enter_crit() 1185 mpcpu->mntp_thread_in_ops = 1; in vfs_op_thread_enter_crit() 1188 vfs_op_thread_exit_crit(mp, mpcpu); in vfs_op_thread_enter_crit() 1191 *mpcpup = mpcpu; in vfs_op_thread_enter_crit() 1208 vfs_op_thread_exit_crit(struct mount *mp, struct mount_pcpu *mpcpu) in vfs_op_thread_exit_crit() argument [all …]
|