Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dpfm.c99 evlist->nr_groups, in test__pfm_events()
115 int nr_groups; in test__pfm_group() member
120 .nr_groups = 0, in test__pfm_group()
125 .nr_groups = 1, in test__pfm_group()
130 .nr_groups = 1, in test__pfm_group()
135 .nr_groups = 0, in test__pfm_group()
140 .nr_groups = 2, in test__pfm_group()
145 .nr_groups = 2, in test__pfm_group()
150 .nr_groups = 0, in test__pfm_group()
156 .nr_groups = 1, in test__pfm_group()
[all …]
H A Dbpf.c162 evlist->nr_groups = parse_state.nr_groups; in do_test()
H A Dparse-events.c52 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint()
65 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi()
673 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1()
715 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2()
770 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3()
862 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4()
906 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5()
992 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1()
1032 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2()
1072 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/tools/
H A 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()
/OK3568_Linux_fs/kernel/drivers/pinctrl/visconti/
H A Dpinctrl-common.h69 unsigned int nr_groups; member
76 .nr_groups = ARRAY_SIZE(func ## _grps), \
84 unsigned int nr_groups; member
H A 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()
/OK3568_Linux_fs/kernel/fs/udf/
H A 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()
/OK3568_Linux_fs/kernel/mm/
H A Dpercpu.c2251 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() argument
2259 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2274 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
2307 v = ai->nr_groups; in pcpu_dump_alloc_info()
2324 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info()
2430 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk()
2449 alloc_size = ai->nr_groups * sizeof(group_offsets[0]); in pcpu_setup_first_chunk()
2455 alloc_size = ai->nr_groups * sizeof(group_sizes[0]); in pcpu_setup_first_chunk()
2479 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk()
2515 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk()
[all …]
H A Dpercpu-km.c107 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu.h83 int nr_groups; /* 0 if grouping unnecessary */ member
104 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
H A Dsh_intc.h87 unsigned int nr_groups; member
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsmp.c105 unsigned int nr_groups; member
803 tg->nr_groups = thread_group_array[1]; in parse_thread_groups()
806 tg->nr_groups < 1 || in parse_thread_groups()
810 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups()
845 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
864 .nr_groups = 0, in init_cpu_l1_cache_map()
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-equilibrium.c618 funcs[fid].nr_groups++; in funcs_utils()
623 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()
H A Dpinctrl-equilibrium.h79 unsigned int nr_groups; member
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dheader.c778 u32 nr_groups = evlist->nr_groups; in write_group_desc() local
782 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2594 u32 i, nr, nr_groups; in process_group_desc() local
2603 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2606 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2607 if (!nr_groups) { in process_group_desc()
2612 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2616 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2632 session->evlist->nr_groups = nr_groups; in process_group_desc()
2645 if (i >= nr_groups || nr > 0) { in process_group_desc()
[all …]
H A Denv.h60 int nr_groups; member
H A Dpfm.c105 evlist->nr_groups++; in parse_libpfm_events_option()
H A Dparse-events.h135 int nr_groups; member
/OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/
H A Dcore.c952 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()
968 for (j = 0; j < func->nr_groups; j++) { in sh_pfc_check_info()
969 for (k = 0; k < info->nr_groups; k++) { in sh_pfc_check_info()
977 if (k == info->nr_groups) in sh_pfc_check_info()
983 for (i = 0; i < info->nr_groups; i++) { in sh_pfc_check_info()
H A Dsh_pfc.h101 .nr_groups = ARRAY_SIZE(n##_groups), \
107 unsigned int nr_groups; member
280 unsigned int nr_groups; member
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_mcu_shared_reg.c728 const u32 nr_groups = kbdev->csf.global_iface.group_num; in kbase_csf_mcu_shared_regs_data_init() local
729 const u32 nr_csg_regs = MCU_SHARED_REGS_PREALLOCATE_SCALE * nr_groups; in kbase_csf_mcu_shared_regs_data_init()
783 const u32 nr_groups = kbdev->csf.global_iface.group_num; in kbase_csf_mcu_shared_regs_data_term() local
784 const u32 nr_csg_regs = MCU_SHARED_REGS_PREALLOCATE_SCALE * nr_groups; in kbase_csf_mcu_shared_regs_data_term()
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Ddiscontig.c230 ai->nr_groups = 0; in setup_per_cpu_areas()
241 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
/OK3568_Linux_fs/kernel/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.h280 unsigned int nr_groups; member
/OK3568_Linux_fs/kernel/drivers/base/
H A Ddevres.c441 int cnt = 0, nr_groups = 0; in remove_nodes() local
459 nr_groups++; in remove_nodes()
469 if (!nr_groups) in remove_nodes()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1157 int nr_groups; in cti_create_cons_groups() local
1160 nr_groups = ctidev->nr_trig_con + CORESIGHT_CTI_STATIC_GROUPS_MAX; in cti_create_cons_groups()
1161 ctidev->con_groups = devm_kcalloc(dev, nr_groups, in cti_create_cons_groups()

123