Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/illumos-gate/usr/src/test/zfs-tests/tests/functional/refquota/
H A Drefquota_003_pos.ksh65 typeset -i used quota refquota
66 used=$(get_prop used $fs)
68 ((used = used / (1024 * 1024)))
70 if [[ $used -lt $refquota ]]; then
71 log_fail "ERROR: $used < $refquota subfs quotas are limited by refquota"
75 used=$(get_prop used $fs)
77 ((used = used / (1024 * 1024)))
79 if [[ $used -gt $quota ]]; then
80 log_fail "ERROR: $used > $quota subfs quotas aren't limited by quota"
H A Drefquota_002_pos.ksh65 typeset -i used quota
66 used=$(get_prop used $fs)
68 ((used = used / (1024 * 1024)))
70 if [[ $used -ne $quota ]]; then
71 log_fail "ERROR: $used -ne $quota Quotas are not limited by quota"
82 used=$(get_prop used $fs)
84 ((used = used / (1024 * 1024)))
86 if [[ $used -ne $refquota ]]; then
87 log_fail "ERROR: $used -ne $refquota Quotas are not limited by refquota"
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c155 char **metadata, papi_attribute_t ***used) in lpd_add_rfc1179_attributes() argument
181 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
190 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
198 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
207 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
216 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
225 papiAttributeListAddBoolean(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
234 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
243 papiAttributeListAddInteger(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
252 papiAttributeListAddInteger(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh79 used=$(get_used_prop $TESTPOOL/fs_$val)
80 check_used $used $val
86 (( used = blks * 512 ))
87 check_used $used $val
92 used=`df -F zfs -k /$TESTPOOL/fs_$val/$FILE | grep $TESTPOOL/fs_$val \
94 (( used = used * 1024 )) # kb -> bytes
95 check_used $used $val
100 used=`du -k /$TESTPOOL/fs_$val/$FILE | awk '{print $1}'`
101 (( used = used * 1024 )) # kb -> bytes
102 check_used $used $val
H A Dzfs_copies.kshlib59 typeset used
61 used=`zfs list -H -p -o used $ds`
62 echo $used
73 typeset -i used
78 ((used = $charged_spc / 1024 / 1024))
79 ((cfactor = used / fsize))
127 ((used = post_used - pre_used))
128 if ((used < nfilesize)); then
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c514 size_t used, remaining; in filter() local
664 used = snprintf(bp, remaining, "%hu", in filter()
667 used = strlcpy(bp, event->ae_desc, remaining); in filter()
668 bp += used; in filter()
669 remaining -= used; in filter()
673 used = strlcpy(bp, " failed", remaining); in filter()
675 used = strlcpy(bp, " ok", remaining); in filter()
676 bp += used; in filter()
677 remaining -= used; in filter()
680 used = snprintf(bp, remaining, " session %u", in filter()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c60 t->used = -1; in create_stringtable()
80 ++t->used; in add_to_stringtable()
81 if (t->used >= t->nelem) { in add_to_stringtable()
92 for (i = t->used; i < t->nelem; ++i) { in add_to_stringtable()
96 t->elements[t->used] = strset(t->elements[t->used], value); in add_to_stringtable()
108 t->used = -1; in free_stringtable()
120 } else if (index > t->used) { in get_stringtable()
135 for (i = 0; i <= t->used; ++i) { in in_stringtable()
153 t->used + 1, t->nelem, in print_stringtable()
156 for (i = 0; i <= t->used; ++i) { in print_stringtable()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapused/
H A Dsnapused.kshlib43 used=$(get_prop used $dataset)
50 if ((used != used_sum)); then
51 log_fail "$dataset: used($used) is not the sum($used_sum) of usedby*"
80 used=$(get_prop used $child)
81 if ((reservation > used)); then
84 ((usedbychildren_sum += used))
177 used=$(get_prop used $child)
178 ((usedbysnapshots_sum += used))
/illumos-gate/usr/src/cmd/refer/
H A Dmkey2.c21 static int alph, used, prevc; variable
40 alph = used = prevc = eof = 0; in dofile()
48 used = alph = 0; in dofile()
50 for (s = line; (c = *s) && (used < keycount); s++) in dofile()
53 if (used) putchar('\n'); in dofile()
57 used = alph = 0; in dofile()
58 while ((c = getc(f)) != EOF && used < keycount) in dofile()
60 if (used) putchar('\n'); in dofile()
140 if (used == 0) { in chkey()
151 used++; in chkey()
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlint.sed12 /myrcmd.c",.*assigned value never used: retval .*(22[0-9])/d
14 /dumponline.c",.*name used but not defined: log10 /d
15 /dumponline.c",.*name used but not defined: getfullblkname /d
16 /dumpmain.c",.*name used but not defined: getfullrawname /d
19 /partial.c",.*name used but not defined: ulimit/d
22 /lint suppression directive not used/d
24 /memutils.c",.*assigned value never used: allocated at/d
25 /dumpmain.c",.*assigned value never used:/d
31 /assigned value never used: idates_in/d
32 /roll_log.c",.*assigned value never used/d
/illumos-gate/usr/src/lib/iconv_modules/utf-8/txt_ebcdic_utf/
H A Dshadow.txt117 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
118 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
119 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
120 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
121 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
184 -1, /* NOT be used with the shortest number of bytes in UTF-EBCDIC */
/illumos-gate/usr/src/test/zfs-tests/tests/functional/upgrade/
H A Dupgrade_projectquota_001_pos.ksh65 zfs projectspace -o used $TESTPOOL | grep -q "USED" &&
82 zfs projectspace -o used $TESTPOOL | grep -q "USED" &&
88 zfs projectspace -o used $TESTPOOL/fs1 | grep -q "USED" ||
94 zfs projectspace -o used $TESTPOOL/fs2 | grep -q "USED" ||
100 zfs projectspace -o used $TESTPOOL/fs3 | grep -q "USED" &&
107 zfs projectspace -o used $TESTPOOL/fs3 | grep -q "USED" ||
116 zfs projectspace -o used $TESTPOOL | grep -q "USED" &&
122 zfs projectspace -o used $TESTPOOL | grep -q "USED" ||
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c441 int used; in default_f() local
447 used = snprintf(str + pos, left, "%*.*lld", in default_f()
454 used = snprintf(str + pos, left, "%*.*llu", in default_f()
470 used = snprintf(str + pos, left, "%*.*f", in default_f()
490 used = snprintf(str + pos, left, "%-*s", ff->pff_width, in default_f()
496 return (used); in default_f()
507 int used; in bigno_f() local
577 used = snprintf(str + pos, left, "%*.*f", in bigno_f()
580 used = snprintf(str + pos, left, "%*.*f%c", in bigno_f()
583 return (used); in bigno_f()
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Dinftrees.c43 unsigned used; /* code entries in table used */ in inflate_table() local
201 used = 1U << root; /* use root table entries */ in inflate_table()
202 mask = used - 1; /* mask for comparing low */ in inflate_table()
205 if ((type == LENS && used > ENOUGH_LENS) || in inflate_table()
206 (type == DISTS && used > ENOUGH_DISTS)) in inflate_table()
273 used += 1U << curr; in inflate_table()
274 if ((type == LENS && used > ENOUGH_LENS) || in inflate_table()
275 (type == DISTS && used > ENOUGH_DISTS)) in inflate_table()
297 *table += used; in inflate_table()
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc145 if(current_names->used != 0 && current_names->names[current_names->used-1] == plus) { in enter_name()
152 if (current_names->used == VSIZEOF(current_names->names)) { in enter_name()
159 current_names->used = 0; in enter_name()
163 current_names->target_group[current_names->used] = NULL; in enter_name()
164 current_names->names[current_names->used++] = name; in enter_name()
288 if (current_names->used == VSIZEOF(current_names->names)) { in enter_member_name()
302 current_names->used = 0; in enter_member_name()
306 current_names->target_group[current_names->used] = NULL; in enter_member_name()
307 current_names->names[current_names->used++] = name; in enter_member_name()
489 if (i + 1 != target_list->used) { in find_target_groups()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dutil.c290 t->used = -1; in create_string_table()
308 t->used++; in add_string_table()
309 if (t->used >= t->nelem) { in add_string_table()
317 for (i = t->used; i < t->nelem; i++) { in add_string_table()
322 t->elements[t->used] = strset(t->elements[t->used], value); in add_string_table()
334 t->used = -1; in free_string_table()
345 } else if (index > t->used) { in get_string_table()
361 for (i = 0; i <= t->used; i++) { in in_string_table()
380 qsort((char *)t->elements, (size_t)t->used, in sort_string_table()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.msg87 If -any is set, then the specified section is used without\n\
89 string table. This can be used to examine sections that are\n\
95 cannot be used in conjunction with -end.\n".
99 the string table. This option cannot be used with the final\n\
106 is used directly. If it is a section that has an associated\n\
108 associated string table is used.\n"
113 is used directly. If it is a section that has an associated\n\
115 associated string table is used.\n"
120 with it. If this is a string table section, it is used\n\
123 associated string table is used.\n"
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_door.c160 unsigned int used; in ndmp_door_server() local
240 if ((enc_status = ndmp_door_encode_finish(enc_ctx, &used)) != 0) in ndmp_door_server()
243 (void) door_return(buf, used, NULL, 0); in ndmp_door_server()
250 (void) ndmp_door_encode_finish(enc_ctx, &used); in ndmp_door_server()
251 (void) door_return(buf, used, NULL, 0); in ndmp_door_server()
258 (void) ndmp_door_encode_finish(enc_ctx, &used); in ndmp_door_server()
259 (void) door_return(buf, used, NULL, 0); in ndmp_door_server()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dfollow_params.pl30 if ($param_map{$link}{used} == $USED) {
33 ${param_map}{$link}->{used} = $USED;
57 $param_map{$one} = {used => $UNUSED, links => []};
77 ($param_map{$func}{used} = $UNUSED);
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c128 insert_used_resource(used_io_mem_t *used, int *used_count, used_io_mem_t **head) in insert_used_resource() argument
134 *head = used; in insert_used_resource()
140 (curr->start_addr < used->start_addr)) { in insert_used_resource()
146 *head = used; in insert_used_resource()
147 used->next = curr; in insert_used_resource()
150 prev->next = used; in insert_used_resource()
152 used->next = curr; in insert_used_resource()
159 used_io_mem_t *used; in add_used_io_mem() local
162 used = kmem_zalloc(sizeof (used_io_mem_t), in add_used_io_mem()
164 used->start_addr = io[i].regspec_addr; in add_used_io_mem()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c50 int used; member
59 if (sp->max <= sp->used)
62 sp->mbs[sp->used++] = byte;
90 last = string.used;
93 string.used = last;
110 string.mbs[string.used] = '\0';
112 return string.used;
219 return string.used;
223 string.used = 0;
233 last = string.used;
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dlint.sed6 /myrcmd.c",.*assigned value never used: retval .*(22[0-9])/d
7 /tape.c",.*assigned value never used: mt .*(22[0-9])/d
9 /dirs.c",.*name used but not defined: utime /d
12 /byteorder.c",.*assigned value never used: allocated at.*byteorder.c/d
/illumos-gate/usr/src/cmd/truss/
H A Dprint.c726 size_t used; in mmap_type() local
731 used = strlcpy(str, "MAP_SHARED", CBSIZE); in mmap_type()
734 used = strlcpy(str, "MAP_PRIVATE", CBSIZE); in mmap_type()
737 used = snprintf(str, CBSIZE, "%ld", arg&MAP_TYPE); in mmap_type()
745 (void) snprintf(str + used, sizeof (pri->code_buf) - used, in mmap_type()
1986 size_t used = 1; in sol_optname() local
1994 used = snprintf(s, CBSIZE, "|0x%lx", val2); in sol_optname()
1996 used = strlcat(s, "|SO_DEBUG", CBSIZE); in sol_optname()
1998 used = strlcat(s, "|SO_ACCEPTCONN", CBSIZE); in sol_optname()
2000 used = strlcat(s, "|SO_REUSEADDR", CBSIZE); in sol_optname()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_missing_break.c45 STATE(used);
106 set_state_expr(my_id, expr, &used); in match_symbol()
111 return &used; in unmatched_state()
122 return &used; in merge_hook()
126 return &used; in merge_hook()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c470 fsblkcnt64_t totalblks, availblks, avail, free, used; in dfreedev() local
525 used = totalblks - free; in dfreedev()
528 avail = availblks > used ? availblks - used : (fsblkcnt64_t)0; in dfreedev()
535 dbtok(used, (fsblkcnt64_t)sblock.fs_fsize), in dfreedev()
539 (double)used / (double)availblks * 100.0); in dfreedev()
545 t_used += dbtok(used, (fsblkcnt64_t)sblock.fs_fsize); in dfreedev()
592 fsblkcnt64_t totalblks, avail, free, used, reserved; in dfreemnt() local
596 used = totalblks - free; in dfreemnt()
608 dbtok(used, (fsblkcnt64_t)fs.f_frsize), in dfreemnt()
613 (double)used / (double)totalblks * 100.0); in dfreemnt()
[all …]

12345678910>>...38