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

123

/linux-master/tools/perf/tests/
H A Dpfm.c96 int nr_groups; member in struct:__anon5655
101 .nr_groups = 0,
106 .nr_groups = 0,
111 .nr_groups = 0,
116 .nr_groups = 0,
121 .nr_groups = 0,
126 .nr_groups = 2,
131 .nr_groups = 0,
137 .nr_groups = 1,
142 .nr_groups
[all...]
/linux-master/drivers/pinctrl/visconti/
H A Dpinctrl-common.h69 unsigned int nr_groups; member in struct:visconti_pin_function
76 .nr_groups = ARRAY_SIZE(func ## _grps), \
84 unsigned int nr_groups; member in struct:visconti_pinctrl_devdata
H A Dpinctrl-common.c159 return priv->devdata->nr_groups;
215 *num_groups = priv->devdata->functions[selector].nr_groups;
H A Dpinctrl-tmpv7700.c326 .nr_groups = ARRAY_SIZE(groups_tmpv7700),
/linux-master/fs/bcachefs/
H A Ddisk_groups.c28 unsigned nr_groups = disk_groups_nr(groups); local
41 if (group_id >= nr_groups) {
43 i, group_id, nr_groups);
53 if (!nr_groups)
56 for (i = 0; i < nr_groups; i++) {
69 sorted = kmalloc_array(nr_groups, sizeof(*sorted), GFP_KERNEL);
73 memcpy(sorted, groups->entries, nr_groups * sizeof(*sorted));
74 sort(sorted, nr_groups, sizeof(*sorted), group_cmp, NULL);
76 for (g = sorted; g + 1 < sorted + nr_groups; g++)
126 unsigned nr_groups local
151 unsigned i, g, nr_groups; local
269 unsigned i, nr_groups = disk_groups_nr(groups); local
295 unsigned i, nr_groups = disk_groups_nr(groups); local
[all...]
/linux-master/arch/s390/tools/
H A Dgen_opcode_table.c47 int nr_groups; member in struct:gen_opcode
250 group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL;
255 desc->nr_groups++;
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group));
259 group = &desc->group[desc->nr_groups - 1];
310 for (i = 0; i < desc->nr_groups; i++) {
/linux-master/include/linux/
H A Dpercpu.h88 int nr_groups; /* 0 if grouping unnecessary */ member in struct:pcpu_alloc_info
106 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
H A Dsh_intc.h87 unsigned int nr_groups; member in struct:intc_hw_desc
/linux-master/drivers/pinctrl/
H A Dpinctrl-equilibrium.h74 * @nr_groups: number of groups included in @groups.
79 unsigned int nr_groups; member in struct:eqbr_pmx_func
H A Dpinctrl-equilibrium.c623 funcs[fid].nr_groups++;
628 for (j = 0; j < funcs[fid].nr_groups; j++)
669 if (!funcs[i].nr_groups)
671 funcs[i].groups = devm_kcalloc(dev, funcs[i].nr_groups,
691 funcs[i].nr_groups,
/linux-master/mm/
H A Dpercpu-km.c112 if (ai->nr_groups != 1) {
H A Dpercpu.c2444 * @nr_groups: the number of groups
2447 * Allocate ai which is large enough for @nr_groups groups containing
2457 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, argument
2465 base_size = ALIGN(struct_size(ai, groups, nr_groups),
2480 ai->nr_groups = nr_groups;
2513 v = ai->nr_groups;
2530 for (group = 0; group < ai->nr_groups; group++) {
2591 * @ai->nr_groups and @ai->groups describe virtual memory layout of
2594 * groupings. If @ai->nr_groups i
2873 int nr_groups = 1, nr_units = 0; local
[all...]
/linux-master/fs/udf/
H A Dballoc.c77 int nr_groups = bitmap->s_nr_groups; local
79 if (block_group >= nr_groups) {
80 udf_debug("block_group (%u) > nr_groups (%d)\n",
81 block_group, nr_groups);
246 int end_goal, nr_groups, bitmap_nr, i; local
258 nr_groups = bitmap->s_nr_groups;
296 for (i = 0; i < (nr_groups * 2); i++) {
298 if (block_group >= nr_groups)
306 if (i < nr_groups) {
321 if (i >= (nr_groups *
[all...]
/linux-master/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.h281 * @nr_groups: number of such pin groups.
301 unsigned int nr_groups; member in struct:samsung_pinctrl_drv_data
/linux-master/tools/perf/util/
H A Denv.h84 int nr_groups; member in struct:perf_env
H A Dheader.c775 * u32 nr_groups;
780 * }[nr_groups];
786 u32 nr_groups = evlist__nr_groups(evlist); local
790 ret = do_write(ff, &nr_groups, sizeof(nr_groups));
2813 u32 i, nr, nr_groups; local
2822 if (do_read_u32(ff, &nr_groups))
2825 ff->ph->env.nr_groups = nr_groups;
2826 if (!nr_groups) {
[all...]
/linux-master/tools/lib/perf/
H A Devlist.c734 int nr_groups = 0; local
743 nr_groups++;
745 return nr_groups;
/linux-master/include/net/
H A Damt.h243 u32 nr_groups; member in struct:amt_tunnel_list
/linux-master/arch/powerpc/kernel/
H A Dsmp.c101 unsigned int nr_groups; member in struct:thread_groups
834 tg->nr_groups = thread_group_array[i + 1];
836 total_threads = tg->nr_groups * tg->threads_per_group;
871 for (i = 0; i < tg->nr_groups; i++) {
/linux-master/drivers/pinctrl/renesas/
H A Dcore.c1138 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL);
1154 for (j = 0; j < func->nr_groups; j++) {
1155 for (k = 0; k < info->nr_groups; k++) {
1163 if (k == info->nr_groups)
1169 for (i = 0; i < info->nr_groups; i++) {
H A Dsh_pfc.h88 .nr_groups = ARRAY_SIZE(n##_groups), \
94 unsigned int nr_groups; member in struct:sh_pfc_function
274 unsigned int nr_groups; member in struct:sh_pfc_soc_info
/linux-master/drivers/sh/intc/
H A Dhandle.c24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) {
/linux-master/drivers/base/
H A Ddevres.c440 int cnt = 0, nr_groups = 0; local
453 nr_groups++;
463 if (!nr_groups)
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c1125 int nr_groups; local
1128 nr_groups = ctidev->nr_trig_con + CORESIGHT_CTI_STATIC_GROUPS_MAX;
1129 ctidev->con_groups = devm_kcalloc(dev, nr_groups,
/linux-master/include/uapi/linux/
H A Dfuse.h1181 * @nr_groups: number of supplementary groups
1185 uint32_t nr_groups; member in struct:fuse_supp_groups

Completed in 322 milliseconds

123