/illumos-gate/usr/src/cmd/mailx/ |
H A D | vars.c | 221 register struct mgroup *gp; local 228 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) 229 printf(" %s", gp->ge_name);
|
H A D | names.c | 446 struct mgroup *gp; local 458 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) { 459 cp = gp->ge_name; 475 if (gp == gh->g_list && gp->ge_link == NOGE) 477 if (!metoo && samebody(myname, gp->ge_name, FALSE))
|
H A D | cmd3.c | 610 register struct mgroup *gp; local 653 if ((gp = (struct mgroup *) 654 calloc(sizeof (*gp), 1)) == NULL) { 657 gp->ge_name = vcopy(*ap); 658 gp->ge_link = gh->g_list; 659 gh->g_list = gp; 672 register struct mgroup *gp, *gpnext; local 694 for (gp = gh->g_list; gp != NOGE; gp [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | slk_start.c | 53 * ng: number of groupings. If gp is NULL, it denotes one 57 * gp: groupings. 65 slk_start(int ng, int *gp) argument 69 if (gp == NULL) { 112 if ((j += gp[i]) > LABMAX) 115 _groups[i] = gp[i];
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_kern.c | 125 const gid_t *gp, *gpend; local 134 gp = crgetgroups(cr); 138 gpend = &gp[gidlen-1]; 160 while (gp <= gpend) { 161 IXDR_PUT_INT32(ptr, *gp++);
|
H A D | auth_loopb.c | 129 const gid_t *gp, *gpend; local 137 gp = crgetgroups(cr); 141 gpend = &gp[gidlen-1]; 163 while (gp <= gpend) { 164 IXDR_PUT_INT32(ptr, *gp++);
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 228 register char **gp; local 230 for (gp = gr->gr_mem; *gp != NULL; gp++) 231 if (strcmp(*gp, user) == 0) 233 if (*gp == NULL) 341 register char **gp; local 343 for (gp = gr->gr_mem; *gp != NULL; gp 646 register char **gp; local [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 156 register struct group *gp; local 238 if ((gp = getgrnam(TTY)) == NULL) 241 Tty_gid = gp->gr_gid;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rctl_proc.c | 222 rctlproc_default_init(struct proc *initp, rctl_alloc_gp_t *gp) argument 230 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CPU], initp, &rlp64, gp, 237 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_FSIZE], initp, &rlp64, gp, 244 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_DATA], initp, &rlp64, gp, 257 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_STACK], initp, &rlp64, gp, 264 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CORE], initp, &rlp64, gp, 273 gp, RCTL_LOCAL_DENY, 0, kcred); 279 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_VMEM], initp, &rlp64, gp, 295 rctl_alloc_gp_t *gp; local 391 gp [all...] |
H A D | task.c | 496 rctl_alloc_gp_t *gp; local 523 gp = rctl_set_dup_prealloc(ancestor_tk->tk_rctls); 526 if (rctl_set_dup_ready(ancestor_tk->tk_rctls, gp)) 531 rctl_prealloc_destroy(gp); 542 set, gp, RCD_DUP); 545 rctl_prealloc_destroy(gp); 952 rctl_alloc_gp_t *gp; local 1001 gp = rctl_set_init_prealloc(RCENTITY_TASK); 1005 task0p->tk_rctls = rctl_set_init(RCENTITY_TASK, curproc, &e, set, gp); 1007 rctl_prealloc_destroy(gp); [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 93 rctl_alloc_gp_t *gp = rctl_rlimit_set_prealloc(1); local 103 &rl64, gp, RCTL_LOCAL_DENY | RCTL_LOCAL_SIGNAL, SIGXFSZ, 106 rctl_prealloc_destroy(gp); 110 rctl_prealloc_destroy(gp); 374 rctl_alloc_gp_t *gp; local 381 gp = rctl_rlimit_set_prealloc(1); 427 if (error = rctl_rlimit_set(rctlproc_legacy[resource], p, &rlim64, gp, 430 rctl_prealloc_destroy(gp); 434 rctl_prealloc_destroy(gp); 465 rctl_alloc_gp_t *gp; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 78 static char *nextdir(glob_t *gp, char *dir) argument 80 Pathcomp_t *pp = (Pathcomp_t*)gp->gl_handle; 85 gp->gl_handle = (void*)pp; 97 register glob_t *gp= &gdata; local 104 memset(gp,0,sizeof(gdata)); 126 gp->gl_nextdir = nextdir; 181 gp->gl_fignore = stakfreeze(1); 184 gp->gl_fignore = ""; 188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); 190 gp [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 239 struct ng_old_struct *gp, *ogp; local 254 gp = pvt->grouphead.gr; 255 while (gp) { 256 ogp = gp; 257 gp = gp->ng_next;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | malloc.c | 754 TREE *tp, *sp, *gp; local 791 if ((gp = RIGHT(sp)) != NULL) { 792 TDLEFT2(tp, sp, gp); 793 tp = gp; 818 TREE *pp, *gp; local 823 gp = PARENT(pp); 827 if (gp && LEFT(gp) == pp) { 828 BURIGHT2(gp, pp, tp); 834 if (gp [all...] |
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 103 struct group *gp; local 344 for (gp = t->groups; gp != NULL; gp = gp->nxt) { 345 if (gid == gp->grp) { 346 if (gp->cnt++ == 1) { 348 if (gp->nxt == NULL) 357 gp = (struct group *)emalloc(sizeof (struct group)); 358 gp [all...] |
/illumos-gate/usr/src/uts/common/exec/aout/ |
H A D | aout.c | 247 rctl_alloc_gp_t *gp = rctl_rlimit_set_prealloc(1); local 255 curproc, &fdno_rlim, gp, 261 curproc, &fdno_rlim, gp, 267 rctl_prealloc_destroy(gp);
|
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 63 struct group *gp; variable in typeref:struct:group 120 if (!(gp = getgrnam(group))) { 163 if (gflag && chown(dirname, -1, gp->gr_gid) && errno != EPERM) { 252 if (chown(path, pp->pw_uid, gp->gr_gid) && errno != EPERM) {
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_io.c | 258 glob(struct glob *gp) argument 261 unsigned char **argv = gp->argv; 262 unsigned char *cp = gp->argspac; 267 gp->argc0 = 0; 280 gp->argc0++; 323 gp->argc0++; 324 if (gp->argc0 >= NARGS) 330 if (gp->argc0 == 0)
|
H A D | ex_re.c | 73 unsigned char *gp; local 107 gp = globuf; 118 if ((gp + len) >= &globuf[GBSIZE - 2]) 120 strncpy(gp, multi, len); 121 gp += len; 137 *gp++ = '\\'; 152 *gp++ = '\\'; 157 *gp++ = c; 158 if (gp >= &globuf[GBSIZE - 2]) 164 *gp 744 unsigned char *gp, *p1; local [all...] |
H A D | ex_subr.c | 562 qcolumn(unsigned char *lim, unsigned char *gp) argument 585 if(length > 1 && !gp) { 591 if (gp) 592 while (*gp) { 593 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); 596 putchar(*gp++); 600 gp += length; 609 nqcolumn(unsigned char *lim, unsigned char *gp) argument 631 if (gp) 632 while (*gp) { [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_nameinfo.c | 80 struct dk_geom *gp, 85 mdgp->ncyl = gp->dkg_ncyl; 86 mdgp->nhead = gp->dkg_nhead; 87 mdgp->nsect = gp->dkg_nsect; 88 mdgp->rpm = gp->dkg_rpm; 89 mdgp->write_reinstruct = gp->dkg_write_reinstruct; 90 mdgp->read_reinstruct = gp->dkg_read_reinstruct; 79 meta_geom_to_md( struct dk_geom *gp, mdgeom_t *mdgp ) argument
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | cache.c | 64 static void clear_descriptors(void *gp); 69 static descriptor_t *have_desc(int type, void *gp, char *name, char *mname); 327 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 332 if ((dp = have_desc(type, gp, name, secondary_name)) == NULL) { 334 if ((dp = new_descriptor(type, gp, name, secondary_name)) 421 cache_load_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 424 if (have_desc(type, gp, name, secondary_name) == NULL) { 426 if (new_descriptor(type, gp, name, secondary_name) == NULL) { 489 clear_descriptors(void *gp) argument 494 if (descp->p.generic == gp) { 603 have_desc(int type, void *gp, char *name, char *secondary_name) argument [all...] |
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 951 TREE *tp, *sp, *gp; local 1002 if ((gp = RIGHT(sp)) != NULL) { 1003 unprotect(gp); 1004 TDLEFT2(tp, sp, gp); 1007 tp = gp; 1039 TREE *pp, *gp; local 1045 gp = PARENT(pp); 1046 if (gp) 1047 unprotect(gp); 1051 if (gp [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ib.c | 712 rds_bufpool_t *gp; local 763 gp = &rds_dpool; 766 gp = &rds_cpool; 770 bp = rds_get_buf(gp, nspace, &jx);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | glob.c | 78 gl_diropen(glob_t* gp, const char* path) argument 80 return (*gp->gl_opendir)(path); 88 gl_dirnext(glob_t* gp, void* handle) argument 92 while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) 99 gp->gl_status |= GLOB_NOTDIR; 111 gl_dirclose(glob_t* gp, void* handle) argument 113 (gp->gl_closedir)(handle); 121 gl_type(glob_t* gp, const char* path, int flags) argument 126 if ((flags & GLOB_STARSTAR) ? (*gp->gl_lstat)(path, &st) : (*gp 144 gl_attr(glob_t* gp, const char* path, int flags) argument 154 gl_nextdir(glob_t* gp, char* dir) argument 185 errorcheck(register glob_t* gp, const char* path) argument 231 addmatch(register glob_t* gp, const char* dir, const char* pat, register const char* rescan, char* endslash, int meta) argument 293 glob_dir(glob_t* gp, globlist_t* ap) argument 567 glob(const char* pattern, int flags, int (*errfn)(const char*, int), register glob_t* gp) argument 802 globfree(glob_t* gp) argument [all...] |