equal
deleted
inserted
replaced
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 |
21 |
22 /* |
22 /* |
23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
24 * Copyright (c) 2012 by Delphix. All rights reserved. |
24 * Copyright (c) 2013 by Delphix. All rights reserved. |
25 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. |
25 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. |
26 * Copyright (c) 2012, Joyent, Inc. All rights reserved. |
26 * Copyright (c) 2012, Joyent, Inc. All rights reserved. |
27 */ |
27 */ |
28 |
28 |
29 #ifndef _DMU_SEND_H |
29 #ifndef _DMU_SEND_H |
61 int dmu_recv_begin(char *tofs, char *tosnap, struct drr_begin *drrb, |
61 int dmu_recv_begin(char *tofs, char *tosnap, struct drr_begin *drrb, |
62 boolean_t force, char *origin, dmu_recv_cookie_t *drc); |
62 boolean_t force, char *origin, dmu_recv_cookie_t *drc); |
63 int dmu_recv_stream(dmu_recv_cookie_t *drc, struct vnode *vp, offset_t *voffp, |
63 int dmu_recv_stream(dmu_recv_cookie_t *drc, struct vnode *vp, offset_t *voffp, |
64 int cleanup_fd, uint64_t *action_handlep); |
64 int cleanup_fd, uint64_t *action_handlep); |
65 int dmu_recv_end(dmu_recv_cookie_t *drc, void *owner); |
65 int dmu_recv_end(dmu_recv_cookie_t *drc, void *owner); |
|
66 boolean_t dmu_objset_is_receiving(objset_t *os); |
66 |
67 |
67 #endif /* _DMU_SEND_H */ |
68 #endif /* _DMU_SEND_H */ |