Home
last modified time | relevance | path

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

12345678910>>...33

/titanic_41/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"
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c154 char **metadata, papi_attribute_t ***used) in lpd_add_rfc1179_attributes() argument
180 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
189 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
197 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
206 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
215 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
224 papiAttributeListAddBoolean(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
233 papiAttributeListAddString(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
242 papiAttributeListAddInteger(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
251 papiAttributeListAddInteger(used, PAPI_ATTR_EXCL, in lpd_add_rfc1179_attributes()
[all …]
/titanic_41/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.ksh75 used=$(get_used_prop $TESTPOOL/fs_$val)
76 check_used $used $val
82 (( used = blks * 512 / (1024 * 1024) ))
83 check_used $used $val
88 used=`$DF -F zfs -h /$TESTPOOL/fs_$val/$FILE | $GREP $TESTPOOL/fs_$val \
90 check_used $used $val
95 used=`$DU -h /$TESTPOOL/fs_$val/$FILE | $AWK '{print $1}'`
96 check_used $used $val
/titanic_41/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 …]
/titanic_41/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c512 size_t used, remaining; in filter() local
662 used = snprintf(bp, remaining, "%hu", in filter()
665 used = strlcpy(bp, event->ae_desc, remaining); in filter()
666 bp += used; in filter()
667 remaining -= used; in filter()
671 used = strlcpy(bp, " failed", remaining); in filter()
673 used = strlcpy(bp, " ok", remaining); in filter()
674 bp += used; in filter()
675 remaining -= used; in filter()
678 used = snprintf(bp, remaining, " session %u", in filter()
[all …]
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dsetproctitle.c78 size_t used; in setproctitle() local
86 used = snprintf(buf, MAX_PROCTITLE, "%s: ", __progname); in setproctitle()
87 if (used >= MAX_PROCTITLE) in setproctitle()
88 used = MAX_PROCTITLE - 1; in setproctitle()
89 (void)vsnprintf(buf + used, MAX_PROCTITLE - used, fmt, ap); in setproctitle()
93 used = strlen(buf); in setproctitle()
97 pstat(PSTAT_SETCMD, pst, used, 0, 0); in setproctitle()
/titanic_41/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))
/titanic_41/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()
/titanic_41/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
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c327 add_dependency(rsrc_t *user, rsrc_t *used) in add_dependency() argument
332 if (user == NULL || used == NULL) in add_dependency()
335 if (user->id && used->id && strcmp(user->id, used->id) == 0) { in add_dependency()
351 if (link->used == used) in add_dependency()
362 _msg(6, ("TTYMUX: New link user %s used %s\n", user->id, used->id)); in add_dependency()
365 link->used = used; in add_dependency()
446 major(link->used->dev), minor(link->used->dev), in mux_connect()
447 link->user->id, link->used->id)); in mux_connect()
452 if (link->user->dev == NODEV || link->used->dev == NODEV) { in mux_connect()
460 if (major(link->user->dev) == major(link->used->dev)) { in mux_connect()
[all …]
/titanic_41/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c440 int used; in default_f() local
446 used = snprintf(str + pos, left, "%*.*lld", in default_f()
453 used = snprintf(str + pos, left, "%*.*llu", in default_f()
469 used = snprintf(str + pos, left, "%*.*f", in default_f()
489 used = snprintf(str + pos, left, "%-*s", ff->pff_width, in default_f()
495 return (used); in default_f()
506 int used; in bigno_f() local
576 used = snprintf(str + pos, left, "%*.*f", in bigno_f()
579 used = snprintf(str + pos, left, "%*.*f%c", in bigno_f()
582 return (used); in bigno_f()
[all …]
/titanic_41/usr/src/cmd/make/bin/
H A Dread2.cc143 if(current_names->used != 0 && current_names->names[current_names->used-1] == plus) { in enter_name()
150 if (current_names->used == VSIZEOF(current_names->names)) { in enter_name()
157 current_names->used = 0; in enter_name()
161 current_names->target_group[current_names->used] = NULL; in enter_name()
162 current_names->names[current_names->used++] = name; in enter_name()
286 if (current_names->used == VSIZEOF(current_names->names)) { in enter_member_name()
300 current_names->used = 0; in enter_member_name()
304 current_names->target_group[current_names->used] = NULL; in enter_member_name()
305 current_names->names[current_names->used++] = name; in enter_member_name()
487 if (i + 1 != target_list->used) { in find_target_groups()
[all …]
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_slice.c51 dlist_t *used,
56 dlist_t *used,
61 dlist_t *used,
67 dlist_t *used,
73 dlist_t *used,
207 dlist_t *used, in choose_slice() argument
316 (error = slice_on_unique_hba(slice, used, used_hbas, &uniqhba)) || in choose_slice()
317 (error = slice_on_unique_disk(slice, used, used_disks, in choose_slice()
319 (error = slice_on_similar_bus(slice, used, &samebus)) || in choose_slice()
320 (error = slice_has_same_disk_geom(slice, used, &samegeom)); in choose_slice()
[all …]
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/
H A Dutil.c292 t->used = -1; in create_string_table()
310 t->used++; in add_string_table()
311 if (t->used >= t->nelem) { in add_string_table()
319 for (i = t->used; i < t->nelem; i++) { in add_string_table()
324 t->elements[t->used] = strset(t->elements[t->used], value); in add_string_table()
336 t->used = -1; in free_string_table()
347 } else if (index > t->used) { in get_string_table()
363 for (i = 0; i <= t->used; i++) { in in_string_table()
382 qsort((char *)t->elements, (size_t)t->used, in sort_string_table()
/titanic_41/usr/src/cmd/cmd-inet/etc/
H A Dwanboot.conf.sample47 # These are used by wanboot-cgi(bootfile|bootfs|rootfs) to determine
59 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
65 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
75 # may be used to add additional mappings to the hosts file.
79 # This is used to specify the URL of wanboot-cgi on the server on which
80 # the root_file exists, and used by wanboot to obtain the root server's
88 # This is used by wanboot-cgi(rootfs) to locate the path of the
93 # This is used by wanboot to determine the URL of the bootserver
99 # This is used by the system startup scripts. If set, it should
100 # point to a file that contains name value pairs to be used at
[all …]
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/zmod/
H A Dinftrees.c49 unsigned used; /* code entries in table used */ local
210 used = 1U << root; /* use root table entries */
211 mask = used - 1; /* mask for comparing low */
214 if (type == LENS && used >= ENOUGH - MAXD)
281 used += 1U << curr;
282 if (type == LENS && used >= ENOUGH - MAXD)
328 *table += used;
/titanic_41/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
/titanic_41/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c81 insert_used_resource(used_io_mem_t *used, int *used_count, used_io_mem_t **head) in insert_used_resource() argument
87 *head = used; in insert_used_resource()
93 (curr->start_addr < used->start_addr)) { in insert_used_resource()
99 *head = used; in insert_used_resource()
100 used->next = curr; in insert_used_resource()
103 prev->next = used; in insert_used_resource()
105 used->next = curr; in insert_used_resource()
112 used_io_mem_t *used; in add_used_io_mem() local
115 used = (used_io_mem_t *)kmem_zalloc(sizeof (used_io_mem_t), in add_used_io_mem()
117 used->start_addr = io[i].regspec_addr; in add_used_io_mem()
[all …]
/titanic_41/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()
/titanic_41/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;
112 string.mbs[string.used] = '\0';
114 return string.used;
221 return string.used;
225 string.used = 0;
235 last = string.used;
[all …]
/titanic_41/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>>...33