Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/xfs_log_cil.c xlog_cil_init() -> xlog_cil_ctx_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cil | 4096-ptr_max |
| PARAM_VALUE | 0 | cil->xc_log | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | cil | 640 |
| BUF_SIZE | 0 | cil->xc_log | 1216 |
| BUF_SIZE | 0 | cil->xc_pcp | 40 |
| BUF_SIZE | 0 | cil->xc_push_wq | (-1),512,528-8720 |
| BUF_SIZE | 1 | ctx | 1336 |
| CAPPED_DATA | 0 | cil->xc_log->l_iclog_bufs | 1 |
| CAPPED_DATA | 0 | cil->xc_log->l_sectBBsize | 1 |
| DATA_SOURCE | 0 | cil | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | r xlog_cil_ctx_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/xfs_log_cil.c xlog_cil_push_work() -> xlog_cil_ctx_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cil | 4096-ptr_max |
| PARAM_VALUE | 0 | cil->xc_log | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | 1336 |
| CAPPED_DATA | 0 | &cil->xc_ctx_lock | 1 |
| DATA_SOURCE | 1 | ctx | r xlog_cil_ctx_alloc |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cil->xc_ctx_lock | |
| LOCK2 | 0 | &cil->xc_push_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xfs_cil)->xc_ctx_lock | ||
| TYPE_LOCK | (struct xfs_cil)->xc_push_lock |