mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
Update cpumask.md
This commit is contained in:
parent
a4e5ff8889
commit
e3837c7c05
@ -210,12 +210,12 @@ and many more.
|
|||||||
|
|
||||||
Besides that Linux kernel provides following API for the manipulating of `cpumask`:
|
Besides that Linux kernel provides following API for the manipulating of `cpumask`:
|
||||||
|
|
||||||
* for_each_cpu - iterates over every cpu in a mask;
|
* `for_each_cpu` - iterates over every cpu in a mask;
|
||||||
* for_each_cpu_not - iterates over every cpu in a complemented mask;
|
* `for_each_cpu_not` - iterates over every cpu in a complemented mask;
|
||||||
* cpumask_clear_cpu - clears a cpu in a cpumask;
|
* `cpumask_clear_cpu` - clears a cpu in a cpumask;
|
||||||
* cpumask_test_cpu - tests a cpu in a mask;
|
* `cpumask_test_cpu` - tests a cpu in a mask;
|
||||||
* cpumask_setall - set all cpus in a mask;
|
* `cpumask_setall` - set all cpus in a mask;
|
||||||
* cpumask_size - returns size to allocate for a 'struct cpumask' in bytes;
|
* `cpumask_size` - returns size to allocate for a 'struct cpumask' in bytes;
|
||||||
|
|
||||||
and many many more...
|
and many many more...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user