| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | ialloc.c | 206 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local 207 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir() 211 for (group = 0; group < ngroups; group++) { in find_group_dir() 261 int ngroups = sbi->s_groups_count; in find_group_orlov() local 274 avefreei = freei / ngroups; in find_group_orlov() 276 avefreeb = free_blocks / ngroups; in find_group_orlov() 286 parent_group = (unsigned)group % ngroups; in find_group_orlov() 287 for (i = 0; i < ngroups; i++) { in find_group_orlov() 288 group = (parent_group + i) % ngroups; in find_group_orlov() 315 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/berlin/ |
| H A D | berlin.c | 39 return pctrl->desc->ngroups; in berlin_pinctrl_get_group_count() 59 int ret, ngroups; in berlin_pinctrl_dt_node_to_map() local 71 ngroups = of_property_count_strings(node, "groups"); in berlin_pinctrl_dt_node_to_map() 72 if (ngroups < 0) { in berlin_pinctrl_dt_node_to_map() 79 num_maps, ngroups); in berlin_pinctrl_dt_node_to_map() 128 *num_groups = pctrl->functions[function].ngroups; in berlin_pinmux_get_function_groups() 187 function->ngroups++; in berlin_pinctrl_add_function() 194 function->ngroups = 1; in berlin_pinctrl_add_function() 210 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() 223 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() [all …]
|
| H A D | berlin.h | 28 unsigned ngroups; member 34 unsigned ngroups; member
|
| /OK3568_Linux_fs/kernel/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 = ARRAY_SIZE(tdm_grps), [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 = ARRAY_SIZE(cam1_grps), [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 = ARRAY_SIZE(timer_2_3_grps),
|
| 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 = ARRAY_SIZE(smii_0_1_2_grps), [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), 660 spear3xx_machdata.ngroups = ARRAY_SIZE(spear300_pingroups); in spear300_pinctrl_probe()
|
| H A D | pinctrl-spear320.c | 511 .ngroups = ARRAY_SIZE(clcd_grps), 594 .ngroups = ARRAY_SIZE(emi_grps), 687 .ngroups = ARRAY_SIZE(fsmc_grps), 733 .ngroups = ARRAY_SIZE(spp_grps), 890 .ngroups = ARRAY_SIZE(sdhci_grps), 943 .ngroups = ARRAY_SIZE(i2s_grps), 989 .ngroups = ARRAY_SIZE(uart1_grps), 1155 .ngroups = ARRAY_SIZE(uart1_modem_grps), 1201 .ngroups = ARRAY_SIZE(uart2_grps), 1410 .ngroups = ARRAY_SIZE(uart3_grps), [all …]
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | ialloc.c | 434 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local 440 ngroups = real_ngroups; in find_group_orlov() 442 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov() 448 avefreei = freei / ngroups; in find_group_orlov() 451 do_div(avefreec, ngroups); in find_group_orlov() 470 parent_group = (unsigned)grp % ngroups; in find_group_orlov() 471 for (i = 0; i < ngroups; i++) { in find_group_orlov() 472 g = (parent_group + i) % ngroups; in find_group_orlov() 514 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov() 530 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-armada-37xx.c | 81 int ngroups; member 87 unsigned int ngroups; member 96 unsigned int ngroups; member 188 .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), 195 .ngroups = ARRAY_SIZE(armada_37xx_sb_groups), 224 return info->ngroups; in armada_37xx_pmx_get_groups_count() 307 while (funcs->ngroups) { in armada_37xx_add_function() 310 funcs->ngroups++; in armada_37xx_add_function() 320 funcs->ngroups = 1; in armada_37xx_add_function() 339 for (n = 0; n < info->ngroups; n++) { in armada_37xx_fill_group() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | hexdump.c | 56 int ngroups; in hex_dump_to_buffer() local 72 ngroups = len / groupsize; in hex_dump_to_buffer() 84 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 95 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 106 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 150 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | hexdump.c | 139 int ngroups; in hex_dump_to_buffer() local 155 ngroups = len / groupsize; in hex_dump_to_buffer() 167 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 178 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 189 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 233 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | exp_rcv.c | 82 u32 ngroups; in hfi1_alloc_ctxt_rcv_groups() local 84 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups() 86 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups() 91 for (i = 0; i < ngroups; i++) { in hfi1_alloc_ctxt_rcv_groups()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/pxa/ |
| H A D | pinctrl-pxa2xx.c | 28 return pctl->ngroups; in pxa2xx_pctrl_get_groups_count() 133 *num_groups = pf->ngroups; in pxa2xx_pmx_get_func_groups() 298 int i, j, ngroups; in pxa2xx_build_groups() local 309 ngroups = 0; in pxa2xx_build_groups() 315 gtmp[ngroups++] = (char *) in pxa2xx_build_groups() 318 func->ngroups = ngroups; in pxa2xx_build_groups() 320 devm_kmalloc_array(pctl->dev, ngroups, in pxa2xx_build_groups() 325 memcpy(func->groups, gtmp, ngroups * sizeof(*gtmp)); in pxa2xx_build_groups() 341 pctl->ngroups = npins; in pxa2xx_build_state() 352 pctl->groups = devm_kmalloc_array(pctl->dev, pctl->ngroups, in pxa2xx_build_state()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | groups.c | 28 gi->ngroups = gidsetsize; in groups_alloc() 47 unsigned int count = group_info->ngroups; in groups_to_user() 64 unsigned int count = group_info->ngroups; in groups_from_user() 91 sort(group_info->gid, group_info->ngroups, sizeof(*group_info->gid), in groups_sort() 105 right = group_info->ngroups; in groups_search() 162 i = cred->group_info->ngroups; in SYSCALL_DEFINE2()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-axp209.c | 58 unsigned int ngroups; member 225 *num_groups = pctl->funcs[selector].ngroups; in axp20x_pmx_func_groups() 325 unsigned int ngroups = hweight8(mask); in axp20x_funcs_groups_from_mask() local 328 func->ngroups = ngroups; in axp20x_funcs_groups_from_mask() 329 if (func->ngroups > 0) { in axp20x_funcs_groups_from_mask() 331 ngroups, sizeof(const char *), in axp20x_funcs_groups_from_mask() 364 pctl->funcs[i].ngroups = npins; in axp20x_build_funcs_groups()
|
| H A D | pinctrl-rk806.c | 30 unsigned int ngroups; member 116 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 122 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 128 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 134 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 140 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 146 .ngroups = ARRAY_SIZE(rk806_gpio_groups), 344 *num_groups = pci->functions[function].ngroups; in rk806_pinctrl_get_func_groups()
|
| H A D | pinctrl-rk805.c | 35 unsigned int ngroups; member 104 .ngroups = ARRAY_SIZE(rk805_gpio_groups), 157 .ngroups = ARRAY_SIZE(rk816_gpio_groups), 163 .ngroups = ARRAY_SIZE(rk816_gpio_groups), 215 .ngroups = ARRAY_SIZE(rk817_gpio_groups), 221 .ngroups = ARRAY_SIZE(rk817_gpio_groups), 227 .ngroups = ARRAY_SIZE(rk817_gpio_groups), 233 .ngroups = ARRAY_SIZE(rk817_gpio_groups), 464 *num_groups = pci->functions[function].ngroups; in rk805_pinctrl_get_func_groups()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/ |
| H A D | fix_build_errors.patch | 15 -gid_t groups[32]; int ngroups; const char* user = "root"; 16 -getgrouplist(user, 1, groups, &ngroups); 23 @@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups);
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-armada-37xx.c | 75 int ngroups; member 81 unsigned int ngroups; member 107 unsigned int ngroups; member 213 .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), 220 .ngroups = ARRAY_SIZE(armada_37xx_sb_groups), 236 while (*grp < info->ngroups) { in armada_37xx_find_next_grp_by_pin() 271 return info->ngroups; in armada_37xx_get_groups_count() 289 if (selector >= info->ngroups) in armada_37xx_get_group_pins() 334 *num_groups = info->funcs[selector].ngroups; in armada_37xx_pmx_get_groups() 846 while (funcs->ngroups) { in armada_37xx_add_function() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/sprd/ |
| H A D | pinctrl-sprd.c | 136 unsigned int ngroups; member 198 for (i = 0; i < info->ngroups; i++) { in sprd_pinctrl_find_group_by_name() 213 return info->ngroups; in sprd_pctrl_group_count() 233 if (selector >= info->ngroups) in sprd_pctrl_group_pins() 379 *num_groups = info->ngroups; in sprd_pmx_get_function_groups() 395 if (group_selector >= info->ngroups) in sprd_pmx_set_mux() 749 if (selector >= info->ngroups) in sprd_pinconf_group_get() 768 if (selector >= info->ngroups) in sprd_pinconf_group_set() 828 if (selector >= info->ngroups) in sprd_pinconf_group_dbg_show() 943 info->ngroups = sprd_pinctrl_get_groups(np); in sprd_pinctrl_parse_dt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/freescale/ |
| H A D | pinctrl-imx1-core.c | 161 for (i = 0; i < info->ngroups; i++) { in imx1_pinctrl_find_group_by_name() 176 return info->ngroups; in imx1_get_groups_count() 195 if (selector >= info->ngroups) in imx1_get_group_pins() 431 if (group >= info->ngroups) in imx1_pinconf_group_dbg_show() 551 u32 ngroups = 0; in imx1_pinctrl_parse_dt() local 559 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt() 571 info->ngroups = ngroups; in imx1_pinctrl_parse_dt() 573 ngroups, sizeof(struct imx1_pin_group), GFP_KERNEL); in imx1_pinctrl_parse_dt()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/intel/ |
| H A D | pinctrl-intel.h | 51 size_t ngroups; member 170 .ngroups = ARRAY_SIZE((g)), \ 193 size_t ngroups; member
|
| H A D | pinctrl-broxton.c | 183 .ngroups = ARRAY_SIZE(bxt_north_groups), 300 .ngroups = ARRAY_SIZE(bxt_northwest_groups), 407 .ngroups = ARRAY_SIZE(bxt_west_groups), 483 .ngroups = ARRAY_SIZE(bxt_southwest_groups), 661 .ngroups = ARRAY_SIZE(apl_north_groups), 781 .ngroups = ARRAY_SIZE(apl_northwest_groups), 891 .ngroups = ARRAY_SIZE(apl_west_groups), 983 .ngroups = ARRAY_SIZE(apl_southwest_groups),
|