/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | mevent_test.c | 139 struct esync *sync = param; in echoer_callback() local 141 pthread_mutex_lock(&sync->e_mt); in echoer_callback() 142 pthread_cond_signal(&sync->e_cond); in echoer_callback() 143 pthread_mutex_unlock(&sync->e_mt); in echoer_callback() 149 struct esync sync; in echoer() local 155 pthread_mutex_init(&sync.e_mt, NULL); in echoer() 156 pthread_cond_init(&sync.e_cond, NULL); in echoer() 158 pthread_mutex_lock(&sync.e_mt); in echoer() 160 mev = mevent_add(fd, EVF_READ, echoer_callback, &sync); in echoer() 166 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_synctask.c | 78 dsl_syncfunc_t *syncfunc, void *arg, boolean_t sync, const char *err_dsname) in zcp_sync_task() argument 84 if (!sync) in zcp_sync_task() 129 zcp_synctask_destroy(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_destroy() argument 152 dsl_destroy_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_destroy() 158 dsl_destroy_head_sync, &ddha, sync, dsname); in zcp_synctask_destroy() 180 zcp_synctask_promote(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_promote() argument 196 dsl_dataset_promote_sync, &ddpa, sync, dsname); in zcp_synctask_promote() 217 zcp_synctask_rollback(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_rollback() argument 227 dsl_dataset_rollback_sync, &ddra, sync, dsname); in zcp_synctask_rollback() 250 zcp_synctask_snapshot(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_snapshot() argument [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.snapshot_neg.zcp | 27 assert(zfs.sync.snapshot("ceci_nest_pas_une_dataset") == EINVAL); 28 assert(zfs.sync.snapshot(fs1) == EINVAL) 29 assert(zfs.sync.snapshot(fs1 .. "@" .. longstring) == ENAMETOOLONG) 31 assert(zfs.sync.snapshot(fs2 .. "@snap1") == 0) 33 assert(zfs.sync.snapshot(fs2 .. "@snap2") == EAGAIN) 35 assert(zfs.sync.snapshot(fs1 .. "@snap1") == EEXIST)
|
H A D | tst.promote_multiple.ksh | 66 assert(zfs.sync.promote("$clone2") == 0) 67 assert(zfs.sync.promote("$clone2") == 0) 68 assert(zfs.sync.destroy("$clone1") == 0)
|
H A D | tst.rollback_mult.ksh | 46 err = zfs.sync.rollback(fs) 48 err = zfs.sync.destroy(snap) 51 err = zfs.sync.rollback(fs)
|
H A D | tst.set_props.zcp | 73 err = zfs.sync.set_prop(fs, prop, val) 86 err = zfs.sync.set_prop(fs, prop, old_val) 90 err = zfs.sync.inherit(fs, prop) 103 err = zfs.sync.set_prop(fs, prop, exp_val)
|
H A D | tst.snapshot_destroy.zcp | 19 assert(zfs.sync.snapshot(argv[1] .. "@snap1") == 0) 20 assert(zfs.sync.destroy(argv[1] .. "@snap1") == 0)
|
/illumos-gate/usr/src/lib/libc/common/sys/ |
H A D | sync.S | 37 ANSI_PRAGMA_WEAK(sync,function) 41 SYSCALL_NOERROR_RVAL1(sync) 43 SET_SIZE(sync)
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | roletrns.c | 59 port->sync = True; /* in ROOT_PROPOSED (setSyncBridge) */ in setSyncBridge() 120 port->sync = True; /* in INIT */ in STP_roletrns_enter_state() 139 port->sync = port->reRoot = False; /* BLOCKED_PORT */ in STP_roletrns_enter_state() 155 port->proposed = port->sync = False; /* in ROOT_AGREED */ in STP_roletrns_enter_state() 214 port->sync = False; /* DESIGNATED_SYNCED */ in STP_roletrns_enter_state() 311 port->sync || in STP_roletrns_check_conditions() 399 if (port->sync && port->synced) { in STP_roletrns_check_conditions() 405 !port->sync && in STP_roletrns_check_conditions() 411 !port->sync && !port->learn) { in STP_roletrns_check_conditions() 414 if (((port->sync && !port->synced) || in STP_roletrns_check_conditions()
|
/illumos-gate/usr/src/test/zfs-tests/tests/perf/ |
H A D | perf.shlib | 31 typeset sync=$1 34 [[ $sync -eq 0 ]] && sync_str='async' 35 [[ $sync -eq 1 ]] && sync_str='sync' 42 typeset sync=$2 45 typeset sync_str=$(get_sync_str $sync) 61 typeset sync=$6 64 typeset sync_str=$(get_sync_str $sync) 110 export SYNC_TYPE=$sync 112 sync 115 typeset suffix=$(get_suffix $threads $sync $iosize) [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/ |
H A D | illumos_cmdlist.h | 157 ASTCMDLIST(sync) 158 BINCMDLIST(sync) 159 GNUCMDLIST(sync) 160 SBINCMDLIST(sync) 161 SUSRBINCMDLIST(sync)
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_zvol.c | 340 int sync, i, error; in sbd_zvol_rele_write_bufs() local 377 sync = !zvol_get_volume_wce(sl->sl_zvol_minor_hdl); in sbd_zvol_rele_write_bufs() 379 (ssize_t)len, sync); in sbd_zvol_rele_write_bufs() 385 if (sync && (flags & ZVIO_COMMIT)) in sbd_zvol_rele_write_bufs() 424 int error, sync; in sbd_zvol_copy_write() local 438 sync = !zvol_get_volume_wce(sl->sl_zvol_minor_hdl); in sbd_zvol_copy_write() 449 (ssize_t)len, sync); in sbd_zvol_copy_write() 455 if (sync && (flags & ZVIO_COMMIT)) in sbd_zvol_copy_write()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/ |
H A D | removal_condense_export.ksh | 62 ((i % 100 > 0 )) || sync || log_fail "Could not sync." 72 sync 74 sync
|
H A D | removal_remap.ksh | 56 ((i % 100 > 0 )) || sync || log_fail "Could not sync." 88 sync
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/resilver/ |
H A D | resilver_restart_001.ksh | 160 log_must zpool sync $TESTPOOL 162 log_must zpool sync $TESTPOOL 189 log_must zpool sync $TESTPOOL 190 log_must zpool sync $TESTPOOL
|
H A D | resilver_restart_002.ksh | 84 zpool sync $TESTPOOL 103 log_must zpool sync $TESTPOOL 104 log_must zpool sync $TESTPOOL
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/ |
H A D | zfs_written_property_001_pos.ksh | 75 log_must sync 119 log_must sync 141 log_must sync 177 log_must sync 203 log_must sync 217 log_must sync
|
/illumos-gate/usr/src/test/smbclient-tests/config/ |
H A D | filemicro.prof | 42 sync = true; 69 sync = true; 76 sync = true; 110 sync = true;
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
H A D | zpool_initialize_verify_checksums.ksh | 45 log_must sync 55 log_must sync
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/ |
H A D | deadlist_lock.ksh | 88 log_must sync 100 log_must sync
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_sync.ksh | 45 gnu_dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \ 51 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/ |
H A D | zpool_expand_003_neg.ksh | 88 sync 90 sync
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_002.ksh | 83 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \ 84 oflag=dsync,sync bs=1 count=1
|
H A D | slog_replay_fs_001.ksh | 81 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \ 82 oflag=dsync,sync bs=1 count=1 138 bs=128k count=64 oflag=sync
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 297 pl->ActorAdminPortState.bit.sync = B_FALSE; in aggr_lacp_init_port() 384 pl->ActorOperPortState.bit.sync = B_FALSE; in lacp_reset_port() 757 pl->ActorOperPortState.bit.sync = B_FALSE; in lacp_mux_sm() 809 pl->PartnerOperPortState.bit.sync) { in lacp_mux_sm() 818 !pl->PartnerOperPortState.bit.sync) { in lacp_mux_sm() 839 pl->ActorOperPortState.bit.sync = in lacp_mux_sm() 861 pl->ActorOperPortState.bit.sync = B_TRUE; in lacp_mux_sm() 869 if (pl->PartnerOperPortState.bit.sync) { in lacp_mux_sm() 1452 !tpp->lp_lacp.PartnerOperPortState.bit.sync) { in lacp_selection_logic() 1845 save_sync = pl->PartnerOperPortState.bit.sync; in record_PDU() [all …]
|