/linux-4.4.14/fs/ext2/ |
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() 263 int ngroups = sbi->s_groups_count; in find_group_orlov() local 276 avefreei = freei / ngroups; in find_group_orlov() 278 avefreeb = free_blocks / ngroups; in find_group_orlov() 288 parent_group = (unsigned)group % ngroups; in find_group_orlov() 289 for (i = 0; i < ngroups; i++) { in find_group_orlov() 290 group = (parent_group + i) % ngroups; in find_group_orlov() 317 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() [all …]
|
D | balloc.c | 1230 unsigned long ngroups; in ext2_new_blocks() local 1306 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks() 1313 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks() 1315 if (group_no >= ngroups) in ext2_new_blocks()
|
/linux-4.4.14/drivers/pinctrl/berlin/ |
D | berlin.c | 42 return pctrl->desc->ngroups; in berlin_pinctrl_get_group_count() 62 int ret, ngroups; in berlin_pinctrl_dt_node_to_map() local 75 ngroups = of_property_count_strings(node, "groups"); in berlin_pinctrl_dt_node_to_map() 76 if (ngroups < 0) { in berlin_pinctrl_dt_node_to_map() 84 num_maps, ngroups); in berlin_pinctrl_dt_node_to_map() 133 *num_groups = pctrl->functions[function].ngroups; in berlin_pinmux_get_function_groups() 192 function->ngroups++; in berlin_pinctrl_add_function() 199 function->ngroups = 1; in berlin_pinctrl_add_function() 215 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() 229 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() [all …]
|
D | berlin.h | 31 unsigned ngroups; member 37 unsigned ngroups; member
|
D | berlin-bg2cd.c | 156 .ngroups = ARRAY_SIZE(berlin2cd_soc_pinctrl_groups), 161 .ngroups = ARRAY_SIZE(berlin2cd_sysmgr_pinctrl_groups),
|
D | berlin-bg2.c | 211 .ngroups = ARRAY_SIZE(berlin2_soc_pinctrl_groups), 216 .ngroups = ARRAY_SIZE(berlin2_sysmgr_pinctrl_groups),
|
D | berlin-bg4ct.c | 432 .ngroups = ARRAY_SIZE(berlin4ct_soc_pinctrl_groups), 437 .ngroups = ARRAY_SIZE(berlin4ct_avio_pinctrl_groups), 442 .ngroups = ARRAY_SIZE(berlin4ct_sysmgr_pinctrl_groups),
|
D | berlin-bg2q.c | 373 .ngroups = ARRAY_SIZE(berlin2q_soc_pinctrl_groups), 378 .ngroups = ARRAY_SIZE(berlin2q_sysmgr_pinctrl_groups),
|
/linux-4.4.14/drivers/pinctrl/spear/ |
D | pinctrl-spear310.c | 53 .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps), 85 .ngroups = ARRAY_SIZE(uart1_grps), 117 .ngroups = ARRAY_SIZE(uart2_grps), 149 .ngroups = ARRAY_SIZE(uart3_grps), 181 .ngroups = ARRAY_SIZE(uart4_grps), 213 .ngroups = ARRAY_SIZE(uart5_grps), 245 .ngroups = ARRAY_SIZE(fsmc_grps), 277 .ngroups = ARRAY_SIZE(rs485_0_grps), 309 .ngroups = ARRAY_SIZE(rs485_1_grps), 341 .ngroups = ARRAY_SIZE(tdm_grps), [all …]
|
D | pinctrl-spear1340.c | 272 .ngroups = ARRAY_SIZE(pads_as_gpio_grps), 366 .ngroups = ARRAY_SIZE(fsmc_grps), 433 .ngroups = ARRAY_SIZE(keyboard_grps), 465 .ngroups = ARRAY_SIZE(spdif_in_grps), 501 .ngroups = ARRAY_SIZE(spdif_out_grps), 541 .ngroups = ARRAY_SIZE(gpt_0_1_grps), 665 .ngroups = ARRAY_SIZE(pwm_grps), 826 .ngroups = ARRAY_SIZE(vip_grps), 863 .ngroups = ARRAY_SIZE(cam0_grps), 904 .ngroups = ARRAY_SIZE(cam1_grps), [all …]
|
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),
|
D | pinctrl-spear300.c | 219 .ngroups = ARRAY_SIZE(fsmc_grps), 280 .ngroups = ARRAY_SIZE(clcd_grps), 317 .ngroups = ARRAY_SIZE(tdm_grps), 353 .ngroups = ARRAY_SIZE(i2c_grps), 412 .ngroups = ARRAY_SIZE(cam_grps), 446 .ngroups = ARRAY_SIZE(dac_grps), 482 .ngroups = ARRAY_SIZE(i2s_grps), 552 .ngroups = ARRAY_SIZE(sdhci_grps), 613 .ngroups = ARRAY_SIZE(gpio1_grps), 661 spear3xx_machdata.ngroups = ARRAY_SIZE(spear300_pingroups); in spear300_pinctrl_probe()
|
D | pinctrl-spear1310.c | 270 .ngroups = ARRAY_SIZE(i2c0_grps), 365 .ngroups = ARRAY_SIZE(ssp0_grps), 401 .ngroups = ARRAY_SIZE(i2s0_grps), 437 .ngroups = ARRAY_SIZE(i2s1_grps), 504 .ngroups = ARRAY_SIZE(clcd_grps), 548 .ngroups = ARRAY_SIZE(arm_gpio_grps), 620 .ngroups = ARRAY_SIZE(smi_grps), 658 .ngroups = ARRAY_SIZE(gmii_grps), 712 .ngroups = ARRAY_SIZE(rgmii_grps), 750 .ngroups = ARRAY_SIZE(smii_0_1_2_grps), [all …]
|
D | pinctrl-spear.c | 101 for (group = 0; group < machdata->ngroups; group++) { in pmx_init_addr() 118 return pmx->machdata->ngroups; in spear_pinctrl_get_groups_cnt() 227 unsigned * const ngroups) in spear_pinctrl_get_func_groups() argument 232 *ngroups = pmx->machdata->functions[function]->ngroups; in spear_pinctrl_get_func_groups()
|
D | pinctrl-spear320.c | 512 .ngroups = ARRAY_SIZE(clcd_grps), 595 .ngroups = ARRAY_SIZE(emi_grps), 688 .ngroups = ARRAY_SIZE(fsmc_grps), 734 .ngroups = ARRAY_SIZE(spp_grps), 891 .ngroups = ARRAY_SIZE(sdhci_grps), 944 .ngroups = ARRAY_SIZE(i2s_grps), 990 .ngroups = ARRAY_SIZE(uart1_grps), 1156 .ngroups = ARRAY_SIZE(uart1_modem_grps), 1202 .ngroups = ARRAY_SIZE(uart2_grps), 1411 .ngroups = ARRAY_SIZE(uart3_grps), [all …]
|
D | pinctrl-spear.h | 130 unsigned ngroups; member 158 unsigned ngroups; member
|
/linux-4.4.14/fs/ext4/ |
D | ialloc.c | 456 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local 462 ngroups = real_ngroups; in find_group_orlov() 464 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov() 470 avefreei = freei / ngroups; in find_group_orlov() 474 do_div(avefreec, ngroups); in find_group_orlov() 490 parent_group = (unsigned)grp % ngroups; in find_group_orlov() 491 for (i = 0; i < ngroups; i++) { in find_group_orlov() 492 g = (parent_group + i) % ngroups; in find_group_orlov() 534 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 550 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
D | balloc.c | 282 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_get_group_desc() local 286 if (block_group >= ngroups) { in ext4_get_group_desc() 288 " groups_count = %u", block_group, ngroups); in ext4_get_group_desc() 667 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_count_free_clusters() local 680 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters() 710 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters()
|
D | block_validity.c | 141 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_setup_system_zone() local 156 for (i=0; i < ngroups; i++) { in ext4_setup_system_zone()
|
D | mballoc.c | 820 ext4_group_t ngroups; in ext4_mb_init_cache() local 840 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache() 863 if (group >= ngroups) in ext4_mb_init_cache() 900 if (group >= ngroups) in ext4_mb_init_cache() 2097 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local 2106 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator() 2109 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator() 2165 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator() 2172 if (group >= ngroups) in ext4_mb_regular_allocator() 2366 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument [all …]
|
D | super.c | 2586 ext4_group_t group, ngroups; in ext4_run_li_request() local 2592 ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request() 2595 for (group = elr->lr_next_group; group < ngroups; group++) { in ext4_run_li_request() 2606 if (group >= ngroups) in ext4_run_li_request() 2786 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable() local 2789 for (group = 0; group < ngroups; group++) { in ext4_has_uninit_itable() 2848 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_register_li_request() local 2861 if (first_not_zeroed == ngroups || in ext4_register_li_request() 2978 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in count_overhead() local 2988 for (i = 0; i < ngroups; i++) { in count_overhead() [all …]
|
D | ext4.h | 2462 ext4_group_t ngroups); 2824 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count() local 2827 return ngroups; in ext4_get_groups_count()
|
D | inode.c | 4977 ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); in ext4_meta_trans_blocks() local 4996 if (groups > ngroups) in ext4_meta_trans_blocks() 4997 groups = ngroups; in ext4_meta_trans_blocks()
|
/linux-4.4.14/lib/ |
D | hexdump.c | 112 int ngroups; in hex_dump_to_buffer() local 128 ngroups = len / groupsize; in hex_dump_to_buffer() 140 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 151 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 162 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 206 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
|
/linux-4.4.14/drivers/pinctrl/intel/ |
D | pinctrl-intel.h | 43 size_t ngroups; member 92 .ngroups = ARRAY_SIZE((g)), \ 115 size_t ngroups; member
|
D | pinctrl-broxton.c | 184 .ngroups = ARRAY_SIZE(bxt_north_groups), 301 .ngroups = ARRAY_SIZE(bxt_northwest_groups), 408 .ngroups = ARRAY_SIZE(bxt_west_groups), 484 .ngroups = ARRAY_SIZE(bxt_southwest_groups), 662 .ngroups = ARRAY_SIZE(apl_north_groups), 782 .ngroups = ARRAY_SIZE(apl_northwest_groups), 892 .ngroups = ARRAY_SIZE(apl_west_groups), 984 .ngroups = ARRAY_SIZE(apl_southwest_groups),
|
D | pinctrl-cherryview.c | 111 size_t ngroups; member 143 size_t ngroups; member 217 .ngroups = ARRAY_SIZE((g)), \ 397 .ngroups = ARRAY_SIZE(southwest_groups), 647 .ngroups = ARRAY_SIZE(southeast_groups), 694 return pctrl->community->ngroups; in chv_get_groups_count() 773 unsigned * const ngroups) in chv_get_function_groups() argument 778 *ngroups = pctrl->community->functions[function].ngroups; in chv_get_function_groups()
|
D | pinctrl-sunrisepoint.c | 281 .ngroups = ARRAY_SIZE(sptlp_groups), 543 .ngroups = ARRAY_SIZE(spth_groups),
|
D | pinctrl-intel.c | 224 return pctrl->soc->ngroups; in intel_get_groups_count() 309 unsigned * const ngroups) in intel_get_function_groups() argument 314 *ngroups = pctrl->soc->functions[function].ngroups; in intel_get_function_groups()
|
/linux-4.4.14/kernel/ |
D | groups.c | 24 group_info->ngroups = gidsetsize; in groups_alloc() 69 unsigned int count = group_info->ngroups; in groups_to_user() 86 unsigned int count = group_info->ngroups; in groups_from_user() 107 int gidsetsize = group_info->ngroups; in groups_sort() 141 right = group_info->ngroups; in groups_search() 199 i = cred->group_info->ngroups; in SYSCALL_DEFINE2()
|
D | uid16.c | 119 for (i = 0; i < group_info->ngroups; i++) { in groups16_to_user() 137 for (i = 0; i < group_info->ngroups; i++) { in groups16_from_user() 159 i = cred->group_info->ngroups; in SYSCALL_DEFINE2()
|
/linux-4.4.14/drivers/pinctrl/qcom/ |
D | pinctrl-msm.h | 27 unsigned ngroups; member 116 unsigned ngroups; member
|
D | pinctrl-qdf2xxx.c | 88 qdf2xxx_pinctrl.ngroups = num_gpios; in qdf2xxx_pinctrl_probe()
|
D | pinctrl-ipq8064.c | 177 .ngroups = ARRAY_SIZE(fname##_groups), \ 631 .ngroups = ARRAY_SIZE(ipq8064_groups),
|
D | pinctrl-apq8064.c | 224 .ngroups = ARRAY_SIZE(fname##_groups), \ 598 .ngroups = ARRAY_SIZE(apq8064_groups),
|
D | pinctrl-msm.c | 81 return pctrl->soc->ngroups; in msm_get_groups_count() 135 *num_groups = pctrl->soc->functions[function].ngroups; in msm_get_function_groups()
|
D | pinctrl-msm8660.c | 390 .ngroups = ARRAY_SIZE(fname##_groups), \ 946 .ngroups = ARRAY_SIZE(msm8660_groups),
|
D | pinctrl-msm8x74.c | 336 .ngroups = ARRAY_SIZE(fname##_groups), \ 1029 .ngroups = ARRAY_SIZE(msm8x74_groups),
|
D | pinctrl-msm8916.c | 301 .ngroups = ARRAY_SIZE(fname##_groups), \ 968 .ngroups = ARRAY_SIZE(msm8916_groups),
|
D | pinctrl-apq8084.c | 340 .ngroups = ARRAY_SIZE(fname##_groups), \ 1207 .ngroups = ARRAY_SIZE(apq8084_groups),
|
D | pinctrl-msm8960.c | 349 .ngroups = ARRAY_SIZE(fname##_groups), \ 1245 .ngroups = ARRAY_SIZE(msm8960_groups),
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 167 for (i = 0; i < info->ngroups; i++) { in imx1_pinctrl_find_group_by_name() 182 return info->ngroups; in imx1_get_groups_count() 201 if (selector >= info->ngroups) in imx1_get_group_pins() 437 if (group > info->ngroups) in imx1_pinconf_group_dbg_show() 557 u32 ngroups = 0; in imx1_pinctrl_parse_dt() local 565 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt() 577 info->ngroups = ngroups; in imx1_pinctrl_parse_dt() 579 ngroups * sizeof(struct imx1_pin_group), GFP_KERNEL); in imx1_pinctrl_parse_dt()
|
D | pinctrl-mxs.h | 60 unsigned ngroups; member 84 unsigned ngroups; member
|
D | pinctrl-imx.c | 54 for (i = 0; i < info->ngroups; i++) { in imx_pinctrl_find_group_by_name() 69 return info->ngroups; in imx_get_groups_count() 88 if (selector >= info->ngroups) in imx_get_group_pins() 324 for (group = 0; group < info->ngroups; group++) { in imx_pmx_gpio_request_enable() 466 if (group > info->ngroups) in imx_pinconf_group_dbg_show() 671 info->ngroups = of_get_child_count(np); in imx_pinctrl_probe_dt() 673 info->ngroups = 0; in imx_pinctrl_probe_dt() 675 info->ngroups += of_get_child_count(child); in imx_pinctrl_probe_dt() 677 info->groups = devm_kzalloc(&pdev->dev, info->ngroups * sizeof(struct imx_pin_group), in imx_pinctrl_probe_dt()
|
D | pinctrl-mxs.c | 40 return d->soc->ngroups; in mxs_get_groups_count() 193 *num_groups = d->soc->functions[group].ngroups; in mxs_pinctrl_get_func_groups() 419 soc->ngroups++; in mxs_pinctrl_probe_dt() 434 soc->groups = devm_kzalloc(&pdev->dev, soc->ngroups * in mxs_pinctrl_probe_dt() 476 f->ngroups++; in mxs_pinctrl_probe_dt() 495 f->groups = devm_kzalloc(&pdev->dev, f->ngroups * in mxs_pinctrl_probe_dt()
|
D | pinctrl-imx1.h | 63 unsigned int ngroups; member
|
D | pinctrl-imx.h | 80 unsigned int ngroups; member
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-tegra.h | 76 unsigned ngroups; member 184 unsigned ngroups; member
|
D | pinctrl-amd.h | 85 unsigned ngroups; member 93 u32 ngroups; member
|
D | pinctrl-tegra.c | 62 return pmx->soc->ngroups; in tegra_pinctrl_get_groups_count() 261 *num_groups = pmx->soc->functions[function].ngroups; in tegra_pinctrl_get_func_groups() 665 soc_data->ngroups * 4 * sizeof(*pmx->group_pins), in tegra_pinctrl_probe() 676 for (gn = 0; gn < soc_data->ngroups; gn++) { in tegra_pinctrl_probe() 689 soc_data->ngroups * 4); in tegra_pinctrl_probe() 691 func->ngroups++; in tegra_pinctrl_probe()
|
D | pinctrl-zynq.c | 57 unsigned int ngroups; member 81 unsigned int ngroups; member 767 .ngroups = ARRAY_SIZE(fname##_groups), \ 775 .ngroups = ARRAY_SIZE(fname##_groups), \ 836 return pctrl->ngroups; in zynq_pctrl_get_groups_count() 892 *num_groups = pctrl->funcs[selector].ngroups; in zynq_pmux_get_function_groups() 1194 pctrl->ngroups = ARRAY_SIZE(zynq_pctrl_groups); in zynq_pinctrl_probe()
|
D | pinctrl-st.c | 262 unsigned ngroups; member 334 int ngroups; member 825 return info->ngroups; in st_pctl_get_groups_count() 841 if (selector >= info->ngroups) in st_pctl_get_group_pins() 855 for (i = 0; i < info->ngroups; i++) { in st_pctl_find_group_by_name() 947 *ngrps = info->functions[selector].ngroups; in st_pmx_get_groups() 1096 info->ngroups += of_get_child_count(child); in st_pctl_dt_child_count() 1300 func->ngroups = of_get_child_count(np); in st_pctl_parse_functions() 1301 if (func->ngroups == 0) { in st_pctl_parse_functions() 1306 func->ngroups * sizeof(char *), GFP_KERNEL); in st_pctl_parse_functions() [all …]
|
D | pinctrl-at91.c | 89 unsigned ngroups; member 189 int ngroups; member 201 for (i = 0; i < info->ngroups; i++) { in at91_pinctrl_find_group_by_name() 217 return info->ngroups; in at91_get_groups_count() 234 if (selector >= info->ngroups) in at91_get_group_pins() 791 *num_groups = info->functions[selector].ngroups; in at91_pmx_get_groups() 1009 info->ngroups += of_get_child_count(child); in at91_pinctrl_child_count() 1111 func->ngroups = of_get_child_count(np); in at91_pinctrl_parse_functions() 1112 if (func->ngroups == 0) { in at91_pinctrl_parse_functions() 1117 func->ngroups * sizeof(char *), GFP_KERNEL); in at91_pinctrl_parse_functions() [all …]
|
D | pinctrl-adi2.h | 68 int ngroups; member
|
D | pinctrl-rockchip.c | 203 u8 ngroups; member 216 unsigned int ngroups; member 238 for (i = 0; i < info->ngroups; i++) { in pinctrl_name_to_group() 284 return info->ngroups; in rockchip_get_groups_count() 301 if (selector >= info->ngroups) in rockchip_get_group_pins() 889 *num_groups = info->functions[selector].ngroups; in rockchip_pmx_get_groups() 1162 info->ngroups += of_get_child_count(child); in rockchip_pinctrl_child_count() 1248 func->ngroups = of_get_child_count(np); in rockchip_pinctrl_parse_functions() 1249 if (func->ngroups <= 0) in rockchip_pinctrl_parse_functions() 1253 func->ngroups * sizeof(char *), GFP_KERNEL); in rockchip_pinctrl_parse_functions() [all …]
|
D | pinctrl-pistachio.c | 80 unsigned int ngroups; member 115 unsigned int ngroups; member 500 .ngroups = ARRAY_SIZE(pistachio_##_name##_groups), \ 507 .ngroups = ARRAY_SIZE(pistachio_##_name##_groups), \ 892 return pctl->ngroups; in pistachio_pinctrl_get_groups_count() 947 *num_groups = pctl->functions[func].ngroups; in pistachio_pinmux_get_function_groups() 1458 pctl->ngroups = ARRAY_SIZE(pistachio_groups); in pistachio_pinctrl_probe()
|
D | pinctrl-lpc18xx.c | 171 unsigned ngroups; member 1021 *num_groups = scu->func[function].ngroups; in lpc18xx_pmx_get_func_groups() 1171 int func, ngroups, i; in lpc18xx_create_group_func_map() local 1173 for (func = 0; func < FUNC_MAX; ngroups = 0, func++) { in lpc18xx_create_group_func_map() 1177 pins[ngroups++] = i; in lpc18xx_create_group_func_map() 1180 scu->func[func].ngroups = ngroups; in lpc18xx_create_group_func_map() 1181 scu->func[func].groups = devm_kzalloc(dev, ngroups * in lpc18xx_create_group_func_map() 1186 for (i = 0; i < ngroups; i++) in lpc18xx_create_group_func_map()
|
D | pinctrl-as3722.c | 62 unsigned ngroups; member 135 .ngroups = ARRAY_SIZE(gpio_groups), \ 229 *num_groups = as_pci->functions[function].ngroups; in as3722_pinctrl_get_func_groups()
|
D | pinctrl-single.c | 236 unsigned ngroups; member 302 return pcs->ngroups; in pcs_get_groups_count() 410 unsigned * const ngroups) in pcs_get_function_groups() argument 423 *ngroups = func->npgnames; in pcs_get_function_groups() 938 radix_tree_insert(&pcs->pgtree, pcs->ngroups, pingroup); in pcs_add_pingroup() 939 pcs->ngroups++; in pcs_add_pingroup() 1443 for (i = 0; i < pcs->ngroups; i++) { in pcs_free_pingroups()
|
D | core.c | 539 unsigned ngroups = pctlops->get_groups_count(pctldev); in pinctrl_get_group_selector() local 542 while (group_selector < ngroups) { in pinctrl_get_group_selector() 1378 unsigned ngroups, selector = 0; in pinctrl_groups_show() local 1382 ngroups = ops->get_groups_count(pctldev); in pinctrl_groups_show() 1385 while (selector < ngroups) { in pinctrl_groups_show()
|
D | pinctrl-tz1090-pdc.c | 76 unsigned int ngroups; member 175 .ngroups = ARRAY_SIZE(group##_groups), \ 521 *num_groups = tz1090_pdc_functions[function].ngroups; in tz1090_pdc_pinctrl_get_func_groups()
|
D | pinconf.c | 343 unsigned ngroups = pctlops->get_groups_count(pctldev); in pinconf_groups_show() local 349 while (selector < ngroups) { in pinconf_groups_show()
|
D | pinctrl-palmas.c | 72 unsigned ngroups; member 345 .ngroups = ARRAY_SIZE(fname##_groups), \ 684 *num_groups = pci->functions[function].ngroups; in palmas_pinctrl_get_func_groups()
|
D | pinctrl-amd.c | 559 return gpio_dev->ngroups; in amd_get_groups_count() 788 gpio_dev->ngroups = ARRAY_SIZE(kerncz_groups); in amd_gpio_probe()
|
D | pinctrl-tz1090.c | 74 unsigned int ngroups; member 697 .ngroups = ARRAY_SIZE(group##_groups), \ 1237 *num_groups = tz1090_functions[function].ngroups; in tz1090_pinctrl_get_func_groups()
|
D | pinctrl-adi2-bf60x.c | 509 .ngroups = ARRAY_SIZE(adi_pin_groups),
|
D | pinctrl-adi2-bf54x.c | 580 .ngroups = ARRAY_SIZE(adi_pin_groups),
|
D | pinctrl-adi2.c | 593 return pinctrl->soc->ngroups; in adi_get_groups_count()
|
D | pinctrl-tegra210.c | 1559 .ngroups = ARRAY_SIZE(tegra210_groups),
|
D | pinctrl-tegra20.c | 2223 .ngroups = ARRAY_SIZE(tegra20_groups),
|
D | pinctrl-tegra114.c | 1843 .ngroups = ARRAY_SIZE(tegra114_groups),
|
D | pinctrl-tegra124.c | 2055 .ngroups = ARRAY_SIZE(tegra124_groups),
|
D | pinctrl-tegra30.c | 2478 .ngroups = ARRAY_SIZE(tegra30_groups),
|
/linux-4.4.14/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.h | 102 unsigned ngroups; member 143 unsigned ngroups; member
|
D | pinctrl-abx500.h | 39 unsigned ngroups; member 184 unsigned ngroups; member
|
D | pinctrl-ab8505.c | 219 .ngroups = ARRAY_SIZE(fname##_groups), \ 368 .ngroups = ARRAY_SIZE(ab8505_groups),
|
D | pinctrl-nomadik-stn8815.c | 322 .ngroups = ARRAY_SIZE(fname##_groups), \ 340 .ngroups = ARRAY_SIZE(nmk_stn8815_groups),
|
D | pinctrl-ab8540.c | 275 .ngroups = ARRAY_SIZE(fname##_groups), \ 394 .ngroups = ARRAY_SIZE(ab8540_groups),
|
D | pinctrl-ab8500.c | 338 .ngroups = ARRAY_SIZE(fname##_groups), \ 473 .ngroups = ARRAY_SIZE(ab8500_groups),
|
D | pinctrl-ab9540.c | 325 .ngroups = ARRAY_SIZE(fname##_groups), \ 473 .ngroups = ARRAY_SIZE(ab9540_groups),
|
D | pinctrl-abx500.c | 693 *num_groups = pct->soc->functions[function].ngroups; in abx500_pmx_get_func_groups() 782 return pct->soc->ngroups; in abx500_get_groups_cnt()
|
D | pinctrl-nomadik-db8540.c | 905 .ngroups = ARRAY_SIZE(fname##_groups), \ 1233 .ngroups = ARRAY_SIZE(nmk_db8540_groups),
|
D | pinctrl-nomadik-db8500.c | 887 .ngroups = ARRAY_SIZE(fname##_groups), \ 1227 .ngroups = ARRAY_SIZE(nmk_db8500_groups),
|
D | pinctrl-nomadik.c | 1322 return npct->soc->ngroups; in nmk_get_groups_cnt() 1660 *num_groups = npct->soc->functions[function].ngroups; in nmk_pmx_get_func_groups()
|
/linux-4.4.14/fs/nfsd/ |
D | auth.c | 53 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser() 57 for (i = 0; i < rqgi->ngroups; i++) { in nfsd_setuser()
|
D | nfs4state.c | 1911 if (g1->ngroups != g2->ngroups) in groups_equal() 1913 for (i=0; i<g1->ngroups; i++) in groups_equal()
|
/linux-4.4.14/net/sunrpc/ |
D | auth_generic.c | 169 if (gcred->acred.group_info->ngroups != acred->group_info->ngroups) in generic_match() 171 for (i = 0; i < gcred->acred.group_info->ngroups; i++) { in generic_match()
|
D | auth_unix.c | 78 groups = acred->group_info->ngroups; in unx_create_cred() 128 groups = acred->group_info->ngroups; in unx_match()
|
D | svcauth_unix.c | 561 glen = ug->gi->ngroups; in unix_gid_show()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/ |
D | lustre_compat25.h | 51 #define current_ngroups current_cred()->group_info->ngroups
|
/linux-4.4.14/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 43 for (i = 0; i < pctl->ngroups; i++) { in sunxi_pinctrl_find_group_by_name() 125 return pctl->ngroups; in sunxi_pctrl_get_groups_count() 373 *num_groups = pctl->functions[function].ngroups; in sunxi_pmx_get_func_groups() 772 func->ngroups++; in sunxi_pinctrl_add_function() 779 func->ngroups = 1; in sunxi_pinctrl_add_function() 791 pctl->ngroups = pctl->desc->npins; in sunxi_pinctrl_build_state() 795 pctl->ngroups * sizeof(*pctl->groups), in sunxi_pinctrl_build_state() 855 func_item->ngroups * sizeof(*func_item->groups), in sunxi_pinctrl_build_state()
|
D | pinctrl-sunxi.h | 107 unsigned ngroups; member 125 unsigned ngroups; member
|
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 515 unsigned long group, maxgroup, ngroups; in nilfs_palloc_prepare_alloc_entry() local 522 ngroups = nilfs_palloc_groups_count(inode); in nilfs_palloc_prepare_alloc_entry() 523 maxgroup = ngroups - 1; in nilfs_palloc_prepare_alloc_entry() 527 for (i = 0; i < ngroups; i += n) { in nilfs_palloc_prepare_alloc_entry() 528 if (group >= ngroups) { in nilfs_palloc_prepare_alloc_entry()
|
/linux-4.4.14/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.h | 71 u32 ngroups; member
|
D | pinctrl-wmt.c | 88 *num_groups = data->ngroups; in wmt_pmx_get_function_groups() 180 return data->ngroups; in wmt_get_groups_count()
|
D | pinctrl-wm8650.c | 340 data->ngroups = ARRAY_SIZE(wm8650_groups); in wm8650_pinctrl_probe()
|
D | pinctrl-wm8850.c | 358 data->ngroups = ARRAY_SIZE(wm8850_groups); in wm8850_pinctrl_probe()
|
D | pinctrl-wm8750.c | 379 data->ngroups = ARRAY_SIZE(wm8750_groups); in wm8750_pinctrl_probe()
|
D | pinctrl-vt8500.c | 471 data->ngroups = ARRAY_SIZE(vt8500_groups); in vt8500_pinctrl_probe()
|
D | pinctrl-wm8505.c | 502 data->ngroups = ARRAY_SIZE(wm8505_groups); in wm8505_pinctrl_probe()
|
/linux-4.4.14/net/netlink/ |
D | af_netlink.h | 33 u32 ngroups; member
|
D | af_netlink.c | 1097 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners() 1295 for (i = 0; i < nlk->ngroups; i++) in netlink_release() 1485 if (nlk->ngroups >= groups) in netlink_realloc_groups() 1493 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups() 1494 NLGRPSZ(groups) - NLGRPSZ(nlk->ngroups)); in netlink_realloc_groups() 1497 nlk->ngroups = groups; in netlink_realloc_groups() 1555 for (group = 0; group < nlk->ngroups; group++) { in netlink_bind() 1574 netlink_undo_bind(nlk->ngroups, groups, sk); in netlink_bind() 2008 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_broadcast() 2153 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_set_err() [all …]
|
D | diag.c | 53 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
|
/linux-4.4.14/arch/s390/kernel/ |
D | compat_linux.c | 191 for (i = 0; i < group_info->ngroups; i++) { in groups16_to_user() 208 for (i = 0; i < group_info->ngroups; i++) { in groups16_from_user() 231 i = cred->group_info->ngroups; in COMPAT_SYSCALL_DEFINE2()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | init.c | 220 rcd->rcv_array_groups = dd->rcv_entries.ngroups; in hfi1_create_ctxtdata() 233 base = ctxt * (dd->rcv_entries.ngroups + 1); in hfi1_create_ctxtdata() 237 (ctxt * dd->rcv_entries.ngroups); in hfi1_create_ctxtdata() 241 base = ((dd->n_krcv_queues * dd->rcv_entries.ngroups) + in hfi1_create_ctxtdata() 244 base += ct * (dd->rcv_entries.ngroups + 1); in hfi1_create_ctxtdata() 248 (ct * dd->rcv_entries.ngroups); in hfi1_create_ctxtdata()
|
D | file_ops.c | 1573 unsigned tid, mapped = 0, npages, ngroups, exp_groups, in exp_tid_setup() local 1640 ngroups = ((npages - mapped) / dd->rcv_entries.group_size) + in exp_tid_setup() 1657 bits_used = min(free, ngroups); in exp_tid_setup() 1706 ngroups = (pinned / dd->rcv_entries.group_size) + in exp_tid_setup() 1712 for (i = 0, grp = 0; grp < ngroups; i++, grp++) { in exp_tid_setup()
|
D | chip.c | 9159 unsigned ngroups; in set_up_context_variables() local 9233 ngroups = dd->chip_rcv_array_count / dd->rcv_entries.group_size; in set_up_context_variables() 9234 dd->rcv_entries.ngroups = ngroups / dd->num_rcv_contexts; in set_up_context_variables() 9235 dd->rcv_entries.nctxt_extra = ngroups - in set_up_context_variables() 9236 (dd->num_rcv_contexts * dd->rcv_entries.ngroups); in set_up_context_variables() 9238 dd->rcv_entries.ngroups, in set_up_context_variables() 9240 if (dd->rcv_entries.ngroups * dd->rcv_entries.group_size > in set_up_context_variables() 9242 dd->rcv_entries.ngroups = (MAX_EAGER_ENTRIES * 2) / in set_up_context_variables() 9246 dd->rcv_entries.ngroups); in set_up_context_variables()
|
D | hfi.h | 735 u16 ngroups; member
|
/linux-4.4.14/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 410 for (i = 0; i < pctl->ngroups; i++) { in mtk_pctrl_find_group_by_pin() 605 return pctl->ngroups; in mtk_pctrl_get_groups_count() 656 *num_groups = pctl->ngroups; in mtk_pmx_get_func_groups() 1241 pctl->ngroups = pctl->devdata->npins; in mtk_pctrl_build_state() 1244 pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state() 1250 pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state()
|
D | pinctrl-mtk-common.h | 263 unsigned ngroups; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 1074 static inline int sptlrpc_user_desc_size(int ngroups) in sptlrpc_user_desc_size() argument 1076 return sizeof(struct ptlrpc_user_desc) + ngroups * sizeof(__u32); in sptlrpc_user_desc_size()
|
/linux-4.4.14/include/linux/ |
D | cred.h | 34 int ngroups; member
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec.c | 2174 int ngroups; in sptlrpc_current_user_desc_size() local 2176 ngroups = current_ngroups; in sptlrpc_current_user_desc_size() 2178 if (ngroups > LUSTRE_MAX_GROUPS) in sptlrpc_current_user_desc_size() 2179 ngroups = LUSTRE_MAX_GROUPS; in sptlrpc_current_user_desc_size() 2180 return sptlrpc_user_desc_size(ngroups); in sptlrpc_current_user_desc_size()
|
/linux-4.4.14/drivers/pinctrl/bcm/ |
D | pinctrl-bcm281xx.c | 81 const unsigned ngroups; member 932 .ngroups = ARRAY_SIZE(bcm281xx_alt_groups), \ 1053 *num_groups = pdata->functions[function].ngroups; in bcm281xx_pinctrl_get_fcn_groups()
|
/linux-4.4.14/fs/proc/ |
D | array.c | 194 for (g = 0; g < group_info->ngroups; g++) in task_state()
|
/linux-4.4.14/net/ipv4/ |
D | ping.c | 271 count = group_info->ngroups; in ping_init_sock()
|