Searched refs:actual (Results 1 - 25 of 75) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.kshlib127 typeset actual
130 actual=$(zdb -C $pool | sed -n 's/^.*version: \(.*\)$/\1/p')
131 if [[ $actual != $vers ]] ; then
132 log_fail "$pool: zdb reported version $actual, expected $vers"
136 actual=$(zpool upgrade | grep $pool$ | \
138 if [[ $actual != $vers ]] ; then
139 log_fail "$pool: zpool reported version $actual, expected $vers"
/illumos-gate/usr/src/uts/sparc/os/
H A Dpolled_io.c382 uint_t actual; local
452 * failure plus the actual number of bytes in the buffer.
480 actual = 0;
491 if (actual == buflen) {
503 *(buffer + actual) = key;
505 actual++;
511 if (actual == 0) {
525 cif[out_args+1] = p1275_uint2cell((uint_t)actual);
/illumos-gate/usr/src/lib/libadm/common/
H A Dpkginfo.c344 verscmp(char *request, char *actual) argument
347 while (isspace((unsigned char)*actual))
348 actual++;
352 while (*request || *actual) {
357 if (*request++ != *actual++)
362 if (*actual && !isspace((unsigned char)*actual))
366 while (isspace((unsigned char)*actual))
367 actual++;
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCmtBlk.py47 for actual, valid in map(lambda x, y: (x and x.lstrip(CmntChrs), y),
49 if actual != valid:
50 raise CmtBlkError(line, actual, valid)
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dparallel.c339 int actual; /* number of bytes successfully written */ local
359 if ((actual = write(fd, block + head, tail - head)) == -1) {
372 if (actual >= 0)
373 head += actual;
376 logit("Writing (%d) at 0x%x actual: %d, %s\n", count++, head,
377 actual, (actual < 1 ? strerror(errno) : ""));
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c1000 size_t actual; local
1015 actual = storebuf(ul, bp, va, nb);
1016 ASSERT(actual);
1017 va += actual;
1018 nb -= actual;
1051 actual = storebuf(ul, bp, va, nb);
1052 ASSERT(actual);
1053 va += actual;
1054 nb -= actual;
1088 ulong_t actual; local
1119 ulong_t actual; local
1441 ulong_t actual; local
[all...]
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dlibconv_mk_report_bufsize.pl60 * as a fixed integer rather than using the actual size calculation that
83 * on the actual strings is FLAGSZ. The module would use the following
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c327 int rv, actual; local
352 rv = ddi_intr_alloc(xpv_dip, ihp, DDI_INTR_TYPE_FIXED, 0, 1, &actual,
354 if (rv < 0 || actual != 1) {
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c546 cell_t actual; member in struct:__anon352
566 printf("OF_read: returning instance=%d, addr=%p, len=%d, actual=%d\n",
567 args.instance, args.addr, args.len, args.actual);
570 return (args.actual);
584 cell_t actual; member in struct:__anon353
596 return (args.actual);
/illumos-gate/usr/src/cmd/tail/tests/
H A Dtailtests.sh21 local actual=$1
25 if [[ "$actual" != "$output" ]]; then
28 echo -e "$CMD: test $test: actual output:\n$actual"
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c487 int actual, avail, intr_size, count = 0; local
528 intr_type, 0, count, &actual, flag);
530 if ((ret != DDI_SUCCESS) || (actual == 0)) {
539 if (actual < count) {
542 count, actual);
544 for (i = 0; i < actual; i++)
552 uhcip->uhci_intr_cnt = actual;
559 for (i = 0; i < actual; i++)
576 for (i = 0; i < actual; i++)
589 for (i = 0; i < actual;
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c259 * If it's a parameter then link to the actual value node and
1669 * have the actual parameter assigned to it (call by value),
1697 register NODE *actual; local
1707 * If the actual list runs out before the formal
1716 actual = getlist(&actlist);
1717 if (actual == NNULL) {
1718 actual = constundef;
1722 array = actual;
1723 switch (actual->n_type) {
1730 array = actual
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dqcn.c253 int actual, count = 0; local
269 DDI_INTR_TYPE_FIXED, inum, count, &actual,
272 if ((rc != DDI_SUCCESS) || (actual == 0)) {
277 if (actual < count) {
278 for (x = 0; x < actual; x++) {
286 qcn_state->qcn_intr_cnt = actual;
291 for (x = 0; x < actual; x++) {
300 for (x = 0; x < actual; x++) {
310 for (y = 0; y < actual; y++) {
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsavemail.c756 char actual[MAXLINE]; local
1172 /* Figure out actual recipient */
1173 actual[0] = '\0';
1185 (void) sm_snprintf(actual,
1186 sizeof(actual),
1193 (void) sm_snprintf(actual,
1194 sizeof(actual),
1207 /* try to fall back to the actual recipient */
1208 if (actual[0] != '\0')
1210 actual);
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c1302 int actual; local
1331 count, &actual, DDI_INTR_ALLOC_NORMAL);
1332 if (ret != DDI_SUCCESS || actual == 0) {
1337 if (actual < count) {
1339 count, actual);
1341 rgep->intr_cnt = actual;
1350 for (i = 0; i < actual; i++) {
1361 for (i = 0; i < actual; i++)
1368 for (i = 0; i < actual; i++) {
1377 for (i = 0; i < actual;
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Dsystrace.c52 systrace_init(struct sysent *actual, systrace_sysent_t **interposed) argument
63 struct sysent *a = &actual[i];
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_rsrc.c83 eib_rsrc_grab_swqes(eib_t *ss, eib_wqe_t **wqes, uint_t n_req, uint_t *actual, argument
93 ret = eib_rsrc_grab_wqes(ss, ss->ei_tx, wqes, n_req, actual, pri);
100 for (i = 0; i < (*actual); i++) {
118 eib_rsrc_grab_rwqes(eib_t *ss, eib_wqe_t **wqes, uint_t n_req, uint_t *actual, argument
123 return (eib_rsrc_grab_wqes(ss, ss->ei_rx, wqes, n_req, actual, pri));
967 uint_t n_req, uint_t *actual, int pri)
1031 if (actual) {
1032 *actual = n_allocd;
966 eib_rsrc_grab_wqes(eib_t *ss, eib_wqe_pool_t *wp, eib_wqe_t **wqes, uint_t n_req, uint_t *actual, int pri) argument
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio.c827 int count, actual; local
865 handler_count, &actual, DDI_INTR_ALLOC_NORMAL);
871 if (actual != handler_count) {
874 handler_count, actual);
932 for (i = 0; i < actual; i++)
987 int actual; local
1016 DDI_INTR_TYPE_FIXED, 0, 1, &actual, DDI_INTR_ALLOC_NORMAL);
1023 ASSERT(actual == 1);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c138 int32_t actual; local
254 actual = 0;
287 &actual, DDI_INTR_ALLOC_NORMAL);
290 "MSI: %s: count=%d actual=%d ret=%d", s_type, count, actual, ret);
292 if ((ret != DDI_SUCCESS) || (actual == 0)) {
296 actual = 0;
300 if (actual != count) {
301 /* Validate actual count */
302 if (actual >
[all...]
/illumos-gate/usr/src/lib/libscf/inc/
H A Dlibscf_priv.h429 const char *ev1, const char *ev2, const char *actual,
447 * conflicting pg_pattern, and actual is the type of the conflicting
452 * prop_pattern, and actual is the type of the conflicting prop_pattern.
/illumos-gate/usr/src/uts/common/os/
H A Dexacct.c629 void *ubuf, size_t ubufsize, size_t *actual, int flag)
683 ret = callback(ac_task, ubuf, ubufsize, buf, bufsize, actual);
1009 * and execute the callback on it. It is the callback's job to set "actual" to
1022 void *ubuf, size_t ubufsize, size_t *actual, int flag)
1061 ret = callback(ac_proc, ubuf, ubufsize, buf, bufsize, actual);
1080 * The result of the write operation is returned. "actual" is updated to
1089 void *buf, size_t bufsize, size_t *actual)
1093 *actual = 0;
1095 *actual = bufsize;
1345 void *ubuf, size_t ubufsize, size_t *actual, in
627 exacct_assemble_task_usage(ac_info_t *ac_task, task_t *tk, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual, int flag) argument
1020 exacct_assemble_proc_usage(ac_info_t *ac_proc, proc_usage_t *pu, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual, int flag) argument
1088 exacct_commit_callback(ac_info_t *info, void *ubuf, size_t ubufsize, void *buf, size_t bufsize, size_t *actual) argument
1343 exacct_assemble_net_usage(ac_info_t *ac_net, void *ninfo, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual, int what) argument
1541 exacct_assemble_flow_usage(ac_info_t *ac_flow, flow_usage_t *fu, int (*callback)(ac_info_t *, void *, size_t, void *, size_t, size_t *), void *ubuf, size_t ubufsize, size_t *actual) argument
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dexacctsys.c47 * calls for interacting with the actual resource data associated with each
63 * from the kernel back to the user. It also sets actual to the size of the
69 size_t ksize, size_t *actual)
75 *actual = ksize;
68 getacct_callback(ac_info_t *unused, void *ubuf, size_t usize, void *kbuf, size_t ksize, size_t *actual) argument
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mgmt.c1561 u32 actual; local
1586 actual = ((val_1 << 8) | val_2);
1588 if (actual >= 32768)
1589 actual = actual- 65536;
1590 actual = actual/256;
1592 return actual;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c65 int dev_no, int *actual, int *maximum, uint32_t *speed_max,
108 int actual = PROP_INVALID, maximum = PROP_INVALID; local
222 pci_card.func_no, &actual, &maximum, &freq_max, &freq_at,
334 PRINT_FMT(actual, maximum);
643 (char *device_path, int bus, int dev, int func, int *actual,
702 *actual = ((link_status >> PCI_LINK_SHIFT) &
642 get_lane_width(char *device_path, int bus, int dev, int func, int *actual, int *maximum, uint32_t *speed_max, uint32_t *speed_at, int *type) argument
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c405 /* References to the actual property group definitions. */
1677 const char *actual = NULL; local
1726 /* actual, ev1 and ev2 are error code specific. */
1733 actual = uint64_to_str(einfo->ei_u.ei_cardinality.ei_count);
1745 actual = pg->sc_pgroup_type;
1746 if (actual != NULL) {
1747 actual = safe_strdup(actual);
1756 actual = safe_strdup(scf_type_to_string(prop_type));
1759 actual
[all...]

Completed in 141 milliseconds

123