Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/xfs_log.c xlog_grant_head_check() -> xlog_grant_head_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | log | 4096-ptr_max |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | tic | 4096-ptr_max |
| CAPPED_DATA | 1 | head | 1 |
| CAPPED_DATA | 1 | &head->waiters | 1 |
| DATA_SOURCE | 0 | log | $0 |
| DATA_SOURCE | 1 | head | $1 |
| DATA_SOURCE | 2 | tic | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &head->lock | |
| TYPE_LOCK | (struct xlog_grant_head)->lock |
fs/xfs/xfs_log.c xlog_grant_head_check() -> xlog_grant_head_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | log | 4096-ptr_max |
| PARAM_VALUE | 1 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | tic | 4096-ptr_max |
| PARAM_VALUE | 3 | need_bytes | (-2147483647)-s32max |
| CAPPED_DATA | 1 | head | 1 |
| CAPPED_DATA | 1 | head->waiters.next | 1 |
| CAPPED_DATA | 1 | &head->waiters | 1 |
| DATA_SOURCE | 0 | log | $0 |
| DATA_SOURCE | 1 | head | $1 |
| DATA_SOURCE | 2 | tic | $2 |
| PARAM_COMPARE | 1 | head->waiters.next | == $1->waiters.prev |
| PARAM_COMPARE | 1 | &head->waiters | == $1->waiters.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &head->lock | |
| TYPE_LOCK | (struct xlog_grant_head)->lock |