| /titanic_50/usr/src/uts/common/syscall/ |
| H A D | groups.c | 51 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_50/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/ |
| H A D | LocalityDomain.java | 196 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_50/usr/src/cmd/mdb/common/modules/genunix/ |
| H A D | cred.c | 111 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_50/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
| H A D | starfire.c | 64 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_50/usr/src/lib/libprtdiag/common/ |
| H A D | display_sun4u.c | 65 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 D | memory.c | 89 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 D | display_sun4v.c | 122 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_50/usr/src/cmd/oamuser/user/ |
| H A D | useradd.c | 115 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 D | usermod.c | 96 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_50/usr/src/uts/common/os/ |
| H A D | cred.c | 542 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_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
| H A D | desktop.c | 92 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_50/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/ |
| H A D | sunfire.c | 76 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_50/usr/src/lib/libc/port/gen/ |
| H A D | ucred.c | 195 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_50/usr/src/lib/libprtdiag/inc/ |
| H A D | libprtdiag.h | 142 struct grp_info *grps, struct mem_total *memory_total); 143 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
|
| /titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
| H A D | javelin.c | 72 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_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
| H A D | tazmo.c | 72 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_50/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
| H A D | opl.c | 88 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_50/usr/src/cmd/ssh/sshd/ |
| H A D | servconf.c | 630 match_cfg_line_group(const char *grps, int line, const char *user) in match_cfg_line_group() argument 644 } else if (ga_match_pattern_list(grps) != 1) { in match_cfg_line_group() 646 user, grps, line); in match_cfg_line_group() 649 grps, line); in match_cfg_line_group()
|
| /titanic_50/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
| H A D | cherrystone.c | 78 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_50/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
| H A D | littleneck.c | 84 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_50/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
| H A D | snowbird.c | 346 struct grp_info grps; in do_prominfo() local 381 display_memorysize(tree, kstats, &grps, &memory_total); in do_prominfo()
|
| /titanic_50/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
| H A D | starcat.c | 89 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_50/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
| H A D | daktari.c | 88 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_50/usr/src/cmd/fs.d/nfs/mountd/ |
| H A D | mountd.c | 2168 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_50/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
| H A D | serengeti.c | 141 void display_memoryconf(Sys_tree *tree, struct grp_info *grps); 1773 display_memoryconf(Sys_tree *tree, struct grp_info *grps) in display_memoryconf() argument
|