Defined in 1 files as a prototype:
Defined in 4 files as a function:
- drivers/md/dm-bufio.c, line 620 (as a function)
- drivers/net/ethernet/fungible/funeth/funeth_rx.c, line 67 (as a function)
- include/linux/sunrpc/cache.h, line 203 (as a function)
- scripts/gendwarfksyms/cache.c, line 24 (as a function)
Referenced in 8 files:
- drivers/md/dm-bufio.c
- drivers/net/ethernet/fungible/funeth/funeth_rx.c, line 103
- fs/nfsd/export.h, line 132
- net/sunrpc/auth_gss/svcauth_gss.c, line 1726
- net/sunrpc/cache.c
- net/sunrpc/svcauth_unix.c, line 362
- scripts/gendwarfksyms/dwarf.c, line 126
- scripts/gendwarfksyms/gendwarfksyms.h, line 226
Smatch caller information:
drivers/net/ethernet/fungible/funeth/funeth_rx.c funeth_alloc_page() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | rb | 16,4096-u64max |
| BUF_SIZE | 0 | h | (-1),384 |
| BUF_SIZE | 0 | h | (-1),384 |
| BUF_SIZE | 0 | h->dma_dev | (-1),1616 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 1 | rb | $1 |
| NOSPEC | 0 | h->netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | h->netdev->flags | 0-526849[c] |
| USER_DATA | 0 | h->netdev->group | s32min-s32max |
| USER_DATA | 0 | h->netdev->ifindex | s32min-s32max |
| USER_DATA | 0 | h->netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | h->netdev->real_num_rx_queues | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | h->netdev->tx_queue_len | |
| USER_PTR | 0 | h->netdev->name |
fs/nfsd/nfs4layouts.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 1-u64max |
| NOCHECK_CALL |
fs/nfsd/nfs4proc.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_accept() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| NOCHECK_CALL |
fs/nfsd/nfs4state.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &clp->cl_lock | ||
| HALF_LOCKED2 | &stp->st_mutex |
fs/nfsd/vfs.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
net/sunrpc/cache.c cache_do_upcall() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->expiry_time | s64min-(-1),1-s64max |
| DATA_SOURCE | 0 | h | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &detail->queue_lock | ||
| TYPE_LOCK | (struct cache_detail)->queue_lock |
net/sunrpc/cache.c sunrpc_cache_add_entry() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &detail->hash_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct cache_detail)->hash_lock |
net/sunrpc/cache.c sunrpc_cache_add_entry() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->cache_list.next | 0 |
| PARAM_VALUE | 0 | h->cache_list.pprev | 0 |
| PARAM_VALUE | 0 | h->flags | 0 |
| PARAM_VALUE | 0 | h->ref.refcount.refs.counter | 1 |
| BUF_SIZE | 0 | h | 48 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &detail->hash_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct cache_detail)->hash_lock |
net/sunrpc/cache.c sunrpc_cache_requests_snapshot() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cd->queue_lock | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | global &nfsd_mutex | ||
| TYPE_LOCK | (struct cache_detail)->queue_lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/sunrpc/cache.c sunrpc_cache_update() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->cache_list.next | 0 |
| PARAM_VALUE | 0 | h->cache_list.pprev | 0 |
| PARAM_VALUE | 0 | h->flags | 0 |
| PARAM_VALUE | 0 | h->ref.refcount.refs.counter | 1 |
| BUF_SIZE | 0 | h | 48 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &detail->hash_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct cache_detail)->hash_lock |
net/sunrpc/svcauth_unix.c ip_map_cached_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &xprt->xpt_lock | ||
| TYPE_LOCK | (struct svc_xprt)->xpt_lock |
drivers/md/dm-bufio.c __bufio_new() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | rb | 4096-ptr_max |
| PARAM_VALUE | 1 | rb->u.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | rb->u.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | rb->u.lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 1 | rb->u.lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 1 | rb->u.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | rb->u.spinlock.dep_map->name | 0-255 |
| DATA_SOURCE | 1 | rb | $1 |
| DATA_SOURCE | 2 | block | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c __dm_bufio_prefetch() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | rb | 4096-ptr_max |
| DATA_SOURCE | 1 | rb | r cache_get_tree |
| DATA_SOURCE | 2 | block | $1 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c forget_buffer() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | rb | 4096-ptr_max |
| DATA_SOURCE | 1 | rb | r cache_get_tree |
| DATA_SOURCE | 2 | block | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-bufio.c new_read() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | rb | 4096-ptr_max |
| DATA_SOURCE | 1 | rb | r cache_get_tree |
| DATA_SOURCE | 2 | block | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs4xdr.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &clp->cl_lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/nfsd/nfsfh.c exp_get() -> cache_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| NOCHECK_CALL |