Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/block/drbd/drbd_main.c, line 2472
- drivers/dma/idxd/sysfs.c, line 1266
- drivers/net/ethernet/asix/ax88796c_main.c, line 1146
- drivers/thermal/intel/intel_powerclamp.c, line 171
- include/linux/cpumask.h, line 999
- kernel/padata.c, line 864
- lib/bitmap-str.c
- lib/test_bitmap.c, line 661
- net/core/net-sysfs.c
Smatch caller information:
lib/bitmap-str.c bitmap_parse_user() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | u32max |
| BUF_SIZE | 0 | start | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | start | 1-1000000001,2147479553 |
| BUF_SIZE | 2 | maskp | (-1),1024 |
| BUF_SIZE | 2 | maskp | (-1),1024 |
| DATA_SOURCE | 0 | start | r memdup_user_nul |
| DATA_SOURCE | 2 | maskp | $2 |
| DATA_SOURCE | 3 | nmaskbits | $3 |
| TERMINATED | 0 | start | 1 |
| USER_DATA | 0 | *start | 0-255 |
| UNITS | 3 | nmaskbits | unit_array_size |
| USER_PTR | 0 | start |
drivers/md/dm-ps-io-affinity.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
| HALF_LOCKED2 | &md->type_lock |
net/core/sysctl_net_core.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | start | (-1),1-4194304 |
| BUF_SIZE | 0 | start | (-1),1-4194304 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rps_default_mask_mutex |
drivers/dma/idxd/sysfs.c wq_op_config_store() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 1-1000000000 |
| PARAM_VALUE | 2 | maskp | 16,4096-ptr_max |
| PARAM_VALUE | 3 | nmaskbits | 256 |
| BUF_SIZE | 2 | maskp | 32 |
| BUF_SIZE | 2 | maskp | 32 |
| CAPPED_DATA | 1 | buflen | 1 |
| DATA_SOURCE | 0 | start | $2 |
| DATA_SOURCE | 1 | buflen | $3 |
| DATA_SOURCE | 2 | maskp | r bitmap_zalloc |
| NOSPEC | 1 | buflen | |
| MEM_ZERO | 2 | maskp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 0 | ==start1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
lib/test_bitmap.c test_bitmap_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buflen | 0-1010101,u32max |
| PARAM_VALUE | 2 | maskp | 6200843027466809344 |
| BUF_SIZE | 2 | maskp | 256 |
| CAPPED_DATA | 1 | buflen | 1 |
drivers/block/drbd/drbd_main.c set_resource_options() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 32 |
| PARAM_VALUE | 3 | nmaskbits | 2-8193 |
| BUF_SIZE | 0 | start | 32 |
| BUF_SIZE | 2 | maskp | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *start | 0-255[u] |
| USER_PTR | 0 | start | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &resource->adm_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &resources_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
fs/resctrl/rdtgroup.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $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 |
net/core/net-sysfs.c store_rps_map() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 1-1000000000 |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| CAPPED_DATA | 1 | buflen | 1 |
| DATA_SOURCE | 0 | start | $1 |
| DATA_SOURCE | 1 | buflen | $2 |
| CAPABLE | 0 | 12 | |
| NOSPEC | 1 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 0 | ==start1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_cpus_store() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 1-1000000000 |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| CAPPED_DATA | 1 | buflen | 1 |
| DATA_SOURCE | 0 | start | $3 |
| DATA_SOURCE | 1 | buflen | $4 |
| CAPABLE | 0 | 12 | |
| NOSPEC | 1 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 0 | ==start1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c xps_rxqs_store() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 1-1000000000 |
| PARAM_VALUE | 2 | maskp | 16,4096-ptr_max |
| CAPPED_DATA | 1 | buflen | 1 |
| DATA_SOURCE | 0 | start | $3 |
| DATA_SOURCE | 1 | buflen | $4 |
| DATA_SOURCE | 2 | maskp | r bitmap_zalloc |
| NS_CAPABLE | 0 | 12 | |
| NOSPEC | 1 | buflen | |
| MEM_ZERO | 2 | maskp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | nmaskbits | unit_array_size |
| ELEM_LAST | 0 | ==start1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_spi_init() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buflen | 35 |
| PARAM_VALUE | 2 | maskp | 6950630358486425600 |
| PARAM_VALUE | 3 | nmaskbits | 256 |
| BUF_SIZE | 0 | start | 36 |
| BUF_SIZE | 2 | maskp | 32 |
drivers/vdpa/vdpa_user/vduse_dev.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
| 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/padata.c store_cpumask() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | 1-1000000000 |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| CAPPED_DATA | 1 | buflen | 1 |
| DATA_SOURCE | 0 | start | $2 |
| DATA_SOURCE | 1 | buflen | $3 |
| NOSPEC | 1 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 0 | ==start1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/thermal/intel/intel_powerclamp.c cpumask_set() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-18446744073709547521 |
| PARAM_VALUE | 1 | buflen | 0-1010101 |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 0 | start | (-1),1-1000000001 |
| BUF_SIZE | 0 | start | (-1),1-1000000001 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
| STR_LEN | 0 | start | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &powerclamp_lock | ||
| HALF_LOCKED2 | &of->mutex |
kernel/trace/trace_boot.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 0 | *start | 1-255 |
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
kernel/workqueue.c cpumask_parse() -> bitmap_parse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | buflen | u32max |
| PARAM_VALUE | 3 | nmaskbits | 0-8193 |
| BUF_SIZE | 2 | maskp | 1024 |
| DATA_SOURCE | 0 | start | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &wq_pool_mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |