Searched defs:online (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv3451.c133 int timeout = 30, online = 0; local
144 online = strcmp(cp, "ON LINE") == 0;
145 if (online)
152 if (online && notin("FAILED CALL", buf) == 0)
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_smf.c37 static int online(char *svc_names[], char **names);
115 * Determine if desired services are online. If all services in the
116 * classes specified by flags are online, 1 is returned. Otherwise
127 if (online(svm_core_svcs, &names) == 0)
131 if (online(svm_diskset_svcs, &names) == 0)
135 if (online(svm_mn_diskset_svcs, &names) == 0)
149 * online given the current SVM configuration.
283 if (online(svc_names, &names))
293 * Check to see if all services in the svc_names are online. If they are
294 * all online
298 online(char *svc_names[], char **names) function
[all...]
/illumos-gate/usr/src/cmd/stmfsvc/
H A Dstmfsvc.c44 static int online();
184 ret = online();
190 * online
197 online() function
221 gettext("STMF service already online"));
225 gettext("unable to online service"));
231 /* wait for service online */
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_meth.c42 int online; /* online cpus count */ member in struct:cpu_walk_data
152 * The "offline" and "online" counter are only useful for the "status"
159 swdp->online++;
203 swdp->err = swdp->offline = swdp->online = swdp->fail = 0;
281 rc = swd.online > 0 ? FMD_SERVICE_STATE_DEGRADED :
303 rc = (swd.offline > 0 && swd.fail + swd.online == 0) ? 1 : 0;
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dloc.c344 boolean_t *online = data; local
351 /* An online IP NCU found, stop walk */
352 *online = B_TRUE;
367 * Walk the NCUs to find out if at least one IP NCU is online. If so,
499 "location %s already online, nothing to do",
/illumos-gate/usr/src/uts/common/os/
H A Dddi_hp_impl.c58 boolean_t online);
644 * probe, online, sysevent, etc.
662 * Probe and online devices if state is
684 * and then online the nodes.
726 * Try to online all the children of CN.
740 * Do online operation when the online parameter is true; otherwise do offline.
743 ddihp_cn_change_children_state(ddi_hp_cn_handle_t *hdlp, boolean_t online) argument
751 " dip %p hdlp %p, online %x\n",
752 (void *)dip, (void *)hdlp, online));
[all...]
H A Dcyclic.c67 * be specified to be "omnipresent", denoting firing on all online CPUs.
1553 cpu_t *online = NULL; local
1604 if (online == NULL)
1605 online = c;
1632 if ((c = online) != NULL)
2545 * on all online CPUs.
2753 * online and offline handlers. Omnipresent cyclics run on all online
2773 * by omni online handler
2775 * omni online handle
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c207 * online, we should set the "online flag".
487 /* If props were setup ok, online the lun */
489 /* Try to online the new node */
506 cmn_err(CE_WARN, "iscsi driver unable to online "
528 * an offline path to become online/active again.
538 boolean_t online = B_FALSE; local
554 online = B_TRUE;
565 online = B_TRUE;
580 * online, w
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c695 int online; local
700 /* Is this disk online? */
701 online = get_disk_online(disk, &error);
702 if (!error && online) {
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c301 int online = 1; local
307 * Report "1" if all cpus colocated on the same chip are online.
319 online = 0;
324 (void) printf("%d\n", online);
334 * and report whether or not it is online.
350 int online = 0; local
354 * online.
363 online++;
369 (void) printf("%d\n", online);
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_discovery.c509 boolean_t online = B_TRUE; local
516 if (((error = disk_get_is_online(disk, &online)) == 0 &&
517 online == B_FALSE) || error == ENODEV) {
1752 boolean_t online = B_FALSE; local
1763 (error = disk_get_is_online(disk, &online))) {
1771 if (online != B_TRUE) {
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c580 * enable_all_groups(list, setstate, online, updateproto)
589 int online, char *updateproto, int enable)
670 if (online) {
680 strcmp(state, "online") != 0) {
588 enable_all_groups(sa_handle_t handle, struct list *work, int setstate, int online, char *updateproto, int enable) argument
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dobj.c767 int online; local
777 online = is_obj_online(dst);
803 } else if (online == 0) {
819 (void) make_scn((online == 0) ?
2477 int online = 1; local
2481 online = obj->attrs[ATTR_INDEX_ISCSI(
2488 return (online);
2536 int online; local
2548 online = is_obj_online(obj);
2550 state = (clone_flag << 2) | (dd_flag << 1) | online;
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c297 * Determine if the SMF service instance is in the online state or
392 boolean_t online; local
416 online = smb_isonline();
417 if (!online && !smb_isautoenable() && smb_isdisabled())
424 if (privileged == B_FALSE && !online) {
426 if (!online) {
444 if (privileged == B_TRUE && !online) {
450 online = B_TRUE;
458 if (!online)
533 * online i
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c537 int online; local
544 online = usbser_dev_is_online(pp->port_usp);
552 if (online) {
560 if (online) {
2033 int online; local
2035 online = usbser_dev_is_online(pp->port_usp);
2049 if (online && USBSER_PORT_ACCESS_OK(pp) &&
3263 * returns != 0 if device is online, 0 otherwise
/illumos-gate/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c868 uint64_t online, uint64_t mem, uint64_t vm)
882 format_uint64(online, str_online, sizeof (str_online));
1333 uint64_t cpus, online, tot_mem, tot_vm; local
1348 online = zs_property_uint64(prop);
1372 zonestat_print_summary_header(namewidth, report_fmt, cpus, online,
1568 char *name, uint64_t online, uint64_t size, uint64_t min, uint64_t max,
1582 format_uint64(online, online_str, sizeof (online_str));
867 zonestat_print_summary_header(size_t namewidth, int report_fmt, uint64_t cpu, uint64_t online, uint64_t mem, uint64_t vm) argument
1567 zonestat_print_cpu_res(size_t namelen, int report_fmt, char *cputype, char *name, uint64_t online, uint64_t size, uint64_t min, uint64_t max, timestruc_t *ts) argument
/illumos-gate/usr/src/uts/common/xen/public/
H A Ddomctl.h105 uint32_t nr_online_vcpus; /* Number of VCPUs currently online. */
264 uint8_t online; /* currently online (not hotplugged)? */ member in struct:xen_domctl_getvcpuinfo
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcf.c278 * - Offline sequencing can interrupt the online sequencing at the
537 * - Offline sequencing can interrupt the online sequencing at the
835 * - Offline sequencing can interrupt the online sequencing at the
1077 * - Offline sequencing can interrupt the online sequencing at the
1367 * - Offline sequencing can interrupt the online sequencing at the
1704 * - Offline sequencing can interrupt the online sequencing at the
2513 uint32_t online; local
2529 online = 0;
2547 online++;
2550 if (!online) {
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dgraph.c92 * comes online.
276 * online, then we will run sulogin on the console. Note that the install ones
284 * after milestone/single-user comes online, for backwards compatibility.
305 static void graph_runlevel_changed(char rl, int online);
781 * system/console-login is online, and the graph engine should call
782 * graph_clogin_start() to bring system/console-login online, which defers the
1309 * Offline dependencies which are waiting for a dependency to come online are
1310 * unsatisfied. Offline dependences which cannot possibly come online
1705 * instance transitions between offline -> online, or from !running ->
1719 * satisfied (B will never come online, eve
5163 graph_runlevel_changed(char rl, int online) argument
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c191 uint64_t zsp_online; /* online cpus in interval */
224 boolean_t zsc_found; /* cpu online in this interval */
227 boolean_t zsc_active; /* cpu online during this interval */
956 zsd_mark_pset_found(zsd_pset_t *pset, uint_t type, uint64_t online, argument
973 pset->zsp_online = online;
1275 * a list of the online cpus is maintained.
1305 /* Mark cpu as online */
1310 * cpu is newly online.
1314 * Cpu is newly online.
1321 * cpu online durin
1667 zsd_get_pool_pset(zsd_ctl_t *ctl, psetid_t psetid, char *psetname, size_t namelen, uint_t *cputype, uint64_t *online, uint64_t *size, uint64_t *min, uint64_t *max, int64_t *importance) argument
1880 uint64_t online, size, min, max; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c306 /* default lu/lport states are online */
1412 int online = 0; local
1423 online++;
1435 online++;
3533 * Port state has to be online to register a scsi session. It is
3543 "online nor offlining");
5351 * LPORT_ONLINE/OFFLINE has nothing to do with link offline/online.
5385 * Avoid too frequent request to online
5396 "online the port");
5398 "online th
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c65 * - There are special cases where bringing devices online and offline
269 * Bring offline /-\ Bring online
288 * | Set device online |
468 int old_mpxio, int online, int link_cnt, int tgt_cnt, int flags);
4013 * to make sure we point to the first online
4385 * link has gone from online to offline -- just update the
4423 * link has gone from offline to online
4427 "link went online");
4456 * We go directly to the online state if no remote
4523 * process of giving us on online an
8146 fcp_trigger_lun(struct fcp_lun *plun, child_info_t *cip, int old_mpxio, int online, int lcount, int tcount, int flags) argument
[all...]

Completed in 211 milliseconds