/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 937 idmap_get_create(idmap_get_handle_t **gh) in idmap_get_create() argument 947 *gh = tmp; in idmap_get_create() 967 idmap_get_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, in idmap_get_uidbysid() argument 970 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid, in idmap_get_uidbysid() 991 idmap_getext_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, in idmap_getext_uidbysid() argument 998 if (gh == NULL) in idmap_getext_uidbysid() 1013 if ((retcode = _get_ids_extend_batch(gh)) != IDMAP_SUCCESS) in idmap_getext_uidbysid() 1017 mapping = &gh->batch.idmap_mapping_batch_val[gh->next]; in idmap_getext_uidbysid() 1028 gh->retlist[gh->next].idtype = IDMAP_UID; in idmap_getext_uidbysid() 1029 gh->retlist[gh->next].uid = uid; in idmap_getext_uidbysid() [all …]
|
H A D | idmap_impl.h | 80 #define _IDMAP_RESET_GET_HANDLE(gh) \ argument 81 xdr_free(xdr_idmap_mapping_batch, (caddr_t)&gh->batch);\ 82 if (gh->retlist) \ 83 free(gh->retlist);\ 84 gh->retlist = NULL;\ 85 gh->next = 0;
|
H A D | utils.c | 85 _get_ids_extend_batch(idmap_get_handle_t *gh) in _get_ids_extend_batch() argument 91 len = gh->batch.idmap_mapping_batch_len; in _get_ids_extend_batch() 92 if (gh->next >= len) { in _get_ids_extend_batch() 95 t1 = realloc(gh->batch.idmap_mapping_batch_val, nsize); in _get_ids_extend_batch() 100 gh->batch.idmap_mapping_batch_val = t1; in _get_ids_extend_batch() 104 t2 = realloc(gh->retlist, nsize); in _get_ids_extend_batch() 109 gh->retlist = t2; in _get_ids_extend_batch() 111 gh->batch.idmap_mapping_batch_len += _GET_IDS_SIZE_INCR; in _get_ids_extend_batch()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | vars.c | 202 register struct grouphead *gh; in findgroup() local 206 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link) in findgroup() 207 if (equal(gh->g_name, name)) in findgroup() 208 return(gh); in findgroup() 218 register struct grouphead *gh; in printgroup() local 221 if ((gh = findgroup(name)) == NOGRP) { in printgroup() 225 printf("%s\t", gh->g_name); in printgroup() 226 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) in printgroup()
|
H A D | cmd3.c | 607 struct grouphead *gh; in group() local 615 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link) in group() 619 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link) in group() 620 *p++ = gh->g_name; in group() 633 if ((gh = findgroup(gname)) == NOGRP) { in group() 634 if ((gh = (struct grouphead *) in group() 635 calloc(sizeof (*gh), 1)) == NULL) { in group() 638 gh->g_name = vcopy(gname); in group() 639 gh->g_list = NOGE; in group() 640 gh->g_link = groups[h]; in group() [all …]
|
H A D | names.c | 55 static struct name *gexpand(struct name *nlist, struct grouphead *gh, 413 struct grouphead *gh; in usermap() local 426 gh = findgroup(np->n_name); in usermap() 428 if (gh != NOGRP) in usermap() 429 newnames = gexpand(newnames, gh, metoo, np->n_type); in usermap() 444 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int arg_ntype) in gexpand() argument 459 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) { in gexpand() 463 if (strcmp(cp, gh->g_name) == 0) in gexpand() 476 if (gp == gh->g_list && gp->ge_link == NOGE) in gexpand()
|
/illumos-gate/usr/src/test/libsec-tests/cmd/ |
H A D | lib_stubs.c | 100 idmap_get_create(idmap_get_handle_t **gh) in idmap_get_create() argument 102 *gh = stub_idmh; in idmap_get_create() 107 idmap_get_destroy(idmap_get_handle_t *gh) in idmap_get_destroy() argument 112 idmap_get_mappings(idmap_get_handle_t *gh) in idmap_get_mappings() argument 114 if (gh != stub_idmh) in idmap_get_mappings() 204 idmap_get_sidbypid(idmap_get_handle_t *gh, uid_t pid, int flag, in idmap_get_sidbypid() argument 240 idmap_get_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag, in idmap_get_sidbyuid() argument 243 return (idmap_get_sidbypid(gh, uid, flag, in idmap_get_sidbyuid() 248 idmap_get_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag, in idmap_get_sidbygid() argument 251 return (idmap_get_sidbypid(gh, gid, flag, in idmap_get_sidbygid() [all …]
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | manifest-import | 118 gh=`/usr/bin/svcprop -p ${gn}/md5sum smf/manifest 2>/dev/null` 119 [ $? = 0 ] || gh="" 144 [ -n "$gh" ] && { 145 echo "Preserving generic hash ($gh)." 148 opaque: $gh
|
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/ |
H A D | rtld.c | 1052 Grp_hdl gh; in dcmd_GrpHdl() local 1072 if (mdb_vread(&gh, sizeof (Grp_hdl), addr) == -1) { in dcmd_GrpHdl() 1082 if (gh.gh_ownlmp) { in dcmd_GrpHdl() 1083 if ((str = Rtmap_Name((uintptr_t)gh.gh_ownlmp)) == 0) in dcmd_GrpHdl() 1089 mdb_printf(MSG_ORIG(MSG_GRPHDL_LINE3), gh.gh_flags, gh.gh_flags, in dcmd_GrpHdl() 1092 if (gh.gh_depends == 0) { in dcmd_GrpHdl() 1093 mdb_printf(MSG_ORIG(MSG_GRPHDL_LINE4), gh.gh_refcnt); in dcmd_GrpHdl() 1097 addr = (uintptr_t)gh.gh_depends; in dcmd_GrpHdl() 1103 mdb_printf(MSG_ORIG(MSG_GRPHDL_LINE5), gh.gh_refcnt, addr, in dcmd_GrpHdl()
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_gld.c | 744 mlxcx_group_add_vlan(mac_group_driver_t gh, uint16_t vid) in mlxcx_group_add_vlan() argument 746 mlxcx_ring_group_t *g = (mlxcx_ring_group_t *)gh; in mlxcx_group_add_vlan() 766 mlxcx_group_remove_vlan(mac_group_driver_t gh, uint16_t vid) in mlxcx_group_remove_vlan() argument 768 mlxcx_ring_group_t *g = (mlxcx_ring_group_t *)gh; in mlxcx_group_remove_vlan() 943 mlxcx_mac_group_start(mac_group_driver_t gh) in mlxcx_mac_group_start() argument 945 mlxcx_ring_group_t *g = (mlxcx_ring_group_t *)gh; in mlxcx_mac_group_start() 1096 mac_group_info_t *infop, mac_group_handle_t gh) in mlxcx_mac_fill_rx_group() argument 1109 g->mlg_mac_hdl = gh; in mlxcx_mac_fill_rx_group()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.argv | 59 ' a bc def gh > $TEMP1
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1433 mac_group_add_ring(mac_group_handle_t gh, int index) in mac_group_add_ring() argument 1435 mac_group_t *group = (mac_group_t *)gh; in mac_group_add_ring() 1451 mac_group_rem_ring(mac_group_handle_t gh, mac_ring_handle_t rh) in mac_group_rem_ring() argument 1453 mac_group_t *group = (mac_group_t *)gh; in mac_group_rem_ring()
|
H A D | mac.c | 1983 mac_hwgroup_addmac(mac_group_handle_t gh, const uint8_t *addr) in mac_hwgroup_addmac() argument 1985 mac_group_t *group = (mac_group_t *)gh; in mac_hwgroup_addmac() 1991 mac_hwgroup_remmac(mac_group_handle_t gh, const uint8_t *addr) in mac_hwgroup_remmac() argument 1993 mac_group_t *group = (mac_group_t *)gh; in mac_hwgroup_remmac() 2004 mac_hwgroup_addvlan(mac_group_handle_t gh, uint16_t vid) in mac_hwgroup_addvlan() argument 2006 mac_group_t *group = (mac_group_t *)gh; in mac_hwgroup_addvlan() 2015 mac_hwgroup_remvlan(mac_group_handle_t gh, uint16_t vid) in mac_hwgroup_remvlan() argument 2017 mac_group_t *group = (mac_group_t *)gh; in mac_hwgroup_remvlan() 4859 mac_find_ring(mac_group_handle_t gh, int index) in mac_find_ring() argument 4861 mac_group_t *group = (mac_group_t *)gh; in mac_find_ring()
|
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_gld.c | 92 mac_group_info_t *infop, mac_group_handle_t gh) in ena_fill_rx_group() argument
|
/illumos-gate/usr/src/uts/common/io/igc/ |
H A D | igc_gld.c | 767 mac_group_info_t *infop, mac_group_handle_t gh) in igc_fill_rx_group() argument 775 igc->igc_rxg_hdl = gh; in igc_fill_rx_group()
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_gld.c | 571 mac_group_info_t *infop, mac_group_handle_t gh) in i40e_fill_rx_group() argument 580 rxg->irg_grp_hdl = gh; in i40e_fill_rx_group()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_gld.c | 534 mac_group_info_t *infop, mac_group_handle_t gh) argument 543 rx_group->group_handle = gh; 570 tx_group->group_handle = gh;
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 844 mac_group_info_t *infop, mac_group_handle_t gh) in igb_fill_group() argument 855 rx_group->group_handle = gh; in igb_fill_group()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 228 grant_ref_t gh; in gs_get() local 233 BLKIF_MAX_SEGMENTS_PER_REQUEST, &gh) == -1) { in gs_get() 247 gnttab_free_grant_references(gh); in gs_get() 258 gs->gs_ghead = gh; in gs_get()
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_grp.c | 2536 mac_group_info_t *infop, mac_group_handle_t gh) in aggr_fill_group() argument 2543 rx_group->arg_gh = gh; in aggr_fill_group() 2564 tx_group->atg_gh = gh; in aggr_fill_group()
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 1500 mac_group_info_t *infop, mac_group_handle_t gh) in xgell_fill_group() argument 1512 rx_ring->group_handle = gh; in xgell_fill_group()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 5764 nxge_group_add_ring(mac_group_driver_t gh, mac_ring_driver_t rh, in nxge_group_add_ring() argument 5767 nxge_ring_group_t *rgroup = (nxge_ring_group_t *)gh; in nxge_group_add_ring() 5836 nxge_group_rem_ring(mac_group_driver_t gh, mac_ring_driver_t rh, in nxge_group_rem_ring() argument 5839 nxge_ring_group_t *rgroup = (nxge_ring_group_t *)gh; in nxge_group_rem_ring()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_mac.c | 819 mac_group_info_t *infop, mac_group_handle_t gh) in t4_fill_group() argument
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | make.probe | 540 0) case `$nm -gh pic.$obj | grep -c '|\.*[TtDdBbC][EeAaSsOo][XxTtSsMm]'` in 542 *) nmflags=-gh
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 2909 mac_group_info_t *infop, mac_group_handle_t gh) in hxge_group_get() argument 2920 group->ghandle = gh; in hxge_group_get()
|