Home
last modified time | relevance | path

Searched refs:nr_groups (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.1.9/tools/perf/tests/
Dpfm.c79 evlist->core.nr_groups, in test__pfm_events()
96 int nr_groups; in test__pfm_group() member
101 .nr_groups = 0, in test__pfm_group()
106 .nr_groups = 1, in test__pfm_group()
111 .nr_groups = 1, in test__pfm_group()
116 .nr_groups = 1, in test__pfm_group()
121 .nr_groups = 2, in test__pfm_group()
126 .nr_groups = 2, in test__pfm_group()
131 .nr_groups = 0, in test__pfm_group()
137 .nr_groups = 1, in test__pfm_group()
[all …]
Dbpf.c152 evlist->core.nr_groups = parse_state.nr_groups; in do_test()
Dparse-events.c54 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->core.nr_groups); in test__checkevent_tracepoint()
67 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->core.nr_groups); in test__checkevent_tracepoint_multi()
673 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group1()
715 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group2()
770 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->core.nr_groups); in test__group3()
862 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group4()
906 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->core.nr_groups); in test__group5()
992 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group_gh1()
1032 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group_gh2()
1072 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->core.nr_groups); in test__group_gh3()
[all …]
/linux-6.1.9/drivers/pinctrl/visconti/
Dpinctrl-common.h69 unsigned int nr_groups; member
76 .nr_groups = ARRAY_SIZE(func ## _grps), \
84 unsigned int nr_groups; member
Dpinctrl-common.c159 return priv->devdata->nr_groups; in visconti_get_groups_count()
215 *num_groups = priv->devdata->functions[selector].nr_groups; in visconti_get_function_groups()
/linux-6.1.9/arch/s390/tools/
Dgen_opcode_table.c47 int nr_groups; member
250 group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL; in add_to_group()
255 desc->nr_groups++; in add_to_group()
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
259 group = &desc->group[desc->nr_groups - 1]; in add_to_group()
310 for (i = 0; i < desc->nr_groups; i++) { in print_opcode_table_offsets()
/linux-6.1.9/fs/udf/
Dballoc.c58 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()
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()
302 if (i >= (nr_groups * 2)) { in udf_bitmap_new_block()
/linux-6.1.9/mm/
Dpercpu.c2436 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() argument
2444 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2459 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
2492 v = ai->nr_groups; in pcpu_dump_alloc_info()
2509 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info()
2614 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk()
2633 alloc_size = ai->nr_groups * sizeof(group_offsets[0]); in pcpu_setup_first_chunk()
2639 alloc_size = ai->nr_groups * sizeof(group_sizes[0]); in pcpu_setup_first_chunk()
2663 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk()
2699 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk()
[all …]
Dpercpu-km.c112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
/linux-6.1.9/include/linux/
Dpercpu.h82 int nr_groups; /* 0 if grouping unnecessary */ member
100 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
Dsh_intc.h87 unsigned int nr_groups; member
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-equilibrium.h79 unsigned int nr_groups; member
Dpinctrl-equilibrium.c617 funcs[fid].nr_groups++; in funcs_utils()
622 for (j = 0; j < funcs[fid].nr_groups; j++) in funcs_utils()
663 if (!funcs[i].nr_groups) in eqbr_build_functions()
665 funcs[i].groups = devm_kcalloc(dev, funcs[i].nr_groups, in eqbr_build_functions()
685 funcs[i].nr_groups, in eqbr_build_functions()
/linux-6.1.9/tools/lib/perf/include/internal/
Devlist.h20 int nr_groups; member
/linux-6.1.9/tools/perf/util/
Denv.h74 int nr_groups; member
Dheader.c782 u32 nr_groups = evlist->core.nr_groups; in write_group_desc() local
786 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2763 u32 i, nr, nr_groups; in process_group_desc() local
2772 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2775 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2776 if (!nr_groups) { in process_group_desc()
2781 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2785 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2801 session->evlist->core.nr_groups = nr_groups; in process_group_desc()
2814 if (i >= nr_groups || nr > 0) { in process_group_desc()
[all …]
Dparse-events.h126 int nr_groups; member
Dpfm.c114 evlist->core.nr_groups++; in parse_libpfm_events_option()
/linux-6.1.9/arch/ia64/mm/
Ddiscontig.c231 ai->nr_groups = 0; in setup_per_cpu_areas()
242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
/linux-6.1.9/drivers/pinctrl/samsung/
Dpinctrl-samsung.h288 unsigned int nr_groups; member
/linux-6.1.9/drivers/base/
Ddevres.c437 int cnt = 0, nr_groups = 0; in remove_nodes() local
450 nr_groups++; in remove_nodes()
460 if (!nr_groups) in remove_nodes()
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c107 unsigned int nr_groups; member
840 tg->nr_groups = thread_group_array[i + 1]; in parse_thread_groups()
842 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups()
877 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
/linux-6.1.9/drivers/pinctrl/renesas/
Dcore.c1142 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()
1158 for (j = 0; j < func->nr_groups; j++) { in sh_pfc_check_info()
1159 for (k = 0; k < info->nr_groups; k++) { in sh_pfc_check_info()
1167 if (k == info->nr_groups) in sh_pfc_check_info()
1173 for (i = 0; i < info->nr_groups; i++) { in sh_pfc_check_info()
Dsh_pfc.h91 .nr_groups = ARRAY_SIZE(n##_groups), \
97 unsigned int nr_groups; member
277 unsigned int nr_groups; member
/linux-6.1.9/include/net/
Damt.h243 u32 nr_groups; member

123