Defined in 3 files as a function:
- fs/btrfs/compression.c, line 715 (as a function)
- fs/jffs2/compr_lzo.c, line 24 (as a function)
- net/ceph/osdmap.c, line 1008 (as a function)
Referenced in 4 files:
- drivers/staging/media/meson/vdec/codec_mpeg12.c
- fs/btrfs/compression.c
- fs/jffs2/compr_lzo.c
- net/ceph/osdmap.c
Smatch caller information:
fs/btrfs/compression.c btrfs_put_workspace() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-2 |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| BUF_SIZE | 1 | ws | (-1),16 |
| BUF_SIZE | 1 | ws | (-1),16 |
| DATA_SOURCE | 0 | type | $1 |
| DATA_SOURCE | 1 | ws | $2 |
| HARD_MAX | 0 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/compression.c free_workspace_manager() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-2 |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| DATA_SOURCE | 0 | type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/jffs2/compr_lzo.c alloc_workspace() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
fs/jffs2/compr_lzo.c jffs2_lzo_exit() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
fs/jffs2/compr_lzo.c jffs2_lzo_init() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
net/ceph/osdmap.c cleanup_workspace_manager() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &osdc->lock |
net/ceph/osdmap.c put_workspace() -> free_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 4096-ptr_max |
| PARAM_VALUE | 0 | type->item.next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | type->item.next->next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | type->item.prev | 24,4096-ptr_max |
| PARAM_VALUE | 0 | type->item.prev->next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | type->item.prev->prev | 24,4096-ptr_max |
| DATA_SOURCE | 0 | type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |