Lines Matching refs:mpcpu

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
648 if (vfs_op_thread_enter(mp, mpcpu)) { in vfs_rel()
649 vfs_mp_count_sub_pcpu(mpcpu, ref, 1); in vfs_rel()
650 vfs_op_thread_exit(mp, mpcpu); in vfs_rel()
1865 struct mount_pcpu *mpcpu; in vfs_op_enter() local
1876 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_op_enter()
1878 mp->mnt_ref += mpcpu->mntp_ref; in vfs_op_enter()
1879 mpcpu->mntp_ref = 0; in vfs_op_enter()
1881 mp->mnt_lockref += mpcpu->mntp_lockref; in vfs_op_enter()
1882 mpcpu->mntp_lockref = 0; in vfs_op_enter()
1884 mp->mnt_writeopcount += mpcpu->mntp_writeopcount; in vfs_op_enter()
1885 mpcpu->mntp_writeopcount = 0; in vfs_op_enter()
1941 struct mount_pcpu *mpcpu; in vfs_op_wait_func() local
1946 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_op_wait_func()
1947 while (atomic_load_int(&mpcpu->mntp_thread_in_ops)) in vfs_op_wait_func()
1970 struct mount_pcpu *mpcpu; in vfs_assert_mount_counters() local
1977 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_assert_mount_counters()
1978 if (mpcpu->mntp_ref != 0 || in vfs_assert_mount_counters()
1979 mpcpu->mntp_lockref != 0 || in vfs_assert_mount_counters()
1980 mpcpu->mntp_writeopcount != 0) in vfs_assert_mount_counters()
1988 struct mount_pcpu *mpcpu; in vfs_dump_mount_counters() local
1997 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_dump_mount_counters()
1998 printf("%d ", mpcpu->mntp_ref); in vfs_dump_mount_counters()
1999 ref += mpcpu->mntp_ref; in vfs_dump_mount_counters()
2005 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_dump_mount_counters()
2006 printf("%d ", mpcpu->mntp_lockref); in vfs_dump_mount_counters()
2007 lockref += mpcpu->mntp_lockref; in vfs_dump_mount_counters()
2013 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_dump_mount_counters()
2014 printf("%d ", mpcpu->mntp_writeopcount); in vfs_dump_mount_counters()
2015 writeopcount += mpcpu->mntp_writeopcount; in vfs_dump_mount_counters()
2031 struct mount_pcpu *mpcpu; in vfs_mount_fetch_counter() local
2047 mpcpu = vfs_mount_pcpu_remote(mp, cpu); in vfs_mount_fetch_counter()
2050 sum += mpcpu->mntp_ref; in vfs_mount_fetch_counter()
2053 sum += mpcpu->mntp_lockref; in vfs_mount_fetch_counter()
2056 sum += mpcpu->mntp_writeopcount; in vfs_mount_fetch_counter()