/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | unused.c | 43 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 D | segments.c | 146 Is_desc *isp; local 170 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx, isp) { 176 data = isp->is_indata; 178 if (isp->is_flags & FLG_IS_DISCARD) { 186 if (isp->is_file && isp->is_file->ifl_name) 187 file = isp->is_file->ifl_name; 195 dbg_fmt_isec_name(isp, buf, &alloc_mem), str);
|
H A D | sections.c | 40 * [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/stand/lib/inet/ |
H A D | udp.c | 56 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;
|
H A D | mac.c | 286 mac_socket_init(struct inetboot_socket *isp) argument 288 isp->input[MEDIA_LVL] = mac_state.mac_input; 289 isp->output[MEDIA_LVL] = mac_state.mac_output; 290 isp->close[MEDIA_LVL] = NULL; 291 isp->headerlen[MEDIA_LVL] = mac_state.mac_header_len; 292 isp->in_timeout = mac_state.mac_in_timeout;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | id_space.c | 80 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/cmd/sgs/libld/common/ |
H A D | ldentry.c | 57 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) :
|
H A D | sunwmove.c | 96 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 D | order.c | 271 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 D | groups.c | 88 ld_get_group(Ofl_desc *ofl, Is_desc *isp) argument 90 Ifl_desc *ifl = isp->is_file; 91 uint_t scnndx = isp->is_scnndx; 103 if (isp->is_shdr->sh_type == SHT_GROUP) { 104 if (isp->is_scnndx == gdp->gd_isc->is_scnndx) 117 ifl->ifl_name, EC_WORD(isp->is_scnndx), isp->is_name);
|
H A D | outfile.c | 372 Is_desc *isp; local 523 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) { 525 Ifl_desc *ifl = isp->is_file; 532 if (isp->is_flags & FLG_IS_DISCARD) 546 ((isp->is_flags & FLG_IS_SECTREF) == 0) && 547 (isp->is_shdr->sh_size > 0)))) { 551 isp->is_flags |= FLG_IS_DISCARD; 553 isp)); 557 isp)); 575 ((isp [all...] |
H A D | resolve.c | 1088 Is_desc *isp; local 1155 isp = ifl->ifl_isdesc[nshndx]; 1156 if (isp && (isp->is_shdr->sh_type == SHT_NOBITS)) {
|
H A D | unwind.c | 325 Is_desc *isp; local 360 if ((isp = libld_calloc(1, sizeof (Is_desc))) == NULL) 362 isp->is_name = MSG_ORIG(MSG_SCN_UNWINDHDR); 363 isp->is_shdr = shdr; 364 isp->is_indata = elfdata; 366 if ((ofl->ofl_unwindhdr = ld_place_section(ofl, isp, NULL, 380 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx2, isp) { 384 data = isp->is_indata->d_buf; 385 size = isp->is_indata->d_size; 419 isp [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_queue.c | 81 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 D | iscsi_stats.c | 169 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 D | iscsiAuthClientGlue.c | 49 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 D | iscsi_cmd.c | 310 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 D | iscsi_conn.c | 60 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 D | iscsi_lun.c | 47 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...] |
/illumos-gate/usr/src/lib/libipd/common/ |
H A D | libipd.c | 130 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/uts/i86pc/io/dr/ |
H A D | dr_io.c | 299 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 D | dr_io.c | 321 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/cmd/lvm/util/ |
H A D | metaimport.c | 79 md_im_set_desc_t *next, *isp = misp; local 96 for (; isp != NULL; isp = isp->mis_next) { 97 for (next = isp->mis_next; next != NULL; next = next->mis_next) { 98 for (set_dr = isp->mis_drives; set_dr != NULL; 149 for (isp = misp; isp != NULL; isp = isp [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 513 ipf_find_stack(const zoneid_t orig_zone, ipf_devstate_t *isp) argument 526 (isp->ipfs_zoneid != IPFS_ZONE_UNSET)) { 529 if (orig_zone == isp->ipfs_zoneid) { 533 gz_stack = isp->ipfs_gz; 536 zone = isp->ipfs_zoneid;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 184 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...] |