| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | bitmap.c | 90 binfo->ngroups = BITMAP_BITS2GROUPS(nbits); in bitmap_info_init() 96 return binfo->ngroups; in bitmap_info_ngroups() 112 bitmap[binfo->ngroups - 1] >>= extra; in bitmap_init()
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_cred.c | 270 mac_cred_check_setgroups(struct ucred *cred, int ngroups, gid_t *gidset) in mac_cred_check_setgroups() argument 274 MAC_POLICY_CHECK_NOSLEEP(cred_check_setgroups, cred, ngroups, gidset); in mac_cred_check_setgroups() 275 MAC_CHECK_PROBE3(cred_check_setgroups, error, cred, ngroups, gidset); in mac_cred_check_setgroups()
|
| H A D | mac_framework.h | 117 int mac_cred_check_setgroups(struct ucred *cred, int ngroups,
|
| H A D | mac_policy.h | 145 typedef int (*mpo_cred_check_setgroups_t)(struct ucred *cred, int ngroups,
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-cred.c | 38 right = group_info->ngroups; in cr_groups_search() 76 rc = gi->ngroups; in crgetngroups()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | bitmap.h | 167 size_t ngroups; member 185 for (i = 0; i < binfo->ngroups; i++) { in bitmap_full() 294 } while (i < binfo->ngroups); in bitmap_ffu()
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 898 int ngroups; in cru2x() 904 ngroups = MIN(cr->cr_ngroups, XU_NGROUPS); in cru2x() 905 xcr->cr_ngroups = ngroups; in cru2x() 907 ngroups * sizeof(*cr->cr_groups)); in cru2x()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | bitmap.c | 121 assert_zu_eq(binfo->ngroups, binfo_dyn.ngroups, in test_bitmap_initializer_body()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/draid/ |
| H A D | draid.c | 497 uint64_t ngroups = 1; in eval_resilver() local 503 while (ngroups * (groupwidth) % (children - nspares) != 0) in eval_resilver() 504 ngroups++; in eval_resilver() 513 for (int j = 0; j < ngroups; j++) { in eval_resilver()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_draid.c | 1108 uint64_t ngroups = vdc->vdc_ngroups; in vdev_draid_logical_to_physical() local 1132 *perm = group / ngroups; in vdev_draid_logical_to_physical() 1133 uint64_t row = (*perm * ((groupwidth * ngroups) / ndisks)) + in vdev_draid_logical_to_physical() 1134 (((group % ngroups) * groupwidth) / ndisks); in vdev_draid_logical_to_physical() 2357 uint64_t ndata, nparity, nspares, ngroups; in vdev_draid_init() local 2381 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DRAID_NGROUPS, &ngroups) || in vdev_draid_init() 2382 ngroups == 0 || ngroups > VDEV_DRAID_MAX_CHILDREN) { in vdev_draid_init() 2409 vdc->vdc_ngroups = ngroups; in vdev_draid_init()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 1310 uint64_t ngroups = 1; in draid_config_by_type() local 1427 while (ngroups * (ndata + nparity) % (children - nspares) != 0) in draid_config_by_type() 1428 ngroups++; in draid_config_by_type() 1434 fnvlist_add_uint64(nv, ZPOOL_CONFIG_DRAID_NGROUPS, ngroups); in draid_config_by_type()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_usrreq.c | 2394 int ngroups, i, cmsgtype; in unp_addsockcred() local 2397 ngroups = MIN(td->td_ucred->cr_ngroups, CMGROUP_MAX); in unp_addsockcred() 2399 ctrlsz = SOCKCRED2SIZE(ngroups); in unp_addsockcred() 2402 ctrlsz = SOCKCREDSIZE(ngroups); in unp_addsockcred() 2420 sc->sc_ngroups = ngroups; in unp_addsockcred() 2431 sc->sc_ngroups = ngroups; in unp_addsockcred()
|
| H A D | kern_prot.c | 2138 int ngroups; in cru2x() local 2144 ngroups = MIN(cr->cr_ngroups, XU_NGROUPS); in cru2x() 2145 xcr->cr_ngroups = ngroups; in cru2x() 2147 ngroups * sizeof(*cr->cr_groups)); in cru2x()
|
| H A D | kern_mib.c | 129 SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RDTUN |
|
| /f-stack/freebsd/security/mac_stub/ |
| H A D | mac_stub.c | 248 stub_cred_check_setgroups(struct ucred *cred, int ngroups, in stub_cred_check_setgroups() argument
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 1162 uint64_t ngroups = 1; in make_vdev_raid() local 1169 while (ngroups * (ndata + nparity) % (children - nspares) != 0) in make_vdev_raid() 1170 ngroups++; in make_vdev_raid() 1175 fnvlist_add_uint64(raid, ZPOOL_CONFIG_DRAID_NGROUPS, ngroups); in make_vdev_raid()
|
| /f-stack/freebsd/security/mac_test/ |
| H A D | mac_test.c | 319 test_cred_check_setgroups(struct ucred *cred, int ngroups, in test_cred_check_setgroups() argument
|