Documented in 1 files:

Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 34 files:

Smatch caller information:

drivers/block/zloop.c zloop_parse_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 8333079733456547840
BUF_SIZE 1 table 224
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

drivers/target/target_core_pscsi.c pscsi_set_configfs_dev_params() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 369686093388206080
BUF_SIZE 1 table 80
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

security/keys/keyctl_pkey.c keyctl_pkey_params_parse() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-8,10-31,33-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

fs/nfs/nfs4idmap.c nfs_idmap_prepare_message() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 80
BUF_SIZE 2 args 16
DATA_SOURCE 0 s $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &idmap->idmap_mutex
HALF_LOCKED2 global &key_types_sem

drivers/target/target_core_iblock.c iblock_set_configfs_dev_params() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 80
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

fs/gfs2/ops_fstype.c gfs2_lm_mount() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

block/blk-iocost.c ioc_cost_model_write() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->bd_queue->rq_qos_mutex
LOCK2 &ioc->lock
LOCK2 &of->mutex
LOCK2 irq
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ioc)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

block/blk-iocost.c ioc_cost_model_write() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 112
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->bd_queue->rq_qos_mutex
LOCK2 &ioc->lock
LOCK2 &of->mutex
LOCK2 irq
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ioc)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

block/blk-iocost.c ioc_qos_write() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->bd_queue->rq_qos_mutex
LOCK2 &ctx.bdev->bd_queue->rq_qos_mutex
LOCK2 &ioc->lock
LOCK2 &of->mutex
LOCK2 irq
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ioc)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct request_queue)->rq_qos_mutex

block/blk-iocost.c ioc_qos_write() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 112
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdev->bd_queue->rq_qos_mutex
LOCK2 &ctx.bdev->bd_queue->rq_qos_mutex
LOCK2 &ioc->lock
LOCK2 &of->mutex
LOCK2 irq
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ioc)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct request_queue)->rq_qos_mutex

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

lib/ts_fsm.c fsm_find() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/target/target_core_rd.c rd_set_configfs_dev_params() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 3302178557155520512
BUF_SIZE 1 table 64
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

drivers/block/rnbd/rnbd-clt-sysfs.c rnbd_clt_parse_map_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 6086499465674321920
BUF_SIZE 1 table 112
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
STR_LEN 0 s (-1)
STR_LEN 0 s (-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

security/keys/encrypted-keys/encrypted.c datablob_parse() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
BUF_SIZE 1 table 64
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &key->sem
HALF_LOCKED2 global &key_construction_mutex
HALF_LOCKED2 global &key_types_sem

security/keys/encrypted-keys/encrypted.c datablob_parse() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
BUF_SIZE 1 table 64
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &key->sem
HALF_LOCKED2 global &key_construction_mutex
HALF_LOCKED2 global &key_types_sem

kernel/cgroup/rdma.c rdmacg_resource_set_max() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 96
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/smb/client/fs_context.c cifs_parse_cache_flavor() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 96
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

fs/smb/client/fs_context.c cifs_parse_security_flavors() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 160
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

fs/smb/client/fs_context.c cifs_parse_smb_version() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 176
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

fs/smb/client/fs_context.c cifs_parse_upcall_target() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

fs/smb/client/fs_context.c parse_reparse_flavor() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 80
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

fs/smb/client/fs_context.c parse_symlink_flavor() -> match_token()

Type Parameter Key Value
BUF_SIZE 1 table 144
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $1

mm/vmscan.c user_proactive_reclaim() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
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/target/target_core_configfs.c target_pr_res_aptpl_metadata_store() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 1997932756089090048
BUF_SIZE 1 table 240
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
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

fs/unicode/utf8-core.c utf8_parse_version() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 5,4096-ptr_max
PARAM_VALUE 1 table 4096-ptr_max
BUF_SIZE 1 table 32
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *s 0-255
USER_PTR 0 s
HALF_LOCKED2 &fc->uapi_mutex

drivers/target/target_core_user.c tcmu_set_configfs_dev_params() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 144
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

security/keys/trusted-keys/trusted_caam.c get_pkey_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-8,10-31,33-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 32
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

drivers/nvme/target/fcloop.c fcloop_parse_nm_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 6854632901661331456
BUF_SIZE 1 table 112
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
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/nvme/target/fcloop.c fcloop_parse_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 2473209107963953152
BUF_SIZE 1 table 112
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

security/ipe/policy_parser.c parse_action() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $0
HALF_LOCKED2 &root->i_rwsem

security/ipe/policy_parser.c parse_header() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 48
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
HALF_LOCKED2 &root->i_rwsem

security/ipe/policy_parser.c parse_operation() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 128
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $0
HALF_LOCKED2 &root->i_rwsem

security/ipe/policy_parser.c parse_property() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
BUF_SIZE 1 table 144
BUF_SIZE 2 args 48
DATA_SOURCE 0 s $0
HALF_LOCKED2 &root->i_rwsem

kernel/cpu.c mitigations_parse_cmdline() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
BUF_SIZE 1 table 96
DATA_SOURCE 0 s r strsep
HALF_LOCKED2 irq

security/keys/trusted-keys/trusted_tpm1.c getoptions() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-8,10-31,33-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 160
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

kernel/events/core.c perf_event_parse_addr_filter() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 1 *table->pattern 0-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 128
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

block/error-injection.c blk_error_injection_parse_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 3480567044538994688
BUF_SIZE 1 table 128
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep

drivers/infiniband/ulp/srp/ib_srp.c srp_parse_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 258054400788692992
BUF_SIZE 1 table 336
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
STR_LEN 0 s (-1)
STR_LEN 0 s (-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->add_target_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct srp_host)->add_target_mutex

drivers/nvme/host/fabrics.c nvmf_parse_options() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 270498203722006528
BUF_SIZE 1 table 464
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
LOCK2 global &nvmf_dev_mutex

security/integrity/ima/ima_policy.c ima_parse_rule() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-8,10-31,33-34,36-255
BUF_SIZE 1 table 768
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
HALF_LOCKED2 global &ima_write_mutex

security/keys/trusted-keys/trusted_core.c datablob_parse() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
BUF_SIZE 1 table 64
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &key->sem
HALF_LOCKED2 global &key_construction_mutex
HALF_LOCKED2 global &key_types_sem

drivers/target/target_core_file.c fd_set_configfs_dev_params() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 80
BUF_SIZE 2 args 48
DATA_SOURCE 0 s r strsep
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

fs/f2fs/super.c f2fs_parse_param() -> match_token()

Type Parameter Key Value
PARAM_VALUE 0 s 0,4096-ptr_max
PARAM_VALUE 2 args 4096-ptr_max
BUF_SIZE 1 table 80
BUF_SIZE 2 args 48
CAPPED_DATA 0 s 1
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 s
HALF_LOCKED2 &fc->uapi_mutex