/Linux-v5.4/arch/s390/tools/ |
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-v5.4/mm/ |
D | percpu.c | 2120 struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups, in pcpu_alloc_alloc_info() argument 2128 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info() 2143 ai->nr_groups = nr_groups; in pcpu_alloc_alloc_info() 2176 v = ai->nr_groups; in pcpu_dump_alloc_info() 2193 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info() 2298 PCPU_SETUP_BUG_ON(ai->nr_groups <= 0); in pcpu_setup_first_chunk() 2317 alloc_size = ai->nr_groups * sizeof(group_offsets[0]); in pcpu_setup_first_chunk() 2323 alloc_size = ai->nr_groups * sizeof(group_sizes[0]); in pcpu_setup_first_chunk() 2347 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk() 2383 pcpu_nr_groups = ai->nr_groups; in pcpu_setup_first_chunk() [all …]
|
D | percpu-km.c | 106 if (ai->nr_groups != 1) { in pcpu_verify_alloc_info()
|
/Linux-v5.4/fs/udf/ |
D | balloc.c | 58 int nr_groups = bitmap->s_nr_groups; in __load_block_bitmap() local 60 if (block_group >= nr_groups) { in __load_block_bitmap() 62 block_group, nr_groups); in __load_block_bitmap() 227 int end_goal, nr_groups, bitmap_nr, i; in udf_bitmap_new_block() local 239 nr_groups = bitmap->s_nr_groups; in udf_bitmap_new_block() 277 for (i = 0; i < (nr_groups * 2); i++) { in udf_bitmap_new_block() 279 if (block_group >= nr_groups) in udf_bitmap_new_block() 287 if (i < nr_groups) { in udf_bitmap_new_block() 302 if (i >= (nr_groups * 2)) { in udf_bitmap_new_block()
|
D | super.c | 269 int nr_groups = bitmap->s_nr_groups; in udf_sb_free_bitmap() local 271 for (i = 0; i < nr_groups; i++) in udf_sb_free_bitmap() 1009 int nr_groups; in udf_sb_alloc_bitmap() local 1012 nr_groups = udf_compute_nr_groups(sb, index); in udf_sb_alloc_bitmap() 1014 (sizeof(struct buffer_head *) * nr_groups); in udf_sb_alloc_bitmap() 1024 bitmap->s_nr_groups = nr_groups; in udf_sb_alloc_bitmap()
|
/Linux-v5.4/include/linux/ |
D | percpu.h | 83 int nr_groups; /* 0 if grouping unnecessary */ member 104 extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
|
D | sh_intc.h | 87 unsigned int nr_groups; member
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | smp.c | 92 unsigned int nr_groups; member 718 tg->nr_groups = thread_group_array[1]; in parse_thread_groups() 721 tg->nr_groups < 1 || in parse_thread_groups() 725 total_threads = tg->nr_groups * tg->threads_per_group; in parse_thread_groups() 760 for (i = 0; i < tg->nr_groups; i++) { in get_cpu_thread_group_start() 779 .nr_groups = 0, in init_cpu_l1_cache_map()
|
/Linux-v5.4/tools/perf/tests/ |
D | bpf.c | 160 evlist->nr_groups = parse_state.nr_groups; in do_test()
|
D | parse-events.c | 52 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint() 65 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi() 642 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1() 684 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2() 739 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3() 831 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4() 875 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5() 961 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1() 1001 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2() 1041 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3() [all …]
|
/Linux-v5.4/drivers/pinctrl/sh-pfc/ |
D | core.c | 806 refcnts = kcalloc(info->nr_groups, sizeof(*refcnts), GFP_KERNEL); in sh_pfc_check_info() 817 for (j = 0; j < func->nr_groups; j++) { in sh_pfc_check_info() 818 for (k = 0; k < info->nr_groups; k++) { in sh_pfc_check_info() 827 if (k == info->nr_groups) { in sh_pfc_check_info() 835 for (i = 0; i < info->nr_groups; i++) { in sh_pfc_check_info()
|
D | sh_pfc.h | 101 .nr_groups = ARRAY_SIZE(n##_groups), \ 107 unsigned int nr_groups; member 280 unsigned int nr_groups; member
|
D | pinctrl.c | 52 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count() 337 *num_groups = pmx->pfc->info->functions[selector].nr_groups; in sh_pfc_get_function_groups()
|
/Linux-v5.4/tools/perf/util/ |
D | env.h | 59 int nr_groups; member
|
D | header.c | 777 u32 nr_groups = evlist->nr_groups; in write_group_desc() local 781 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc() 2434 u32 i, nr, nr_groups; in process_group_desc() local 2443 if (do_read_u32(ff, &nr_groups)) in process_group_desc() 2446 ff->ph->env.nr_groups = nr_groups; in process_group_desc() 2447 if (!nr_groups) { in process_group_desc() 2452 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc() 2456 for (i = 0; i < nr_groups; i++) { in process_group_desc() 2472 session->evlist->nr_groups = nr_groups; in process_group_desc() 2485 if (i >= nr_groups || nr > 0) { in process_group_desc() [all …]
|
D | parse-events.h | 121 int nr_groups; member
|
D | evlist.h | 53 int nr_groups; member
|
D | parse-events.c | 1514 parse_state->nr_groups--; in parse_events__set_leader_for_uncore_aliase() 1545 parse_state->nr_groups += nr_pmu - 1; in parse_events__set_leader_for_uncore_aliase() 1939 evlist->nr_groups += parse_state.nr_groups; in parse_events()
|
D | parse-events.y | 40 parse_state->nr_groups++; in inc_group_count()
|
D | evlist.c | 206 evlist->nr_groups = evlist->core.nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader() 1635 if (!evlist->nr_groups) { in perf_evlist__force_leader()
|
/Linux-v5.4/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.h | 280 unsigned int nr_groups; member
|
D | pinctrl-samsung.c | 54 return pmx->nr_groups; in samsung_get_group_count() 840 drvdata->nr_groups = grp_cnt; in samsung_pinctrl_parse_dt()
|
/Linux-v5.4/arch/ia64/mm/ |
D | discontig.c | 231 ai->nr_groups = 0; in setup_per_cpu_areas() 242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
|
/Linux-v5.4/drivers/base/ |
D | devres.c | 425 int cnt = 0, nr_groups = 0; in remove_nodes() local 443 nr_groups++; in remove_nodes() 453 if (!nr_groups) in remove_nodes()
|
/Linux-v5.4/drivers/sh/intc/ |
D | handle.c | 24 for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) { in intc_grp_id()
|