Home
last modified time | relevance | path

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

/titanic_53/usr/src/uts/common/syscall/
H A Dgroups.c51 struct credgrp *grps = NULL; in setgroups() local
61 grps = crgrpcopyin(n, gidset); in setgroups()
63 if (grps == NULL) in setgroups()
66 groups = crgetggroups(grps); in setgroups()
70 crgrprele(grps); in setgroups()
79 crgrprele(grps); in setgroups()
99 if (grps != NULL) in setgroups()
100 crgrprele(grps); in setgroups()
114 crsetcredgrp(newcr, grps); in setgroups()
/titanic_53/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityDomain.java196 Map grps = new HashMap(); in getRepresentativeGroup() local
201 Integer score = (Integer) grps.get(group); in getRepresentativeGroup()
204 grps.put(group, new Integer(iscore)); in getRepresentativeGroup()
206 grps.put(group, new Integer(1)); in getRepresentativeGroup()
209 Iterator groupIt = grps.keySet().iterator(); in getRepresentativeGroup()
214 Integer value = (Integer) grps.get(cand); in getRepresentativeGroup()
/titanic_53/usr/src/cmd/mdb/common/modules/genunix/
H A Dcred.c111 credgrp_t grps; in cmd_credgrp() local
124 if (mdb_vread(&grps, sizeof (grps), addr) == -1) { in cmd_credgrp()
130 mdb_printf("crg_ref = 0x%x\n", grps.crg_ref); in cmd_credgrp()
131 mdb_printf("crg_ngroups = 0x%x\n", grps.crg_ngroups); in cmd_credgrp()
137 for (i = 0; i < grps.crg_ngroups; i++, addr += sizeof (gid_t)) { in cmd_credgrp()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/starfire/common/
H A Dstarfire.c64 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
88 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
94 grps = grps; in display_memoryconf()
/titanic_53/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4u.c65 struct grp_info grps; /* Info on all groups in system */ in display() local
99 display_memorysize(tree, kstats, &grps, &memory_total); in display()
108 display_memoryconf(tree, &grps); in display()
H A Dmemory.c89 struct grp_info *grps, struct mem_total *memory_total) in display_memorysize() argument
113 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
H A Ddisplay_sun4v.c122 struct grp_info grps; /* Info on all groups in system */ in sun4v_display() local
158 display_memorysize(tree, NULL, &grps, &memory_total); in sun4v_display()
/titanic_53/usr/src/cmd/oamuser/user/
H A Duseradd.c115 static char *grps = NULL; /* multi groups from command line */ variable
196 grps = optarg;
289 if (uidstr != NULL || oflag || grps != NULL ||
489 if (grps != NULL) {
490 if (!*grps)
492 grps = (char *)0;
493 else if (!(gidlist = valid_lgroup(grps, gid)))
696 if ((grps != NULL) && edit_group(logname, (char *)0, gidlist, 0)) {
H A Dusermod.c96 static char *grps = NULL; /* multi groups from command line */ variable
200 grps = optarg;
477 if (grps && *grps) {
478 if (!(gidlist = valid_lgroup(grps, gid)))
582 if (grps) {
/titanic_53/usr/src/uts/common/os/
H A Dcred.c542 credgrp_t *grps = cr->cr_grps; in supgroupmember() local
545 if (grps == NULL) in supgroupmember()
549 if (grps->crg_ngroups <= BIN_GROUP_SEARCH_CUTOFF) { in supgroupmember()
550 endgp = &grps->crg_groups[grps->crg_ngroups]; in supgroupmember()
551 for (gp = grps->crg_groups; gp < endgp; gp++) in supgroupmember()
559 hi = grps->crg_ngroups - 1; in supgroupmember()
560 gp = grps->crg_groups; in supgroupmember()
1451 crgetggroups(const credgrp_t *grps) in crgetggroups() argument
1453 return (grps->crg_groups); in crgetggroups()
1457 crsetcredgrp(cred_t *cr, credgrp_t *grps) in crsetcredgrp() argument
[all …]
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c92 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
134 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
138 grps = grps; in display_memoryconf()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c76 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
79 struct grp_info *grps, struct mem_total *memory_total);
563 struct grp_info *grps, struct mem_total *memory_total) { in display_memorysize() argument
566 build_mem_tables(tree, kstats, grps); in display_memorysize()
569 get_mem_total(memory_total, grps); in display_memorysize()
585 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
614 grp = &grps->grp[group]; in display_memoryconf()
969 struct grp_info *grps) in build_mem_tables() argument
995 grp = &grps->grp[group]; in build_mem_tables()
1139 get_mem_total(struct mem_total *mem_total, struct grp_info *grps) in get_mem_total() argument
[all …]
/titanic_53/usr/src/lib/libc/port/gen/
H A Ducred.c195 ucred_getgroups(const ucred_t *uc, const gid_t **grps) in ucred_getgroups() argument
206 *grps = &cr->pr_groups[0]; in ucred_getgroups()
208 *grps = NULL; in ucred_getgroups()
/titanic_53/usr/src/lib/libprtdiag/inc/
H A Dlibprtdiag.h142 struct grp_info *grps, struct mem_total *memory_total);
143 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c72 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
134 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
150 grps = grps; in display_memoryconf()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c72 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
137 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
153 grps = grps; in display_memoryconf()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl.c88 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
505 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c84 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
236 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/starcat/common/
H A Dstarcat.c89 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
913 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c346 struct grp_info grps; in do_prominfo() local
381 display_memorysize(tree, kstats, &grps, &memory_total); in do_prominfo()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c78 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
234 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c88 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
246 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c2168 getusergroups(uid_t uid, uint_t *ngrps, gid_t **grps) in getusergroups() argument
2189 *grps = malloc(tmpngrps * sizeof (gid_t)); in getusergroups()
2190 if (*grps == NULL) { in getusergroups()
2198 (void) memcpy(*grps, tmpgrps, tmpngrps * sizeof (gid_t)); in getusergroups()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c141 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
1773 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c356 struct grp_info grps; /* Info on all groups in system */ in display() local
388 display_memorysize(tree, kstats, &grps, &memory_total); in display()