| 781 | } |
| 782 | |
| 783 | int |
| 784 | rman_release_resource(struct resource *re) |
| 785 | { |
| 786 | int rv; |
| 787 | struct resource_i *r; |
| 788 | struct rman *rm; |
| 789 | |
| 790 | r = re->__r_i; |
| 791 | rm = r->r_rm; |
| 792 | mtx_lock(rm->rm_mtx); |
| 793 | rv = int_rman_release_resource(rm, r); |
| 794 | mtx_unlock(rm->rm_mtx); |
| 795 | return (rv); |
| 796 | } |
| 797 | |
| 798 | uint32_t |
| 799 | rman_make_alignment_flags(uint32_t size) |
no test coverage detected