Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-thin.c process_create_snap_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 3 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_create_thin_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 2 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_delete_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 2 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_release_metadata_snap_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 1 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_reserve_metadata_snap_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 1 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_set_transaction_id_mesg() -> check_arg_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | argc | 1-s32max |
| PARAM_VALUE | 1 | args_required | 3 |
| DATA_SOURCE | 0 | argc | $0 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |