Home
last modified time | relevance | path

Searched refs:isp (Results 1 – 25 of 74) sorted by relevance

123

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

123