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()
313 if ((list == NULL) || (used == NULL)) in unused_attributes()
316 for (i = 0; used[i] != NULL; i++) in unused_attributes()
317 list_append(&names, used[i]->name); in unused_attributes()
351 char **metadata, papi_attribute_t ***used) in lpd_add_svr4_attributes() argument
442 char **metadata, papi_attribute_t ***used) in lpd_add_hpux_attributes() argument
457 char **metadata, papi_attribute_t ***used) in lpd_job_add_attributes() argument
469 used); in lpd_job_add_attributes()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies.kshlib59 typeset used
61 used=`zfs list -H -o used $ds`
62 used=${used%[m|M]}
63 if [[ $used == *K ]]; then
64 used=0
66 echo $used
77 typeset -i used
82 ((used = ${charged_spc%[m|M]}))
83 ((cfactor = used / fsize))
131 ((used = post_used - pre_used))
[all …]
H A Dzfs_copies_002_pos.ksh79 used=$(get_used_prop $TESTPOOL/fs_$val)
80 check_used $used $val
86 (( used = blks * 512 / (1024 * 1024) ))
87 check_used $used $val
92 used=`df -F zfs -h /$TESTPOOL/fs_$val/$FILE | grep $TESTPOOL/fs_$val \
94 check_used $used $val
99 used=`du -h /$TESTPOOL/fs_$val/$FILE | awk '{print $1}'`
100 check_used $used $val
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c666 bp += used; in filter()
674 bp += used; in filter()
681 bp += used; in filter()
686 bp += used; in filter()
693 bp += used; in filter()
701 bp += used; in filter()
708 bp += used; in filter()
715 bp += used; in filter()
721 bp += used; in filter()
740 bp += used; in filter()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c61 t->used = -1; in create_stringtable()
81 ++t->used; in add_to_stringtable()
82 if (t->used >= t->nelem) { in add_to_stringtable()
93 for (i = t->used; i < t->nelem; ++i) { in add_to_stringtable()
97 t->elements[t->used] = strset(t->elements[t->used], value); in add_to_stringtable()
109 t->used = -1; in free_stringtable()
121 } else if (index > t->used) { in get_stringtable()
136 for (i = 0; i <= t->used; ++i) { in in_stringtable()
154 t->used + 1, t->nelem, in print_stringtable()
157 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.c23 static int alph, used, prevc; variable
42 alph = used = prevc = eof = 0; in dofile()
50 used = alph = 0; in dofile()
52 for (s = line; (c = *s) && (used < keycount); s++) in dofile()
55 if (used) putchar('\n'); in dofile()
59 used = alph = 0; in dofile()
60 while ((c = getc(f)) != EOF && used < keycount) in dofile()
62 if (used) putchar('\n'); in dofile()
142 if (used == 0) { in chkey()
153 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
496 return (used); in default_f()
507 int used; in bigno_f() local
583 return (used); in bigno_f()
593 int used; in used_stat_f() local
610 return (used); in used_stat_f()
620 int used = 0; in header_f() local
629 return (used); in header_f()
646 int used; in prt_stat_line() local
662 pos += used; in prt_stat_line()
[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()
159 current_names->used = 0; in enter_name()
1140 if (depes->used != 0) { in special_reader()
1157 if (depes->used != 0) { in special_reader()
1179 if (depes->used != 0) { in special_reader()
1197 if (depes->used == 0) in special_reader()
1221 if (depes->used != 0) { in special_reader()
1241 if (depes->used != 0) { in special_reader()
1250 if (depes->used != 1) { in special_reader()
1429 if (depes->used == 0) in special_reader()
[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.msg95 cannot be used in conjunction with -end.\n".
108 associated string table is used.\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"
149 The str:dump command is used to display information\n\
154 can be used to select a different string table.\n\
185 can be used to select a different string table.\n\
229 can be used to select a different string table.\n\
243 can be used to select a different string table.\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/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/uts/intel/io/acpica/
H A Dacpi_enum.c134 *head = used; 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
1086 if (used != NULL) { in used_res_io_mem()
1087 io[i] = used->start_addr; in used_res_io_mem()
1088 io[i+1] = used->length; in used_res_io_mem()
1089 prev = used; in used_res_io_mem()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_share_doorsvc.c150 unsigned int used; in smbd_share_dispatch() local
251 if ((enc_status = smb_dr_encode_finish(enc_ctx, &used)) != 0) { in smbd_share_dispatch()
255 (void) smb_dr_encode_finish(enc_ctx, &used); in smbd_share_dispatch()
258 smbd_door_return(&smb_share_sdh, buf, used, NULL, 0); in smbd_share_dispatch()
264 (void) smb_dr_encode_finish(enc_ctx, &used); in smbd_share_dispatch()
265 smbd_door_return(&smb_share_sdh, buf, used, NULL, 0); in smbd_share_dispatch()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c52 int used; member
61 if (sp->max <= sp->used)
64 sp->mbs[sp->used++] = byte;
92 last = string.used;
95 string.used = last;
114 return string.used;
221 return string.used;
225 string.used = 0;
235 last = string.used;
240 string.used = last;
[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/test/zfs-tests/tests/functional/reservation/
H A Dreservation_007_pos.sh68 space_used=`get_prop used $TESTPOOL`
92 used_aft_dset1=`get_prop used $TESTPOOL`
106 used_dest_dset2=`get_prop used $TESTPOOL`
118 used_dest_dset1=`get_prop used $TESTPOOL`

12345678910>>...38