Home
last modified time | relevance | path

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

123

/linux/tools/perf/tests/
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 …]
/linux/fs/bcachefs/
A Ddisk_groups.c40 if (group_id >= nr_groups) { in bch2_sb_disk_groups_validate()
42 i, group_id, nr_groups); in bch2_sb_disk_groups_validate()
52 if (!nr_groups) in bch2_sb_disk_groups_validate()
55 for (i = 0; i < nr_groups; i++) { in bch2_sb_disk_groups_validate()
150 unsigned i, g, nr_groups; in bch2_sb_disk_groups_to_cpu() local
155 nr_groups = disk_groups_nr(groups); in bch2_sb_disk_groups_to_cpu()
164 cpu_g->nr = nr_groups; in bch2_sb_disk_groups_to_cpu()
166 for (i = 0; i < nr_groups; i++) { in bch2_sb_disk_groups_to_cpu()
273 for (i = 0; i < nr_groups; i++) { in __bch2_disk_group_find()
305 if (i == nr_groups) { in __bch2_disk_group_add()
[all …]
/linux/drivers/firmware/arm_scmi/
A Dpinctrl.c111 u32 nr_groups; member
121 int nr_groups; member
166 return pi->nr_groups; in scmi_pinctrl_count_get()
639 if (selector >= pi->nr_groups || pi->nr_groups == 0) in scmi_pinctrl_get_group_name()
665 if (selector >= pi->nr_groups || pi->nr_groups == 0) in scmi_pinctrl_group_pins_get()
690 &func->nr_groups); in scmi_pinctrl_get_function_info()
694 if (!func->nr_groups) { in scmi_pinctrl_get_function_info()
741 u32 selector, u32 *nr_groups, in scmi_pinctrl_function_groups_get() argument
746 if (!groups || !nr_groups) in scmi_pinctrl_function_groups_get()
762 *nr_groups = pi->functions[selector].nr_groups; in scmi_pinctrl_function_groups_get()
[all …]
/linux/drivers/pinctrl/visconti/
A Dpinctrl-common.h69 unsigned int nr_groups; member
76 .nr_groups = ARRAY_SIZE(func ## _grps), \
84 unsigned int nr_groups; member
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()
A Dpinctrl-tmpv7700.c326 .nr_groups = ARRAY_SIZE(groups_tmpv7700),
/linux/arch/s390/tools/
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()
/linux/fs/udf/
A Dballoc.c82 int nr_groups = bitmap->s_nr_groups; in load_block_bitmap() local
84 if (block_group >= nr_groups) { in load_block_bitmap()
86 block_group, nr_groups); in load_block_bitmap()
230 int end_goal, nr_groups, bitmap_nr, i; in udf_bitmap_new_block() local
242 nr_groups = bitmap->s_nr_groups; in udf_bitmap_new_block()
280 for (i = 0; i < (nr_groups * 2); i++) { in udf_bitmap_new_block()
282 if (block_group >= nr_groups) in udf_bitmap_new_block()
290 if (i < nr_groups) { in udf_bitmap_new_block()
305 if (i >= (nr_groups * 2)) { in udf_bitmap_new_block()
A Dsuper.c336 int nr_groups = bitmap->s_nr_groups; in udf_sb_free_bitmap() local
338 for (i = 0; i < nr_groups; i++) in udf_sb_free_bitmap()
1048 int nr_groups = udf_compute_nr_groups(sb, index); in udf_sb_alloc_bitmap() local
1050 bitmap = kvzalloc(struct_size(bitmap, s_block_bitmap, nr_groups), in udf_sb_alloc_bitmap()
1055 bitmap->s_nr_groups = nr_groups; in udf_sb_alloc_bitmap()
/linux/mm/
A Dpercpu.c2425 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info()
2458 v = ai->nr_groups; in pcpu_dump_alloc_info()
2578 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk()
2662 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk()
2818 int nr_groups = 1, nr_units = 0; in pcpu_build_alloc_info() local
2871 nr_groups = group; in pcpu_build_alloc_info()
2886 for (group = 0; group < nr_groups; group++) { in pcpu_build_alloc_info()
2910 for (group = 0; group < nr_groups; group++) in pcpu_build_alloc_info()
2918 for (group = 0; group < nr_groups; group++) { in pcpu_build_alloc_info()
3119 for (group = 0; group < ai->nr_groups; group++) in pcpu_embed_first_chunk()
[all …]
A Dpercpu-km.c112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
/linux/include/linux/
A Dpercpu.h97 int nr_groups; /* 0 if grouping unnecessary */ member
115 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
A Dsh_intc.h87 unsigned int nr_groups; member
/linux/tools/lib/perf/
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()
/linux/tools/perf/util/
A Denv.h84 int nr_groups; member
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()
2813 u32 i, nr, nr_groups; in process_group_desc() local
2822 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2825 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2826 if (!nr_groups) { in process_group_desc()
2831 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2835 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2863 if (i >= nr_groups || nr > 0) { in process_group_desc()
2879 if (i != nr_groups || nr != 0) { in process_group_desc()
[all …]
/linux/drivers/pinctrl/samsung/
A Dpinctrl-samsung.h323 unsigned int nr_groups; member
/linux/arch/powerpc/kernel/
A Dsmp.c101 unsigned int nr_groups; member
834 tg->nr_groups = thread_group_array[i + 1]; in parse_thread_groups()
836 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups()
871 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
/linux/drivers/pinctrl/renesas/
A Dcore.c1138 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info()
1154 for (j = 0; j < func->nr_groups; j++) { in sh_pfc_check_info()
1155 for (k = 0; k < info->nr_groups; k++) { in sh_pfc_check_info()
1163 if (k == info->nr_groups) in sh_pfc_check_info()
1169 for (i = 0; i < info->nr_groups; i++) { in sh_pfc_check_info()
A Dsh_pfc.h88 .nr_groups = ARRAY_SIZE(n##_groups), \
94 unsigned int nr_groups; member
274 unsigned int nr_groups; member
A Dpinctrl.c49 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count()
313 *num_groups = pmx->pfc->info->functions[selector].nr_groups; in sh_pfc_get_function_groups()
/linux/drivers/base/
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()
/linux/include/net/
A Damt.h243 u32 nr_groups; member
/linux/drivers/hwtracing/coresight/
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()
/linux/drivers/sh/intc/
A Dhandle.c24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) { in intc_grp_id()

Completed in 71 milliseconds

123