Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- arch/powerpc/sysdev/msi_bitmap.c, line 256
- drivers/acpi/sysfs.c, line 832
- drivers/gpio/gpio-aggregator.c, line 1412
- drivers/input/keyboard/atkbd.c, line 1526
- drivers/input/keyboard/gpio_keys.c, line 255
- include/linux/cpumask.h, line 1011
- include/linux/nodemask.h, line 344
- lib/bitmap-str.c
- lib/test_bitmap.c
Smatch caller information:
drivers/input/keyboard/atkbd.c atkbd_set_force_release() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | maskp | 1827424330582532096 |
| PARAM_VALUE | 2 | nmaskbits | 512 |
| BUF_SIZE | 1 | maskp | 64 |
| DATA_SOURCE | 0 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/rcu/tree.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| HALF_LOCKED2 | irq |
lib/bitmap-str.c bitmap_parselist_user() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | buf | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | maskp | 1024 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | r memdup_user_nul |
| DATA_SOURCE | 1 | maskp | $2 |
| DATA_SOURCE | 2 | nmaskbits | $3 |
| TERMINATED | 0 | buf | 1 |
| USER_DATA | 0 | *buf | 0-255 |
| USER_PTR | 0 | buf |
kernel/trace/trace_events_filter.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | 0-s32max |
| BUF_SIZE | 0 | buf | 0-s32max |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/infiniband/hw/hfi1/sdma.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/trace/trace_osnoise.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | buf | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| TERMINATED | 0 | buf | 1 |
| USER_DATA | 0 | *buf | 0-255 |
| USER_PTR | 0 | buf |
lib/test_bitmap.c test_bitmap_parselist() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maskp | 4020818284574683136 |
| BUF_SIZE | 1 | maskp | 256 |
lib/test_bitmap.c test_bitmap_weight() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1570329585983696896 |
| PARAM_VALUE | 1 | maskp | 7468275111796592640 |
| PARAM_VALUE | 2 | nmaskbits | 30 |
| BUF_SIZE | 0 | buf | 8 |
| STR_LEN | 0 | buf | 7 |
| TERMINATED | 0 | buf | 1 |
| NOCHECK_CALL |
lib/test_bitmap.c test_bitmap_write_helper() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maskp | 2463332803833004032 |
| PARAM_VALUE | 2 | nmaskbits | 1000 |
| BUF_SIZE | 1 | maskp | 128 |
| DATA_SOURCE | 0 | buf | $0 |
| NOCHECK_CALL |
fs/resctrl/rdtgroup.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/locking/locktorture.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,4096-18446744073709547521 |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
kernel/taskstats.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | 1-65536 |
| BUF_SIZE | 0 | buf | 1-65536 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| TERMINATED | 0 | buf | 1 |
| USER_DATA | 0 | *buf | 0-255 |
| USER_PTR | 0 | buf |
drivers/virt/nitro_enclaves/ne_misc_dev.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,4096-18446744073709547521 |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | (-1),1-1000000001 |
| BUF_SIZE | 0 | buf | (-1),1-1000000001 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ne_cpu_pool.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct ne_cpu_pool)->mutex |
kernel/cgroup/cpuset.c __nodelist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 1024 |
| BUF_SIZE | 1 | maskp | 128 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 2 | nmaskbits | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/cpuset.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | buf | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cpuset_mutex | ||
| LOCK2 | global &cpuset_top_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/sched/build_utility.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| HALF_LOCKED2 | irq |
drivers/target/iscsi/iscsi_target_configfs.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
net/netfilter/ipvs/ip_vs_ctl.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | buf | (-1),1-4194304 |
| BUF_SIZE | 0 | buf | (-1),1-4194304 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/input/keyboard/gpio_keys.c gpio_keys_attr_store_helper() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | maskp | 16,4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 18,768 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | maskp | r bitmap_alloc |
| DATA_SOURCE | 2 | nmaskbits | r get_n_events_by_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpio/gpio-aggregator.c gpio_aggregator_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | (-128)-255 |
| PARAM_VALUE | 1 | maskp | 16,4096-ptr_max |
| PARAM_VALUE | 2 | nmaskbits | 512 |
| BUF_SIZE | 1 | maskp | 64 |
| BUF_SIZE | 1 | maskp | 64 |
| DATA_SOURCE | 1 | maskp | r bitmap_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/mempolicy.c __nodelist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4097-18446744073709547521 |
| PARAM_VALUE | 2 | nmaskbits | 1024 |
| BUF_SIZE | 1 | maskp | 128 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 2 | nmaskbits | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/acpi/sysfs.c acpi_gpe_set_masked_gpes() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | maskp | 5071645313783926784 |
| PARAM_VALUE | 2 | nmaskbits | 256 |
| BUF_SIZE | 1 | maskp | 32 |
| DATA_SOURCE | 0 | buf | $0 |
| HALF_LOCKED2 | irq |
kernel/irq/irqdesc.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| HALF_LOCKED2 | irq |
mm/page_owner.c __nodelist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 1024 |
| BUF_SIZE | 1 | maskp | 128 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 2 | nmaskbits | $2 |
kernel/workqueue.c cpulist_parse() -> bitmap_parselist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nmaskbits | 0-8193 |
| BUF_SIZE | 1 | maskp | 1024 |
| DATA_SOURCE | 0 | buf | $0 |
| HALF_LOCKED2 | irq |