/linux/tools/perf/tests/ |
H A D | pfm.c | 96 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/ |
H A D | disk_groups.c | 27 unsigned nr_groups = disk_groups_nr(groups); in bch2_sb_disk_groups_validate() local 40 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() 68 sorted = kmalloc_array(nr_groups, sizeof(*sorted), GFP_KERNEL); in bch2_sb_disk_groups_validate() 72 memcpy(sorted, groups->entries, nr_groups * sizeof(*sorted)); in bch2_sb_disk_groups_validate() 73 sort(sorted, nr_groups, sizeof(*sorted), group_cmp, NULL); in bch2_sb_disk_groups_validate() 75 for (g = sorted; g + 1 < sorted + nr_groups; g++) in bch2_sb_disk_groups_validate() 125 unsigned nr_groups = disk_groups_nr(groups); in bch2_sb_disk_groups_to_text() local [all …]
|
/linux/drivers/firmware/arm_scmi/ |
H A D | pinctrl.c | 111 u32 nr_groups; member 121 int nr_groups; member 145 pi->nr_groups = GET_GROUPS_NR(attr->attributes_low); in scmi_pinctrl_attributes_get() 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() 699 func->groups = kmalloc_array(func->nr_groups, sizeof(*func->groups), in scmi_pinctrl_get_function_info() 705 func->nr_groups, func->groups); in scmi_pinctrl_get_function_info() [all …]
|
/linux/drivers/pinctrl/visconti/ |
H A D | pinctrl-common.h | 69 unsigned int nr_groups; member 76 .nr_groups = ARRAY_SIZE(func ## _grps), \ 84 unsigned int nr_groups; member
|
H A D | pinctrl-common.c | 159 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 D | pinctrl-tmpv7700.c | 326 .nr_groups = ARRAY_SIZE(groups_tmpv7700),
|
/linux/arch/s390/tools/ |
H A D | gen_opcode_table.c | 47 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/mm/ |
H A D | percpu.c | 2390 * @nr_groups: the number of groups 2393 * Allocate ai which is large enough for @nr_groups groups containing 2403 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() 2411 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info() 2426 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info() 2459 v = ai->nr_groups; in pcpu_dump_alloc_info() 2476 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info() 2537 * @ai->nr_groups and @ai->groups describe virtual memory layout of 2540 * groupings. If @ai->nr_groups i 2402 pcpu_alloc_alloc_info(int nr_groups,int nr_units) pcpu_alloc_alloc_info() argument 2818 int nr_groups = 1, nr_units = 0; pcpu_build_alloc_info() local [all...] |
H A D | percpu-km.c | 112 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
|
/linux/include/linux/ |
H A D | percpu.h | 97 int nr_groups; /* 0 if grouping unnecessary */ member 115 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
|
H A D | sh_intc.h | 87 unsigned int nr_groups; member
|
/linux/tools/lib/perf/ |
H A D | evlist.c | 748 int nr_groups = 0; in perf_evlist__go_system_wide() 757 nr_groups++; 759 return nr_groups; 734 int nr_groups = 0; perf_evlist__nr_groups() local
|
/linux/tools/perf/util/ |
H A D | env.h | 84 int nr_groups; member
|
H A D | header.c | 775 * u32 nr_groups; 780 * }[nr_groups]; 786 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() 2783 u32 i, nr, nr_groups; in process_pmu_mappings() 2792 if (do_read_u32(ff, &nr_groups)) in process_pmu_mappings() 2795 ff->ph->env.nr_groups = nr_groups; in process_pmu_mappings() 2796 if (!nr_groups) { in process_pmu_mappings() 2813 u32 i, nr, nr_groups; process_group_desc() local [all...] |
/linux/drivers/pinctrl/renesas/ |
H A D | core.c | 1138 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 D | sh_pfc.h | 88 .nr_groups = ARRAY_SIZE(n##_groups), \ 94 unsigned int nr_groups; member 274 unsigned int nr_groups; member
|
H A D | pinctrl.c | 49 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/arch/powerpc/kernel/ |
H A D | smp.c | 102 unsigned int nr_groups; member 835 tg->nr_groups = thread_group_array[i + 1]; in parse_thread_groups() 837 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups() 872 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start()
|
/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.h | 323 unsigned int nr_groups; member
|
H A D | pinctrl-samsung.c | 53 return pmx->nr_groups; in samsung_get_group_count() 906 drvdata->nr_groups = grp_cnt; in samsung_pinctrl_parse_dt()
|
/linux/drivers/base/ |
H A D | devres.c | 440 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 D | amt.h | 243 u32 nr_groups; member
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 1125 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/ |
H A D | handle.c | 24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) { in intc_grp_id()
|
/linux/include/uapi/linux/ |
H A D | fuse.h | 1205 uint32_t nr_groups; member
|