Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/perf/tests/
H A Dpfm.c96 int nr_groups; in test__pfm_group() member
101 .nr_groups = 0, in test__pfm_group()
106 .nr_groups = 0, in test__pfm_group()
111 .nr_groups = 0, in test__pfm_group()
116 .nr_groups = 0, in test__pfm_group()
121 .nr_groups = 0, 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()
142 .nr_groups = 0, in test__pfm_group()
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/fs/udf/
H A Dballoc.c77 int nr_groups = bitmap->s_nr_groups; in __load_block_bitmap() local
79 if (block_group >= nr_groups) { in __load_block_bitmap()
81 block_group, nr_groups); in __load_block_bitmap()
246 int end_goal, nr_groups, bitmap_nr, i; in udf_bitmap_new_block() local
258 nr_groups = bitmap->s_nr_groups; in udf_bitmap_new_block()
296 for (i = 0; i < (nr_groups * 2); i++) { in udf_bitmap_new_block()
298 if (block_group >= nr_groups) in udf_bitmap_new_block()
306 if (i < nr_groups) { in udf_bitmap_new_block()
321 if (i >= (nr_groups * 2)) { in udf_bitmap_new_block()
/openbmc/linux/include/linux/
H A Dpercpu.h88 int nr_groups; /* 0 if grouping unnecessary */ member
106 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
H A Dsh_intc.h87 unsigned int nr_groups; member
/openbmc/linux/mm/
H A Dpercpu.c2453 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
2486 v = ai->nr_groups; in pcpu_dump_alloc_info()
2606 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk()
2690 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk()
2846 int nr_groups = 1, nr_units = 0; in pcpu_build_alloc_info() local
2899 nr_groups = group; in pcpu_build_alloc_info()
2914 for (group = 0; group < nr_groups; group++) { in pcpu_build_alloc_info()
2938 for (group = 0; group < nr_groups; group++) in pcpu_build_alloc_info()
2946 for (group = 0; group < nr_groups; group++) { in pcpu_build_alloc_info()
3147 for (group = 0; group < ai->nr_groups; group++) in pcpu_embed_first_chunk()
[all …]
H A Dpercpu-km.c112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
/openbmc/qemu/hw/intc/
H A Dsh_intc.c262 int nr_groups) in sh_intc_register_source() argument
294 for (i = 0; i < nr_groups; i++) { in sh_intc_register_source()
312 int nr_groups) in sh_intc_register_sources() argument
321 sh_intc_register_source(desc, vect->enum_id, groups, nr_groups); in sh_intc_register_sources()
332 for (i = 0; i < nr_groups; i++) { in sh_intc_register_sources()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-equilibrium.h79 unsigned int nr_groups; member
H A Dpinctrl-equilibrium.c623 funcs[fid].nr_groups++; in funcs_utils()
628 for (j = 0; j < funcs[fid].nr_groups; j++) in funcs_utils()
669 if (!funcs[i].nr_groups) in eqbr_build_functions()
671 funcs[i].groups = devm_kcalloc(dev, funcs[i].nr_groups, in eqbr_build_functions()
691 funcs[i].nr_groups, in eqbr_build_functions()
/openbmc/qemu/include/hw/sh4/
H A Dsh_intc.h69 int nr_groups);
/openbmc/linux/tools/perf/util/
H A Denv.h74 int nr_groups; member
H A Dheader.c786 u32 nr_groups = evlist__nr_groups(evlist); in write_group_desc() local
790 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2805 u32 i, nr, nr_groups; in process_group_desc() local
2814 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2817 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2818 if (!nr_groups) { in process_group_desc()
2823 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2827 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2855 if (i >= nr_groups || nr > 0) { in process_group_desc()
2871 if (i != nr_groups || nr != 0) { in process_group_desc()
[all …]
/openbmc/linux/tools/lib/perf/
H A Devlist.c734 int nr_groups = 0; in perf_evlist__nr_groups() local
743 nr_groups++; in perf_evlist__nr_groups()
745 return nr_groups; in perf_evlist__nr_groups()
/openbmc/linux/arch/ia64/mm/
H A Ddiscontig.c231 ai->nr_groups = 0; in setup_per_cpu_areas()
242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.h288 unsigned int nr_groups; member
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c1132 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()
1148 for (j = 0; j < func->nr_groups; j++) { in sh_pfc_check_info()
1149 for (k = 0; k < info->nr_groups; k++) { in sh_pfc_check_info()
1157 if (k == info->nr_groups) in sh_pfc_check_info()
1163 for (i = 0; i < info->nr_groups; i++) { in sh_pfc_check_info()
H A Dsh_pfc.h88 .nr_groups = ARRAY_SIZE(n##_groups), \
94 unsigned int nr_groups; member
274 unsigned int nr_groups; member
/openbmc/linux/arch/powerpc/kernel/
H A Dsmp.c110 unsigned int nr_groups; member
843 tg->nr_groups = thread_group_array[i + 1]; in parse_thread_groups()
845 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups()
880 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h82 .nr_groups = ARRAY_SIZE(n##_groups), \
88 unsigned int nr_groups; member
240 unsigned int nr_groups; member
/openbmc/linux/drivers/base/
H A Ddevres.c440 int cnt = 0, nr_groups = 0; in remove_nodes() local
453 nr_groups++; in remove_nodes()
463 if (!nr_groups) in remove_nodes()
/openbmc/linux/include/net/
H A Damt.h243 u32 nr_groups; member
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1125 int nr_groups; in cti_create_cons_groups() local
1128 nr_groups = ctidev->nr_trig_con + CORESIGHT_CTI_STATIC_GROUPS_MAX; in cti_create_cons_groups()
1129 ctidev->con_groups = devm_kcalloc(dev, nr_groups, in cti_create_cons_groups()

123