Home
last modified time | relevance | path

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

12

/linux/tools/perf/tests/
H A Dpfm.c97 int nr_groups; in test__pfm_group() member
102 .nr_groups = 0, in test__pfm_group()
107 .nr_groups = 0, in test__pfm_group()
112 .nr_groups = 0, in test__pfm_group()
117 .nr_groups = 0, in test__pfm_group()
122 .nr_groups = 0, in test__pfm_group()
127 .nr_groups = 2, in test__pfm_group()
132 .nr_groups = 0, in test__pfm_group()
138 .nr_groups = 1, in test__pfm_group()
143 .nr_groups = 0, in test__pfm_group()
[all …]
/linux/arch/s390/tools/
H A Dgen_opcode_table.c47 int nr_groups; member
265 group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL; in add_to_group()
270 desc->nr_groups++; in add_to_group()
271 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
274 group = &desc->group[desc->nr_groups - 1]; in add_to_group()
325 for (i = 0; i < desc->nr_groups; i++) { in print_opcode_table_offsets()
/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()
H A Dpinctrl-tmpv7700.c326 .nr_groups = ARRAY_SIZE(groups_tmpv7700),
/linux/mm/
H A Dpercpu.c2400 * @nr_groups: the number of groups in pcpu_alloc_alloc_info() argument
2403 * Allocate ai which is large enough for @nr_groups groups containing in pcpu_alloc_alloc_info()
2413 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info()
2421 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2436 ai->nr_groups = nr_groups; in pcpu_free_alloc_info()
2469 v = ai->nr_groups; in pcpu_dump_alloc_info()
2486 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info()
2547 * @ai->nr_groups and @ai->groups describe virtual memory layout of
2550 * groupings. If @ai->nr_groups i
2801 int nr_groups = 1, nr_units = 0; pcpu_build_alloc_info() local
[all...]
H A Dpercpu-km.c112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
/linux/include/linux/
H A Dpercpu.h93 int nr_groups; /* 0 if grouping unnecessary */ member
111 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
H A Dsh_intc.h87 unsigned int nr_groups; member
/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.h369 uint32_t nr_groups) in xfs_rtgs_to_rfsbs() argument
371 return xfs_groups_to_rfsbs(mp, nr_groups, XG_TYPE_RTG); in xfs_rtgs_to_rfsbs()
/linux/tools/lib/perf/
H A Devlist.c819 int nr_groups = 0; in perf_evlist__nr_groups() local
828 nr_groups++; in perf_evlist__nr_groups()
830 return nr_groups; in perf_evlist__nr_groups()
/linux/drivers/pinctrl/renesas/
H 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()
H A Dsh_pfc.h88 .nr_groups = ARRAY_SIZE(n##_groups), \
94 unsigned int nr_groups; member
274 unsigned int nr_groups; member
H A Dpfc-emev2.c1657 .nr_groups = ARRAY_SIZE(pinmux_groups),
H A Dpfc-r8a7791.c6897 .nr_groups = ARRAY_SIZE(pinmux_groups.common),
6920 .nr_groups = ARRAY_SIZE(pinmux_groups.common),
6943 .nr_groups = ARRAY_SIZE(pinmux_groups.common) +
6968 .nr_groups = ARRAY_SIZE(pinmux_groups.common) +
H A Dpfc-r8a779f0.c2091 .nr_groups = ARRAY_SIZE(pinmux_groups),
/linux/arch/powerpc/kernel/
H A Dsmp.c102 unsigned int nr_groups; member
837 tg->nr_groups = thread_group_array[i + 1]; in parse_thread_groups()
839 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups()
874 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
/linux/tools/perf/util/
H A Denv.h100 int nr_groups; member
H A Dheader.c804 u32 nr_groups = evlist__nr_groups(evlist); in write_group_desc() local
808 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
3007 u32 i, nr, nr_groups; in process_group_desc() local
3016 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
3019 env->nr_groups = nr_groups; in process_group_desc()
3020 if (!nr_groups) { in process_group_desc()
3025 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
3029 for (i = 0; i < nr_groups; i++) { in process_group_desc()
3048 if (i < nr_groups && evsel->core.idx == (int) desc[i].leader_idx) { in process_group_desc()
3057 if (i >= nr_groups || nr > 0) { in process_group_desc()
[all …]
/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()
/linux/include/net/
H A Damt.h243 u32 nr_groups; member
/linux/drivers/sh/intc/
H A Dhandle.c24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) { in intc_grp_id()
/linux/fs/udf/
H 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_flex(*bitmap, s_block_bitmap, nr_groups); in udf_sb_alloc_bitmap()
1054 bitmap->s_nr_groups = nr_groups; in udf_sb_alloc_bitmap()
/linux/include/uapi/linux/
H A Dfuse.h1244 uint32_t nr_groups; member
/linux/drivers/net/
H A Damt.c264 gnode->tunnel_list->nr_groups--; in amt_del_group()
475 if (tunnel->nr_groups >= amt->max_groups) in amt_add_group()
497 tunnel->nr_groups++; in amt_add_group()

12