/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_serd.c | 39 fmd_serd_eng_t *sgp = fmd_zalloc(sizeof (fmd_serd_eng_t), FMD_SLEEP); local 41 sgp->sg_name = fmd_strdup(name, FMD_SLEEP); 42 sgp->sg_flags = FMD_SERD_DIRTY; 43 sgp->sg_n = n; 44 sgp->sg_t = t; 46 return (sgp); 50 fmd_serd_eng_free(fmd_serd_eng_t *sgp) argument 52 fmd_serd_eng_reset(sgp); 53 fmd_strfree(sgp->sg_name); 54 fmd_free(sgp, sizeo 68 fmd_serd_eng_t *sgp, *ngp; local 85 fmd_serd_eng_t *sgp; local 103 fmd_serd_eng_t *sgp; local 123 fmd_serd_eng_t *sgp = fmd_serd_eng_alloc(name, n, t); local 136 fmd_serd_eng_t *sgp; local 150 fmd_serd_eng_t *sgp, **pp = &shp->sh_hash[h]; local 168 fmd_serd_eng_discard(fmd_serd_eng_t *sgp, fmd_serd_elem_t *sep) argument 178 fmd_serd_eng_contains(fmd_serd_eng_t *sgp, fmd_event_t *ep) argument 192 fmd_serd_eng_record(fmd_serd_eng_t *sgp, fmd_event_t *ep) argument 234 fmd_serd_eng_fired(fmd_serd_eng_t *sgp) argument 240 fmd_serd_eng_empty(fmd_serd_eng_t *sgp) argument 246 fmd_serd_eng_reset(fmd_serd_eng_t *sgp) argument 256 fmd_serd_eng_gc(fmd_serd_eng_t *sgp) argument 278 fmd_serd_eng_commit(fmd_serd_eng_t *sgp) argument 293 fmd_serd_eng_clrdirty(fmd_serd_eng_t *sgp) argument [all...] |
H A D | fmd_rpc_adm.c | 553 fmd_adm_serdlist_measure(fmd_serd_eng_t *sgp, void *arg) argument 557 rsl->rsl_len += strlen(sgp->sg_name) + 1; 562 fmd_adm_serdlist_record(fmd_serd_eng_t *sgp, void *arg) argument 566 bcopy(sgp->sg_name, rsl->rsl_buf.rsl_buf_val + rsl->rsl_len, 567 strlen(sgp->sg_name)); 568 rsl->rsl_len += strlen(sgp->sg_name) + 1; 621 fmd_adm_serdinfo_record(fmd_serd_eng_t *sgp, struct fmd_rpc_serdinfo *rsi) argument 626 if ((rsi->rsi_name = strdup(sgp->sg_name)) == NULL) { 631 if ((oep = fmd_list_next(&sgp->sg_list)) != NULL) 637 rsi->rsi_count = sgp 648 fmd_serd_eng_t *sgp; local 687 fmd_serd_eng_t *sgp; local [all...] |
H A D | fmd_ckpt.c | 548 fmd_ckpt_resv_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) argument 551 sizeof (fcf_event_t) * sgp->sg_count, sizeof (uint64_t)); 553 ckp->ckp_strn += strlen(sgp->sg_name) + 1; 557 fmd_ckpt_save_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) argument 563 if (sgp->sg_count != 0) { 565 sizeof (fcf_event_t) * sgp->sg_count); 567 for (sep = fmd_list_next(&sgp->sg_list); 572 fcfd->fcfd_name = fmd_ckpt_string(ckp, sgp->sg_name); 575 fcfd->fcfd_n = sgp->sg_n; 576 fcfd->fcfd_t = sgp [all...] |
H A D | fmd_api.c | 1278 fmd_serd_eng_t *sgp; local 1280 if ((sgp = fmd_serd_eng_lookup(&mp->mod_serds, name)) == NULL) { 1287 for (sep = fmd_list_next(&sgp->sg_list); 1667 fmd_serd_eng_t *sgp; local 1669 if ((sgp = fmd_serd_eng_lookup(&mp->mod_serds, name)) == NULL) { 1674 fmd_serd_eng_reset(sgp); 1683 fmd_serd_eng_t *sgp; local 1686 if ((sgp = fmd_serd_eng_lookup(&mp->mod_serds, name)) == NULL) { 1691 err = fmd_serd_eng_record(sgp, ep); 1693 if (sgp 1704 fmd_serd_eng_t *sgp; local 1721 fmd_serd_eng_t *sgp; local [all...] |
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | segments.c | 37 Sg_desc *sgp, Boolean space_nl) 46 if (sgp->sg_name) 47 dbg_print(lml, MSG_ORIG(MSG_SEG_NAME), sgp->sg_name); 50 conv_seg_flags(sgp->sg_flags, &seg_flags_buf)); 52 Elf_phdr(lml, osabi, mach, &sgp->sg_phdr); 54 if (sgp->sg_flags & FLG_SG_P_ALIGN) 56 EC_ADDR(sgp->sg_align)); 58 if (sgp->sg_flags & FLG_SG_LENGTH) 60 EC_ADDR(sgp->sg_length)); 62 if (sgp 36 Dbg_seg_desc_entry(Lm_list *lml, uchar_t osabi, Half mach, int ndx, Sg_desc *sgp, Boolean space_nl) argument 106 Dbg_seg_entry(Ofl_desc *ofl, int ndx, Sg_desc *sgp) argument 122 Sg_desc *sgp; local [all...] |
H A D | map.c | 187 Dbg_map_sort_seg(Lm_list *lml, uchar_t osabi, Half mach, Sg_desc *sgp) argument 197 type_str = conv_phdr_type(osabi, mach, sgp->sg_phdr.p_type, 200 if (sgp->sg_name) { 201 if (sgp->sg_flags & FLG_SG_P_VADDR) { 203 type_str, sgp->sg_name, 204 EC_ADDR(sgp->sg_phdr.p_vaddr)); 205 } else if (sgp->sg_flags & FLG_SG_ORDERED) { 212 type_str, sgp->sg_name, 213 EC_WORD(sgp->sg_id - SGID_TEXT)); 216 type_str, sgp 259 Dbg_map_seg_os_order(Lm_list *lml, Sg_desc *sgp, const char *sec_name, Word ndx, Lineno lineno) argument 270 Dbg_map_seg(Ofl_desc *ofl, dbg_state_t dbg_state, int ndx, Sg_desc *sgp, Lineno lineno) argument 292 Sg_desc *sgp; local [all...] |
H A D | sections.c | 232 Dbg_sec_added(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) argument 238 (sgp->sg_name ? sgp->sg_name : MSG_INTL(MSG_STR_NULL))); 242 Dbg_sec_created(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) argument 248 (sgp->sg_name ? sgp->sg_name : MSG_INTL(MSG_STR_NULL)));
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map.c | 158 * sgp - Segment being defined 170 map_equal_flags(Mapfile *mf, Sg_desc *sgp, Boolean *b_flags, argument 200 sgp->sg_flags |= FLG_SG_EMPTY; 207 if (aplist_nitems(sgp->sg_is_order) > 0) { 209 sgp->sg_name); 217 sgp->sg_flags |= FLG_SG_IS_ORDER; 224 sgp->sg_flags |= FLG_SG_NOHDR; 237 if ((sgp->sg_flags & FLG_SG_P_FLAGS) && 238 (sgp->sg_phdr.p_flags != tmp_flags) && 239 !(sgp 293 map_equal(Mapfile *mf, Sg_desc *sgp) argument 801 map_atsign(Mapfile *mf, Sg_desc *sgp) argument 828 map_pipe(Mapfile *mf, Sg_desc *sgp) argument [all...] |
H A D | map_support.c | 347 * sgp - Segment for which index is desired 353 ld_map_seg_index(Mapfile *mf, Sg_desc *sgp) argument 360 if (sgp == sgp2) 372 * sgp - Segment in question 379 ld_map_seg_os_order_add(Mapfile *mf, Sg_desc *sgp, const char *sec_name) argument 387 for (ALIST_TRAVERSE(sgp->sg_os_order, idx, scop)) 394 scop = alist_append(&sgp->sg_os_order, NULL, sizeof (Sec_order), 401 DBG_CALL(Dbg_map_seg_os_order(mf->mf_ofl->ofl_lml, sgp, sec_name, 402 alist_nitems(sgp->sg_os_order), mf->mf_lineno)); 425 * sgp 435 ld_map_seg_size_symbol(Mapfile *mf, Sg_desc *sgp, Token eq_tok, const char *symname) argument 535 Sg_desc *sgp; local 560 Sg_desc *sgp; local 612 ld_map_seg_insert(Mapfile *mf, dbg_state_t dbg_state, Sg_desc *sgp, avl_index_t where) argument 720 ld_map_seg_ent_add(Mapfile *mf, Sg_desc *sgp, const char *name) argument [all...] |
H A D | outfile.c | 190 Sg_desc *sgp; local 217 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 218 Phdr *phdr = &(sgp->sg_phdr); 255 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { 287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, argument 320 sgp->sg_fscn = scn; 370 Sg_desc *sgp; local 428 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 430 Phdr *phdr = &(sgp->sg_phdr); 482 if ((sgp [all...] |
H A D | entry.c | 357 Sg_desc *sgp; local 395 sgp = (Sg_desc *) psegs; 447 &sgp[(enp->ec_segment - (Sg_desc *) &sg_desc)]; 456 for (idx = 0; idx < predef_seg_nelts; idx++, sgp++) { 457 Phdr *phdr = &(sgp->sg_phdr); 461 switch (sgp->sg_id) { 471 if ((aplist_append(&ofl->ofl_segs, sgp, 486 assert(sgp->sg_name != NULL); 489 assert(sgp->sg_name == NULL); 498 if (sgp [all...] |
H A D | map_v2.c | 1409 Sg_desc *sgp; local 1423 if ((sgp = ld_map_seg_alloc(NULL, PT_NULL, 1426 if (ld_map_seg_insert(mf, DBG_STATE_NEW, sgp, 0) == 1443 Sg_desc *sgp = uvalue; local 1450 sgp->sg_phdr.p_align = tkv.tkv_int.tkvi_value; 1451 sgp->sg_flags |= FLG_SG_P_ALIGN; 1805 Sg_desc *sgp = uvalue; local 1828 if ((enp = ld_map_seg_ent_add(mf, sgp, name)) == NULL) 1871 Sg_desc *sgp = uvalue; local 1874 if (sgp 1900 Sg_desc *sgp = uvalue; local 1922 Sg_desc *sgp = uvalue; local 1997 Sg_desc *sgp = uvalue; local 2019 Sg_desc *sgp = uvalue; local 2045 Sg_desc *sgp = uvalue; local 2094 Sg_desc *sgp = uvalue, *sgp2; local 2127 Sg_desc *sgp = uvalue; local 2149 Sg_desc *sgp = uvalue; local 2209 Sg_desc *sgp = uvalue, *sgp2; local 2260 Sg_desc *sgp; local 2501 Sg_desc *sgp, *sgp2; local 2609 Sg_desc *sgp; local [all...] |
H A D | ldentry.c | 56 Sg_desc *sgp; local 82 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 86 if (sgp->sg_phdr.p_type != PT_LOAD) 89 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) {
|
H A D | order.c | 392 Sg_desc *sgp; local 395 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 400 for (ALIST_TRAVERSE(sgp->sg_os_order, idx2, scop)) { 404 sgp->sg_name, scop->sco_secname); 407 if ((sgp->sg_flags & FLG_SG_KEY) == 0) 410 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) {
|
H A D | place.c | 681 Sg_desc *sgp; local 691 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 692 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { 736 Sg_desc *sgp; local 825 * finding a segment, then sgp will be NULL. 827 sgp = NULL; 850 sgp = enp->ec_segment; 870 sgp = enp->ec_segment; 880 assert(sgp != NULL); 927 (sgp [all...] |
H A D | update.c | 174 Sg_desc *sgp, *tsgp = NULL, *dsgp = NULL, *esgp = NULL; local 380 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 381 Phdr *phd = &(sgp->sg_phdr); 386 if (sgp->sg_osdescs != NULL) { 390 tsgp = sgp; 392 dsgp = sgp; 393 } else if (sgp->sg_flags & FLG_SG_EMPTY) 394 esgp = sgp; 400 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { 429 osp->os_identndx, sgp, os 507 Sg_desc *sgp; local 2202 Sg_desc *sgp; local 3616 Sg_desc *sgp; local [all...] |
H A D | map_core.c | 2613 Sg_desc *sgp; local 2625 for (APLIST_TRAVERSE(ofl->ofl_segs, idx, sgp)) { 2632 if (sgp->sg_name == NULL) 2636 if ((first_seg == NULL) && !(sgp->sg_flags & FLG_SG_DISABLED)) 2637 first_seg = sgp; 2643 if (sgp->sg_flags & FLG_SG_P_VADDR) 2651 if (alist_nitems(sgp->sg_os_order) > 0) 2702 if (sgp->sg_flags & FLG_SG_IS_ORDER) { 2707 sgp->sg_name)); 2715 if ((enp->ec_segment == sgp) [all...] |
H A D | sections.c | 206 Sg_desc *sgp; local 219 for (APLIST_TRAVERSE(ofl->ofl_segs, idx1, sgp)) { 222 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { 273 Sg_desc *sgp; local 306 ((sgp = osp->os_sgdesc) != NULL) && 307 (sgp->sg_phdr.p_type == PT_LOAD)) { 1120 Sg_desc *sgp; local 1244 if (((sgp = osp->os_sgdesc) != NULL) && 1245 (sgp->sg_phdr.p_flags & PF_W) && ofl->ofl_osinterp) 3121 Sg_desc *sgp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/scfd/ |
H A D | scfdscpif.h | 74 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/lib/gss_mechs/mech_krb5/include/ |
H A D | cm.h | 67 sg_buf *sgp; member in struct:conn_state::__anon2511::__anon2512
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_sg.c | 320 i_new_sg_elem(ilbadm_sgroup_t *sgp) argument 326 list_insert_tail(&sgp->sg_serv_list, s); 327 sgp->sg_count++; 333 i_parse_servrange_list(char *arg, ilbadm_sgroup_t *sgp) argument 338 rc = i_parse_optstring(arg, (void *) sgp, servrange_keys, 344 i_parse_serverIDs(char *arg, ilbadm_sgroup_t *sgp) argument 349 rc = i_parse_optstring(arg, (void *) sgp, serverID_keys, 355 i_mod_sg(ilb_handle_t h, ilbadm_sgroup_t *sgp, ilbadm_cmd_t cmd, argument 367 sn = list_head(&sgp->sg_serv_list); 373 rclib = ilb_add_server_to_group(h, sgp 412 i_ilbadm_alloc_sgroup(ilbadm_sgroup_t **sgp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | dm2s.h | 94 uint32_t num_sg, mscat_gath_t *sgp);
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 184 sg_buf *sgp; 955 nwrote = SOCKET_WRITEV(conn->fd, conn->u.tcp.sgp, conn->u.tcp.sgnum, 964 sg_buf *sgp = conn->u.tcp.sgp; 965 if (nwrote < SG_LEN(sgp)) { 966 SG_ADVANCE(sgp, nwrote); 969 nwrote -= SG_LEN(sgp); 970 conn->u.tcp.sgp++; 1062 conn->u.tcp.sgp = conn->u.tcp.sgbuf; 183 sg_buf *sgp; member in struct:connection::__anon700::__anon703 960 sg_buf *sgp = conn->u.tcp.sgp; local
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | dm2s.c | 133 mscat_gath_t *sgp, int maxsg); 1186 dm2s_prep_scatgath(mblk_t *mp, uint32_t *numsg, mscat_gath_t *sgp, int maxsg) argument 1192 sgp[num].msc_dptr = (caddr_t)tmp->b_rptr; 1193 sgp[num].msc_len = MBLKL(tmp); 1206 sgp[0].msc_dptr = (caddr_t)mp->b_rptr; 1207 sgp[0].msc_len = MBLKL(mp); 1244 uint32_t num_sg, mscat_gath_t *sgp) 1260 tp = &sgp[nsg]; 1274 tp = &sgp[nsg]; 1243 dm2s_dump_bytes(char *str, uint32_t total_len, uint32_t num_sg, mscat_gath_t *sgp) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 687 state->x.out.sgp = state->x.out.sgbuf; 1030 ((conn->x.out.sg_count == 2 ? SG_LEN(&conn->x.out.sgp[1]) : 0) 1032 + SG_LEN(&conn->x.out.sgp[0])), 1034 nwritten = SOCKET_WRITEV(conn->fd, conn->x.out.sgp, 1045 sg_buf *sgp = conn->x.out.sgp; local 1046 if (nwritten < SG_LEN(sgp)) { 1048 SG_ADVANCE(sgp, nwritten); 1051 nwritten -= SG_LEN(conn->x.out.sgp); 1052 conn->x.out.sgp [all...] |