| 672 | } |
| 673 | |
| 674 | static void |
| 675 | cache_free(struct namecache *ncp) |
| 676 | { |
| 677 | |
| 678 | MPASS(ncp != NULL); |
| 679 | if ((ncp->nc_flag & NCF_DVDROP) != 0) { |
| 680 | cache_drop_vnode(ncp->nc_dvp); |
| 681 | } |
| 682 | cache_free_uma(ncp); |
| 683 | atomic_subtract_long(&numcache, 1); |
| 684 | } |
| 685 | |
| 686 | static void |
| 687 | cache_free_batch(struct cache_freebatch *batch) |
no test coverage detected