Searched refs:ngrp (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_uid16.c164 int ngrp, error; local
170 ngrp = args->gidsetsize;
171 if (ngrp < 0 || ngrp >= ngroups_max + 1) {
175 linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
176 error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
203 if (ngrp > 0) {
204 newcred->cr_ngroups = ngrp + 1;
207 ngrp--;
208 while (ngrp >
234 int bsd_gidsetsz, ngrp, error; local
[all...]
H A Dlinux_misc.c1104 int ngrp, error; local
1107 ngrp = args->gidsetsize;
1108 if (ngrp < 0 || ngrp >= ngroups_max + 1)
1110 linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
1111 error = copyin(args->grouplist, linux_gidset, ngrp * sizeof(l_gid_t));
1115 crextend(newcred, ngrp + 1);
1133 if (ngrp > 0) {
1134 newcred->cr_ngroups = ngrp + 1;
1137 ngrp
1161 int bsd_gidsetsz, ngrp, error; local
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_prot.c91 static void crsetgroups_locked(struct ucred *cr, int ngrp,
289 u_int ngrp; local
294 ngrp = 0;
298 ngrp = td->td_ucred->cr_ngroups;
299 groups = malloc(ngrp * sizeof(*groups), M_TEMP, M_WAITOK);
300 error = kern_getgroups(td, &ngrp, groups);
304 error = copyout(groups, uap->gidset, ngrp * sizeof(gid_t));
306 td->td_retval[0] = ngrp;
313 kern_getgroups(struct thread *td, u_int *ngrp, gid_t *groups) argument
318 if (*ngrp
827 kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups) argument
2020 crsetgroups_locked(struct ucred *cr, int ngrp, gid_t *groups) argument
2052 crsetgroups(struct ucred *cr, int ngrp, gid_t *groups) argument
[all...]
/freebsd-9.3-release/lib/libc/stdio/
H A Dxprintf_int.c262 int rdx, sign, zext, ngrp; local
278 ngrp = 1;
282 ngrp = 0;
350 p = __ultoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping);
352 p = __ujtoa(uu, pe, rdx, digit, ngrp, thousands_sep, grouping);
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-srio.h213 uint64_t ngrp : 1; /**< WORD1[NGRP] must not be set when WORD1[R] member in struct:__anon6617::__anon6620::__anon6621
292 uint64_t ngrp : 1;
H A Dcvmx-pip.h225 uint64_t ngrp : 1; /**< Must be 0 when PKT_INST_HDR[R] = 0. member in struct:__anon6553::__anon6554
H A Dcvmx-sriox-defs.h911 uint64_t ngrp : 1; /**< Port/Controller X NGRP */ member in struct:cvmx_sriox_imsg_inst_hdrx::cvmx_sriox_imsg_inst_hdrx_s
925 uint64_t ngrp : 1;
H A Dcvmx-sli-defs.h2827 uint64_t ngrp : 1; /**< NGRP. Used when packet is raw and PBP==0. */ member in struct:cvmx_sli_pktx_instr_header::cvmx_sli_pktx_instr_header_s
2833 uint64_t ngrp : 1;
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_misc.c666 u_int i, ngrp; local
671 ngrp = 0;
675 ngrp = td->td_ucred->cr_ngroups;
676 gp = malloc(ngrp * sizeof(*gp), M_TEMP, M_WAITOK);
677 error = kern_getgroups(td, &ngrp, gp);
681 iset = malloc(ngrp * sizeof(*iset), M_TEMP, M_WAITOK);
682 for (i = 0; i < ngrp; i++)
684 error = copyout(iset, uap->gidset, ngrp * sizeof(ibcs2_gid_t));
688 td->td_retval[0] = ngrp;
/freebsd-9.3-release/sys/sys/
H A Dsyscallsubr.h106 int kern_getgroups(struct thread *td, u_int *ngrp, gid_t *groups);
196 int kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups);

Completed in 167 milliseconds