Home
last modified time | relevance | path

Searched refs:sgp (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_serd.c41 sgp->sg_n = n; in fmd_serd_eng_alloc()
42 sgp->sg_t = t; in fmd_serd_eng_alloc()
44 return (sgp); in fmd_serd_eng_alloc()
70 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) { in fmd_serd_hash_destroy()
87 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) in fmd_serd_hash_apply()
105 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_hash_contains()
127 return (sgp); in fmd_serd_eng_insert()
136 for (sgp = shp->sh_hash[h]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_lookup()
150 for (sgp = *pp; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_delete()
204 while (sgp->sg_count > sgp->sg_n) in fmd_serd_eng_record()
[all …]
H A Dfmd_rpc_adm.c557 rsl->rsl_len += strlen(sgp->sg_name) + 1; in fmd_adm_serdlist_measure()
567 strlen(sgp->sg_name)); in fmd_adm_serdlist_record()
568 rsl->rsl_len += strlen(sgp->sg_name) + 1; in fmd_adm_serdlist_record()
637 rsi->rsi_count = sgp->sg_count; in fmd_adm_serdinfo_record()
639 rsi->rsi_n = sgp->sg_n; in fmd_adm_serdinfo_record()
640 rsi->rsi_t = sgp->sg_t; in fmd_adm_serdinfo_record()
648 fmd_serd_eng_t *sgp; in fmd_adm_serdinfo_1_svc() local
665 fmd_adm_serdinfo_record(sgp, rvp); in fmd_adm_serdinfo_1_svc()
687 fmd_serd_eng_t *sgp; in fmd_adm_serdreset_1_svc() local
703 if (fmd_serd_eng_fired(sgp)) { in fmd_adm_serdreset_1_svc()
[all …]
H A Dfmd_ckpt.c548 fmd_ckpt_resv_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) in fmd_ckpt_resv_serd() argument
551 sizeof (fcf_event_t) * sgp->sg_count, sizeof (uint64_t)); in fmd_ckpt_resv_serd()
553 ckp->ckp_strn += strlen(sgp->sg_name) + 1; in fmd_ckpt_resv_serd()
557 fmd_ckpt_save_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) in fmd_ckpt_save_serd() argument
563 if (sgp->sg_count != 0) { in fmd_ckpt_save_serd()
565 sizeof (fcf_event_t) * sgp->sg_count); in fmd_ckpt_save_serd()
567 for (sep = fmd_list_next(&sgp->sg_list); in fmd_ckpt_save_serd()
572 fcfd->fcfd_name = fmd_ckpt_string(ckp, sgp->sg_name); in fmd_ckpt_save_serd()
575 fcfd->fcfd_n = sgp->sg_n; in fmd_ckpt_save_serd()
576 fcfd->fcfd_t = sgp->sg_t; in fmd_ckpt_save_serd()
H A Dfmd_api.c1278 fmd_serd_eng_t *sgp; in fmd_case_add_serd() local
1287 for (sep = fmd_list_next(&sgp->sg_list); in fmd_case_add_serd()
1667 fmd_serd_eng_t *sgp; in fmd_serd_reset() local
1674 fmd_serd_eng_reset(sgp); in fmd_serd_reset()
1683 fmd_serd_eng_t *sgp; in fmd_serd_record() local
1691 err = fmd_serd_eng_record(sgp, ep); in fmd_serd_record()
1693 if (sgp->sg_flags & FMD_SERD_DIRTY) in fmd_serd_record()
1704 fmd_serd_eng_t *sgp; in fmd_serd_fired() local
1712 err = fmd_serd_eng_fired(sgp); in fmd_serd_fired()
1721 fmd_serd_eng_t *sgp; in fmd_serd_empty() local
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap.c209 sgp->sg_name); in map_equal_flags()
352 sgp->sg_name); in map_equal()
393 sgp->sg_name); in map_equal()
410 sgp->sg_name); in map_equal()
427 sgp->sg_name); in map_equal()
445 sgp->sg_name); in map_equal()
463 sgp->sg_name); in map_equal()
513 if ((sgp->sg_flags & in map_equal()
520 if ((sgp->sg_flags & in map_equal()
561 sgp->sg_length = 0; in map_equal()
[all …]
H A Dmap_support.c358 if (sgp == sgp2) in ld_map_seg_index()
533 Sg_desc *sgp; in ld_map_seg_alloc() local
538 sgp->sg_name = name; in ld_map_seg_alloc()
539 sgp->sg_flags = sg_flags; in ld_map_seg_alloc()
541 return (sgp); in ld_map_seg_alloc()
558 Sg_desc *sgp; in ld_map_seg_stack() local
578 return (sgp); in ld_map_seg_stack()
657 sgp->sg_id = SGID_TEXT; in ld_map_seg_insert()
663 sgp->sg_id = SGID_NULL; in ld_map_seg_insert()
666 sgp->sg_id = SGID_NOTE; in ld_map_seg_insert()
[all …]
H A Doutfile.c190 Sg_desc *sgp; in pad_outfile() local
218 Phdr *phdr = &(sgp->sg_phdr); in pad_outfile()
320 sgp->sg_fscn = scn; in create_outsec()
370 Sg_desc *sgp; in ld_create_outfile() local
430 Phdr *phdr = &(sgp->sg_phdr); in ld_create_outfile()
613 data->d_align = sgp->sg_align; in ld_create_outfile()
670 sgp->sg_round); in ld_create_outfile()
672 align = sgp->sg_round; in ld_create_outfile()
811 Phdr *_phdr = &(sgp->sg_phdr); in ld_create_outfile()
847 scn = sgp->sg_fscn; in ld_create_outfile()
[all …]
H A Dmap_v2.c1467 Sg_desc *sgp; in dir_phdr_add_null() local
1500 Sg_desc *sgp = uvalue; in at_seg_align() local
1855 Sg_desc *sgp = uvalue; in at_seg_assign() local
2145 if (sgp == sgp2) { in at_seg_paddr()
2257 if (sgp == sgp2) { in at_seg_vaddr()
2300 Sg_desc *sgp; in dir_segment_inner() local
2541 Sg_desc *sgp, *sgp2; in dir_segment_order() local
2571 if (sgp == NULL) { in dir_segment_order()
2582 if (sgp == sgp2) { in dir_segment_order()
2596 sgp->sg_name); in dir_segment_order()
[all …]
H A Dentry.c357 Sg_desc *sgp; in ld_ent_setup() local
395 sgp = (Sg_desc *) psegs; in ld_ent_setup()
447 &sgp[(enp->ec_segment - (Sg_desc *) &sg_desc)]; in ld_ent_setup()
456 for (idx = 0; idx < predef_seg_nelts; idx++, sgp++) { in ld_ent_setup()
457 Phdr *phdr = &(sgp->sg_phdr); in ld_ent_setup()
461 switch (sgp->sg_id) { in ld_ent_setup()
471 if ((aplist_append(&ofl->ofl_segs, sgp, in ld_ent_setup()
486 assert(sgp->sg_name != NULL); in ld_ent_setup()
489 assert(sgp->sg_name == NULL); in ld_ent_setup()
498 if (sgp->sg_name != NULL) in ld_ent_setup()
[all …]
H A Dplace.c681 Sg_desc *sgp; in eh_frame_muldef() local
691 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in eh_frame_muldef()
736 Sg_desc *sgp; in ld_place_section() local
827 sgp = NULL; in ld_place_section()
850 sgp = enp->ec_segment; in ld_place_section()
870 sgp = enp->ec_segment; in ld_place_section()
880 assert(sgp != NULL); in ld_place_section()
927 (sgp->sg_flags & FLG_SG_IS_ORDER)) { in ld_place_section()
1046 if (alist_nitems(sgp->sg_os_order) > 0) { in ld_place_section()
1268 osp->os_sgdesc = sgp; in ld_place_section()
[all …]
H A Dorder.c392 Sg_desc *sgp; in ld_sec_validate() local
395 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in ld_sec_validate()
400 for (ALIST_TRAVERSE(sgp->sg_os_order, idx2, scop)) { in ld_sec_validate()
404 sgp->sg_name, scop->sco_secname); in ld_sec_validate()
407 if ((sgp->sg_flags & FLG_SG_KEY) == 0) in ld_sec_validate()
410 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_sec_validate()
H A Dupdate.c400 esgp = sgp; in update_osym()
513 Sg_desc *sgp; in update_osym() local
538 sgp = tsgp; in update_osym()
540 sgp = 0; in update_osym()
542 sgp = dsgp; in update_osym()
544 sgp = dsgp; in update_osym()
546 sgp = tsgp; in update_osym()
552 sgp = tsgp; in update_osym()
558 sgp = esgp; in update_osym()
560 if (sgp) { in update_osym()
[all …]
H A Dldentry.c60 Sg_desc *sgp; in ld_map_out() local
86 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in ld_map_out()
90 if (sgp->sg_phdr.p_type != PT_LOAD) in ld_map_out()
93 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_map_out()
H A Dmap_core.c2640 Sg_desc *sgp; in ld_map_post_process() local
2659 if (sgp->sg_name == NULL) in ld_map_post_process()
2664 first_seg = sgp; in ld_map_post_process()
2670 if (sgp->sg_flags & FLG_SG_P_VADDR) in ld_map_post_process()
2678 if (alist_nitems(sgp->sg_os_order) > 0) in ld_map_post_process()
2729 if (sgp->sg_flags & FLG_SG_IS_ORDER) { in ld_map_post_process()
2734 sgp->sg_name)); in ld_map_post_process()
2742 if ((enp->ec_segment == sgp) && in ld_map_post_process()
2755 sgp->sg_name)); in ld_map_post_process()
2804 if (sgp->sg_name == NULL) in ld_map_post_process()
[all …]
H A Dsections.c208 Sg_desc *sgp; in adjust_os_count() local
221 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in adjust_os_count()
224 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in adjust_os_count()
275 Sg_desc *sgp; in ignore_section_processing() local
308 ((sgp = osp->os_sgdesc) != NULL) && in ignore_section_processing()
309 (sgp->sg_phdr.p_type == PT_LOAD)) { in ignore_section_processing()
1122 Sg_desc *sgp; in make_dynamic() local
1246 if (((sgp = osp->os_sgdesc) != NULL) && in make_dynamic()
3134 Sg_desc *sgp; in ld_make_strmerge() local
3142 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { in ld_make_strmerge()
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsegments.c37 Sg_desc *sgp, Boolean space_nl) in Dbg_seg_desc_entry() argument
46 if (sgp->sg_name) in Dbg_seg_desc_entry()
54 if (sgp->sg_flags & FLG_SG_P_ALIGN) in Dbg_seg_desc_entry()
56 EC_ADDR(sgp->sg_align)); in Dbg_seg_desc_entry()
58 if (sgp->sg_flags & FLG_SG_LENGTH) in Dbg_seg_desc_entry()
60 EC_ADDR(sgp->sg_length)); in Dbg_seg_desc_entry()
62 if (sgp->sg_flags & FLG_SG_ROUND) in Dbg_seg_desc_entry()
64 EC_ADDR(sgp->sg_round)); in Dbg_seg_desc_entry()
66 if (aplist_nitems(sgp->sg_sizesym) > 0) { in Dbg_seg_desc_entry()
122 Sg_desc *sgp; in Dbg_seg_list() local
[all …]
H A Dmap.c200 if (sgp->sg_name) { in Dbg_map_sort_seg()
201 if (sgp->sg_flags & FLG_SG_P_VADDR) { in Dbg_map_sort_seg()
203 type_str, sgp->sg_name, in Dbg_map_sort_seg()
204 EC_ADDR(sgp->sg_phdr.p_vaddr)); in Dbg_map_sort_seg()
205 } else if (sgp->sg_flags & FLG_SG_ORDERED) { in Dbg_map_sort_seg()
212 type_str, sgp->sg_name, in Dbg_map_sort_seg()
213 EC_WORD(sgp->sg_id - SGID_TEXT)); in Dbg_map_sort_seg()
216 type_str, sgp->sg_name); in Dbg_map_sort_seg()
266 sgp->sg_name, sec_name, EC_WORD(ndx)); in Dbg_map_seg_os_order()
292 Sg_desc *sgp; in Dbg_map_seg_order() local
[all …]
H A Dsections.c232 Dbg_sec_added(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) in Dbg_sec_added() argument
238 (sgp->sg_name ? sgp->sg_name : MSG_INTL(MSG_STR_NULL))); in Dbg_sec_added()
242 Dbg_sec_created(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) in Dbg_sec_created() argument
248 (sgp->sg_name ? sgp->sg_name : MSG_INTL(MSG_STR_NULL))); in Dbg_sec_created()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_sg.c320 i_new_sg_elem(ilbadm_sgroup_t *sgp) in i_new_sg_elem() argument
326 list_insert_tail(&sgp->sg_serv_list, s); in i_new_sg_elem()
327 sgp->sg_count++; in i_new_sg_elem()
344 i_parse_serverIDs(char *arg, ilbadm_sgroup_t *sgp) in i_parse_serverIDs() argument
367 sn = list_head(&sgp->sg_serv_list); in i_mod_sg()
373 rclib = ilb_add_server_to_group(h, sgp->sg_name, in i_mod_sg()
382 buf, sgp->sg_name, ilb_errstr(rclib)); in i_mod_sg()
389 rclib = ilb_rem_server_from_group(h, sgp->sg_name, in i_mod_sg()
396 srv->sd_srvID, sgp->sg_name, in i_mod_sg()
405 sn = list_next(&sgp->sg_serv_list, sn); in i_mod_sg()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/scfd/
H A Dscfdscpif.h74 uint32_t num_sg, mscat_gath_t *sgp, clock_t timeout);
79 uint32_t num_sg, mscat_gath_t *sgp, clock_t timeout);
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddm2s.c133 mscat_gath_t *sgp, int maxsg);
1186 dm2s_prep_scatgath(mblk_t *mp, uint32_t *numsg, mscat_gath_t *sgp, int maxsg) in dm2s_prep_scatgath() argument
1192 sgp[num].msc_dptr = (caddr_t)tmp->b_rptr; in dm2s_prep_scatgath()
1193 sgp[num].msc_len = MBLKL(tmp); in dm2s_prep_scatgath()
1206 sgp[0].msc_dptr = (caddr_t)mp->b_rptr; in dm2s_prep_scatgath()
1207 sgp[0].msc_len = MBLKL(mp); in dm2s_prep_scatgath()
1244 uint32_t num_sg, mscat_gath_t *sgp) in dm2s_dump_bytes() argument
1260 tp = &sgp[nsg]; in dm2s_dump_bytes()
1274 tp = &sgp[nsg]; in dm2s_dump_bytes()
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c183 sg_buf *sgp; member
951 nwrote = SOCKET_WRITEV(conn->fd, conn->u.tcp.sgp, conn->u.tcp.sgnum, in process_tcp_connection()
960 sg_buf *sgp = conn->u.tcp.sgp; in process_tcp_connection() local
961 if (nwrote < SG_LEN(sgp)) { in process_tcp_connection()
962 SG_ADVANCE(sgp, nwrote); in process_tcp_connection()
965 nwrote -= SG_LEN(sgp); in process_tcp_connection()
966 conn->u.tcp.sgp++; in process_tcp_connection()
1058 conn->u.tcp.sgp = conn->u.tcp.sgbuf; in process_tcp_connection()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c687 state->x.out.sgp = state->x.out.sgbuf; in setup_connection()
1030 ((conn->x.out.sg_count == 2 ? SG_LEN(&conn->x.out.sgp[1]) : 0) in service_tcp_fd()
1032 + SG_LEN(&conn->x.out.sgp[0])), in service_tcp_fd()
1034 nwritten = SOCKET_WRITEV(conn->fd, conn->x.out.sgp, in service_tcp_fd()
1045 sg_buf *sgp = conn->x.out.sgp; in service_tcp_fd() local
1046 if (nwritten < SG_LEN(sgp)) { in service_tcp_fd()
1048 SG_ADVANCE(sgp, nwritten); in service_tcp_fd()
1051 nwritten -= SG_LEN(conn->x.out.sgp); in service_tcp_fd()
1052 conn->x.out.sgp++; in service_tcp_fd()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h67 sg_buf *sgp; member
/illumos-gate/usr/src/uts/sun4u/opl/sys/
H A Ddm2s.h94 uint32_t num_sg, mscat_gath_t *sgp);

12