ngroups 608 drivers/hwmon/hwmon.c int ngroups = 2; /* terminating NULL plus &hwdev->groups */ ngroups 612 drivers/hwmon/hwmon.c ngroups++; ngroups 614 drivers/hwmon/hwmon.c hwdev->groups = kcalloc(ngroups, sizeof(*groups), GFP_KERNEL); ngroups 627 drivers/hwmon/hwmon.c ngroups = 0; ngroups 628 drivers/hwmon/hwmon.c hwdev->groups[ngroups++] = &hwdev->group; ngroups 632 drivers/hwmon/hwmon.c hwdev->groups[ngroups++] = groups[i]; ngroups 13248 drivers/infiniband/hw/hfi1/chip.c unsigned ngroups; ngroups 13365 drivers/infiniband/hw/hfi1/chip.c ngroups = chip_rcv_array_count(dd) / dd->rcv_entries.group_size; ngroups 13366 drivers/infiniband/hw/hfi1/chip.c dd->rcv_entries.ngroups = ngroups / dd->num_rcv_contexts; ngroups 13367 drivers/infiniband/hw/hfi1/chip.c dd->rcv_entries.nctxt_extra = ngroups - ngroups 13368 drivers/infiniband/hw/hfi1/chip.c (dd->num_rcv_contexts * dd->rcv_entries.ngroups); ngroups 13370 drivers/infiniband/hw/hfi1/chip.c dd->rcv_entries.ngroups, ngroups 13372 drivers/infiniband/hw/hfi1/chip.c if (dd->rcv_entries.ngroups * dd->rcv_entries.group_size > ngroups 13374 drivers/infiniband/hw/hfi1/chip.c dd->rcv_entries.ngroups = (MAX_EAGER_ENTRIES * 2) / ngroups 13378 drivers/infiniband/hw/hfi1/chip.c dd->rcv_entries.ngroups); ngroups 82 drivers/infiniband/hw/hfi1/exp_rcv.c u32 ngroups; ngroups 84 drivers/infiniband/hw/hfi1/exp_rcv.c ngroups = rcd->expected_count / dd->rcv_entries.group_size; ngroups 86 drivers/infiniband/hw/hfi1/exp_rcv.c kcalloc_node(ngroups, sizeof(*rcd->groups), ngroups 91 drivers/infiniband/hw/hfi1/exp_rcv.c for (i = 0; i < ngroups; i++) { ngroups 990 drivers/infiniband/hw/hfi1/hfi.h u16 ngroups; ngroups 374 drivers/infiniband/hw/hfi1/init.c rcd->rcv_array_groups = dd->rcv_entries.ngroups; ngroups 393 drivers/infiniband/hw/hfi1/init.c base = ctxt * (dd->rcv_entries.ngroups + 1); ngroups 397 drivers/infiniband/hw/hfi1/init.c (ctxt * dd->rcv_entries.ngroups); ngroups 402 drivers/infiniband/hw/hfi1/init.c base = ((dd->n_krcv_queues * dd->rcv_entries.ngroups) + ngroups 405 drivers/infiniband/hw/hfi1/init.c base += ct * (dd->rcv_entries.ngroups + 1); ngroups 409 drivers/infiniband/hw/hfi1/init.c (ct * dd->rcv_entries.ngroups); ngroups 1234 drivers/infiniband/hw/hfi1/tid_rdma.c u32 ngroups, pageidx = 0; ngroups 1239 drivers/infiniband/hw/hfi1/tid_rdma.c ngroups = flow->npagesets / dd->rcv_entries.group_size; ngroups 1240 drivers/infiniband/hw/hfi1/tid_rdma.c if (!ngroups) ngroups 1249 drivers/infiniband/hw/hfi1/tid_rdma.c if (!--ngroups) ngroups 321 drivers/infiniband/hw/hfi1/user_exp_rcv.c unsigned int ngroups, pageidx = 0, pageset_count, ngroups 367 drivers/infiniband/hw/hfi1/user_exp_rcv.c ngroups = pageset_count / dd->rcv_entries.group_size; ngroups 385 drivers/infiniband/hw/hfi1/user_exp_rcv.c while (ngroups && uctxt->tid_group_list.count) { ngroups 405 drivers/infiniband/hw/hfi1/user_exp_rcv.c ngroups--; ngroups 513 drivers/mtd/mtdcore.c int ngroups = mtd_pairing_groups(mtd); ngroups 514 drivers/mtd/mtdcore.c int npairs = mtd_wunit_per_eb(mtd) / ngroups; ngroups 517 drivers/mtd/mtdcore.c info->group < 0 || info->group >= ngroups) ngroups 539 drivers/mtd/mtdcore.c if (!mtd->pairing || !mtd->pairing->ngroups) ngroups 542 drivers/mtd/mtdcore.c return mtd->pairing->ngroups; ngroups 91 drivers/pinctrl/actions/pinctrl-owl.c return pctrl->soc->ngroups; ngroups 156 drivers/pinctrl/actions/pinctrl-owl.c *num_groups = pctrl->soc->functions[function].ngroups; ngroups 72 drivers/pinctrl/actions/pinctrl-owl.h .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 249 drivers/pinctrl/actions/pinctrl-owl.h unsigned int ngroups; ngroups 296 drivers/pinctrl/actions/pinctrl-owl.h unsigned int ngroups; ngroups 1872 drivers/pinctrl/actions/pinctrl-s700.c .ngroups = ARRAY_SIZE(s700_groups), ngroups 1789 drivers/pinctrl/actions/pinctrl-s900.c .ngroups = ARRAY_SIZE(s900_groups), ngroups 2607 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c .ngroups = ARRAY_SIZE(aspeed_g4_groups), ngroups 2794 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c .ngroups = ARRAY_SIZE(aspeed_g5_groups), ngroups 2310 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c .ngroups = ARRAY_SIZE(aspeed_g6_groups), ngroups 17 drivers/pinctrl/aspeed/pinctrl-aspeed.c return pdata->pinmux.ngroups; ngroups 69 drivers/pinctrl/aspeed/pinctrl-aspeed.c *num_groups = pdata->pinmux.functions[function].ngroups; ngroups 767 drivers/pinctrl/aspeed/pinmux-aspeed.h unsigned int ngroups; ngroups 773 drivers/pinctrl/aspeed/pinmux-aspeed.h .ngroups = ARRAY_SIZE(FUNC_SYM(name_)), \ ngroups 792 drivers/pinctrl/aspeed/pinmux-aspeed.h const unsigned int ngroups; ngroups 82 drivers/pinctrl/bcm/pinctrl-bcm281xx.c const unsigned ngroups; ngroups 933 drivers/pinctrl/bcm/pinctrl-bcm281xx.c .ngroups = ARRAY_SIZE(bcm281xx_alt_groups), \ ngroups 1054 drivers/pinctrl/bcm/pinctrl-bcm281xx.c *num_groups = pdata->functions[function].ngroups; ngroups 208 drivers/pinctrl/berlin/berlin-bg2.c .ngroups = ARRAY_SIZE(berlin2_soc_pinctrl_groups), ngroups 213 drivers/pinctrl/berlin/berlin-bg2.c .ngroups = ARRAY_SIZE(berlin2_sysmgr_pinctrl_groups), ngroups 153 drivers/pinctrl/berlin/berlin-bg2cd.c .ngroups = ARRAY_SIZE(berlin2cd_soc_pinctrl_groups), ngroups 158 drivers/pinctrl/berlin/berlin-bg2cd.c .ngroups = ARRAY_SIZE(berlin2cd_sysmgr_pinctrl_groups), ngroups 370 drivers/pinctrl/berlin/berlin-bg2q.c .ngroups = ARRAY_SIZE(berlin2q_soc_pinctrl_groups), ngroups 375 drivers/pinctrl/berlin/berlin-bg2q.c .ngroups = ARRAY_SIZE(berlin2q_sysmgr_pinctrl_groups), ngroups 421 drivers/pinctrl/berlin/berlin-bg4ct.c .ngroups = ARRAY_SIZE(berlin4ct_soc_pinctrl_groups), ngroups 426 drivers/pinctrl/berlin/berlin-bg4ct.c .ngroups = ARRAY_SIZE(berlin4ct_avio_pinctrl_groups), ngroups 431 drivers/pinctrl/berlin/berlin-bg4ct.c .ngroups = ARRAY_SIZE(berlin4ct_sysmgr_pinctrl_groups), ngroups 39 drivers/pinctrl/berlin/berlin.c return pctrl->desc->ngroups; ngroups 59 drivers/pinctrl/berlin/berlin.c int ret, ngroups; ngroups 71 drivers/pinctrl/berlin/berlin.c ngroups = of_property_count_strings(node, "groups"); ngroups 72 drivers/pinctrl/berlin/berlin.c if (ngroups < 0) { ngroups 79 drivers/pinctrl/berlin/berlin.c num_maps, ngroups); ngroups 128 drivers/pinctrl/berlin/berlin.c *num_groups = pctrl->functions[function].ngroups; ngroups 187 drivers/pinctrl/berlin/berlin.c function->ngroups++; ngroups 194 drivers/pinctrl/berlin/berlin.c function->ngroups = 1; ngroups 210 drivers/pinctrl/berlin/berlin.c for (i = 0; i < pctrl->desc->ngroups; i++) { ngroups 223 drivers/pinctrl/berlin/berlin.c for (i = 0; i < pctrl->desc->ngroups; i++) { ngroups 238 drivers/pinctrl/berlin/berlin.c for (i = 0; i < pctrl->desc->ngroups; i++) { ngroups 264 drivers/pinctrl/berlin/berlin.c function->ngroups, ngroups 28 drivers/pinctrl/berlin/berlin.h unsigned ngroups; ngroups 34 drivers/pinctrl/berlin/berlin.h unsigned ngroups; ngroups 320 drivers/pinctrl/berlin/pinctrl-as370.c .ngroups = ARRAY_SIZE(as370_soc_pinctrl_groups), ngroups 704 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int ngroups; ngroups 718 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int ngroups; ngroups 729 drivers/pinctrl/cirrus/pinctrl-lochnagar.c return priv->ngroups; ngroups 787 drivers/pinctrl/cirrus/pinctrl-lochnagar.c *num_groups = priv->func_groups[func_type].ngroups; ngroups 1107 drivers/pinctrl/cirrus/pinctrl-lochnagar.c for (i = 0; i < priv->ngroups; i++) ngroups 1108 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->func_groups[priv->groups[i].type].ngroups++; ngroups 1113 drivers/pinctrl/cirrus/pinctrl-lochnagar.c if (!funcs->ngroups) ngroups 1116 drivers/pinctrl/cirrus/pinctrl-lochnagar.c funcs->groups = devm_kcalloc(priv->dev, funcs->ngroups, ngroups 1122 drivers/pinctrl/cirrus/pinctrl-lochnagar.c funcs->ngroups = 0; ngroups 1125 drivers/pinctrl/cirrus/pinctrl-lochnagar.c for (i = 0; i < priv->ngroups; i++) { ngroups 1128 drivers/pinctrl/cirrus/pinctrl-lochnagar.c funcs->groups[funcs->ngroups++] = priv->groups[i].name; ngroups 1175 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->ngroups = ARRAY_SIZE(lochnagar1_groups); ngroups 1185 drivers/pinctrl/cirrus/pinctrl-lochnagar.c priv->ngroups = ARRAY_SIZE(lochnagar2_groups); ngroups 599 drivers/pinctrl/core.c int ngroups = ops->get_groups_count(pctldev); ngroups 603 drivers/pinctrl/core.c while (selector < ngroups) { ngroups 716 drivers/pinctrl/core.c unsigned ngroups = pctlops->get_groups_count(pctldev); ngroups 719 drivers/pinctrl/core.c while (group_selector < ngroups) { ngroups 1641 drivers/pinctrl/core.c unsigned ngroups, selector = 0; ngroups 1645 drivers/pinctrl/core.c ngroups = ops->get_groups_count(pctldev); ngroups 1648 drivers/pinctrl/core.c while (selector < ngroups) { ngroups 161 drivers/pinctrl/freescale/pinctrl-imx1-core.c for (i = 0; i < info->ngroups; i++) { ngroups 176 drivers/pinctrl/freescale/pinctrl-imx1-core.c return info->ngroups; ngroups 195 drivers/pinctrl/freescale/pinctrl-imx1-core.c if (selector >= info->ngroups) ngroups 432 drivers/pinctrl/freescale/pinctrl-imx1-core.c if (group >= info->ngroups) ngroups 552 drivers/pinctrl/freescale/pinctrl-imx1-core.c u32 ngroups = 0; ngroups 560 drivers/pinctrl/freescale/pinctrl-imx1-core.c ngroups += of_get_child_count(child); ngroups 572 drivers/pinctrl/freescale/pinctrl-imx1-core.c info->ngroups = ngroups; ngroups 574 drivers/pinctrl/freescale/pinctrl-imx1-core.c ngroups, sizeof(struct imx1_pin_group), GFP_KERNEL); ngroups 59 drivers/pinctrl/freescale/pinctrl-imx1.h unsigned int ngroups; ngroups 32 drivers/pinctrl/freescale/pinctrl-mxs.c return d->soc->ngroups; ngroups 185 drivers/pinctrl/freescale/pinctrl-mxs.c *num_groups = d->soc->functions[group].ngroups; ngroups 419 drivers/pinctrl/freescale/pinctrl-mxs.c soc->ngroups++; ngroups 437 drivers/pinctrl/freescale/pinctrl-mxs.c soc->ngroups, sizeof(*soc->groups), ngroups 479 drivers/pinctrl/freescale/pinctrl-mxs.c f->ngroups++; ngroups 501 drivers/pinctrl/freescale/pinctrl-mxs.c f->ngroups, ngroups 54 drivers/pinctrl/freescale/pinctrl-mxs.h unsigned ngroups; ngroups 78 drivers/pinctrl/freescale/pinctrl-mxs.h unsigned ngroups; ngroups 375 drivers/pinctrl/intel/pinctrl-baytrail.c .ngroups = ARRAY_SIZE(byt_score_groups), ngroups 488 drivers/pinctrl/intel/pinctrl-baytrail.c .ngroups = ARRAY_SIZE(byt_sus_groups), ngroups 597 drivers/pinctrl/intel/pinctrl-baytrail.c return vg->soc_data->ngroups; ngroups 650 drivers/pinctrl/intel/pinctrl-baytrail.c *num_groups = vg->soc_data->functions[selector].ngroups; ngroups 183 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(bxt_north_groups), ngroups 300 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(bxt_northwest_groups), ngroups 407 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(bxt_west_groups), ngroups 483 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(bxt_southwest_groups), ngroups 661 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(apl_north_groups), ngroups 781 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(apl_northwest_groups), ngroups 891 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(apl_west_groups), ngroups 983 drivers/pinctrl/intel/pinctrl-broxton.c .ngroups = ARRAY_SIZE(apl_southwest_groups), ngroups 464 drivers/pinctrl/intel/pinctrl-cannonlake.c .ngroups = ARRAY_SIZE(cnlh_groups), ngroups 824 drivers/pinctrl/intel/pinctrl-cannonlake.c .ngroups = ARRAY_SIZE(cnllp_groups), ngroups 130 drivers/pinctrl/intel/pinctrl-cherryview.c size_t ngroups; ngroups 376 drivers/pinctrl/intel/pinctrl-cherryview.c .ngroups = ARRAY_SIZE(southwest_groups), ngroups 639 drivers/pinctrl/intel/pinctrl-cherryview.c .ngroups = ARRAY_SIZE(southeast_groups), ngroups 698 drivers/pinctrl/intel/pinctrl-cherryview.c return pctrl->community->ngroups; ngroups 777 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int * const ngroups) ngroups 782 drivers/pinctrl/intel/pinctrl-cherryview.c *ngroups = pctrl->community->functions[function].ngroups; ngroups 256 drivers/pinctrl/intel/pinctrl-denverton.c .ngroups = ARRAY_SIZE(dnv_groups), ngroups 184 drivers/pinctrl/intel/pinctrl-geminilake.c .ngroups = ARRAY_SIZE(glk_northwest_groups), ngroups 317 drivers/pinctrl/intel/pinctrl-geminilake.c .ngroups = ARRAY_SIZE(glk_north_groups), ngroups 438 drivers/pinctrl/intel/pinctrl-geminilake.c .ngroups = ARRAY_SIZE(glk_scc_groups), ngroups 401 drivers/pinctrl/intel/pinctrl-icelake.c .ngroups = ARRAY_SIZE(icllp_groups), ngroups 297 drivers/pinctrl/intel/pinctrl-intel.c return pctrl->soc->ngroups; ngroups 394 drivers/pinctrl/intel/pinctrl-intel.c unsigned int * const ngroups) ngroups 399 drivers/pinctrl/intel/pinctrl-intel.c *ngroups = pctrl->soc->functions[function].ngroups; ngroups 45 drivers/pinctrl/intel/pinctrl-intel.h size_t ngroups; ngroups 147 drivers/pinctrl/intel/pinctrl-intel.h .ngroups = ARRAY_SIZE((g)), \ ngroups 170 drivers/pinctrl/intel/pinctrl-intel.h size_t ngroups; ngroups 431 drivers/pinctrl/intel/pinctrl-merrifield.c size_t ngroups; ngroups 511 drivers/pinctrl/intel/pinctrl-merrifield.c return mp->ngroups; ngroups 579 drivers/pinctrl/intel/pinctrl-merrifield.c unsigned int * const ngroups) ngroups 584 drivers/pinctrl/intel/pinctrl-merrifield.c *ngroups = mp->functions[function].ngroups; ngroups 926 drivers/pinctrl/intel/pinctrl-merrifield.c mp->ngroups = ARRAY_SIZE(mrfld_groups); ngroups 304 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .ngroups = ARRAY_SIZE(sptlp_groups), ngroups 584 drivers/pinctrl/intel/pinctrl-sunrisepoint.c .ngroups = ARRAY_SIZE(spth_groups), ngroups 414 drivers/pinctrl/mediatek/pinctrl-mtk-common.c for (i = 0; i < pctl->ngroups; i++) { ngroups 617 drivers/pinctrl/mediatek/pinctrl-mtk-common.c return pctl->ngroups; ngroups 668 drivers/pinctrl/mediatek/pinctrl-mtk-common.c *num_groups = pctl->ngroups; ngroups 899 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->ngroups = pctl->devdata->npins; ngroups 902 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, ngroups 908 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, ngroups 266 drivers/pinctrl/mediatek/pinctrl-mtk-common.h unsigned ngroups; ngroups 74 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c int ngroups; ngroups 80 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c unsigned int ngroups; ngroups 106 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c unsigned int ngroups; ngroups 213 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), ngroups 220 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c .ngroups = ARRAY_SIZE(armada_37xx_sb_groups), ngroups 236 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c while (*grp < info->ngroups) { ngroups 271 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c return info->ngroups; ngroups 289 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c if (selector >= info->ngroups) ngroups 334 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c *num_groups = info->funcs[selector].ngroups; ngroups 839 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c while (funcs->ngroups) { ngroups 842 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c funcs->ngroups++; ngroups 852 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c funcs->ngroups = 1; ngroups 871 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c for (n = 0; n < info->ngroups; n++) { ngroups 929 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c funcs[n].ngroups, ngroups 937 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c for (g = 0; g < info->ngroups; g++) { ngroups 961 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c info->ngroups = pin_data->ngroups; ngroups 335 drivers/pinctrl/nomadik/pinctrl-ab8500.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 470 drivers/pinctrl/nomadik/pinctrl-ab8500.c .ngroups = ARRAY_SIZE(ab8500_groups), ngroups 216 drivers/pinctrl/nomadik/pinctrl-ab8505.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 365 drivers/pinctrl/nomadik/pinctrl-ab8505.c .ngroups = ARRAY_SIZE(ab8505_groups), ngroups 562 drivers/pinctrl/nomadik/pinctrl-abx500.c *num_groups = pct->soc->functions[function].ngroups; ngroups 651 drivers/pinctrl/nomadik/pinctrl-abx500.c return pct->soc->ngroups; ngroups 38 drivers/pinctrl/nomadik/pinctrl-abx500.h unsigned ngroups; ngroups 170 drivers/pinctrl/nomadik/pinctrl-abx500.h unsigned ngroups; ngroups 899 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1239 drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c .ngroups = ARRAY_SIZE(nmk_db8500_groups), ngroups 342 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 362 drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c .ngroups = ARRAY_SIZE(nmk_stn8815_groups), ngroups 1212 drivers/pinctrl/nomadik/pinctrl-nomadik.c return npct->soc->ngroups; ngroups 1551 drivers/pinctrl/nomadik/pinctrl-nomadik.c *num_groups = npct->soc->functions[function].ngroups; ngroups 103 drivers/pinctrl/nomadik/pinctrl-nomadik.h unsigned ngroups; ngroups 144 drivers/pinctrl/nomadik/pinctrl-nomadik.h unsigned ngroups; ngroups 654 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c #define NPCM7XX_MKFUNC(nm) { .name = #nm, .ngroups = ARRAY_SIZE(nm ## _grp), \ ngroups 658 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c const unsigned int ngroups; ngroups 1628 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c unsigned int * const ngroups) ngroups 1630 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c *ngroups = npcm7xx_funcs[function].ngroups; ngroups 349 drivers/pinctrl/pinconf.c unsigned ngroups = pctlops->get_groups_count(pctldev); ngroups 355 drivers/pinctrl/pinconf.c while (selector < ngroups) { ngroups 608 drivers/pinctrl/pinctrl-amd.c return gpio_dev->ngroups; ngroups 906 drivers/pinctrl/pinctrl-amd.c gpio_dev->ngroups = ARRAY_SIZE(kerncz_groups); ngroups 86 drivers/pinctrl/pinctrl-amd.h unsigned ngroups; ngroups 94 drivers/pinctrl/pinctrl-amd.h u32 ngroups; ngroups 62 drivers/pinctrl/pinctrl-as3722.c unsigned ngroups; ngroups 135 drivers/pinctrl/pinctrl-as3722.c .ngroups = ARRAY_SIZE(gpio_groups), \ ngroups 229 drivers/pinctrl/pinctrl-as3722.c *num_groups = as_pci->functions[function].ngroups; ngroups 103 drivers/pinctrl/pinctrl-at91.c unsigned ngroups; ngroups 205 drivers/pinctrl/pinctrl-at91.c int ngroups; ngroups 217 drivers/pinctrl/pinctrl-at91.c for (i = 0; i < info->ngroups; i++) { ngroups 233 drivers/pinctrl/pinctrl-at91.c return info->ngroups; ngroups 250 drivers/pinctrl/pinctrl-at91.c if (selector >= info->ngroups) ngroups 903 drivers/pinctrl/pinctrl-at91.c *num_groups = info->functions[selector].ngroups; ngroups 1135 drivers/pinctrl/pinctrl-at91.c info->ngroups += of_get_child_count(child); ngroups 1238 drivers/pinctrl/pinctrl-at91.c func->ngroups = of_get_child_count(np); ngroups 1239 drivers/pinctrl/pinctrl-at91.c if (func->ngroups == 0) { ngroups 1244 drivers/pinctrl/pinctrl-at91.c func->ngroups, sizeof(char *), GFP_KERNEL); ngroups 1306 drivers/pinctrl/pinctrl-at91.c dev_dbg(&pdev->dev, "ngroups = %d\n", info->ngroups); ngroups 1315 drivers/pinctrl/pinctrl-at91.c info->ngroups, ngroups 1323 drivers/pinctrl/pinctrl-at91.c dev_dbg(&pdev->dev, "ngroups = %d\n", info->ngroups); ngroups 58 drivers/pinctrl/pinctrl-axp209.c unsigned int ngroups; ngroups 222 drivers/pinctrl/pinctrl-axp209.c *num_groups = pctl->funcs[selector].ngroups; ngroups 322 drivers/pinctrl/pinctrl-axp209.c unsigned int ngroups = hweight8(mask); ngroups 325 drivers/pinctrl/pinctrl-axp209.c func->ngroups = ngroups; ngroups 326 drivers/pinctrl/pinctrl-axp209.c if (func->ngroups > 0) { ngroups 328 drivers/pinctrl/pinctrl-axp209.c ngroups, sizeof(const char *), ngroups 361 drivers/pinctrl/pinctrl-axp209.c pctl->funcs[i].ngroups = npins; ngroups 36 drivers/pinctrl/pinctrl-bm1880.c unsigned int ngroups; ngroups 66 drivers/pinctrl/pinctrl-bm1880.c unsigned int ngroups; ngroups 651 drivers/pinctrl/pinctrl-bm1880.c .ngroups = ARRAY_SIZE(fname##_group), \ ngroups 920 drivers/pinctrl/pinctrl-bm1880.c return pctrl->ngroups; ngroups 976 drivers/pinctrl/pinctrl-bm1880.c *num_groups = pctrl->funcs[selector].ngroups; ngroups 1324 drivers/pinctrl/pinctrl-bm1880.c pctrl->ngroups = ARRAY_SIZE(bm1880_pctrl_groups); ngroups 183 drivers/pinctrl/pinctrl-lpc18xx.c unsigned ngroups; ngroups 1147 drivers/pinctrl/pinctrl-lpc18xx.c *num_groups = scu->func[function].ngroups; ngroups 1302 drivers/pinctrl/pinctrl-lpc18xx.c int func, ngroups, i; ngroups 1305 drivers/pinctrl/pinctrl-lpc18xx.c for (ngroups = 0, i = 0; i < ARRAY_SIZE(lpc18xx_pins); i++) { ngroups 1307 drivers/pinctrl/pinctrl-lpc18xx.c pins[ngroups++] = i; ngroups 1310 drivers/pinctrl/pinctrl-lpc18xx.c scu->func[func].ngroups = ngroups; ngroups 1312 drivers/pinctrl/pinctrl-lpc18xx.c ngroups, sizeof(char *), ngroups 1317 drivers/pinctrl/pinctrl-lpc18xx.c for (i = 0; i < ngroups; i++) ngroups 44 drivers/pinctrl/pinctrl-max77620.c unsigned int ngroups; ngroups 142 drivers/pinctrl/pinctrl-max77620.c .ngroups = ARRAY_SIZE(gpio_groups), \ ngroups 233 drivers/pinctrl/pinctrl-max77620.c *num_groups = mpci->functions[function].ngroups; ngroups 135 drivers/pinctrl/pinctrl-ocelot.c unsigned int ngroups; ngroups 380 drivers/pinctrl/pinctrl-ocelot.c *num_groups = info->func[function].ngroups; ngroups 539 drivers/pinctrl/pinctrl-ocelot.c info->func[f].ngroups = npins; ngroups 65 drivers/pinctrl/pinctrl-oxnas.c unsigned int ngroups; ngroups 94 drivers/pinctrl/pinctrl-oxnas.c unsigned int ngroups; ngroups 256 drivers/pinctrl/pinctrl-oxnas.c .ngroups = ARRAY_SIZE(oxnas_##_gr##_group), \ ngroups 527 drivers/pinctrl/pinctrl-oxnas.c return pctl->ngroups; ngroups 582 drivers/pinctrl/pinctrl-oxnas.c *num_groups = pctl->functions[func].ngroups; ngroups 1095 drivers/pinctrl/pinctrl-oxnas.c .ngroups = ARRAY_SIZE(oxnas_ox810se_groups), ngroups 1114 drivers/pinctrl/pinctrl-oxnas.c .ngroups = ARRAY_SIZE(oxnas_ox820_groups), ngroups 1179 drivers/pinctrl/pinctrl-oxnas.c pctl->ngroups = data->pctl->ngroups; ngroups 72 drivers/pinctrl/pinctrl-palmas.c unsigned ngroups; ngroups 345 drivers/pinctrl/pinctrl-palmas.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 684 drivers/pinctrl/pinctrl-palmas.c *num_groups = pci->functions[function].ngroups; ngroups 46 drivers/pinctrl/pinctrl-pic32.c unsigned int ngroups; ngroups 77 drivers/pinctrl/pinctrl-pic32.c unsigned int ngroups; ngroups 275 drivers/pinctrl/pinctrl-pic32.c .ngroups = ARRAY_SIZE(pic32_##_gr##_group), \ ngroups 1709 drivers/pinctrl/pinctrl-pic32.c return pctl->ngroups; ngroups 1764 drivers/pinctrl/pinctrl-pic32.c *num_groups = pctl->functions[func].ngroups; ngroups 2180 drivers/pinctrl/pinctrl-pic32.c pctl->ngroups = ARRAY_SIZE(pic32_groups); ngroups 76 drivers/pinctrl/pinctrl-pistachio.c unsigned int ngroups; ngroups 111 drivers/pinctrl/pinctrl-pistachio.c unsigned int ngroups; ngroups 496 drivers/pinctrl/pinctrl-pistachio.c .ngroups = ARRAY_SIZE(pistachio_##_name##_groups), \ ngroups 503 drivers/pinctrl/pinctrl-pistachio.c .ngroups = ARRAY_SIZE(pistachio_##_name##_groups), \ ngroups 883 drivers/pinctrl/pinctrl-pistachio.c return pctl->ngroups; ngroups 938 drivers/pinctrl/pinctrl-pistachio.c *num_groups = pctl->functions[func].ngroups; ngroups 1450 drivers/pinctrl/pinctrl-pistachio.c pctl->ngroups = ARRAY_SIZE(pistachio_groups); ngroups 35 drivers/pinctrl/pinctrl-rk805.c unsigned int ngroups; ngroups 103 drivers/pinctrl/pinctrl-rk805.c .ngroups = ARRAY_SIZE(rk805_gpio_groups), ngroups 274 drivers/pinctrl/pinctrl-rk805.c *num_groups = pci->functions[function].ngroups; ngroups 384 drivers/pinctrl/pinctrl-rockchip.c u8 ngroups; ngroups 397 drivers/pinctrl/pinctrl-rockchip.c unsigned int ngroups; ngroups 414 drivers/pinctrl/pinctrl-rockchip.c for (i = 0; i < info->ngroups; i++) { ngroups 460 drivers/pinctrl/pinctrl-rockchip.c return info->ngroups; ngroups 477 drivers/pinctrl/pinctrl-rockchip.c if (selector >= info->ngroups) ngroups 2159 drivers/pinctrl/pinctrl-rockchip.c *num_groups = info->functions[selector].ngroups; ngroups 2473 drivers/pinctrl/pinctrl-rockchip.c info->ngroups += of_get_child_count(child); ngroups 2560 drivers/pinctrl/pinctrl-rockchip.c func->ngroups = of_get_child_count(np); ngroups 2561 drivers/pinctrl/pinctrl-rockchip.c if (func->ngroups <= 0) ngroups 2565 drivers/pinctrl/pinctrl-rockchip.c func->ngroups, sizeof(char *), GFP_KERNEL); ngroups 2594 drivers/pinctrl/pinctrl-rockchip.c dev_dbg(&pdev->dev, "ngroups = %d\n", info->ngroups); ngroups 2604 drivers/pinctrl/pinctrl-rockchip.c info->ngroups, ngroups 118 drivers/pinctrl/pinctrl-rzn1.c unsigned int ngroups; ngroups 287 drivers/pinctrl/pinctrl-rzn1.c for (i = 0; i < ipctl->ngroups; i++) { ngroups 299 drivers/pinctrl/pinctrl-rzn1.c return ipctl->ngroups; ngroups 316 drivers/pinctrl/pinctrl-rzn1.c if (selector >= ipctl->ngroups) ngroups 783 drivers/pinctrl/pinctrl-rzn1.c grp = &ipctl->groups[ipctl->ngroups]; ngroups 789 drivers/pinctrl/pinctrl-rzn1.c ipctl->ngroups++; ngroups 794 drivers/pinctrl/pinctrl-rzn1.c grp = &ipctl->groups[ipctl->ngroups]; ngroups 802 drivers/pinctrl/pinctrl-rzn1.c ipctl->ngroups++; ngroups 832 drivers/pinctrl/pinctrl-rzn1.c ipctl->ngroups = 0; ngroups 257 drivers/pinctrl/pinctrl-st.c unsigned ngroups; ngroups 329 drivers/pinctrl/pinctrl-st.c int ngroups; ngroups 769 drivers/pinctrl/pinctrl-st.c return info->ngroups; ngroups 785 drivers/pinctrl/pinctrl-st.c if (selector >= info->ngroups) ngroups 799 drivers/pinctrl/pinctrl-st.c for (i = 0; i < info->ngroups; i++) { ngroups 891 drivers/pinctrl/pinctrl-st.c *ngrps = info->functions[selector].ngroups; ngroups 1041 drivers/pinctrl/pinctrl-st.c info->ngroups += of_get_child_count(child); ngroups 1250 drivers/pinctrl/pinctrl-st.c func->ngroups = of_get_child_count(np); ngroups 1251 drivers/pinctrl/pinctrl-st.c if (func->ngroups == 0) { ngroups 1256 drivers/pinctrl/pinctrl-st.c func->ngroups, sizeof(char *), GFP_KERNEL); ngroups 1272 drivers/pinctrl/pinctrl-st.c index, func->name, func->ngroups); ngroups 1579 drivers/pinctrl/pinctrl-st.c dev_info(&pdev->dev, "ngroups = %d\n", info->ngroups); ngroups 1585 drivers/pinctrl/pinctrl-st.c info->ngroups, sizeof(*info->groups), ngroups 45 drivers/pinctrl/pinctrl-zynq.c unsigned int ngroups; ngroups 69 drivers/pinctrl/pinctrl-zynq.c unsigned int ngroups; ngroups 759 drivers/pinctrl/pinctrl-zynq.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 767 drivers/pinctrl/pinctrl-zynq.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 828 drivers/pinctrl/pinctrl-zynq.c return pctrl->ngroups; ngroups 884 drivers/pinctrl/pinctrl-zynq.c *num_groups = pctrl->funcs[selector].ngroups; ngroups 1183 drivers/pinctrl/pinctrl-zynq.c pctrl->ngroups = ARRAY_SIZE(zynq_pctrl_groups); ngroups 27 drivers/pinctrl/pxa/pinctrl-pxa2xx.c return pctl->ngroups; ngroups 132 drivers/pinctrl/pxa/pinctrl-pxa2xx.c *num_groups = pf->ngroups; ngroups 297 drivers/pinctrl/pxa/pinctrl-pxa2xx.c int i, j, ngroups; ngroups 308 drivers/pinctrl/pxa/pinctrl-pxa2xx.c ngroups = 0; ngroups 314 drivers/pinctrl/pxa/pinctrl-pxa2xx.c gtmp[ngroups++] = (char *) ngroups 317 drivers/pinctrl/pxa/pinctrl-pxa2xx.c func->ngroups = ngroups; ngroups 319 drivers/pinctrl/pxa/pinctrl-pxa2xx.c devm_kmalloc_array(pctl->dev, ngroups, ngroups 324 drivers/pinctrl/pxa/pinctrl-pxa2xx.c memcpy(func->groups, gtmp, ngroups * sizeof(*gtmp)); ngroups 340 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->ngroups = npins; ngroups 351 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pctl->groups = devm_kmalloc_array(pctl->dev, pctl->ngroups, ngroups 63 drivers/pinctrl/pxa/pinctrl-pxa2xx.h unsigned ngroups; ngroups 76 drivers/pinctrl/pxa/pinctrl-pxa2xx.h unsigned ngroups; ngroups 216 drivers/pinctrl/qcom/pinctrl-apq8064.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 620 drivers/pinctrl/qcom/pinctrl-apq8064.c .ngroups = ARRAY_SIZE(apq8064_groups), ngroups 331 drivers/pinctrl/qcom/pinctrl-apq8084.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1198 drivers/pinctrl/qcom/pinctrl-apq8084.c .ngroups = ARRAY_SIZE(apq8084_groups), ngroups 223 drivers/pinctrl/qcom/pinctrl-ipq4019.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 699 drivers/pinctrl/qcom/pinctrl-ipq4019.c .ngroups = ARRAY_SIZE(ipq4019_groups), ngroups 168 drivers/pinctrl/qcom/pinctrl-ipq8064.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 622 drivers/pinctrl/qcom/pinctrl-ipq8064.c .ngroups = ARRAY_SIZE(ipq8064_groups), ngroups 17 drivers/pinctrl/qcom/pinctrl-ipq8074.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1031 drivers/pinctrl/qcom/pinctrl-ipq8074.c .ngroups = ARRAY_SIZE(ipq8074_groups), ngroups 202 drivers/pinctrl/qcom/pinctrl-mdm9615.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 437 drivers/pinctrl/qcom/pinctrl-mdm9615.c .ngroups = ARRAY_SIZE(mdm9615_groups), ngroups 91 drivers/pinctrl/qcom/pinctrl-msm.c return pctrl->soc->ngroups; ngroups 153 drivers/pinctrl/qcom/pinctrl-msm.c *num_groups = pctrl->soc->functions[function].ngroups; ngroups 19 drivers/pinctrl/qcom/pinctrl-msm.h unsigned ngroups; ngroups 111 drivers/pinctrl/qcom/pinctrl-msm.h unsigned ngroups; ngroups 382 drivers/pinctrl/qcom/pinctrl-msm8660.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 972 drivers/pinctrl/qcom/pinctrl-msm8660.c .ngroups = ARRAY_SIZE(msm8660_groups), ngroups 293 drivers/pinctrl/qcom/pinctrl-msm8916.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 960 drivers/pinctrl/qcom/pinctrl-msm8916.c .ngroups = ARRAY_SIZE(msm8916_groups), ngroups 341 drivers/pinctrl/qcom/pinctrl-msm8960.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1237 drivers/pinctrl/qcom/pinctrl-msm8960.c .ngroups = ARRAY_SIZE(msm8960_groups), ngroups 17 drivers/pinctrl/qcom/pinctrl-msm8994.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1333 drivers/pinctrl/qcom/pinctrl-msm8994.c .ngroups = ARRAY_SIZE(msm8994_groups), ngroups 17 drivers/pinctrl/qcom/pinctrl-msm8996.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1897 drivers/pinctrl/qcom/pinctrl-msm8996.c .ngroups = ARRAY_SIZE(msm8996_groups), ngroups 21 drivers/pinctrl/qcom/pinctrl-msm8998.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1512 drivers/pinctrl/qcom/pinctrl-msm8998.c .ngroups = ARRAY_SIZE(msm8998_groups), ngroups 332 drivers/pinctrl/qcom/pinctrl-msm8x74.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1062 drivers/pinctrl/qcom/pinctrl-msm8x74.c .ngroups = ARRAY_SIZE(msm8x74_groups), ngroups 29 drivers/pinctrl/qcom/pinctrl-qcs404.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1633 drivers/pinctrl/qcom/pinctrl-qcs404.c .ngroups = ARRAY_SIZE(qcs404_groups), ngroups 130 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c pinctrl->ngroups = num_gpios; ngroups 27 drivers/pinctrl/qcom/pinctrl-sc7180.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1108 drivers/pinctrl/qcom/pinctrl-sc7180.c .ngroups = ARRAY_SIZE(sc7180_groups), ngroups 32 drivers/pinctrl/qcom/pinctrl-sdm660.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1417 drivers/pinctrl/qcom/pinctrl-sdm660.c .ngroups = ARRAY_SIZE(sdm660_groups), ngroups 18 drivers/pinctrl/qcom/pinctrl-sdm845.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1291 drivers/pinctrl/qcom/pinctrl-sdm845.c .ngroups = ARRAY_SIZE(sdm845_groups), ngroups 1299 drivers/pinctrl/qcom/pinctrl-sdm845.c .ngroups = ARRAY_SIZE(sdm845_groups), ngroups 29 drivers/pinctrl/qcom/pinctrl-sm8150.c .ngroups = ARRAY_SIZE(fname##_groups), \ ngroups 1509 drivers/pinctrl/qcom/pinctrl-sm8150.c .ngroups = ARRAY_SIZE(sm8150_groups), ngroups 101 drivers/pinctrl/spear/pinctrl-spear.c for (group = 0; group < machdata->ngroups; group++) { ngroups 118 drivers/pinctrl/spear/pinctrl-spear.c return pmx->machdata->ngroups; ngroups 231 drivers/pinctrl/spear/pinctrl-spear.c unsigned * const ngroups) ngroups 236 drivers/pinctrl/spear/pinctrl-spear.c *ngroups = pmx->machdata->functions[function]->ngroups; ngroups 130 drivers/pinctrl/spear/pinctrl-spear.h unsigned ngroups; ngroups 158 drivers/pinctrl/spear/pinctrl-spear.h unsigned ngroups; ngroups 269 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2c0_grps), ngroups 364 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(ssp0_grps), ngroups 400 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2s0_grps), ngroups 436 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2s1_grps), ngroups 503 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(clcd_grps), ngroups 547 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(arm_gpio_grps), ngroups 619 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(smi_grps), ngroups 657 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(gmii_grps), ngroups 711 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(rgmii_grps), ngroups 749 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(smii_0_1_2_grps), ngroups 785 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(ras_mii_txclk_grps), ngroups 893 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(nand_grps), ngroups 958 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(keyboard_grps), ngroups 1023 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(uart0_grps), ngroups 1088 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(gpt0_grps), ngroups 1153 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(gpt1_grps), ngroups 1220 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(sdhci_grps), ngroups 1252 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(cf_grps), ngroups 1284 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(xd_grps), ngroups 1320 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(touch_xy_grps), ngroups 1390 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(uart1_grps), ngroups 1426 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(uart2_3_grps), ngroups 1462 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(uart4_grps), ngroups 1498 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(uart5_grps), ngroups 1536 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(rs485_0_1_tdm_0_1_grps), ngroups 1572 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2c_1_2_grps), ngroups 1640 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2c3_grps), ngroups 1749 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2c_4_5_grps), ngroups 1852 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(i2c_6_7_grps), ngroups 1928 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(can0_grps), ngroups 1996 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(can1_grps), ngroups 2052 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(pci_grps), ngroups 2126 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(pcie_grps), ngroups 2200 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(sata_grps), ngroups 2275 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(ssp1_grps), ngroups 2314 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(gpt64_grps), ngroups 2686 drivers/pinctrl/spear/pinctrl-spear1310.c .ngroups = ARRAY_SIZE(spear1310_pingroups), ngroups 271 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(pads_as_gpio_grps), ngroups 365 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(fsmc_grps), ngroups 432 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(keyboard_grps), ngroups 464 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(spdif_in_grps), ngroups 500 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(spdif_out_grps), ngroups 540 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(gpt_0_1_grps), ngroups 664 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(pwm_grps), ngroups 825 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(vip_grps), ngroups 862 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cam0_grps), ngroups 903 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cam1_grps), ngroups 940 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cam2_grps), ngroups 981 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cam3_grps), ngroups 1013 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(smi_grps), ngroups 1129 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(ssp0_grps), ngroups 1190 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(uart0_grps), ngroups 1222 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(uart1_grps), ngroups 1283 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(i2s_grps), ngroups 1406 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(gmac_grps), ngroups 1438 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(i2c0_grps), ngroups 1470 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(i2c1_grps), ngroups 1502 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cec0_grps), ngroups 1534 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cec1_grps), ngroups 1586 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(sdhci_grps), ngroups 1618 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(cf_grps), ngroups 1650 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(xd_grps), ngroups 1734 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(clcd_grps), ngroups 1781 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(arm_trace_grps), ngroups 1819 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(miphy_dbg_grps), ngroups 1851 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(pcie_grps), ngroups 1883 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(sata_grps), ngroups 2003 drivers/pinctrl/spear/pinctrl-spear1340.c .ngroups = ARRAY_SIZE(spear1340_pingroups), ngroups 218 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(fsmc_grps), ngroups 279 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(clcd_grps), ngroups 316 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(tdm_grps), ngroups 352 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(i2c_grps), ngroups 411 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(cam_grps), ngroups 445 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(dac_grps), ngroups 481 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(i2s_grps), ngroups 551 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(sdhci_grps), ngroups 612 drivers/pinctrl/spear/pinctrl-spear300.c .ngroups = ARRAY_SIZE(gpio1_grps), ngroups 660 drivers/pinctrl/spear/pinctrl-spear300.c spear3xx_machdata.ngroups = ARRAY_SIZE(spear300_pingroups); ngroups 52 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps), ngroups 84 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(uart1_grps), ngroups 116 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(uart2_grps), ngroups 148 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(uart3_grps), ngroups 180 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(uart4_grps), ngroups 212 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(uart5_grps), ngroups 244 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(fsmc_grps), ngroups 276 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(rs485_0_grps), ngroups 308 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(rs485_1_grps), ngroups 340 drivers/pinctrl/spear/pinctrl-spear310.c .ngroups = ARRAY_SIZE(tdm_grps), ngroups 385 drivers/pinctrl/spear/pinctrl-spear310.c spear3xx_machdata.ngroups = ARRAY_SIZE(spear310_pingroups); ngroups 511 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(clcd_grps), ngroups 594 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(emi_grps), ngroups 687 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(fsmc_grps), ngroups 733 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(spp_grps), ngroups 890 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(sdhci_grps), ngroups 943 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(i2s_grps), ngroups 989 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart1_grps), ngroups 1155 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart1_modem_grps), ngroups 1201 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart2_grps), ngroups 1410 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart3_grps), ngroups 1596 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart4_grps), ngroups 1728 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart5_grps), ngroups 1799 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(uart6_grps), ngroups 1832 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(rs485_grps), ngroups 1881 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(touchscreen_grps), ngroups 1927 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(can0_grps), ngroups 1972 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(can1_grps), ngroups 2186 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(pwm0_1_grps), ngroups 2393 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(pwm2_grps), ngroups 2566 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(pwm3_grps), ngroups 2741 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(ssp1_grps), ngroups 2908 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(ssp2_grps), ngroups 2958 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(mii2_grps), ngroups 3064 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(mii0_1_grps), ngroups 3135 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(i2c1_grps), ngroups 3295 drivers/pinctrl/spear/pinctrl-spear320.c .ngroups = ARRAY_SIZE(i2c2_grps), ngroups 3424 drivers/pinctrl/spear/pinctrl-spear320.c spear3xx_machdata.ngroups = ARRAY_SIZE(spear320_pingroups); ngroups 51 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(firda_grps), ngroups 84 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(i2c_grps), ngroups 117 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(ssp_cs_grps), ngroups 150 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(ssp_grps), ngroups 184 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(mii_grps), ngroups 349 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(gpio0_grps), ngroups 382 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(uart0_ext_grps), ngroups 415 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(uart0_grps), ngroups 448 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(timer_0_1_grps), ngroups 481 drivers/pinctrl/spear/pinctrl-spear3xx.c .ngroups = ARRAY_SIZE(timer_2_3_grps), ngroups 134 drivers/pinctrl/sprd/pinctrl-sprd.c unsigned int ngroups; ngroups 196 drivers/pinctrl/sprd/pinctrl-sprd.c for (i = 0; i < info->ngroups; i++) { ngroups 211 drivers/pinctrl/sprd/pinctrl-sprd.c return info->ngroups; ngroups 231 drivers/pinctrl/sprd/pinctrl-sprd.c if (selector >= info->ngroups) ngroups 377 drivers/pinctrl/sprd/pinctrl-sprd.c *num_groups = info->ngroups; ngroups 393 drivers/pinctrl/sprd/pinctrl-sprd.c if (group_selector >= info->ngroups) ngroups 712 drivers/pinctrl/sprd/pinctrl-sprd.c if (selector >= info->ngroups) ngroups 731 drivers/pinctrl/sprd/pinctrl-sprd.c if (selector >= info->ngroups) ngroups 791 drivers/pinctrl/sprd/pinctrl-sprd.c if (selector >= info->ngroups) ngroups 906 drivers/pinctrl/sprd/pinctrl-sprd.c info->ngroups = sprd_pinctrl_get_groups(np); ngroups 907 drivers/pinctrl/sprd/pinctrl-sprd.c if (!info->ngroups) ngroups 911 drivers/pinctrl/sprd/pinctrl-sprd.c info->ngroups, ngroups 918 drivers/pinctrl/sprd/pinctrl-sprd.c info->ngroups, sizeof(char *), ngroups 102 drivers/pinctrl/stm32/pinctrl-stm32.c unsigned ngroups; ngroups 448 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = 0; i < pctl->ngroups; i++) { ngroups 630 drivers/pinctrl/stm32/pinctrl-stm32.c return pctl->ngroups; ngroups 684 drivers/pinctrl/stm32/pinctrl-stm32.c *num_groups = pctl->ngroups; ngroups 1301 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->ngroups = pctl->npins; ngroups 1304 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, ngroups 1310 drivers/pinctrl/stm32/pinctrl-stm32.c pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, ngroups 1552 drivers/pinctrl/stm32/pinctrl-stm32.c for (i = g->pin; i < g->pin + pctl->ngroups; i++) ngroups 46 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (i = 0; i < pctl->ngroups; i++) { ngroups 130 drivers/pinctrl/sunxi/pinctrl-sunxi.c return pctl->ngroups; ngroups 693 drivers/pinctrl/sunxi/pinctrl-sunxi.c *num_groups = pctl->functions[function].ngroups; ngroups 1157 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->ngroups++; ngroups 1164 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->ngroups = 1; ngroups 1196 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_group *group = pctl->groups + pctl->ngroups; ngroups 1205 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->ngroups++; ngroups 1212 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->functions = kcalloc(pctl->ngroups, ngroups 1275 drivers/pinctrl/sunxi/pinctrl-sunxi.c func_item->ngroups, ngroups 1445 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctrl_desc->npins = pctl->ngroups; ngroups 144 drivers/pinctrl/sunxi/pinctrl-sunxi.h unsigned ngroups; ngroups 167 drivers/pinctrl/sunxi/pinctrl-sunxi.h unsigned ngroups; ngroups 44 drivers/pinctrl/tegra/pinctrl-tegra.c return pmx->soc->ngroups; ngroups 244 drivers/pinctrl/tegra/pinctrl-tegra.c *num_groups = pmx->soc->functions[function].ngroups; ngroups 616 drivers/pinctrl/tegra/pinctrl-tegra.c for (i = 0; i < pmx->soc->ngroups; ++i) { ngroups 730 drivers/pinctrl/tegra/pinctrl-tegra.c soc_data->ngroups * 4, sizeof(*pmx->group_pins), ngroups 741 drivers/pinctrl/tegra/pinctrl-tegra.c for (gn = 0; gn < soc_data->ngroups; gn++) { ngroups 754 drivers/pinctrl/tegra/pinctrl-tegra.c soc_data->ngroups * 4); ngroups 756 drivers/pinctrl/tegra/pinctrl-tegra.c func->ngroups++; ngroups 80 drivers/pinctrl/tegra/pinctrl-tegra.h unsigned ngroups; ngroups 191 drivers/pinctrl/tegra/pinctrl-tegra.h unsigned ngroups; ngroups 1840 drivers/pinctrl/tegra/pinctrl-tegra114.c .ngroups = ARRAY_SIZE(tegra114_groups), ngroups 2052 drivers/pinctrl/tegra/pinctrl-tegra124.c .ngroups = ARRAY_SIZE(tegra124_groups), ngroups 142 drivers/pinctrl/tegra/pinctrl-tegra194.c .ngroups = ARRAY_SIZE(tegra194_groups), ngroups 2222 drivers/pinctrl/tegra/pinctrl-tegra20.c .ngroups = ARRAY_SIZE(tegra20_groups), ngroups 1554 drivers/pinctrl/tegra/pinctrl-tegra210.c .ngroups = ARRAY_SIZE(tegra210_groups), ngroups 2475 drivers/pinctrl/tegra/pinctrl-tegra30.c .ngroups = ARRAY_SIZE(tegra30_groups), ngroups 461 drivers/pinctrl/vt8500/pinctrl-vt8500.c data->ngroups = ARRAY_SIZE(vt8500_groups); ngroups 492 drivers/pinctrl/vt8500/pinctrl-wm8505.c data->ngroups = ARRAY_SIZE(wm8505_groups); ngroups 330 drivers/pinctrl/vt8500/pinctrl-wm8650.c data->ngroups = ARRAY_SIZE(wm8650_groups); ngroups 369 drivers/pinctrl/vt8500/pinctrl-wm8750.c data->ngroups = ARRAY_SIZE(wm8750_groups); ngroups 348 drivers/pinctrl/vt8500/pinctrl-wm8850.c data->ngroups = ARRAY_SIZE(wm8850_groups); ngroups 79 drivers/pinctrl/vt8500/pinctrl-wmt.c *num_groups = data->ngroups; ngroups 171 drivers/pinctrl/vt8500/pinctrl-wmt.c return data->ngroups; ngroups 63 drivers/pinctrl/vt8500/pinctrl-wmt.h u32 ngroups; ngroups 272 drivers/pinctrl/zte/pinctrl-zx.c int ngroups; ngroups 276 drivers/pinctrl/zte/pinctrl-zx.c ngroups = info->npins; ngroups 277 drivers/pinctrl/zte/pinctrl-zx.c groups = devm_kcalloc(&pdev->dev, ngroups, sizeof(*groups), ngroups 282 drivers/pinctrl/zte/pinctrl-zx.c for (i = 0; i < ngroups; i++) { ngroups 292 drivers/pinctrl/zte/pinctrl-zx.c pctldev->num_groups = ngroups; ngroups 1250 fs/ext2/balloc.c unsigned long ngroups; ngroups 1326 fs/ext2/balloc.c ngroups = EXT2_SB(sb)->s_groups_count; ngroups 1333 fs/ext2/balloc.c for (bgi = 0; bgi < ngroups; bgi++) { ngroups 1335 fs/ext2/balloc.c if (group_no >= ngroups) ngroups 205 fs/ext2/ialloc.c int ngroups = EXT2_SB(sb)->s_groups_count; ngroups 206 fs/ext2/ialloc.c int avefreei = ext2_count_free_inodes(sb) / ngroups; ngroups 210 fs/ext2/ialloc.c for (group = 0; group < ngroups; group++) { ngroups 260 fs/ext2/ialloc.c int ngroups = sbi->s_groups_count; ngroups 273 fs/ext2/ialloc.c avefreei = freei / ngroups; ngroups 275 fs/ext2/ialloc.c avefreeb = free_blocks / ngroups; ngroups 285 fs/ext2/ialloc.c parent_group = (unsigned)group % ngroups; ngroups 286 fs/ext2/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 287 fs/ext2/ialloc.c group = (parent_group + i) % ngroups; ngroups 314 fs/ext2/ialloc.c max_dirs = ndirs / ngroups + inodes_per_group / 16; ngroups 326 fs/ext2/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 327 fs/ext2/ialloc.c group = (parent_group + i) % ngroups; ngroups 343 fs/ext2/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 344 fs/ext2/ialloc.c group = (parent_group + i) % ngroups; ngroups 370 fs/ext2/ialloc.c int ngroups = EXT2_SB(sb)->s_groups_count; ngroups 392 fs/ext2/ialloc.c group = (group + parent->i_ino) % ngroups; ngroups 398 fs/ext2/ialloc.c for (i = 1; i < ngroups; i <<= 1) { ngroups 400 fs/ext2/ialloc.c if (group >= ngroups) ngroups 401 fs/ext2/ialloc.c group -= ngroups; ngroups 413 fs/ext2/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 414 fs/ext2/ialloc.c if (++group >= ngroups) ngroups 270 fs/ext4/balloc.c ext4_group_t ngroups = ext4_get_groups_count(sb); ngroups 275 fs/ext4/balloc.c if (block_group >= ngroups) { ngroups 277 fs/ext4/balloc.c " groups_count = %u", block_group, ngroups); ngroups 690 fs/ext4/balloc.c ext4_group_t ngroups = ext4_get_groups_count(sb); ngroups 703 fs/ext4/balloc.c for (i = 0; i < ngroups; i++) { ngroups 733 fs/ext4/balloc.c for (i = 0; i < ngroups; i++) { ngroups 255 fs/ext4/block_validity.c ext4_group_t ngroups = ext4_get_groups_count(sb); ngroups 275 fs/ext4/block_validity.c for (i=0; i < ngroups; i++) { ngroups 2568 fs/ext4/ext4.h ext4_group_t ngroups); ngroups 2953 fs/ext4/ext4.h ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; ngroups 2956 fs/ext4/ext4.h return ngroups; ngroups 426 fs/ext4/ialloc.c ext4_group_t i, grp, g, ngroups; ngroups 432 fs/ext4/ialloc.c ngroups = real_ngroups; ngroups 434 fs/ext4/ialloc.c ngroups = (real_ngroups + flex_size - 1) >> ngroups 440 fs/ext4/ialloc.c avefreei = freei / ngroups; ngroups 444 fs/ext4/ialloc.c do_div(avefreec, ngroups); ngroups 460 fs/ext4/ialloc.c parent_group = (unsigned)grp % ngroups; ngroups 461 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 462 fs/ext4/ialloc.c g = (parent_group + i) % ngroups; ngroups 504 fs/ext4/ialloc.c max_dirs = ndirs / ngroups + inodes_per_group / 16; ngroups 520 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 521 fs/ext4/ialloc.c grp = (parent_group + i) % ngroups; ngroups 533 fs/ext4/ialloc.c ngroups = real_ngroups; ngroups 534 fs/ext4/ialloc.c avefreei = freei / ngroups; ngroups 537 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 538 fs/ext4/ialloc.c grp = (parent_group + i) % ngroups; ngroups 565 fs/ext4/ialloc.c ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); ngroups 582 fs/ext4/ialloc.c if (last > ngroups) ngroups 583 fs/ext4/ialloc.c last = ngroups; ngroups 602 fs/ext4/ialloc.c if (*group > ngroups) ngroups 625 fs/ext4/ialloc.c *group = (*group + parent->i_ino) % ngroups; ngroups 631 fs/ext4/ialloc.c for (i = 1; i < ngroups; i <<= 1) { ngroups 633 fs/ext4/ialloc.c if (*group >= ngroups) ngroups 634 fs/ext4/ialloc.c *group -= ngroups; ngroups 646 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 647 fs/ext4/ialloc.c if (++*group >= ngroups) ngroups 749 fs/ext4/ialloc.c ext4_group_t ngroups, group = 0; ngroups 825 fs/ext4/ialloc.c ngroups = ext4_get_groups_count(sb); ngroups 884 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++, ino = 0) { ngroups 963 fs/ext4/ialloc.c if (++group == ngroups) ngroups 1277 fs/ext4/ialloc.c ext4_group_t i, ngroups = ext4_get_groups_count(sb); ngroups 1287 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 1312 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 1327 fs/ext4/ialloc.c ext4_group_t i, ngroups = ext4_get_groups_count(sb); ngroups 1329 fs/ext4/ialloc.c for (i = 0; i < ngroups; i++) { ngroups 5823 fs/ext4/inode.c ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); ngroups 5842 fs/ext4/inode.c if (groups > ngroups) ngroups 5843 fs/ext4/inode.c groups = ngroups; ngroups 807 fs/ext4/mballoc.c ext4_group_t ngroups; ngroups 827 fs/ext4/mballoc.c ngroups = ext4_get_groups_count(sb); ngroups 850 fs/ext4/mballoc.c if (group >= ngroups) ngroups 887 fs/ext4/mballoc.c if (group >= ngroups) ngroups 2103 fs/ext4/mballoc.c ext4_group_t ngroups, group, i; ngroups 2112 fs/ext4/mballoc.c ngroups = ext4_get_groups_count(sb); ngroups 2115 fs/ext4/mballoc.c ngroups = sbi->s_blockfile_groups; ngroups 2174 fs/ext4/mballoc.c for (i = 0; i < ngroups; group++, i++) { ngroups 2181 fs/ext4/mballoc.c if (group >= ngroups) ngroups 2357 fs/ext4/mballoc.c int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) ngroups 2363 fs/ext4/mballoc.c size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> ngroups 2481 fs/ext4/mballoc.c ext4_group_t ngroups = ext4_get_groups_count(sb); ngroups 2489 fs/ext4/mballoc.c err = ext4_mb_alloc_groupinfo(sb, ngroups); ngroups 2504 fs/ext4/mballoc.c for (i = 0; i < ngroups; i++) { ngroups 2717 fs/ext4/mballoc.c ext4_group_t ngroups = ext4_get_groups_count(sb); ngroups 2725 fs/ext4/mballoc.c for (i = 0; i < ngroups; i++) { ngroups 2736 fs/ext4/mballoc.c num_meta_group_infos = (ngroups + ngroups 4118 fs/ext4/mballoc.c ext4_group_t ngroups, i; ngroups 4146 fs/ext4/mballoc.c ngroups = ext4_get_groups_count(sb); ngroups 4147 fs/ext4/mballoc.c for (i = 0; i < ngroups; i++) { ngroups 4465 fs/ext4/mballoc.c ext4_group_t i, ngroups = ext4_get_groups_count(sb); ngroups 4470 fs/ext4/mballoc.c for (i = 0; i < ngroups && needed > 0; i++) { ngroups 3052 fs/ext4/super.c ext4_group_t group, ngroups; ngroups 3058 fs/ext4/super.c ngroups = EXT4_SB(sb)->s_groups_count; ngroups 3060 fs/ext4/super.c for (group = elr->lr_next_group; group < ngroups; group++) { ngroups 3071 fs/ext4/super.c if (group >= ngroups) ngroups 3273 fs/ext4/super.c ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; ngroups 3277 fs/ext4/super.c return ngroups; ngroups 3279 fs/ext4/super.c for (group = 0; group < ngroups; group++) { ngroups 3338 fs/ext4/super.c ext4_group_t ngroups = sbi->s_groups_count; ngroups 3351 fs/ext4/super.c if (first_not_zeroed == ngroups || sb_rdonly(sb) || ngroups 3467 fs/ext4/super.c ext4_group_t i, ngroups = ext4_get_groups_count(sb); ngroups 3477 fs/ext4/super.c for (i = 0; i < ngroups; i++) { ngroups 3528 fs/ext4/super.c ext4_group_t i, ngroups = ext4_get_groups_count(sb); ngroups 3549 fs/ext4/super.c for (i = 0; i < ngroups; i++) { ngroups 54 fs/nfsd/auth.c gi = groups_alloc(rqgi->ngroups); ngroups 58 fs/nfsd/auth.c for (i = 0; i < rqgi->ngroups; i++) { ngroups 724 fs/nfsd/filecache.c if (c1->group_info->ngroups != c2->group_info->ngroups) ngroups 726 fs/nfsd/filecache.c for (i = 0; i < c1->group_info->ngroups; i++) { ngroups 2142 fs/nfsd/nfs4state.c if (g1->ngroups != g2->ngroups) ngroups 2144 fs/nfsd/nfs4state.c for (i=0; i<g1->ngroups; i++) ngroups 505 fs/nilfs2/alloc.c unsigned long group, maxgroup, ngroups; ngroups 512 fs/nilfs2/alloc.c ngroups = nilfs_palloc_groups_count(inode); ngroups 513 fs/nilfs2/alloc.c maxgroup = ngroups - 1; ngroups 517 fs/nilfs2/alloc.c for (i = 0; i < ngroups; i += n) { ngroups 518 fs/nilfs2/alloc.c if (group >= ngroups) { ngroups 205 fs/proc/array.c for (g = 0; g < group_info->ngroups; g++) ngroups 27 include/linux/cred.h int ngroups; ngroups 176 include/linux/mtd/mtd.h int ngroups; ngroups 638 kernel/cred.c if (ga->ngroups < gb->ngroups) ngroups 640 kernel/cred.c if (ga->ngroups > gb->ngroups) ngroups 643 kernel/cred.c for (g = 0; g < ga->ngroups; g++) { ngroups 28 kernel/groups.c gi->ngroups = gidsetsize; ngroups 47 kernel/groups.c unsigned int count = group_info->ngroups; ngroups 64 kernel/groups.c unsigned int count = group_info->ngroups; ngroups 91 kernel/groups.c sort(group_info->gid, group_info->ngroups, sizeof(*group_info->gid), ngroups 105 kernel/groups.c right = group_info->ngroups; ngroups 162 kernel/groups.c i = cred->group_info->ngroups; ngroups 122 kernel/uid16.c for (i = 0; i < group_info->ngroups; i++) { ngroups 140 kernel/uid16.c for (i = 0; i < group_info->ngroups; i++) { ngroups 162 kernel/uid16.c i = cred->group_info->ngroups; ngroups 109 lib/hexdump.c int ngroups; ngroups 125 lib/hexdump.c ngroups = len / groupsize; ngroups 137 lib/hexdump.c for (j = 0; j < ngroups; j++) { ngroups 148 lib/hexdump.c for (j = 0; j < ngroups; j++) { ngroups 159 lib/hexdump.c for (j = 0; j < ngroups; j++) { ngroups 203 lib/hexdump.c return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; ngroups 1208 net/core/sock.c for (i = 0; i < src->ngroups; i++) ngroups 1376 net/core/sock.c n = sk->sk_peer_cred->group_info->ngroups; ngroups 269 net/ipv4/ping.c for (i = 0; i < group_info->ngroups; i++) { ngroups 104 net/netfilter/xt_owner.c for (i = 0; i < gi->ngroups; ++i) { ngroups 548 net/netlink/af_netlink.c if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) ngroups 755 net/netlink/af_netlink.c for (i = 0; i < nlk->ngroups; i++) ngroups 942 net/netlink/af_netlink.c if (nlk->ngroups >= groups) ngroups 950 net/netlink/af_netlink.c memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, ngroups 951 net/netlink/af_netlink.c NLGRPSZ(groups) - NLGRPSZ(nlk->ngroups)); ngroups 954 net/netlink/af_netlink.c nlk->ngroups = groups; ngroups 1001 net/netlink/af_netlink.c if (nlk->ngroups < BITS_PER_LONG) ngroups 1002 net/netlink/af_netlink.c groups &= (1UL << nlk->ngroups) - 1; ngroups 1412 net/netlink/af_netlink.c if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || ngroups 1558 net/netlink/af_netlink.c if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || ngroups 1652 net/netlink/af_netlink.c if (!val || val - 1 >= nlk->ngroups) ngroups 1774 net/netlink/af_netlink.c for (pos = 0; pos * 8 < nlk->ngroups; pos += sizeof(u32)) { ngroups 1786 net/netlink/af_netlink.c if (put_user(ALIGN(nlk->ngroups / 8, sizeof(u32)), optlen)) ngroups 31 net/netlink/af_netlink.h u32 ngroups; ngroups 19 net/netlink/diag.c return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), ngroups 84 net/sunrpc/auth_unix.c groups = acred->cred->group_info->ngroups; ngroups 89 net/sunrpc/auth_unix.c if (groups != cred->cr_cred->group_info->ngroups) ngroups 132 net/sunrpc/auth_unix.c for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) ngroups 571 net/sunrpc/svcauth_unix.c glen = ug->gi->ngroups;