Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/afs/server.c afs_find_server() -> afs_use_server()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 1-u64max |
| PARAM_VALUE | 1 | activate | 0 |
| PARAM_VALUE | 2 | reason | 18 |
| DATA_SOURCE | 0 | server | r rxrpc_kernel_get_peer_data |
| RX_PATH | |||
| LOCK2 | &local->services_lock | ||
| LOCK2 | &rx->incoming_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct rxrpc_local)->services_lock | ||
| TYPE_LOCK | (struct rxrpc_sock)->incoming_lock |
fs/afs/server.c afs_find_server_by_uuid() -> afs_use_server()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 1 | activate | 1 |
| PARAM_VALUE | 2 | reason | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | server | unit_byte |
| LOCK2 | &cell->fs_lock | ||
| TYPE_LOCK | (struct afs_cell)->fs_lock |
fs/afs/server.c afs_install_server() -> afs_use_server()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->proc_link.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | server->uuid_rb.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | server->uuid_rb.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | server->uuid_rb.rb_right | 4096-ptr_max |
| PARAM_VALUE | 1 | activate | 1 |
| PARAM_VALUE | 2 | reason | 21 |
| CAPPED_DATA | 0 | &server->uuid_rb | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cell->fs_lock | ||
| TYPE_LOCK | (struct afs_cell)->fs_lock |
fs/afs/fsclient.c afs_fs_get_capabilities() -> afs_use_server()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->endpoint_state | 4096-ptr_max |
| PARAM_VALUE | 0 | server->fs_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | server->fs_lock.owner | (-1) |
| PARAM_VALUE | 0 | server->fs_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | server->fs_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | activate | 0 |
| PARAM_VALUE | 2 | reason | 19 |
| DATA_SOURCE | 0 | server | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/afs/fsclient.c afs_fs_give_up_all_callbacks() -> afs_use_server()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->active.counter | 0 |
| PARAM_VALUE | 0 | server->cell | 4096-ptr_max |
| PARAM_VALUE | 0 | server->cell->fs_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | server->cell->fs_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | server->cell->fs_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | server->cell->fs_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | server->cell->fs_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | server->cell->fs_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | server->cell->fs_servers.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | server->endpoint_state | 4096-ptr_max |
| PARAM_VALUE | 0 | server->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | server->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | server->timer.function | 0 |
| PARAM_VALUE | 0 | server->uuid_rb.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | server->uuid_rb.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 1 | activate | 0 |
| PARAM_VALUE | 2 | reason | 20 |
| DATA_SOURCE | 0 | server | $1 |
| HALF_LOCKED2 | &pool->lock |