Function report |
Source Code:include\linux\cpumask.h |
Create Date:2022-07-28 05:34:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:verify cpu argument to cpumask_* operators
Proto:static inline unsigned int cpumask_check(unsigned int cpu)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | cpu |
| 145 | Return cpu |
| Name | Describe |
|---|---|
| cpumask_next | pumask_next - get the next cpu in a cpumask*@n: the cpu prior to the place to search (ie. return will be > @n)*@srcp: the cpumask pointer* Returns >= nr_cpu_ids if no further cpus set. |
| cpumask_next_and | pumask_next_and - get the next cpu in *src1p & *src2p*@n: the cpu prior to the place to search (ie. return will be > @n)*@src1p: the first cpumask pointer*@src2p: the second cpumask pointer* Returns >= nr_cpu_ids if no further cpus set in both. |
| cpumask_any_but | pumask_any_but - return a "random" in a cpumask, but not this one.*@mask: the cpumask to search*@cpu: the cpu to ignore.* Often used to find any cpu but smp_processor_id() in a mask.* Returns >= nr_cpu_ids if no cpus set. |
| cpumask_set_cpu | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
| __cpumask_set_cpu | |
| cpumask_clear_cpu | pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
| __cpumask_clear_cpu | |
| cpumask_test_cpu | pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 |
| cpumask_test_and_set_cpu | pumask_test_and_set_cpu - atomically test and set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in old bitmap of @cpumask, else returns 0* test_and_set_bit wrapper for cpumasks. |
| cpumask_test_and_clear_cpu | pumask_test_and_clear_cpu - atomically test and clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in old bitmap of @cpumask, else returns 0* test_and_clear_bit wrapper for cpumasks. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |