Home
last modified time | relevance | path

Searched refs:ngroups (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dbitmap.c90 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 Dmac_cred.c270 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 Dmac_framework.h117 int mac_cred_check_setgroups(struct ucred *cred, int ngroups,
H A Dmac_policy.h145 typedef int (*mpo_cred_check_setgroups_t)(struct ucred *cred, int ngroups,
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-cred.c38 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 Dbitmap.h167 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 Dff_glue.c898 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 Dbitmap.c121 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 Ddraid.c497 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 Dvdev_draid.c1108 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 Dzpool_vdev.c1310 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 Duipc_usrreq.c2394 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 Dkern_prot.c2138 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 Dkern_mib.c129 SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RDTUN |
/f-stack/freebsd/security/mac_stub/
H A Dmac_stub.c248 stub_cred_check_setgroups(struct ucred *cred, int ngroups, in stub_cred_check_setgroups() argument
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c1162 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 Dmac_test.c319 test_cred_check_setgroups(struct ucred *cred, int ngroups, in test_cred_check_setgroups() argument