Searched refs:isp (Results 1 - 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_sess.c78 static iscsi_status_t iscsi_sess_threads_create(iscsi_sess_t *isp);
79 static void iscsi_sess_flush(iscsi_sess_t *isp);
80 static void iscsi_sess_offline_luns(iscsi_sess_t *isp);
82 iscsi_sess_t *isp, uint16_t *lun_data, uint8_t *lun_addr_type);
85 static void iscsi_sess_state_free(iscsi_sess_t *isp,
87 static void iscsi_sess_state_logged_in(iscsi_sess_t *isp,
89 static void iscsi_sess_state_failed(iscsi_sess_t *isp,
91 static void iscsi_sess_state_in_flush(iscsi_sess_t *isp,
93 static void iscsi_sess_state_flushed(iscsi_sess_t *isp,
98 static iscsi_status_t iscsi_sess_testunitready(iscsi_sess_t *isp,
117 iscsi_sess_t *isp = NULL; local
385 iscsi_sess_t *isp = NULL; local
415 iscsi_sess_t *isp; local
532 iscsi_sess_destroy(iscsi_sess_t *isp) argument
687 iscsi_sess_set_auth(iscsi_sess_t *isp) argument
932 iscsi_sess_reserve_itt(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
972 iscsi_sess_release_itt(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
988 iscsi_sess_redrive_io(iscsi_sess_t *isp) argument
1085 iscsi_sess_state_machine(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1169 iscsi_sess_state_free(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1241 iscsi_sess_state_logged_in(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1355 iscsi_sess_state_failed(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1431 iscsi_sess_state_in_flush(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1525 iscsi_sess_state_flushed(iscsi_sess_t *isp, iscsi_sess_event_t event, uint32_t event_count) argument
1616 iscsi_sess_threads_create(iscsi_sess_t *isp) argument
1656 iscsi_sess_t *isp; local
1710 iscsi_sess_testunitready(iscsi_sess_t *isp, uint32_t event_count) argument
1763 iscsi_sess_reportluns(iscsi_sess_t *isp, uint32_t event_count) argument
2064 iscsi_sess_inquiry(iscsi_sess_t *isp, uint16_t lun_num, uint8_t lun_addr_type, uint32_t event_count, iscsi_lun_t *ilp) argument
2300 retrieve_lundata(uint32_t lun_count, unsigned char *buf, iscsi_sess_t *isp, uint16_t *lun_num, uint8_t *lun_addr_type) argument
2344 iscsi_sess_flush(iscsi_sess_t *isp) argument
2377 iscsi_sess_offline_luns(iscsi_sess_t *isp) argument
2409 iscsi_sess_t *isp = NULL; local
2437 iscsi_sess_update_busy_luns(iscsi_sess_t *isp, boolean_t clear) argument
2466 iscsi_sess_enum_request(iscsi_sess_t *isp, boolean_t wait, uint32_t event_count) argument
2512 iscsi_sess_enum_query(iscsi_sess_t *isp) argument
2531 iscsi_sess_enum_warn(iscsi_sess_t *isp, iscsi_enum_result_t r) argument
2537 iscsi_sess_enter_state_zone(iscsi_sess_t *isp) argument
2549 iscsi_sess_exit_state_zone(iscsi_sess_t *isp) argument
[all...]
H A Discsi_queue.c81 iscsi_enqueue_pending_cmd(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
83 ASSERT(isp != NULL);
85 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex));
89 iscsi_enqueue_cmd_tail(&isp->sess_queue_pending.head,
90 &isp->sess_queue_pending.tail, icmdp);
91 isp->sess_queue_pending.count++;
92 KSTAT_WAITQ_ENTER(isp);
94 iscsi_enqueue_cmd_head(&isp->sess_queue_pending.head,
95 &isp->sess_queue_pending.tail, icmdp);
96 isp
107 iscsi_dequeue_pending_cmd(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
143 iscsi_sess_t *isp = NULL; local
196 iscsi_sess_t *isp = NULL; local
233 iscsi_sess_t *isp = NULL; local
256 iscsi_sess_t *isp = NULL; local
273 iscsi_enqueue_completed_cmd(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
[all...]
H A Discsi_stats.c169 iscsi_sess_kstat_init(iscsi_sess_t *isp) argument
176 ASSERT(isp != NULL);
177 ihp = isp->sess_hba;
186 isp->sess_hba->hba_oid, isp->sess_oid) >= sizeof (ks_name)) {
188 "session(%u)", isp->sess_oid);
192 isp->stats.ks = kstat_create(iSCSI_MODULE_NAME,
196 if (isp->stats.ks == NULL) {
198 "for session(%u)", isp->sess_oid);
202 iss = &isp
258 iscsi_sess_kstat_term(iscsi_sess_t *isp) argument
273 iscsi_sess_t *isp = (iscsi_sess_t *)ks->ks_private; local
340 iscsi_sess_t *isp = icp->conn_sess; local
[all...]
H A Discsi_cmd.c310 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
314 ASSERT(isp != NULL);
349 iscsi_enqueue_pending_cmd(isp, icmdp);
367 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
373 ASSERT(isp != NULL);
381 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex));
390 mutex_enter(&isp->sess_cmdsn_mutex);
391 if (!iscsi_sna_lte(isp->sess_cmdsn,
392 isp->sess_maxcmdsn)) {
394 mutex_exit(&isp
721 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
1144 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
1237 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
1319 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
[all...]
H A Discsi_ioctl.c146 iscsi_sess_t *isp; local
161 isp = ihp->hba_sess_list;
168 for (isp = ihp->hba_sess_list; isp; isp = isp->sess_next) {
169 if (isp->sess_target_oid == cl->cl_sess_oid) {
170 target_oid = isp->sess_oid;
178 while (isp != NULL) {
179 ASSERT(isp
236 iscsi_sess_t *isp; local
325 iscsi_sess_t *isp; local
745 iscsi_sess_t *isp = NULL; local
999 iscsi_sess_t *isp = NULL; local
1173 iscsi_sess_t *isp; local
1262 iscsi_sess_t *isp; local
[all...]
H A DiscsiAuthClientGlue.c49 iscsi_sess_t *isp = (iscsi_sess_t *)client->userHandle; local
54 if (isp == NULL) {
61 if (isp->sess_auth.username_in == NULL) {
64 isp->sess_oid);
67 if (strcmp(username, isp->sess_auth.username_in) != 0) {
70 isp->sess_oid);
115 isp->sess_auth.username_in,
116 isp->sess_auth.username,
148 if ((isp->sess_auth.password_length_in < 1) ||
149 (isp
[all...]
H A Discsi_lun.c47 static iscsi_status_t iscsi_lun_virt_create(iscsi_sess_t *isp,
49 static iscsi_status_t iscsi_lun_phys_create(iscsi_sess_t *isp,
68 iscsi_lun_create(iscsi_sess_t *isp, uint16_t lun_num, uint8_t lun_addr_type, argument
80 ASSERT(isp != NULL);
81 ihp = isp->sess_hba;
88 rw_enter(&isp->sess_lun_list_rwlock, RW_WRITER);
92 for (ilp_tmp = isp->sess_lun_list; ilp_tmp != NULL;
99 rw_exit(&isp->sess_lun_list_rwlock);
104 addr = kmem_zalloc((strlen((char *)isp->sess_name) +
107 (strlen((char *)isp
236 iscsi_sess_t *isp = NULL; local
297 iscsi_lun_virt_create(iscsi_sess_t *isp, uint16_t lun_num, iscsi_lun_t *ilp, struct scsi_inquiry *inq) argument
408 iscsi_lun_phys_create(iscsi_sess_t *isp, uint16_t lun_num, iscsi_lun_t *ilp, struct scsi_inquiry *inq) argument
537 iscsi_sess_t *isp = NULL; local
[all...]
H A Discsi_io.c67 void iscsi_update_flow_control(iscsi_sess_t *isp,
69 static iscsi_status_t iscsi_rx_process_scsi_itt_to_icmdp(iscsi_sess_t *isp,
71 static iscsi_status_t iscsi_rx_process_itt_to_icmdp(iscsi_sess_t *isp,
73 static void iscsi_process_rsp_status(iscsi_sess_t *isp, iscsi_conn_t *icp,
100 static iscsi_status_t iscsi_tx_scsi(iscsi_sess_t *isp, iscsi_cmd_t *icmdp);
101 static iscsi_status_t iscsi_tx_nop(iscsi_sess_t *isp, iscsi_cmd_t *icmdp);
102 static iscsi_status_t iscsi_tx_abort(iscsi_sess_t *isp, iscsi_cmd_t *icmdp);
103 static iscsi_status_t iscsi_tx_reset(iscsi_sess_t *isp, iscsi_cmd_t *icmdp);
104 static iscsi_status_t iscsi_tx_logout(iscsi_sess_t *isp, iscsi_cmd_t *icmdp);
105 static iscsi_status_t iscsi_tx_text(iscsi_sess_t *isp, iscsi_cmd_
222 iscsi_update_flow_control(iscsi_sess_t *isp, uint32_t max, uint32_t exp) argument
262 iscsi_sess_t *isp; local
330 iscsi_rx_chk(iscsi_conn_t *icp, iscsi_sess_t *isp, iscsi_scsi_rsp_hdr_t *irhp, iscsi_cmd_t **icmdp) argument
649 iscsi_sess_t *isp = icp->conn_sess; local
861 iscsi_sess_t *isp = NULL; local
989 iscsi_sess_t *isp = NULL; local
1060 iscsi_sess_t *isp = NULL; local
1184 iscsi_sess_t *isp = NULL; local
1226 iscsi_sess_t *isp = NULL; local
1322 iscsi_sess_t *isp; local
1398 iscsi_sess_t *isp = icp->conn_sess; local
1573 iscsi_sess_t *isp = NULL; local
1677 iscsi_rx_process_scsi_itt_to_icmdp(iscsi_sess_t *isp, idm_conn_t *ic, iscsi_scsi_rsp_hdr_t *ihp, iscsi_cmd_t **icmdp) argument
1707 iscsi_rx_process_itt_to_icmdp(iscsi_sess_t *isp, iscsi_hdr_t *ihp, iscsi_cmd_t **icmdp) argument
1772 iscsi_sess_t *isp = NULL; local
1855 iscsi_tx_cmd(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
1908 iscsi_tx_init_hdr(iscsi_sess_t *isp, iscsi_conn_t *icp, iscsi_text_hdr_t *ihp, int opcode, iscsi_cmd_t *icmdp) argument
2147 iscsi_tx_scsi(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2252 iscsi_tx_nop(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2287 iscsi_tx_abort(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2324 iscsi_tx_reset(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2374 iscsi_tx_logout(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2414 iscsi_tx_text(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
2452 iscsi_sess_t *isp = NULL; local
2485 iscsi_sess_t *isp = icp->conn_sess; local
2519 iscsi_sess_t *isp = NULL; local
2545 iscsi_handle_reset(iscsi_sess_t *isp, int level, iscsi_lun_t *ilp) argument
2753 iscsi_sess_t *isp; local
2847 iscsi_sess_t *isp; local
2963 iscsi_handle_passthru(iscsi_sess_t *isp, uint16_t lun, struct uscsi_cmd *ucmdp) argument
3152 iscsi_process_rsp_status(iscsi_sess_t *isp, iscsi_conn_t *icp, idm_status_t status) argument
3182 iscsi_sess_t *isp; local
3196 iscsi_sess_t *isp; local
3251 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
3329 iscsi_iodone(iscsi_sess_t *isp, iscsi_cmd_t *icmdp) argument
3392 iscsi_sess_t *isp = (iscsi_sess_t *)arg; local
3411 iscsi_timeout_checks(iscsi_sess_t *isp) argument
3532 iscsi_nop_checks(iscsi_sess_t *isp) argument
3653 iscsi_sess_t *isp = NULL; local
[all...]
H A Discsi_conn.c60 iscsi_conn_create(struct sockaddr *addr, iscsi_sess_t *isp, iscsi_conn_t **icpp) argument
66 for (icp = isp->sess_conn_list; icp; icp = icp->conn_next) {
102 icp->conn_sess = isp;
146 icp->conn_tx_thread = iscsi_thread_create(isp->sess_hba->hba_dip,
156 icp->conn_cid = isp->sess_conn_next_cid++;
157 if (isp->sess_conn_list == NULL) {
158 isp->sess_conn_list = isp->sess_conn_list_last_ptr = icp;
160 isp->sess_conn_list_last_ptr->conn_next = icp;
161 isp
292 iscsi_sess_t *isp; local
388 iscsi_sess_t *isp; local
482 iscsi_sess_t *isp; local
684 iscsi_sess_t *isp; local
969 iscsi_sess_t *isp; local
1022 iscsi_conn_retry(iscsi_sess_t *isp, iscsi_conn_t *icp) argument
[all...]
H A Discsi_login.c82 iscsi_sess_t *isp; local
90 isp = icp->conn_sess;
91 ASSERT(isp != NULL);
92 ihp = isp->sess_hba;
108 (void) iscsi_sess_set_auth(isp);
123 if ((isp->sess_boot == B_TRUE) &&
125 (isp->sess_boot_nic_reset == B_FALSE)) {
135 isp->sess_boot_nic_reset = B_TRUE;
211 status_class, status_detail, isp->sess_name,
212 isp
256 iscsi_sess_t *isp; local
379 struct iscsi_sess *isp = NULL; local
672 struct iscsi_sess *isp = NULL; local
1063 iscsi_sess_t *isp = NULL; local
2144 iscsi_sess_t *isp; local
[all...]
H A Discsid.c344 iscsi_sess_t *isp = NULL; local
358 for (isp = ihp->hba_sess_list; isp != NULL;
359 isp = isp->sess_next) {
360 if (isp->sess_boot == B_FALSE) {
1092 iscsi_sess_t *isp; local
1168 isp = iscsi_sess_create(ihp, method, addr_dsc, target_name,
1170 if (isp == NULL) {
1176 if (!ISCSI_SUCCESS(iscsi_conn_create(addr_tgt, isp,
1202 iscsi_sess_t *isp; local
1308 iscsi_sess_t *isp = NULL; local
2204 iscsi_sess_t *isp, *t_isp; local
2337 iscsi_sess_t *isp; local
2445 iscsi_sess_t *isp; local
2499 iscsi_sess_t *isp = NULL; local
[all...]
H A Discsi.c916 iscsi_sess_t *isp = NULL; local
923 isp = (iscsi_sess_t *)ilp->lun_sess;
927 ASSERT(isp != NULL);
935 rw_enter(&isp->sess_state_rwlock, RW_READER);
936 if (isp->sess_state == ISCSI_SESS_STATE_FREE) {
937 rw_exit(&isp->sess_state_rwlock);
946 if (isp->sess_rx_lbolt + SEC_TO_TICK(iscsi_rx_max_window) <
948 rw_exit(&isp->sess_state_rwlock);
959 if (isp->sess_state != ISCSI_SESS_STATE_LOGGED_IN) {
960 rw_exit(&isp
1033 iscsi_sess_t *isp = NULL; local
1315 iscsi_sess_t *isp = NULL; local
1462 iscsi_sess_t *isp = NULL; local
4708 iscsi_sess_t *isp = NULL; local
4843 iscsi_sess_t *isp = NULL; local
5368 iscsi_sess_t *isp = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Did_space.c80 id_space_destroy(id_space_t *isp) argument
82 vmem_destroy(isp);
86 id_space_extend(id_space_t *isp, id_t low, id_t high) argument
88 (void) vmem_add(isp, ID_TO_ADDR(low), high - low, VM_SLEEP);
96 id_alloc(id_space_t *isp) argument
98 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_SLEEP | VM_NEXTFIT)));
107 id_alloc_nosleep(id_space_t *isp) argument
109 return (ADDR_TO_ID(vmem_alloc(isp, 1, VM_NOSLEEP | VM_NEXTFIT)));
117 id_allocff(id_space_t *isp) argument
119 return (ADDR_TO_ID(vmem_alloc(isp,
128 id_allocff_nosleep(id_space_t *isp) argument
138 id_alloc_specific_nosleep(id_space_t *isp, id_t id) argument
156 id_free(id_space_t *isp, id_t id) argument
[all...]
/illumos-gate/usr/src/lib/libipd/common/
H A Dlibipd.c130 struct ipd_stat *isp = NULL; local
163 if ((isp = malloc(sizeof (struct ipd_stat))) == NULL) {
168 isp->is_nzones = ipil.ipil_nzones;
170 if (isp->is_nzones == 0) {
171 isp->is_zoneids = NULL;
172 isp->is_configs = NULL;
173 *ispp = isp;
177 isp->is_zoneids = malloc(sizeof (zoneid_t) * ipil.ipil_nzones);
178 if (isp->is_zoneids == NULL) {
180 free(isp);
211 const struct ipd_stat *isp = hdl; local
221 const struct ipd_stat *isp = hdl; local
238 struct ipd_stat *isp = hdl; local
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c50 set_addralign(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) argument
52 Shdr *shdr = isp->is_shdr;
55 if (isp->is_flags & FLG_IS_DISCARD)
63 ((isp->is_flags & FLG_IS_EXTERNAL) == 0))
100 * isp - Input section descriptor
113 os_attach_isp(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp, int mapfile_sort) argument
118 if ((isp->is_flags & FLG_IS_ORDERED) == 0) {
132 if (mapfile_sort && (isp->is_ordndx > 0)) {
139 (isp2->is_ordndx <= isp->is_ordndx))
144 isp, init_arritem
236 add_comdat(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) argument
325 Is_desc *isp; local
662 isp_convert_type(Is_desc *isp, Word sh_type) argument
679 eh_frame_muldef(Ofl_desc *ofl, Is_desc *isp) argument
732 ld_place_section(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info, int ident, const char *alt_os_name) argument
[all...]
H A Dsunwmove.c96 append_move_desc(Ofl_desc *ofl, Sym_desc *sdp, Move *mvp, Is_desc *isp) argument
134 sdp->sd_file != isp->is_file))
142 sdp->sd_file->ifl_name, EC_WORD(isp->is_scnndx),
143 isp->is_name, demangle(sdp->sd_name),
172 Is_desc *isp; local
175 for (APLIST_TRAVERSE(ofl->ofl_ismove, idx, isp)) {
176 Ifl_desc *ifile = isp->is_file;
181 mvp = (Move *)isp->is_indata->d_buf;
183 if (isp->is_shdr->sh_entsize == 0) {
186 isp
[all...]
H A Dorder.c271 place_unordered(Ofl_desc *ofl, Is_desc *isp, Place_path_info *path_info) argument
273 isp->is_flags &= ~FLG_IS_ORDERED;
274 if (isp->is_osdesc == NULL)
275 return ((uintptr_t)ld_place_section(ofl, isp, path_info,
276 isp->is_keyident, NULL));
277 return ((uintptr_t)isp->is_osdesc);
295 Is_desc *isp2, *isp = ifl->ifl_isdesc[ndx]; local
296 Xword shflags = isp->is_shdr->sh_flags;
310 isp->is_shdr->sh_info : isp
412 Is_desc *isp; local
[all...]
H A Dldentry.c57 Is_desc *isp; local
97 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) {
113 if (isp->is_flags & FLG_IS_DISCARD) {
117 _elf_getxoff(isp->is_indata);
119 addr += isp->is_osdesc->
124 isp->is_name, EC_ADDR(addr),
125 EC_XWORD(isp->is_shdr->sh_size),
126 ((isp->is_file != NULL) ?
127 (char *)(isp->is_file->ifl_name) :
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dunused.c43 Dbg_unused_sec(Lm_list *lml, Is_desc *isp) argument
59 if (isp->is_file &&
60 ((isp->is_file->ifl_flags & FLG_IF_FILEREF) == 0))
63 if (isp->is_flags & FLG_IS_DISCARD)
69 dbg_fmt_isec_name(isp, buf, &alloc_mem),
70 EC_XWORD(isp->is_shdr->sh_size), isp->is_file->ifl_name, str);
H A Dsections.c40 * [dbg_fmt_isec_name]: isp - Input section descriptor giving name
88 dbg_fmt_isec_name(Is_desc *isp, dbg_isec_name_buf_t buf, char **alloc_mem) argument
90 return (dbg_fmt_isec_name2(isp->is_name, isp->is_scnndx, buf,
161 Dbg_sec_unsup_strmerge(Lm_list *lml, Is_desc *isp) argument
176 if ((isp->is_shdr->sh_entsize > 1) ||
177 (isp->is_shdr->sh_addralign > 1)) {
178 str = (isp->is_file != NULL) ? isp->is_file->ifl_name :
181 dbg_fmt_isec_name(isp, bu
200 Dbg_sec_in(Lm_list *lml, Is_desc *isp) argument
252 Dbg_sec_discarded(Lm_list *lml, Is_desc *isp, Is_desc *disp) argument
289 Dbg_sec_group(Lm_list *lml, Is_desc *isp, Group_desc *gdp) argument
445 Dbg_sec_redirected(Lm_list *lml, Is_desc *isp, const char *nname) argument
460 Dbg_sec_gnu_comdat(Lm_list *lml, Is_desc *isp, Boolean comdat, Boolean relax) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_io.c299 sbd_io_stat_t *isp; local
345 isp = &dsp->d_io;
346 bzero((caddr_t)isp, sizeof (*isp));
348 isp->is_cm.c_id.c_type = ip->sbi_cm.sbdev_type;
349 isp->is_cm.c_id.c_unit = ip->sbi_cm.sbdev_unum;
350 (void) strlcpy(isp->is_cm.c_id.c_name, pstat.type,
351 sizeof (isp->is_cm.c_id.c_name));
354 isp->is_cm.c_cond = ip->sbi_cm.sbdev_cond;
355 isp
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_io.c321 sbd_io_stat_t *isp; local
367 isp = &dsp->d_io;
368 bzero((caddr_t)isp, sizeof (*isp));
370 isp->is_cm.c_id.c_type = ip->sbi_cm.sbdev_type;
371 isp->is_cm.c_id.c_unit = ip->sbi_cm.sbdev_unum;
372 (void) strncpy(isp->is_cm.c_id.c_name, pstat.type,
373 sizeof (isp->is_cm.c_id.c_name));
376 isp->is_cm.c_cond = ip->sbi_cm.sbdev_cond;
377 isp
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_io.c184 sbd_io_stat_t *isp; local
230 isp = &dsp->d_io;
232 bzero((caddr_t)isp, sizeof (*isp));
233 namelen = sizeof (isp->is_name);
236 (caddr_t)isp->is_name, &namelen);
238 isp->is_unit = sbdp_get_unit_num(hdp, dip);
239 if (isp->is_unit < 0) {
247 unit = isp->is_unit;
250 isp
[all...]
/illumos-gate/usr/src/stand/lib/inet/
H A Dudp.c56 udp_socket_init(struct inetboot_socket *isp) argument
58 isp->type = INETBOOT_DGRAM;
59 isp->proto = IPPROTO_UDP;
60 isp->input[TRANSPORT_LVL] = udp_input;
61 isp->output[TRANSPORT_LVL] = udp_output;
62 isp->close[TRANSPORT_LVL] = NULL;
63 isp->headerlen[TRANSPORT_LVL] = udp_header_len;
64 isp->ports = udp_ports;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_ident.c54 dt_idsig_t *isp = idp->di_data; local
62 if (isp->dis_varargs >= 0) {
63 mismatch = argc < isp->dis_varargs;
64 arglimit = isp->dis_varargs;
65 } else if (isp->dis_optargs >= 0) {
66 mismatch = (argc < isp->dis_optargs || argc > isp->dis_argc);
69 mismatch = argc != isp->dis_argc;
70 arglimit = isp->dis_argc;
77 isp
112 dt_idsig_t *isp = idp->di_data = malloc(sizeof (dt_idsig_t)); local
178 dt_idsig_t *isp; local
[all...]

Completed in 175 milliseconds

123