/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | arc.c | 238 * a newly allocated b_pdata. Writes are always done into buffers which have 1789 * done in a special way since we have to clear and set bits 1929 /* Skip byteswapping and checksumming (already done) */ 3162 * done being written to the l2arc. 4708 * results); or, if this is a read with a "done" func, add a record 4709 * to the read to invoke the "done" func when the read completes, 4712 * arc_read_done() will invoke all the requested "done" functions 4716 arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, arc_done_func_t *done, argument 4782 if (done) { 4787 acb->acb_done = done; 5514 arc_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, arc_buf_t *buf, boolean_t l2arc, const zio_prop_t *zp, arc_done_func_t *ready, arc_done_func_t *children_ready, arc_done_func_t *physdone, arc_done_func_t *done, void *private, zio_priority_t priority, int zio_flags, const zbookmark_phys_t *zb) argument [all...] |
H A D | dmu.c | 682 /* if there are no indirect blocks before start, we are done */ 1553 dmu_sync_late_arrival(zio_t *pio, objset_t *os, dmu_sync_cb_t *done, zgd_t *zgd, argument 1569 dsa->dsa_done = done; 1602 * The caller should log this blkptr in the done callback. 1604 * the error will be reported to the done callback and 1608 dmu_sync(zio_t *pio, uint64_t txg, dmu_sync_cb_t *done, zgd_t *zgd) argument 1636 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); 1660 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); 1670 * There's no need to log writes to freed blocks, so we're done. 1724 dsa->dsa_done = done; [all...] |
H A D | dmu_send.c | 198 * since free block aggregation can only be done for blocks of the 271 * the stream, since aggregation can't be done across operations 393 * push it out, since free block aggregation can only be done for 1791 * done. 1795 boolean_t done; member in struct:receive_writer_arg 1877 int done = 0; local 1885 while (done < len) { 1889 (char *)buf + done, len - done, 1893 if (resid == len - done) { [all...] |
H A D | zio.c | 82 * pathologies and should only be done in the context of performance analysis. 84 * enough analysis has been done to determine optimal values. 521 void *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, 574 zio->io_done = done; 617 zio_null(zio_t *pio, spa_t *spa, vdev_t *vd, zio_done_func_t *done, argument 622 zio = zio_create(pio, spa, 0, NULL, NULL, 0, 0, done, private, 630 zio_root(spa_t *spa, zio_done_func_t *done, void *private, enum zio_flag flags) argument 632 return (zio_null(NULL, spa, NULL, done, private, flags)); 719 void *data, uint64_t size, zio_done_func_t *done, void *private, 727 data, size, size, done, privat 520 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, void *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, void *private, zio_type_t type, zio_priority_t priority, enum zio_flag flags, vdev_t *vd, uint64_t offset, const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline) argument 718 zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, void *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument 736 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *children_ready, zio_done_func_t *physdone, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument 778 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, zbookmark_phys_t *zb) argument 871 zio_claim(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, zio_done_func_t *done, void *private, enum zio_flag flags) argument 906 zio_ioctl(zio_t *pio, spa_t *spa, vdev_t *vd, int cmd, zio_done_func_t *done, void *private, enum zio_flag flags) argument 930 zio_read_phys(zio_t *pio, vdev_t *vd, uint64_t offset, uint64_t size, void *data, int checksum, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, boolean_t labels) argument 951 zio_write_phys(zio_t *pio, vdev_t *vd, uint64_t offset, uint64_t size, void *data, int checksum, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, boolean_t labels) argument 987 zio_vdev_child_io(zio_t *pio, blkptr_t *bp, vdev_t *vd, uint64_t offset, void *data, uint64_t size, int type, zio_priority_t priority, enum zio_flag flags, zio_done_func_t *done, void *private) argument 1053 zio_vdev_delegated_io(vdev_t *vd, uint64_t offset, void *data, uint64_t size, int type, zio_priority_t priority, enum zio_flag flags, zio_done_func_t *done, void *private) argument [all...] |
H A D | vdev_label.c | 182 uint64_t size, zio_done_func_t *done, void *private, int flags) 190 size, buf, ZIO_CHECKSUM_LABEL, done, private, 196 uint64_t size, zio_done_func_t *done, void *private, int flags) 206 size, buf, ZIO_CHECKSUM_LABEL, done, private, 181 vdev_label_read(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, uint64_t size, zio_done_func_t *done, void *private, int flags) argument 195 vdev_label_write(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, uint64_t size, zio_done_func_t *done, void *private, int flags) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpoll.c | 243 * NOTE: Upon closing an fd, automatic poll cache cleanup is done for 253 boolean_t done; local 294 done = B_FALSE; 296 while ((fdcnt < nfds) && !done) { 310 done = B_TRUE; 334 * done a POLLREMOVE on this fd yet. Instead 552 done = B_TRUE; 557 if (!done) { 1535 * it is done.
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 872 * Soft state cleanup done. 1081 * Soft state cleanup done. 3528 int done = 0; local 3563 * Check for done flag before dequeing the command. 3564 * Dequeing before checking the done flag will cause a command 3567 while ((!done) && ((cmd = fcsm_deque_cmd(fcsm)) != NULL)) { 3570 done = 1;
|
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 702 pgcnt_t done; member in struct:stream 922 s->done = 0; 952 if (++s->done >= s->npages) { 959 s->curpage = s->pagenum + s->done; 1049 s->done = 0; 1067 if (++s->done >= s->npages) { 1074 s->curpage = s->pagenum + s->done; 1093 (void) printf("\r%2d:%02d %3d%% done", sec / 60, sec % 60, 1978 (void) printf("%d:%02d dump %s is done\n",
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 578 finish_progress(char *done) argument 581 (void) printf("%s\n", done); 5763 finish_progress(gettext("done.")); 6062 /* option validation is done later */
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 2858 * we should get dynamic LUN growth when we're done. 3117 boolean_t done; local 3119 done = (spa->spa_async_thread == NULL && !spa->spa_async_tasks); 3121 if (done) 3901 * Iteration 5 test zcopy when it can't be done. 6337 "%4.1f%% of %5s used, %3.0f%% done, %8s to go\n",
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 477 * (ex. mkisofs). This is done to prevent those processes from attempting 710 * filesystem has been done. 1075 goto done; 1080 goto done; 1096 goto done; 1100 goto done; 1105 goto done; 1118 goto done; 1127 goto done; 1141 goto done; 9940 int done, ret = BAM_SUCCESS; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 636 uint64_t i, done, pinode, inode; local 647 done = nameidx = 0; 672 done = counter = 0; 690 done = 1; 701 if (done) 705 if (!done) {
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | zlib.h | 54 Compression can be done in a single step if the buffers are large enough, 55 or can be done by repeated calls of the compression function. In the latter 125 int done; /* true when done reading gzip header (not used member in struct:gz_header_s 242 this will be done by deflate(). 329 is to be done in a single step. In this case, avail_out must be at least the 385 will be done by inflate(). (So next_in and avail_in may be modified, but 584 compression: this will be done by deflate(). 628 not perform any compression: this will be done by deflate(). 797 the uncompressed data as is done i [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | mp_platform_common.c | 142 * Sampling is done by checking the structures for all CPUs and incrementing 145 * In periodic mode this is done on every clock interrupt. 146 * In one-shot mode, this is done thru a cyclic with an interval of 2197 boolean_t done = B_FALSE; local 2204 while (!done && ioapic_child != 0) { /* Iterate over children */ 2222 done = B_TRUE; 2227 if (!done) 2339 * the following only needs to be done once, so we do it on the
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 957 dprintf(("cache_full list done\n")); 3074 * have already been visited; we're done. 3098 int done; local 3107 done = (root->vn_sibling == NULL && root->vn_parent == NULL); 3110 if (done) {
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 452 /* ndi_devi_enter is done in pvscsi_bus_config */ 572 pvscsi_cmd_t *done; local 581 *pending = done = pvscsi_process_comp_ring(pvs); 582 for (c = done; c != NULL; c = c->next_cmd) { 598 if ((done = pvscsi_process_comp_ring(pvs)) != NULL) { 599 done->tail_cmd->next_cmd = *pending; 600 *pending = done; 601 for (c = done; c != NULL; c = c->next_cmd) { 1116 pvscsi_cmd_t *done, *aborted; local 1123 done [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 1729 boolean_t done; local 1736 * Check the counter tbd_free to see if transmission is done. 1744 done = B_TRUE; 1747 done = done && 1751 if (done) 1757 return (done); 1766 boolean_t done = B_TRUE; local 1780 done = (ixgbe->rcb_pending == 0); 1782 if (done) [all...] |
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_xmit.c | 1329 * just CTS. Note that this is only done for OFDM/HT unicast frames. 1559 * EOL to reap descriptors. Note that this is done to 1911 * a s/w mic is done the frame will have had any mic 2144 arn_printtxbuf(struct ath_buf *bf, int done) argument 2155 !done ? ' ' : (ts->ts_status == 0) ? '*' : '!'));
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 1747 boolean_t done; local 1754 * Check the counter tbd_free to see if transmission is done. 1762 done = B_TRUE; 1765 done = done && 1769 if (done) 1775 return (done); 1784 boolean_t done; local 1798 done = (igb->rcb_pending == 0); 1800 if (done) [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.c | 275 int done; local 326 done = 0; 329 while (!done) { 334 done++;
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 240 * This was done so that attributes can be handled with as few code changes 284 * This is done so that an archiver that doesn't understand these formats 434 static void done(int n); 1135 done(2); 1145 done(2); 1150 done(2); 1190 done(Errflg); 1255 done(1); 1294 done(Errflg); /* received signal to stop */ 1454 done( 4908 done(int n) function [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socktpi.c | 621 * and no listen() has been done. 630 * and no listen() has been done. 708 goto done; 786 goto done; 793 goto done; 798 goto done; 804 goto done; 815 goto done; 829 goto done; 838 goto done; 4512 int done = 0; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 561 * release_bootstrap() will free them when we're completely done with 637 * done in startup_memlist(). The value of NUM_ALLOCATIONS needs to 836 PRM_POINT("startup_init() done"); 1385 PRM_POINT("kphysm_init() done"); 1396 PRM_POINT("startup_memlist() done"); 1565 PRM_POINT("xen_relocate_start_info() done"); 1575 PRM_POINT("startup_kmem() done"); 1755 * Modifies the device tree, so this must be done after 1795 PRM_POINT("startup_modules: done"); 1803 PRM_POINT("startup_modules() done"); 2963 int done = 0; local [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdllink.c | 312 boolean_t done = B_FALSE; local 327 if (!done && 329 done = B_TRUE; 569 goto done; 573 goto done; 580 done: 605 goto done; 614 done: 764 goto done; 773 goto done; [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 2066 * rings are flushed before we do anything else. This must be done 2177 boolean_t done; local 2185 done = IS_QUEUE_EMPTY(&tx_ring->used_list); 2188 if (done) 2194 return (done); 2201 boolean_t done; local 2207 done = (Adapter->pending_rx_count == 0); 2209 if (done) 2215 return (done); 2670 goto done; [all...] |