Lines Matching refs:copy

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96 /* max # of chunks in copy loop before delay */
181 struct copy_args { /* arguments passed to copy process */
1038 /* copy values over */
1071 /* copy volume names */
1301 /* Restore copy throttle parameters, if header version is 3 */
1487 * Stop any copy in progress
1570 * all cache to be allocated by copy loops.
1825 /* copy pathnames into it */
1881 * copy with a bitmap file stored mapping for chunk locations.
1943 rc = II_COPYBM(ip); /* also clear copy bitmap */
2125 * Cannot disable an independent copy while still copying
2180 * Not a full copy so attempt to prevent use of partial copy
2188 cmn_err(CE_NOTE, "!ii: Shadow copy invalidated");
2470 /* copy over group and cluster associations */
2734 * Wait for a copy to complete.
2737 * Returns 0 if the copy completed, otherwise error code.
2781 /* Is this an attempt to unlock the copy/update PID? */
2990 /* just clear bitmaps for dependent copy */
3011 * if copy flags were set, another process may be
3052 /* don't perform copy for dependent shadows */
3123 * Get and set copy parameters.
3253 /* copy over the mtime */
3747 * Cannot export a dependent copy or while still copying or
4627 * has no user context to copy any errors into. At all other times a NULL
4701 /* Assure that no other PID owns this copy/update */
4745 * a copy of a tree-mapped device must be downgraded to
4785 rc = II_ZEROBM(ip); /* update copy of shadow */
4821 * need to perform an actual copy.
4825 * Perform bitmap copy if asked or from dependent shadow to master.
4831 rc = II_ORBM(ip); /* save shadow bits for copy */
4834 rc = ii_fill_copy_bmp(ip); /* set bits for independent copy */
4916 /* Check that the copy/update makes sense */
4919 /* perform the copy */
4951 /* Check copy validitity */
5057 /* Perform copy */
5086 * initiate a copy/update operation on all of the specified sets.
5126 /* Begin copy operation */
5140 * a copy/update of all of them.
5202 /* Begin copy operation */
5702 /* copy over the mtime */
6439 * Perform a copy of some chunks
6546 * The direction of copy is determined by the mst_flag.
6561 /* A copy has failed - something is wrong */
6577 * A failure has occurred during the above copy.
6597 /* A copy has failed - something is wrong */
6617 /* A copy has failed - something is wrong */
6647 * Determines if a copy on write is necessary, and performs it.
6648 * A copy on write is necessary in the following cases:
6649 * - No copy is in progress and the shadow bit is clear, which
6651 * - A copy is in progress and the copy bit is set, which means
6652 * that a track copy is required.
6653 * If a copy to the master is to be done, make a recursive call to this
6654 * function to do any necessary copy on write on other InstantImage groups
6669 * Preserve copy of master for all other shadows of this master
6688 if (xip == ip) /* don't copy ourselves again */
6752 /* No copy-on-write as it is independent */
6763 * no need to copy on write or set shadow bit
6778 /* Shadow bit clear, copy master to shadow */
6793 /* Copy bit set, do a copy */
6816 * Passes 0 back to caller when the copy is complete or has been aborted,
6820 * According to the flag, copy the master to the shadow volume or the
6822 * for this copy.
6879 /* request to abort copy */
6942 /* Count the number of copy bits set */
6946 * If we counted successfully and completed the copy
6976 * Returns 0 when the copy is complete or has been aborted,
6980 * According to the flag, copy the master to the shadow volume or the
6982 * for this copy. Uses a separate process (_ii_copyvolp) to allow the
6994 * start copy in separate process.
7010 cmn_err(CE_NOTE, "!Can't create II copy process");
7033 * Stops any copy process on ip.
7036 * Returns 0 if the copy was stopped, otherwise error code.
7039 * Stop an in-progress copy by setting the DSW_COPYINGX flag, then
7040 * wait for the copy to complete.
7375 /* First calculate the size of the shadow and copy bitmaps */
7567 * Copy shadow bitmap to copy bitmap
7682 /* copy required data */
7716 * Or the shadow bitmap in to the copy bitmap, clear the
7881 * Returns 1 if the copy bit for the chunk is set
7882 * Returns 0 if the copy bit for the chunk is not set
8013 * Fills the copy bitmap with 1's.
8077 * Find next set copy bit.
8079 * Returns the next bits set in the copy bitmap, with the corresponding chunks
8186 * copy change bitmap to memory
8397 /* First calculate the size of the shadow and copy bitmaps */
8494 * Copy shadow bitmap to copy bitmap
8516 * Or the shadow bitmap in to the copy bitmap, clear the
8522 unsigned char *copy, *shd;
8530 copy = ip->bi_bitmap + copy_offset;
8534 *copy++ |= *shd++;
8599 * Returns 1 if the copy bit for the chunk is set,
8674 * Fills the copy bitmap with 1's.
8769 * Find next set copy bit.
8771 * Returns the next bits set in the copy bitmap, with the corresponding chunks
8827 * copy change bitmap to memory
8875 * Or the shadow bitmap in to the copy bitmap, clear the
8928 /* simple read with optional copy */
9153 * Perform any copy on write required by a write buffer request
9230 * copy on write operations, then allocates the real buffers from the