HomeSort by: relevance | last modified time | path
    Searched defs:ng (Results 1 - 7 of 7) sorted by relevancy

  /src/lib/libc/gen/
initgroups.c 75 int ng = (int)sysconf(_SC_NGROUPS_MAX); local in function:__weak_alias
76 if (ng > 0 && ng < ngroups)
77 rval = setgroups(ng, groups);
getnetgrent.c 147 struct netgroup *ng; local in function:getnetgroup
152 ng = malloc(sizeof(struct netgroup));
153 if (ng == NULL)
157 if (!getstring(pp, ',', &ng->ng_host))
160 if (!getstring(pp, ',', &ng->ng_user))
163 if (!getstring(pp, ')', &ng->ng_domain))
169 _ng_print(buf, sizeof(buf), ng);
173 return ng;
176 if (ng->ng_user)
177 free(ng->ng_user)
408 struct netgroup *ng; local in function:addgroup
508 struct netgroup *ng; local in function:in_find
709 const char *ng = va_arg(ap, const char *); local in function:_local_setnetgrent
    [all...]
  /src/usr.sbin/netgroup_mkdb/
netgroup_mkdb.c 208 struct netgroup *ng; local in function:ng_load
225 switch (_ng_parse(&p, &name, &ng)) {
272 _ng_print(fmt, sizeof(fmt), ng);
278 e->n_group = ng;
357 struct netgroup *ng; local in function:ng_reventry
372 ng = e->n_group;
373 p = _ng_makekey(*((char **)(((char *) ng) + s)),
374 ng->ng_domain, e->n_size);
  /src/sys/kern/
kern_auth.c 649 int ng; local in function:kauth_cred_to_uucred
651 ng = uimin(cred->cr_ngroups, NGROUPS);
654 uuc->cr_ngroups = ng;
655 kauth_cred_getgroups(cred, uuc->cr_groups, ng, UIO_SYSSPACE);
  /src/sys/arch/vax/vsa/
gpx.c 1183 uint8_t r[256], g[256], b[256], *nr, *ng, *nb, *c; local in function:gpx_putcmap
1195 nr = r, ng = g, nb = b;
1199 *c++ = *ng++ >> (8 - ss->ss_depth);
  /src/sys/external/bsd/ipf/netinet/
ip_nat.c 1687 natget_t ng; local in function:ipf_nat_getsz
1690 error = BCOPYIN(data, &ng, sizeof(ng));
1700 nat = ng.ng_ptr;
1703 ng.ng_sz = 0;
1711 error = BCOPYOUT(&ng, data, sizeof(ng));
1739 ng.ng_sz = sizeof(nat_save_t);
1742 ng.ng_sz += sizeof(ap_session_t) - 4;
1744 ng.ng_sz += aps->aps_psiz
    [all...]
  /src/libexec/ftpd/
ftpd.c 1148 gid_t *groups, *ng; local in function:checkuser
1157 ng = realloc(groups, gsize * sizeof(gid_t));
1158 if (ng == NULL)
1161 groups = ng;

Completed in 21 milliseconds