Searched refs:copies (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_004_neg.ksh37 # Verify that copies cannot be set to other value except for 1, 2 or 3
40 # 1. Create filesystems with copies set as any value other than 1, 2 or 3
46 log_assert "Verify that copies property cannot be set to any value other than 1,2 or 3"
51 log_mustnot zfs create -o copies=$val $TESTPOOL/$TESTFS1
52 log_mustnot zfs create -V $VOLSIZE -o copies=$val $TESTPOOL/$TESTVOL1
53 log_mustnot zfs set copies=$val $TESTPOOL/$TESTFS
54 log_mustnot zfs set copies=$val $TESTPOOL/$TESTVOL
57 log_pass "The copies property cannot be set to any value other than 1,2 or 3 as expected"
H A Dzfs_copies_001_pos.ksh37 # Verify "copies" property can be correctly set as 1,2 and 3 and different
38 # filesystem can have different value of "copies" property within the same pool.
41 # 1. Create different filesystems with copies set as 1,2,3;
42 # 2. Verify that the "copies" property has been set correctly
58 log_assert "Verify 'copies' property with correct arguments works or not."
69 # Check the default value for copies property
76 log_must zfs create -o copies=$val $fs1
78 log_must zfs create -V $VOLSIZE -o copies=$val $vol1
80 log_must zfs create -o copies=$val $vol1
87 log_must zfs create -o copies
[all...]
H A Dzfs_copies_005_neg.ksh37 # Verify that copies cannot be set with pool version 1
40 # 1. Create filesystems with copies set in a pool with version 1
57 log_assert "Verify that copies cannot be set with pool version 1"
68 log_mustnot zfs set copies=$val $ds
71 log_mustnot zfs create -o copies=$val $ds
75 log_pass "Verification pass: copies cannot be set with pool version 1. "
H A Dzfs_copies.kshlib35 # Compare the value of copies property with specified value
37 # $2, the expected copies value
45 val_actual=$(get_prop copies $ds)
86 "copies as $expected_cfactor."
93 # $2 copies
105 log_must zfs create -V $VOLSIZE -o copies=$copy $vol
134 "copies as $copy"
H A Dzfs_copies_002_pos.ksh37 # Verify that the space used by multiple copies is charged correctly
40 # 1. Create filesystems with copies set as 2,3 respectively;
59 log_assert "Verify that the space used by multiple copies is charged correctly."
63 log_must zfs create -o copies=$val $TESTPOOL/fs_$val
103 log_pass "The space used by multiple copies is charged correctly as expected. "
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dllib-llpreq38 short copies; /* number of copies of request to print */
H A Dgetrequest.c109 reqp->copies = 1;
142 reqp->copies = atoi(p);
240 reqp->copies <= 0
H A Dputrequest.c76 reqbufp->copies <= 0
130 (void)fdprintf(fd, "%s%d\n", HEAD, reqbufp->copies);
/illumos-gate/usr/src/cmd/lp/model/
H A Duri109 Copies: ${copies}
130 (Copies: ${copies}) 30 25 /Times-Roman 16 PrintLine
149 copies=$4
243 while [[ $copies -gt 0 ]] ; do
249 copies=$(( copies - 1 ))
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_copies.ksh23 # Verify that nopwrite is not enabled if the copies property changes
26 # 1. Create a clone with copies set higher than the origin fs
28 # 3. Repeat with the number of copies decreased.
41 log_assert "nopwrite requires copies property to remain constant"
50 zfs set copies=3 $origin/clone
60 log_must zfs set copies=3 $origin
66 zfs set copies=1 $origin/clone
71 log_pass "nopwrite requires copies property to remain constant"
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemset.s39 movl 16(%esp),%ecx / %ecx = number of copies
/illumos-gate/usr/src/uts/sun4u/starcat/ml/
H A Ddrmach.il.cpp83 ! A simple copy routine that copies 32 bytes using physical
/illumos-gate/usr/src/cmd/lp/include/
H A Drequests.h70 short copies; /* number of copies of request to print */ member in struct:REQUEST
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_012_pos.ksh140 rand_set_prop $fs copies "1" "2" "3"
157 rand_set_prop $vol copies "1" "2" "3"
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c133 * (copies) copies of (name) (size) bytes
136 * (copies) is the number of copies of the document to print
140 static char *doc1_expr = "[[:space:]]+(([[:digit:]]+) copies of )"\
232 int size = 0, copies = 1; local
233 /* process copies/documents */
242 if ((copies = atoi(s)) < 1)
243 copies = 1;
259 octets += (size * copies);
[all...]
H A Dlpd-job.c323 list_append(&names, "copies");
487 int copies = 1; local
507 papiAttributeListGetInteger(attributes, NULL, "copies", &copies);
508 if (copies < 1)
509 copies = 1;
510 papiAttributeListAddInteger(used, PAPI_ATTR_EXCL, "copies", copies);
555 for (j = 0; j < copies; j++)
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c125 int copies = 1; /* and this many copies of each sheet */ variable
325 case 'c': /* copies */
326 copies = atoi(optarg);
327 fprintf(stdout, "/#copies %s store\n", optarg);
603 fprintf(fp_acct, " print %d\n copies %d\n", printed, copies);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dmemchr.s52 ! of memory, aligning the memory for word-wise copies, and
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemchr.s52 ! of memory, aligning the memory for word-wise copies, and
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dnodes.h165 short copies; /* # copies interface is to make */ member in struct:rstat_node
H A Dvalidate.c723 * copies to 1 (if the filter handles it).
728 && prs->request->copies > 1
730 prs->copies = 1;
733 * We use two ".copies" because we don't
739 prs->copies = prs->request->copies;
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c209 int copies = 1, id = 0, rank = count, size = 0; local
229 "copies", &copies);
242 size *= copies;
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-jobs.c65 char *mapped_keys[] = { "copies", "document-format", "form",
81 /* set the copies. We need at least 1 */
82 i = r->copies;
83 papiAttributeListGetInteger(attributes, NULL, "copies", &i);
86 r->copies = i;
397 /* copies */
399 "copies", r->copies);
463 "seperate-documents-collated-copies");
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd_impl.h163 /* number of copies of this instance active */
164 int64_t copies; member in struct:__anon175
H A Dutil.c275 * concurrent copies limit, else B_FALSE.
280 /* any value <=0 means that copies limits are disabled */
282 (inst->copies >= inst->config->basic->max_copies));

Completed in 67 milliseconds

123