-struct swapfile;
-lck_grp_attr_t vm_swap_data_lock_grp_attr;
-lck_grp_t vm_swap_data_lock_grp;
-lck_attr_t vm_swap_data_lock_attr;
-lck_mtx_ext_t vm_swap_data_lock_ext;
-lck_mtx_t vm_swap_data_lock;
+ struct swapfile *swp_swf;
+ uint64_t swp_f_offset;
+
+ struct upl_io_completion swp_upl_ctx;
+};
+void vm_swapout_iodone(void *, int);
+
+
+static void vm_swapout_finish(c_segment_t, uint64_t, uint32_t, kern_return_t);
+kern_return_t vm_swap_put_finish(struct swapfile *, uint64_t *, int, boolean_t);
+kern_return_t vm_swap_put(vm_offset_t, uint64_t*, uint32_t, c_segment_t, struct swapout_io_completion *);