/linux-4.1.27/mm/ |
D | percpu.c | 1375 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() argument 1383 base_size = ALIGN(sizeof(*ai) + nr_groups * sizeof(ai->groups[0]), in pcpu_alloc_alloc_info() 1398 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info() 1431 v = ai->nr_groups; in pcpu_dump_alloc_info() 1448 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info() 1554 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk() 1568 group_offsets = memblock_virt_alloc(ai->nr_groups * in pcpu_setup_first_chunk() 1570 group_sizes = memblock_virt_alloc(ai->nr_groups * in pcpu_setup_first_chunk() 1581 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk() 1617 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk() [all …]
|
D | percpu-km.c | 97 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
|
/linux-4.1.27/fs/udf/ |
D | balloc.c | 58 int nr_groups = bitmap->s_nr_groups; in __load_block_bitmap() local 60 if (block_group >= nr_groups) { in __load_block_bitmap() 62 block_group, nr_groups); in __load_block_bitmap() 179 int nr_groups, bitmap_nr; in udf_bitmap_prealloc_blocks() local 192 nr_groups = udf_compute_nr_groups(sb, partition); in udf_bitmap_prealloc_blocks() 227 int end_goal, nr_groups, bitmap_nr, i; in udf_bitmap_new_block() local 239 nr_groups = bitmap->s_nr_groups; in udf_bitmap_new_block() 277 for (i = 0; i < (nr_groups * 2); i++) { in udf_bitmap_new_block() 279 if (block_group >= nr_groups) in udf_bitmap_new_block() 287 if (i < nr_groups) { in udf_bitmap_new_block() [all …]
|
D | super.c | 280 int nr_groups = bitmap->s_nr_groups; in udf_sb_free_bitmap() local 282 nr_groups); in udf_sb_free_bitmap() 284 for (i = 0; i < nr_groups; i++) in udf_sb_free_bitmap() 1064 int nr_groups; in udf_sb_alloc_bitmap() local 1067 nr_groups = udf_compute_nr_groups(sb, index); in udf_sb_alloc_bitmap() 1069 (sizeof(struct buffer_head *) * nr_groups); in udf_sb_alloc_bitmap() 1079 bitmap->s_nr_groups = nr_groups; in udf_sb_alloc_bitmap()
|
/linux-4.1.27/include/linux/ |
D | percpu.h | 75 int nr_groups; /* 0 if grouping unnecessary */ member 96 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
|
D | sh_intc.h | 86 unsigned int nr_groups; member
|
/linux-4.1.27/tools/perf/util/ |
D | header.c | 809 u32 nr_groups = evlist->nr_groups; in write_group_desc() local 813 ret = do_write(fd, &nr_groups, sizeof(nr_groups)); in write_group_desc() 1735 u32 i, nr, nr_groups; in process_group_desc() local 1744 if (readn(fd, &nr_groups, sizeof(nr_groups)) != sizeof(nr_groups)) in process_group_desc() 1748 nr_groups = bswap_32(nr_groups); in process_group_desc() 1750 ph->env.nr_groups = nr_groups; in process_group_desc() 1751 if (!nr_groups) { in process_group_desc() 1756 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc() 1760 for (i = 0; i < nr_groups; i++) { in process_group_desc() 1781 session->evlist->nr_groups = nr_groups; in process_group_desc() [all …]
|
D | parse-events.h | 80 int nr_groups; member
|
D | header.h | 84 int nr_groups; member
|
D | evlist.h | 38 int nr_groups; member
|
D | parse-events.y | 37 data->nr_groups++; in inc_group_count()
|
D | parse-events.c | 1035 evlist->nr_groups += data.nr_groups; in parse_events()
|
D | evlist.c | 165 evlist->nr_groups = evlist->nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader()
|
/linux-4.1.27/tools/perf/tests/ |
D | parse-events.c | 20 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint() 33 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi() 569 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1() 611 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2() 666 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3() 758 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4() 802 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5() 888 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1() 928 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2() 968 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3() [all …]
|
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
D | sh_pfc.h | 57 .nr_groups = ARRAY_SIZE(n##_groups), \ 63 unsigned int nr_groups; member 137 unsigned int nr_groups; member
|
D | pinctrl.c | 49 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count() 310 *num_groups = pmx->pfc->info->functions[selector].nr_groups; in sh_pfc_get_function_groups()
|
D | pfc-emev2.c | 1703 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a73a4.c | 2737 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a7740.c | 3774 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-sh73a0.c | 3865 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a7778.c | 2919 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a7779.c | 3865 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a7791.c | 6193 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
D | pfc-r8a7790.c | 5598 .nr_groups = ARRAY_SIZE(pinmux_groups),
|
/linux-4.1.27/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.h | 226 unsigned int nr_groups; member
|
D | pinctrl-exynos5440.c | 120 unsigned int nr_groups; member 153 return priv->nr_groups; in exynos5440_get_group_count() 760 priv->nr_groups = grp_cnt; in exynos5440_pinctrl_parse_dt()
|
D | pinctrl-samsung.c | 67 return pmx->nr_groups; in samsung_get_group_count() 813 drvdata->nr_groups = grp_cnt; in samsung_pinctrl_parse_dt()
|
/linux-4.1.27/drivers/base/ |
D | devres.c | 411 int cnt = 0, nr_groups = 0; in remove_nodes() local 429 nr_groups++; in remove_nodes() 439 if (!nr_groups) in remove_nodes()
|
/linux-4.1.27/arch/ia64/mm/ |
D | discontig.c | 235 ai->nr_groups = 0; in setup_per_cpu_areas() 246 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
|
/linux-4.1.27/drivers/sh/intc/ |
D | handle.c | 24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) { in intc_grp_id()
|
/linux-4.1.27/tools/perf/ |
D | builtin-record.c | 374 if (!rec->evlist->nr_groups) in __cmd_record()
|