Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/dax.c __dax_invalidate_entry() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &btree->b_sem | ||
| HALF_LOCKED2 | &fc->killsb | ||
| HALF_LOCKED2 | &fi->dax->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &iocb->ki_filp->f_inode->i_rwsem | ||
| HALF_LOCKED2 | &mapping->host->i_rwsem | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->umount_mutex |
fs/dax.c __dax_invalidate_entry() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &btree->b_sem | ||
| HALF_LOCKED2 | &fc->killsb | ||
| HALF_LOCKED2 | &fi->dax->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &iocb->ki_filp->f_inode->i_rwsem | ||
| HALF_LOCKED2 | &mapping->host->i_rwsem | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->umount_mutex |
fs/dax.c dax_writeback_one() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 2 |
| DATA_SOURCE | 0 | xas | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-u64max[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &mapping->invalidate_lock |
lib/xarray.c xa_get_mark() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 3488985050673152 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 0-2 |
| DATA_SOURCE | 1 | mark | $2 |
| HARD_MAX | 1 | mark | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-4503599627370503 |
| USER_DATA | 0 | xas->xa_offset | 0-15[c] |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &(&rt->xa)->xa_lock | ||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | &clp->cl_fence_mutex | ||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &esw->state_lock | ||
| HALF_LOCKED2 | &f->lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &xa->xa_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &(&debugfs_dentries)->xa_lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &dpll_lock |
lib/xarray.c xa_get_mark() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 3488985050673152 |
| PARAM_VALUE | 0 | xas->xa_node | 4096-ptr_max |
| PARAM_VALUE | 1 | mark | 0-2 |
| DATA_SOURCE | 1 | mark | $2 |
| HARD_MAX | 1 | mark | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | xas->xa_index | 0-4503599627370503 |
| USER_DATA | 0 | xas->xa_offset | 0-15[c] |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &(&rt->xa)->xa_lock | ||
| HALF_LOCKED2 | &((&xas)->xa)->xa_lock | ||
| HALF_LOCKED2 | &clp->cl_fence_mutex | ||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &esw->state_lock | ||
| HALF_LOCKED2 | &f->lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &xa->xa_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &(&debugfs_dentries)->xa_lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &dpll_lock |
mm/filemap.c filemap_cachestat() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 8973220117944201216 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 0 |
| USER_DATA | 0 | xas->xa_index | 0-4503599627370495[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | rcu_read |
mm/filemap.c filemap_cachestat() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 8973220117944201216 |
| PARAM_VALUE | 0 | xas->xa | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 1 |
| USER_DATA | 0 | xas->xa_index | 0-4503599627370495[c] |
| USER_DATA | 0 | xas->xa_offset | 0-255 |
| LOCK2 | rcu_read |
lib/test_xarray.c check_xa_mark_2() -> xas_get_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xas | 4096-ptr_max |
| PARAM_VALUE | 0 | xas->xa | 5024146686711472128 |
| PARAM_VALUE | 0 | xas->xa_node | 0-1,4096-ptr_max |
| PARAM_VALUE | 1 | mark | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock |