Searched refs:mpcpu (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | vfs_mount.c | 497 struct mount_pcpu *mpcpu; in vfs_ref_from_vp() local 503 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_ref_from_vp() 505 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_ref_from_vp() 506 vfs_op_thread_exit(mp, mpcpu); in vfs_ref_from_vp() 508 vfs_op_thread_exit(mp, mpcpu); in vfs_ref_from_vp() 527 struct mount_pcpu *mpcpu; in vfs_ref() local 530 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_ref() 531 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_ref() 532 vfs_op_thread_exit(mp, mpcpu); in vfs_ref() 645 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 886 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_busy() 890 vfs_mp_count_add_pcpu(mpcpu, ref, 1); in vfs_busy() 891 vfs_mp_count_add_pcpu(mpcpu, lockref, 1); in vfs_busy() 892 vfs_op_thread_exit(mp, mpcpu); in vfs_busy() 944 struct mount_pcpu *mpcpu; in vfs_unbusy() local 949 if (vfs_op_thread_enter(mp, &mpcpu)) { in vfs_unbusy() 951 vfs_mp_count_sub_pcpu(mpcpu, lockref, 1); in vfs_unbusy() 952 vfs_mp_count_sub_pcpu(mpcpu, ref, 1); in vfs_unbusy() 953 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 | 1162 static void vfs_op_thread_exit_crit(struct mount *mp, struct mount_pcpu *mpcpu); 1167 struct mount_pcpu *mpcpu = vfs_mount_pcpu(mp); in vfs_op_thread_entered() local 1170 return (mpcpu->mntp_thread_in_ops == 1); in vfs_op_thread_entered() 1176 struct mount_pcpu *mpcpu; in vfs_op_thread_enter_crit() local 1180 mpcpu = vfs_mount_pcpu(mp); in vfs_op_thread_enter_crit() 1181 MPASS(mpcpu->mntp_thread_in_ops == 0); in vfs_op_thread_enter_crit() 1182 mpcpu->mntp_thread_in_ops = 1; in vfs_op_thread_enter_crit() 1185 vfs_op_thread_exit_crit(mp, mpcpu); in vfs_op_thread_enter_crit() 1188 *mpcpup = mpcpu; in vfs_op_thread_enter_crit() 1205 vfs_op_thread_exit_crit(struct mount *mp, struct mount_pcpu *mpcpu) in vfs_op_thread_exit_crit() argument [all …]
|