Home
last modified time | relevance | path

Searched refs:ngroups (Results 1 – 2 of 2) sorted by relevance

/lib/
A Dgroup_cpus.c104 unsigned ngroups; member
230 unsigned ngroups, ncpus; in alloc_nodes_groups() local
238 ngroups = max_t(unsigned, 1, in alloc_nodes_groups()
240 WARN_ON_ONCE(ngroups > ncpus); in alloc_nodes_groups()
242 node_groups[n].ngroups = ngroups; in alloc_nodes_groups()
245 numgrps -= ngroups; in alloc_nodes_groups()
293 if (nv->ngroups == UINT_MAX) in __group_cpus_evenly()
302 WARN_ON_ONCE(nv->ngroups > ncpus); in __group_cpus_evenly()
305 extra_grps = ncpus - nv->ngroups * (ncpus / nv->ngroups); in __group_cpus_evenly()
309 cpus_per_grp = ncpus / nv->ngroups; in __group_cpus_evenly()
[all …]
A Dhexdump.c131 int ngroups; in hex_dump_to_buffer() local
147 ngroups = len / groupsize; in hex_dump_to_buffer()
159 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
170 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
181 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
225 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()

Completed in 4 milliseconds