| 450 | */ |
| 451 | |
| 452 | void |
| 453 | vfs_ref(struct mount *mp) |
| 454 | { |
| 455 | struct mount_pcpu *mpcpu; |
| 456 | |
| 457 | CTR2(KTR_VFS, "%s: mp %p", __func__, mp); |
| 458 | if (vfs_op_thread_enter(mp, mpcpu)) { |
| 459 | vfs_mp_count_add_pcpu(mpcpu, ref, 1); |
| 460 | vfs_op_thread_exit(mp, mpcpu); |
| 461 | return; |
| 462 | } |
| 463 | |
| 464 | MNT_ILOCK(mp); |
| 465 | MNT_REF(mp); |
| 466 | MNT_IUNLOCK(mp); |
| 467 | } |
| 468 | |
| 469 | void |
| 470 | vfs_rel(struct mount *mp) |
no outgoing calls
no test coverage detected