/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.c | 40 u32 ngroups; local 42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; 44 kcalloc_node(ngroups, sizeof(*rcd->groups), 49 for (i = 0; i < ngroups; i++) {
|
/linux-master/lib/ |
H A D | group_cpus.c | 104 unsigned ngroups; member in union:node_groups::__anon176 230 unsigned ngroups, ncpus; local 238 ngroups = max_t(unsigned, 1, 240 WARN_ON_ONCE(ngroups > ncpus); 242 node_groups[n].ngroups = ngroups; 245 numgrps -= ngroups; 293 if (nv->ngroups == UINT_MAX) 302 WARN_ON_ONCE(nv->ngroups > ncpus); 305 extra_grps = ncpus - nv->ngroups * (ncpu [all...] |
H A D | hexdump.c | 131 int ngroups; local 147 ngroups = len / groupsize; 159 for (j = 0; j < ngroups; j++) { 170 for (j = 0; j < ngroups; j++) { 181 for (j = 0; j < ngroups; j++) { 225 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1;
|
/linux-master/drivers/pinctrl/berlin/ |
H A D | berlin.h | 28 unsigned ngroups; member in struct:berlin_pinctrl_desc 34 unsigned ngroups; member in struct:berlin_pinctrl_function
|
H A D | berlin.c | 39 return pctrl->desc->ngroups; 59 int ret, ngroups; local 71 ngroups = of_property_count_strings(node, "groups"); 72 if (ngroups < 0) { 79 num_maps, ngroups); 128 *num_groups = pctrl->functions[function].ngroups; 187 function->ngroups++; 194 function->ngroups = 1; 210 for (i = 0; i < pctrl->desc->ngroups; i++) { 223 for (i = 0; i < pctrl->desc->ngroups; [all...] |
/linux-master/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1.h | 59 unsigned int ngroups; member in struct:imx1_pinctrl_soc_info
|
H A D | pinctrl-mxs.h | 54 unsigned ngroups; member in struct:mxs_function 78 unsigned ngroups; member in struct:mxs_pinctrl_soc_data
|
/linux-master/drivers/pinctrl/qcom/ |
H A D | pinctrl-lpass-lpi.h | 43 .ngroups = ARRAY_SIZE(fname##_groups), \ 77 unsigned int ngroups; member in struct:lpi_function 84 int ngroups; member in struct:lpi_pinctrl_variant_data
|
/linux-master/drivers/pinctrl/spear/ |
H A D | pinctrl-spear310.c | 52 .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps), 84 .ngroups = ARRAY_SIZE(uart1_grps), 116 .ngroups = ARRAY_SIZE(uart2_grps), 148 .ngroups = ARRAY_SIZE(uart3_grps), 180 .ngroups = ARRAY_SIZE(uart4_grps), 212 .ngroups = ARRAY_SIZE(uart5_grps), 244 .ngroups = ARRAY_SIZE(fsmc_grps), 276 .ngroups = ARRAY_SIZE(rs485_0_grps), 308 .ngroups = ARRAY_SIZE(rs485_1_grps), 340 .ngroups [all...] |
H A D | pinctrl-spear3xx.c | 51 .ngroups = ARRAY_SIZE(firda_grps), 84 .ngroups = ARRAY_SIZE(i2c_grps), 117 .ngroups = ARRAY_SIZE(ssp_cs_grps), 150 .ngroups = ARRAY_SIZE(ssp_grps), 184 .ngroups = ARRAY_SIZE(mii_grps), 349 .ngroups = ARRAY_SIZE(gpio0_grps), 382 .ngroups = ARRAY_SIZE(uart0_ext_grps), 415 .ngroups = ARRAY_SIZE(uart0_grps), 448 .ngroups = ARRAY_SIZE(timer_0_1_grps), 481 .ngroups [all...] |
H A D | pinctrl-spear1340.c | 271 .ngroups = ARRAY_SIZE(pads_as_gpio_grps), 365 .ngroups = ARRAY_SIZE(fsmc_grps), 432 .ngroups = ARRAY_SIZE(keyboard_grps), 464 .ngroups = ARRAY_SIZE(spdif_in_grps), 500 .ngroups = ARRAY_SIZE(spdif_out_grps), 540 .ngroups = ARRAY_SIZE(gpt_0_1_grps), 664 .ngroups = ARRAY_SIZE(pwm_grps), 825 .ngroups = ARRAY_SIZE(vip_grps), 862 .ngroups = ARRAY_SIZE(cam0_grps), 903 .ngroups [all...] |
H A D | pinctrl-spear300.c | 218 .ngroups = ARRAY_SIZE(fsmc_grps), 279 .ngroups = ARRAY_SIZE(clcd_grps), 316 .ngroups = ARRAY_SIZE(tdm_grps), 352 .ngroups = ARRAY_SIZE(i2c_grps), 411 .ngroups = ARRAY_SIZE(cam_grps), 445 .ngroups = ARRAY_SIZE(dac_grps), 481 .ngroups = ARRAY_SIZE(i2s_grps), 551 .ngroups = ARRAY_SIZE(sdhci_grps), 612 .ngroups = ARRAY_SIZE(gpio1_grps), 658 spear3xx_machdata.ngroups [all...] |
H A D | pinctrl-spear1310.c | 269 .ngroups = ARRAY_SIZE(i2c0_grps), 364 .ngroups = ARRAY_SIZE(ssp0_grps), 400 .ngroups = ARRAY_SIZE(i2s0_grps), 436 .ngroups = ARRAY_SIZE(i2s1_grps), 503 .ngroups = ARRAY_SIZE(clcd_grps), 547 .ngroups = ARRAY_SIZE(arm_gpio_grps), 619 .ngroups = ARRAY_SIZE(smi_grps), 657 .ngroups = ARRAY_SIZE(gmii_grps), 711 .ngroups = ARRAY_SIZE(rgmii_grps), 749 .ngroups [all...] |
/linux-master/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32.h | 48 unsigned int ngroups; member in struct:s32_pinctrl_soc_info
|
/linux-master/fs/ext2/ |
H A D | ialloc.c | 201 int ngroups = EXT2_SB(sb)->s_groups_count; local 202 int avefreei = ext2_count_free_inodes(sb) / ngroups; 206 for (group = 0; group < ngroups; group++) { 256 int ngroups = sbi->s_groups_count; local 269 avefreei = freei / ngroups; 271 avefreeb = free_blocks / ngroups; 279 parent_group = get_random_u32_below(ngroups); 280 for (i = 0; i < ngroups; i++) { 281 group = (parent_group + i) % ngroups; 306 max_dirs = ndirs / ngroups 362 int ngroups = EXT2_SB(sb)->s_groups_count; local [all...] |
/linux-master/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.h | 63 unsigned ngroups; member in struct:pxa_pinctrl_function 76 unsigned ngroups; member in struct:pxa_pinctrl
|
H A D | pinctrl-pxa2xx.c | 28 return pctl->ngroups; 133 *num_groups = pf->ngroups; 298 int i, j, ngroups; local 309 ngroups = 0; 315 gtmp[ngroups++] = (char *) 318 func->ngroups = ngroups; 320 devm_kmalloc_array(pctl->dev, ngroups, 325 memcpy(func->groups, gtmp, ngroups * sizeof(*gtmp)); 341 pctl->ngroups [all...] |
/linux-master/fs/ext4/ |
H A D | ialloc.c | 436 ext4_group_t i, grp, g, ngroups; local 442 ngroups = real_ngroups; 444 ngroups = (real_ngroups + flex_size - 1) >> 450 avefreei = freei / ngroups; 453 do_div(avefreec, ngroups); 466 parent_group = hinfo.hash % ngroups; 468 parent_group = get_random_u32_below(ngroups); 469 for (i = 0; i < ngroups; i++) { 470 g = (parent_group + i) % ngroups; 512 max_dirs = ndirs / ngroups 573 ext4_group_t i, last, ngroups = ext4_get_groups_count(sb); local 933 ext4_group_t ngroups, group = 0; local 1445 ext4_group_t i, ngroups = ext4_get_groups_count(sb); local 1495 ext4_group_t i, ngroups = ext4_get_groups_count(sb); local [all...] |
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.h | 69 * @ngroups: Number of groups in the array 85 size_t ngroups; member in struct:tng_pinctrl
|
/linux-master/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.h | 37 * @ngroups: The number of entries in @groups. 42 unsigned ngroups; member in struct:abx500_function 153 * @ngroups: The number of entries in @groups. 174 unsigned ngroups; member in struct:abx500_pinctrl_soc_data
|
/linux-master/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.h | 78 * @ngroups: The number of entries in @groups. 83 unsigned ngroups; member in struct:tegra_function 188 * @ngroups: The numbmer of entries in @groups. 198 unsigned ngroups; member in struct:tegra_pinctrl_soc_data
|
/linux-master/kernel/ |
H A D | groups.c | 23 gi->ngroups = gidsetsize; 42 unsigned int count = group_info->ngroups; 59 unsigned int count = group_info->ngroups; 86 sort(group_info->gid, group_info->ngroups, sizeof(*group_info->gid), 100 right = group_info->ngroups; 170 i = cred->group_info->ngroups;
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-zynqmp.c | 50 * @ngroups: Number of entries in @groups 59 unsigned int ngroups; member in struct:zynqmp_pmux_function 66 * @ngroups: Number of @groups 77 unsigned int ngroups; member in struct:zynqmp_pinctrl 100 return pctrl->ngroups; 180 *num_groups = pctrl->funcs[selector].ngroups; 518 static int zynqmp_pinctrl_get_func_num_groups(u32 fid, unsigned int *ngroups) argument 531 *ngroups = payload[1]; 565 fgroups = devm_kcalloc(dev, func->ngroups, sizeof(*fgroups), GFP_KERNEL); 569 for (index = 0; index < func->ngroups; inde 713 zynqmp_pinctrl_prepare_group_pins(struct device *dev, struct zynqmp_pctrl_group *groups, unsigned int ngroups) argument [all...] |
H A D | pinctrl-axp209.c | 64 unsigned int ngroups; member in struct:axp20x_pinctrl_function 270 *num_groups = pctl->funcs[selector].ngroups; 370 unsigned int ngroups = hweight8(mask); local 373 func->ngroups = ngroups; 374 if (func->ngroups > 0) { 376 ngroups, sizeof(const char *), 409 pctl->funcs[i].ngroups = npins;
|
/linux-master/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.h | 72 .ngroups = ARRAY_SIZE(fname##_groups), \ 244 * @ngroups: number of entries in @groups. 249 unsigned int ngroups; member in struct:owl_pinmux_func 284 * @ngroups: number of entries in @groups. 296 unsigned int ngroups; member in struct:owl_pinctrl_soc_data
|