Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/xfs_log.c xlog_grant_head_check() -> xlog_ticket_reservation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | log | 4096-ptr_max |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| PARAM_VALUE | 2 | tic | 4096-ptr_max |
| DATA_SOURCE | 0 | log | $0 |
| DATA_SOURCE | 1 | head | $1 |
| DATA_SOURCE | 2 | tic | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_log.c xlog_grant_head_wake() -> xlog_ticket_reservation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | log | 4096-ptr_max |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| CAPPED_DATA | 1 | head | 1 |
| CAPPED_DATA | 1 | &head->waiters | 1 |
| DATA_SOURCE | 0 | log | $0 |
| DATA_SOURCE | 1 | head | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &log->l_reserve_head.lock | |
| HALF_LOCKED2 | 0 | &log->l_write_head.lock | |
| HALF_LOCKED2 | 1 | &head->lock | |
| TYPE_LOCK | (struct xlog_grant_head)->lock |