Searched defs:actual (Results 1 - 25 of 58) sorted by relevance

123

/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/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/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/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/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/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/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/xge/drv/
H A Dxge.c767 int avail, actual, count = 0; local
808 lldev->intr_cnt, &actual, intr_behavior);
809 if ((ret != DDI_SUCCESS) || (actual == 0)) {
816 "IRQA", count, actual);
818 if (lldev->intr_cnt != actual) {
836 for (i = 0; i < actual; i++) {
/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/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/uts/common/os/
H A Dddi_intr.c1206 int actual, ret; local
1222 inumber, 1, &actual,
1278 int actual, ret; local
1296 DDI_INTR_TYPE_FIXED, inumber, 1, &actual,
1334 int actual, ret; local
1345 inumber, 1, &actual, DDI_INTR_ALLOC_NORMAL)) != DDI_SUCCESS) {
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/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/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/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/uts/common/io/efe/
H A Defe.c253 int actual; local
322 count, &actual, DDI_INTR_ALLOC_STRICT) != DDI_SUCCESS ||
323 actual != count) {
/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/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/tools/ctf/cvt/
H A Dctf.c1261 size_t actual; local
1264 if ((actual = decompress_ctf(buf, bufsz, ctfdata, ctfdatasz)) !=
1267 "(was %d, expecting %d)", actual, ctfdatasz);
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c207 int16_t actual, total; local
239 for (i = 0, actual = 0; i < FRAG_MAX; i++)
240 actual += (fragment[i].iplen - fragment[i].iphlen);
246 return (total == actual);
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c668 int actual; local
771 DDI_INTR_TYPE_MSI, 0, req, &actual, DDI_INTR_ALLOC_STRICT);
780 iommu->aiomt_actual_intrs = actual;
786 f, driver, instance, iommu->aiomt_idx, actual);
791 "ddi_intr_alloc failed: actual (%d) < req (%d)",
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c426 int actual; local
429 &actual, DDI_INTR_ALLOC_STRICT) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c991 int type, count, avail, actual; local
1028 type, 0, 1, &actual, DDI_INTR_ALLOC_NORMAL);
1029 if ((ret != DDI_SUCCESS) || (actual == 0)) {
/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...]

Completed in 102 milliseconds

123