/linux-4.1.27/drivers/pinctrl/berlin/ |
D | berlin.c | 41 return pctrl->desc->ngroups; in berlin_pinctrl_get_group_count() 61 int ret, ngroups; in berlin_pinctrl_dt_node_to_map() local 74 ngroups = of_property_count_strings(node, "groups"); in berlin_pinctrl_dt_node_to_map() 75 if (ngroups < 0) { in berlin_pinctrl_dt_node_to_map() 83 num_maps, ngroups); in berlin_pinctrl_dt_node_to_map() 132 *num_groups = pctrl->functions[function].ngroups; in berlin_pinmux_get_function_groups() 191 function->ngroups++; in berlin_pinctrl_add_function() 198 function->ngroups = 1; in berlin_pinctrl_add_function() 214 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() 228 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 | 154 .ngroups = ARRAY_SIZE(berlin2cd_soc_pinctrl_groups), 159 .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-bg2q.c | 373 .ngroups = ARRAY_SIZE(berlin2q_soc_pinctrl_groups), 378 .ngroups = ARRAY_SIZE(berlin2q_sysmgr_pinctrl_groups),
|
/linux-4.1.27/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.1.27/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.1.27/fs/ext4/ |
D | ialloc.c | 424 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local 430 ngroups = real_ngroups; in find_group_orlov() 432 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov() 438 avefreei = freei / ngroups; in find_group_orlov() 442 do_div(avefreec, ngroups); in find_group_orlov() 458 parent_group = (unsigned)grp % ngroups; in find_group_orlov() 459 for (i = 0; i < ngroups; i++) { in find_group_orlov() 460 g = (parent_group + i) % ngroups; in find_group_orlov() 502 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 518 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() 660 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_count_free_clusters() local 673 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters() 701 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 | 819 ext4_group_t ngroups; in ext4_mb_init_cache() local 839 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache() 862 if (group >= ngroups) in ext4_mb_init_cache() 894 if (group >= ngroups) in ext4_mb_init_cache() 2081 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local 2090 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator() 2093 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator() 2149 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator() 2155 if (group >= ngroups) in ext4_mb_regular_allocator() 2343 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument [all …]
|
D | super.c | 2907 ext4_group_t group, ngroups; in ext4_run_li_request() local 2913 ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request() 2916 for (group = elr->lr_next_group; group < ngroups; group++) { in ext4_run_li_request() 2927 if (group >= ngroups) in ext4_run_li_request() 3107 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable() local 3110 for (group = 0; group < ngroups; group++) { in ext4_has_uninit_itable() 3169 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_register_li_request() local 3182 if (first_not_zeroed == ngroups || in ext4_register_li_request() 3299 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in count_overhead() local 3309 for (i = 0; i < ngroups; i++) { in count_overhead() [all …]
|
D | ext4.h | 2267 ext4_group_t ngroups); 2608 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count() local 2611 return ngroups; in ext4_get_groups_count()
|
D | inode.c | 4926 ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); in ext4_meta_trans_blocks() local 4945 if (groups > ngroups) in ext4_meta_trans_blocks() 4946 groups = ngroups; in ext4_meta_trans_blocks()
|
/linux-4.1.27/fs/ext3/ |
D | ialloc.c | 197 int ngroups = sbi->s_groups_count; in find_group_orlov() local 208 avefreei = freei / ngroups; in find_group_orlov() 210 avefreeb = freeb / ngroups; in find_group_orlov() 219 parent_group = (unsigned)group % ngroups; in find_group_orlov() 220 for (i = 0; i < ngroups; i++) { in find_group_orlov() 221 group = (parent_group + i) % ngroups; in find_group_orlov() 239 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 243 for (i = 0; i < ngroups; i++) { in find_group_orlov() 244 group = (parent_group + i) % ngroups; in find_group_orlov() 258 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
D | balloc.c | 1510 unsigned long ngroups; in ext3_new_blocks() local 1586 ngroups = EXT3_SB(sb)->s_groups_count; in ext3_new_blocks() 1593 for (bgi = 0; bgi < ngroups; bgi++) { in ext3_new_blocks() 1595 if (group_no >= ngroups) in ext3_new_blocks() 1782 unsigned long ngroups = EXT3_SB(sb)->s_groups_count; in ext3_count_free_blocks() local 1795 for (i = 0; i < ngroups; i++) { in ext3_count_free_blocks() 1819 for (i = 0; i < ngroups; i++) { in ext3_count_free_blocks()
|
D | super.c | 2803 unsigned long ngroups = sbi->s_groups_count, i; in ext3_statfs() local 2824 for (i = 0; i < ngroups; i++) { in ext3_statfs() 2834 overhead += ngroups * (2 + sbi->s_itb_per_group); in ext3_statfs()
|
/linux-4.1.27/lib/ |
D | hexdump.c | 111 int ngroups; in hex_dump_to_buffer() local 127 ngroups = len / groupsize; in hex_dump_to_buffer() 139 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 150 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 161 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 201 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
|
/linux-4.1.27/drivers/pinctrl/intel/ |
D | pinctrl-intel.h | 43 size_t ngroups; member 89 .ngroups = ARRAY_SIZE((g)), \ 112 size_t ngroups; member
|
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-intel.c | 227 return pctrl->soc->ngroups; in intel_get_groups_count() 312 unsigned * const ngroups) in intel_get_function_groups() argument 317 *ngroups = pctrl->soc->functions[function].ngroups; in intel_get_function_groups()
|
D | pinctrl-sunrisepoint.c | 280 .ngroups = ARRAY_SIZE(sptlp_groups),
|
/linux-4.1.27/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.1.27/drivers/pinctrl/qcom/ |
D | pinctrl-msm.h | 27 unsigned ngroups; member 116 unsigned ngroups; member
|
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 | 80 return pctrl->soc->ngroups; in msm_get_groups_count() 134 *num_groups = pctrl->soc->functions[function].ngroups; in msm_get_function_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-msm8x74.c | 336 .ngroups = ARRAY_SIZE(fname##_groups), \ 1029 .ngroups = ARRAY_SIZE(msm8x74_groups),
|
D | pinctrl-msm8960.c | 349 .ngroups = ARRAY_SIZE(fname##_groups), \ 1245 .ngroups = ARRAY_SIZE(msm8960_groups),
|
/linux-4.1.27/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() 555 u32 ngroups = 0; in imx1_pinctrl_parse_dt() local 563 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt() 575 info->ngroups = ngroups; in imx1_pinctrl_parse_dt() 577 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 | 52 for (i = 0; i < info->ngroups; i++) { in imx_pinctrl_find_group_by_name() 67 return info->ngroups; in imx_get_groups_count() 86 if (selector >= info->ngroups) in imx_get_group_pins() 317 for (group = 0; group < info->ngroups; group++) { in imx_pmx_gpio_request_enable() 459 if (group > info->ngroups) in imx_pinconf_group_dbg_show() 632 info->ngroups = 0; in imx_pinctrl_probe_dt() 634 info->ngroups += of_get_child_count(child); in imx_pinctrl_probe_dt() 635 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.1.27/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() 649 soc_data->ngroups * 4 * sizeof(*pmx->group_pins), in tegra_pinctrl_probe() 660 for (gn = 0; gn < soc_data->ngroups; gn++) { in tegra_pinctrl_probe() 673 soc_data->ngroups * 4); in tegra_pinctrl_probe() 675 func->ngroups++; in tegra_pinctrl_probe()
|
D | pinctrl-zynq.c | 57 unsigned int ngroups; member 81 unsigned int ngroups; member 713 .ngroups = ARRAY_SIZE(fname##_groups), \ 721 .ngroups = ARRAY_SIZE(fname##_groups), \ 780 return pctrl->ngroups; in zynq_pctrl_get_groups_count() 836 *num_groups = pctrl->funcs[selector].ngroups; in zynq_pmux_get_function_groups() 1138 pctrl->ngroups = ARRAY_SIZE(zynq_pctrl_groups); in zynq_pinctrl_probe()
|
D | pinctrl-st.c | 262 unsigned ngroups; member 334 int ngroups; member 835 return info->ngroups; in st_pctl_get_groups_count() 851 if (selector >= info->ngroups) in st_pctl_get_group_pins() 865 for (i = 0; i < info->ngroups; i++) { in st_pctl_find_group_by_name() 957 *ngrps = info->functions[selector].ngroups; in st_pmx_get_groups() 1106 info->ngroups += of_get_child_count(child); in st_pctl_dt_child_count() 1310 func->ngroups = of_get_child_count(np); in st_pctl_parse_functions() 1311 if (func->ngroups == 0) { in st_pctl_parse_functions() 1316 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 | 199 u8 ngroups; member 212 unsigned int ngroups; member 234 for (i = 0; i < info->ngroups; i++) { in pinctrl_name_to_group() 280 return info->ngroups; in rockchip_get_groups_count() 297 if (selector >= info->ngroups) in rockchip_get_group_pins() 816 *num_groups = info->functions[selector].ngroups; in rockchip_pmx_get_groups() 1085 info->ngroups += of_get_child_count(child); in rockchip_pinctrl_child_count() 1171 func->ngroups = of_get_child_count(np); in rockchip_pinctrl_parse_functions() 1172 if (func->ngroups <= 0) in rockchip_pinctrl_parse_functions() 1176 func->ngroups * sizeof(char *), GFP_KERNEL); in rockchip_pinctrl_parse_functions() [all …]
|
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 | 537 unsigned ngroups = pctlops->get_groups_count(pctldev); in pinctrl_get_group_selector() local 540 while (group_selector < ngroups) { in pinctrl_get_group_selector() 1344 unsigned ngroups, selector = 0; in pinctrl_groups_show() local 1348 ngroups = ops->get_groups_count(pctldev); in pinctrl_groups_show() 1351 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 | 345 unsigned ngroups = pctlops->get_groups_count(pctldev); in pinconf_groups_show() local 351 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 | 558 return gpio_dev->ngroups; in amd_get_groups_count() 787 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 | 594 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.1.27/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.h | 102 unsigned ngroups; member 147 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 | 332 .ngroups = ARRAY_SIZE(fname##_groups), \ 352 .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 | 707 *num_groups = pct->soc->functions[function].ngroups; in abx500_pmx_get_func_groups() 796 return pct->soc->ngroups; in abx500_get_groups_cnt()
|
D | pinctrl-nomadik-db8540.c | 927 .ngroups = ARRAY_SIZE(fname##_groups), \ 1257 .ngroups = ARRAY_SIZE(nmk_db8540_groups),
|
D | pinctrl-nomadik-db8500.c | 906 .ngroups = ARRAY_SIZE(fname##_groups), \ 1248 .ngroups = ARRAY_SIZE(nmk_db8500_groups),
|
D | pinctrl-nomadik.c | 1302 return npct->soc->ngroups; in nmk_get_groups_cnt() 1635 *num_groups = npct->soc->functions[function].ngroups; in nmk_pmx_get_func_groups()
|
/linux-4.1.27/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 | 1893 if (g1->ngroups != g2->ngroups) in groups_equal() 1895 for (i=0; i<g1->ngroups; i++) in groups_equal()
|
/linux-4.1.27/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.1.27/fs/nilfs2/ |
D | alloc.c | 476 unsigned long group, maxgroup, ngroups; in nilfs_palloc_prepare_alloc_entry() local 482 ngroups = nilfs_palloc_groups_count(inode); in nilfs_palloc_prepare_alloc_entry() 483 maxgroup = ngroups - 1; in nilfs_palloc_prepare_alloc_entry() 488 for (i = 0; i < ngroups; i += n) { in nilfs_palloc_prepare_alloc_entry() 489 if (group >= ngroups) { in nilfs_palloc_prepare_alloc_entry()
|
/linux-4.1.27/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() 749 func->ngroups++; in sunxi_pinctrl_add_function() 756 func->ngroups = 1; in sunxi_pinctrl_add_function() 768 pctl->ngroups = pctl->desc->npins; in sunxi_pinctrl_build_state() 772 pctl->ngroups * sizeof(*pctl->groups), in sunxi_pinctrl_build_state() 832 func_item->ngroups * sizeof(*func_item->groups), in sunxi_pinctrl_build_state()
|
D | pinctrl-sunxi.h | 106 unsigned ngroups; member 124 unsigned ngroups; member
|
/linux-4.1.27/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.1.27/net/netlink/ |
D | af_netlink.h | 33 u32 ngroups; member
|
D | af_netlink.c | 1083 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners() 1280 for (i = 0; i < nlk->ngroups; i++) in netlink_release() 1466 if (nlk->ngroups >= groups) in netlink_realloc_groups() 1474 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups() 1475 NLGRPSZ(groups) - NLGRPSZ(nlk->ngroups)); in netlink_realloc_groups() 1478 nlk->ngroups = groups; in netlink_realloc_groups() 1536 for (group = 0; group < nlk->ngroups; group++) { in netlink_bind() 1555 netlink_undo_bind(nlk->ngroups, groups, sk); in netlink_bind() 1983 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_broadcast() 2109 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.1.27/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 309 for (i = 0; i < pctl->ngroups; i++) { in mtk_pctrl_find_group_by_pin() 504 return pctl->ngroups; in mtk_pctrl_get_groups_count() 555 *num_groups = pctl->ngroups; in mtk_pmx_get_func_groups() 1080 pctl->ngroups = pctl->devdata->npins; in mtk_pctrl_build_state() 1083 pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state() 1089 pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state()
|
D | pinctrl-mtk-common.h | 217 unsigned ngroups; member
|
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/include/linux/ |
D | lustre_compat25.h | 51 #define current_ngroups current_cred()->group_info->ngroups
|
/linux-4.1.27/include/linux/ |
D | cred.h | 34 int ngroups; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 1125 static inline int sptlrpc_user_desc_size(int ngroups) in sptlrpc_user_desc_size() argument 1127 return sizeof(struct ptlrpc_user_desc) + ngroups * sizeof(__u32); in sptlrpc_user_desc_size()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec.c | 2295 int ngroups; in sptlrpc_current_user_desc_size() local 2297 ngroups = current_ngroups; in sptlrpc_current_user_desc_size() 2299 if (ngroups > LUSTRE_MAX_GROUPS) in sptlrpc_current_user_desc_size() 2300 ngroups = LUSTRE_MAX_GROUPS; in sptlrpc_current_user_desc_size() 2301 return sptlrpc_user_desc_size(ngroups); in sptlrpc_current_user_desc_size()
|
/linux-4.1.27/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.1.27/fs/proc/ |
D | array.c | 186 for (g = 0; g < group_info->ngroups; g++) in task_state()
|
/linux-4.1.27/net/ipv4/ |
D | ping.c | 271 count = group_info->ngroups; in ping_init_sock()
|