Home
last modified time | relevance | path

Searched refs:ics (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_stats.c342 iscsi_conn_stats_t *ics; in iscsi_conn_kstat_init() local
367 ics = &icp->stats.ks_data; in iscsi_conn_kstat_init()
368 icp->stats.ks->ks_data = (void *)ics; in iscsi_conn_kstat_init()
369 icp->stats.ks->ks_data_size = sizeof (*ics); in iscsi_conn_kstat_init()
373 kstat_named_init(&ics->kn[i], kstat_items_conn[i]._name, in iscsi_conn_kstat_init()
378 bzero(ics->sess_str, sizeof (ics->sess_str)); in iscsi_conn_kstat_init()
380 ics->sess_str, in iscsi_conn_kstat_init()
381 sizeof (ics->sess_str)); in iscsi_conn_kstat_init()
383 kstat_named_setstr(&ics->kn[KN_CONN_IDX_SESS], in iscsi_conn_kstat_init()
384 (const char *)ics->sess_str); in iscsi_conn_kstat_init()
[all …]
H A Discsi_conn.c689 iscsi_config_sess_t *ics; in iscsi_conn_sync_params() local
836 size = sizeof (*ics); in iscsi_conn_sync_params()
837 ics = kmem_zalloc(size, KM_SLEEP); in iscsi_conn_sync_params()
838 ics->ics_in = 1; in iscsi_conn_sync_params()
842 if (persistent_get_config_session(name, ics) == B_FALSE) { in iscsi_conn_sync_params()
848 if (persistent_get_config_session(name, ics) == B_FALSE) { in iscsi_conn_sync_params()
853 ics->ics_out = 1; in iscsi_conn_sync_params()
854 ics->ics_bound = B_FALSE; in iscsi_conn_sync_params()
858 if (iscsiboot_prop && (ics->ics_out > 1) && isp->sess_boot && in iscsi_conn_sync_params()
864 ics->ics_out = 1; in iscsi_conn_sync_params()
[all …]
H A Discsid.c1097 iscsi_config_sess_t *ics; in iscsid_add() local
1107 size = sizeof (*ics); in iscsid_add()
1108 ics = kmem_zalloc(size, KM_SLEEP); in iscsid_add()
1109 ics->ics_in = 1; in iscsid_add()
1113 if (persistent_get_config_session(tmp, ics) == B_FALSE) { in iscsid_add()
1119 if (persistent_get_config_session(tmp, ics) == B_FALSE) { in iscsid_add()
1125 ics->ics_out = 1; in iscsid_add()
1126 ics->ics_bound = B_TRUE; in iscsid_add()
1130 if (iscsiboot_prop && (ics->ics_out > 1) && in iscsid_add()
1139 ics->ics_out = 1; in iscsid_add()
[all …]
H A Discsi_ioctl.c1116 iscsi_ioctl_get_config_sess(iscsi_hba_t *ihp, iscsi_config_sess_t *ics) in iscsi_ioctl_get_config_sess() argument
1121 if (ics->ics_oid == ISCSI_INITIATOR_OID) { in iscsi_ioctl_get_config_sess()
1126 name = iscsi_targetparam_get_name(ics->ics_oid); in iscsi_ioctl_get_config_sess()
1134 if (persistent_get_config_session((char *)name, ics) == B_FALSE) { in iscsi_ioctl_get_config_sess()
1140 if (ics->ics_oid != ISCSI_INITIATOR_OID) { in iscsi_ioctl_get_config_sess()
1142 (char *)ihp->hba_name, ics) == B_FALSE) { in iscsi_ioctl_get_config_sess()
1147 ics->ics_out = ISCSI_DEFAULT_SESS_NUM; in iscsi_ioctl_get_config_sess()
1148 ics->ics_bound = ISCSI_DEFAULT_SESS_BOUND; in iscsi_ioctl_get_config_sess()
1151 ics->ics_out = ISCSI_DEFAULT_SESS_NUM; in iscsi_ioctl_get_config_sess()
1152 ics->ics_bound = ISCSI_DEFAULT_SESS_BOUND; in iscsi_ioctl_get_config_sess()
[all …]
H A Dpersistent.c894 persistent_set_config_session(char *node, iscsi_config_sess_t *ics) in persistent_set_config_session() argument
903 ics->ics_out = ics->ics_in; in persistent_set_config_session()
906 size = ISCSI_SESSION_CONFIG_SIZE(ics->ics_in); in persistent_set_config_session()
909 rval = nvf_data_set(SESSION_PARAMS_ID, node, (void *)ics, size); in persistent_set_config_session()
920 persistent_get_config_session(char *node, iscsi_config_sess_t *ics) in persistent_get_config_session() argument
926 ASSERT(ics->ics_in >= 1); in persistent_get_config_session()
929 in = ics->ics_in; in persistent_get_config_session()
934 (void *)ics, size); in persistent_get_config_session()
937 ics->ics_in = in; in persistent_get_config_session()
H A Dpersistent.h103 iscsi_config_sess_t *ics);
105 iscsi_config_sess_t *ics);
H A Discsi.c1506 iscsi_config_sess_t *ics; in iscsi_ioctl() local
1962 ics = kmem_zalloc(sizeof (*ics), KM_SLEEP); in iscsi_ioctl()
1963 ics->ics_ver = ISCSI_INTERFACE_VERSION; in iscsi_ioctl()
1964 ics->ics_oid = ISCSI_INITIATOR_OID; in iscsi_ioctl()
1965 ics->ics_in = 1; in iscsi_ioctl()
1992 ihp, ics); in iscsi_ioctl()
1996 (ics->ics_out <= in iscsi_ioctl()
2080 kmem_free(ics, sizeof (*ics)); in iscsi_ioctl()
4304 size = sizeof (*ics); in iscsi_ioctl()
4305 ics = iscsi_ioctl_copyin((caddr_t)arg, mode, size); in iscsi_ioctl()
[all …]
H A Discsi.h1358 iscsi_config_sess_t *ics);
1360 iscsi_config_sess_t *ics);
/titanic_41/usr/src/cmd/iscsiadm/
H A Dsun_ima.c1592 iscsi_config_sess_t *ics; in SUN_IMA_GetConfigSessions() local
1596 size = sizeof (*ics); in SUN_IMA_GetConfigSessions()
1597 ics = (iscsi_config_sess_t *)calloc(1, size); in SUN_IMA_GetConfigSessions()
1598 if (ics == NULL) { in SUN_IMA_GetConfigSessions()
1601 ics->ics_ver = ISCSI_INTERFACE_VERSION; in SUN_IMA_GetConfigSessions()
1602 ics->ics_oid = targetOid.objectSequenceNumber; in SUN_IMA_GetConfigSessions()
1603 ics->ics_in = 1; in SUN_IMA_GetConfigSessions()
1611 if (ioctl(fd, ISCSI_GET_CONFIG_SESSIONS, ics) != 0) { in SUN_IMA_GetConfigSessions()
1616 free(ics); in SUN_IMA_GetConfigSessions()
1621 idx = ics->ics_out; in SUN_IMA_GetConfigSessions()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/pppt/
H A Dalua_ic_if.c797 stmf_ic_status_msg_t *ics = NULL; in stmf_ic_status_msg_alloc() local
800 ics = (stmf_ic_status_msg_t *)kmem_zalloc(sizeof (*ics), KM_SLEEP); in stmf_ic_status_msg_alloc()
801 icm->icm_msg = (void *)ics; in stmf_ic_status_msg_alloc()
803 ics->ics_status = status; in stmf_ic_status_msg_alloc()
804 ics->ics_msg_type = msg_type; in stmf_ic_status_msg_alloc()
805 ics->ics_msgid = msgid; /* XXX same as msgid in header */ in stmf_ic_status_msg_alloc()
/titanic_41/usr/src/cmd/troff/
H A Dtdef.h448 #define ics env._ics macro
H A Dn5.c1130 ics = i; in casemc()
H A Dn7.c195 if ((k = ll - un - lastl + ics) > 0) in tbreak()
/titanic_41/usr/src/cmd/troff/troff.d/
H A Dt10.c156 ics = ICS; in ptinit()
/titanic_41/usr/src/cmd/troff/nroff.d/
H A Dn10.c191 ics = EM * 2; in ptinit()
/titanic_41/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex183 par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces