Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/nfs/dns_resolve.c, line 221
- fs/nfsd/export.c
- fs/nfsd/nfs4idmap.c
- net/sunrpc/auth_gss/svcauth_gss.c
- net/sunrpc/cache.c, line 249
- net/sunrpc/svcauth_unix.c
Smatch caller information:
net/sunrpc/auth_gss/svcauth_gss.c rsc_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new | 2388629963471974400,4117411210165268480 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-1023 |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| DATA_SOURCE | 3 | hash | r rsc_hash |
| MEM_ZERO | 1 | new | |
| USER_DATA | 1 | new->expiry_time | 0 |
| USER_DATA | 3 | hash | 0-1023[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
net/sunrpc/auth_gss/svcauth_gss.c rsi_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 3842664356293185536 |
| PARAM_VALUE | 0 | detail->alloc | 1810009511620583424 |
| PARAM_VALUE | 0 | detail->cache_notify | 0 |
| PARAM_VALUE | 0 | detail->cache_parse | 4657073647207092224 |
| PARAM_VALUE | 0 | detail->cache_put | 5135354606631624704 |
| PARAM_VALUE | 0 | detail->cache_request | 6775169970405453824 |
| PARAM_VALUE | 0 | detail->cache_show | 0 |
| PARAM_VALUE | 0 | detail->cache_upcall | 2639914726319820800 |
| PARAM_VALUE | 0 | detail->flush | 0 |
| PARAM_VALUE | 0 | detail->flush_time | 0 |
| PARAM_VALUE | 0 | detail->hash_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->hash_size | 64 |
| PARAM_VALUE | 0 | detail->hash_table | 0 |
| PARAM_VALUE | 0 | detail->init | 8973429821327843328 |
| PARAM_VALUE | 0 | detail->last_close | 0 |
| PARAM_VALUE | 0 | detail->last_warn | 0 |
| PARAM_VALUE | 0 | detail->match | 5990681261835071488 |
| PARAM_VALUE | 0 | detail->name | 1530470101797781504 |
| PARAM_VALUE | 0 | detail->net | 0 |
| PARAM_VALUE | 0 | detail->owner | 0 |
| PARAM_VALUE | 0 | detail->queue_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_wait | 0 |
| PARAM_VALUE | 0 | detail->update | 1859994945624862720 |
| PARAM_VALUE | 0 | detail->warn_no_listener | 0 |
| PARAM_VALUE | 0 | detail->writers | 0 |
| PARAM_VALUE | 1 | new | 7421605592938610688 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-1023 |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| DATA_SOURCE | 3 | hash | r rsi_hash |
| MEM_ZERO | 1 | new | |
| USER_DATA | 1 | new->expiry_time | 0 |
| USER_DATA | 3 | hash | 1-1023[c] |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfsd/export.c svc_expkey_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 1-u64max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new | 120609657342390272,352848162050682880 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| DATA_SOURCE | 3 | hash | r svc_expkey_hash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->expiry_time | s64min-s64max |
| USER_DATA | 3 | hash | 0-255[c] |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | global &nfsd_mutex |
fs/nfsd/export.c svc_export_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new | 5981537600126308352,6565058920821268480 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| DATA_SOURCE | 3 | hash | r svc_export_hash |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->expiry_time | s64min-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | global &nfsd_mutex |
net/sunrpc/svcauth_unix.c __ip_map_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 4096-ptr_max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new | 1664117279701286912 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->expiry_time | s64min-s64max |
| HALF_LOCKED2 | &inode->i_rwsem |
net/sunrpc/svcauth_unix.c sunrpc_nl_parse_one_unix_gid() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 1-u64max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new | 910214302117720064 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| DATA_SOURCE | 0 | detail | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/sunrpc/svcauth_unix.c unix_gid_parse() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 7898521617989283840 |
| PARAM_VALUE | 0 | detail->alloc | 4616296578364616704 |
| PARAM_VALUE | 0 | detail->cache_notify | 8545557545567817728 |
| PARAM_VALUE | 0 | detail->cache_parse | 4245297119456370688 |
| PARAM_VALUE | 0 | detail->cache_put | 3118528042166714368 |
| PARAM_VALUE | 0 | detail->cache_request | 6710503571930931200 |
| PARAM_VALUE | 0 | detail->cache_show | 7604484818929680384 |
| PARAM_VALUE | 0 | detail->cache_upcall | 7237461960511250432 |
| PARAM_VALUE | 0 | detail->flush | 0 |
| PARAM_VALUE | 0 | detail->flush_time | 0 |
| PARAM_VALUE | 0 | detail->hash_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->hash_size | 256 |
| PARAM_VALUE | 0 | detail->hash_table | 0 |
| PARAM_VALUE | 0 | detail->init | 7676060437978832896 |
| PARAM_VALUE | 0 | detail->last_close | 0 |
| PARAM_VALUE | 0 | detail->last_warn | 0 |
| PARAM_VALUE | 0 | detail->match | 4079874871742754816 |
| PARAM_VALUE | 0 | detail->name | 7303493873323962368 |
| PARAM_VALUE | 0 | detail->net | 0 |
| PARAM_VALUE | 0 | detail->owner | 0 |
| PARAM_VALUE | 0 | detail->queue_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_wait | 0 |
| PARAM_VALUE | 0 | detail->update | 1075707429946839040 |
| PARAM_VALUE | 0 | detail->warn_no_listener | 0 |
| PARAM_VALUE | 0 | detail->writers | 0 |
| PARAM_VALUE | 1 | new | 7026581618290794496 |
| PARAM_VALUE | 1 | new->flags | 0 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| USER_DATA | 1 | new->expiry_time | s64min-s64max |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfsd/nfs4idmap.c idtoname_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 6162867731813707776 |
| PARAM_VALUE | 0 | detail->alloc | 8847151164453756928 |
| PARAM_VALUE | 0 | detail->cache_notify | 0 |
| PARAM_VALUE | 0 | detail->cache_parse | 8743810014654451712 |
| PARAM_VALUE | 0 | detail->cache_put | 958759296379633664 |
| PARAM_VALUE | 0 | detail->cache_request | 8537689970577678336 |
| PARAM_VALUE | 0 | detail->cache_show | 7697073823471185920 |
| PARAM_VALUE | 0 | detail->cache_upcall | 2914570454863917056 |
| PARAM_VALUE | 0 | detail->flush | 0 |
| PARAM_VALUE | 0 | detail->flush_time | 0 |
| PARAM_VALUE | 0 | detail->hash_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->hash_size | 256 |
| PARAM_VALUE | 0 | detail->hash_table | 0 |
| PARAM_VALUE | 0 | detail->init | 1599285171416276992 |
| PARAM_VALUE | 0 | detail->last_close | 0 |
| PARAM_VALUE | 0 | detail->last_warn | 0 |
| PARAM_VALUE | 0 | detail->match | 3099190177732608000 |
| PARAM_VALUE | 0 | detail->name | 704451773196054528 |
| PARAM_VALUE | 0 | detail->net | 0 |
| PARAM_VALUE | 0 | detail->owner | 0 |
| PARAM_VALUE | 0 | detail->queue_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->queue_wait | 0 |
| PARAM_VALUE | 0 | detail->update | 1599285171416276992 |
| PARAM_VALUE | 0 | detail->warn_no_listener | 2079669960928587776 |
| PARAM_VALUE | 0 | detail->writers | 0 |
| PARAM_VALUE | 1 | new | 8466791612391657472 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| MEM_ZERO | 1 | new | |
| USER_DATA | 1 | new->expiry_time | 0 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfsd/nfs4idmap.c nametoid_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 5970941917104783360 |
| PARAM_VALUE | 0 | detail->alloc | 8847151164453756928 |
| PARAM_VALUE | 0 | detail->cache_notify | 0 |
| PARAM_VALUE | 0 | detail->cache_parse | 2485414810382712832 |
| PARAM_VALUE | 0 | detail->cache_put | 958759296379633664 |
| PARAM_VALUE | 0 | detail->cache_request | 3796276446870528000 |
| PARAM_VALUE | 0 | detail->cache_show | 6063807587640918016 |
| PARAM_VALUE | 0 | detail->cache_upcall | 7146578865373458432 |
| PARAM_VALUE | 0 | detail->flush | 0 |
| PARAM_VALUE | 0 | detail->flush_time | 0 |
| PARAM_VALUE | 0 | detail->hash_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->hash_size | 256 |
| PARAM_VALUE | 0 | detail->hash_table | 0 |
| PARAM_VALUE | 0 | detail->init | 1599285171416276992 |
| PARAM_VALUE | 0 | detail->last_close | 0 |
| PARAM_VALUE | 0 | detail->last_warn | 0 |
| PARAM_VALUE | 0 | detail->match | 994932878496595968 |
| PARAM_VALUE | 0 | detail->name | 3124544458666422272 |
| PARAM_VALUE | 0 | detail->net | 0 |
| PARAM_VALUE | 0 | detail->owner | 0 |
| PARAM_VALUE | 0 | detail->queue_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->queue_wait | 0 |
| PARAM_VALUE | 0 | detail->update | 1599285171416276992 |
| PARAM_VALUE | 0 | detail->warn_no_listener | 2079669960928587776 |
| PARAM_VALUE | 0 | detail->writers | 0 |
| PARAM_VALUE | 1 | new | 8147610166318456832 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-255 |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| MEM_ZERO | 1 | new | |
| USER_DATA | 1 | new->expiry_time | 0 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/dns_resolve.c nfs_dns_update() -> sunrpc_cache_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | detail | 2072493367879479296 |
| PARAM_VALUE | 0 | detail->alloc | 984878211925598208 |
| PARAM_VALUE | 0 | detail->cache_notify | 0 |
| PARAM_VALUE | 0 | detail->cache_parse | 2843441488914403328 |
| PARAM_VALUE | 0 | detail->cache_put | 8071540993901125632 |
| PARAM_VALUE | 0 | detail->cache_request | 9092987279667138560 |
| PARAM_VALUE | 0 | detail->cache_show | 8135476211234066432 |
| PARAM_VALUE | 0 | detail->cache_upcall | 878658064980996096 |
| PARAM_VALUE | 0 | detail->flush | 0 |
| PARAM_VALUE | 0 | detail->flush_time | 0 |
| PARAM_VALUE | 0 | detail->hash_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->hash_size | 16 |
| PARAM_VALUE | 0 | detail->hash_table | 0 |
| PARAM_VALUE | 0 | detail->init | 3180702867472527360 |
| PARAM_VALUE | 0 | detail->last_close | 0 |
| PARAM_VALUE | 0 | detail->last_warn | 0 |
| PARAM_VALUE | 0 | detail->match | 7993031874584231936 |
| PARAM_VALUE | 0 | detail->name | 3554097768054423552 |
| PARAM_VALUE | 0 | detail->net | 0 |
| PARAM_VALUE | 0 | detail->owner | 0 |
| PARAM_VALUE | 0 | detail->queue_lock | s32min-s32max |
| PARAM_VALUE | 0 | detail->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | detail->queue_wait | 0 |
| PARAM_VALUE | 0 | detail->update | 8035869499438444544 |
| PARAM_VALUE | 0 | detail->warn_no_listener | 0 |
| PARAM_VALUE | 0 | detail->writers | 0 |
| PARAM_VALUE | 1 | new | 2534368910837198848 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | hash | 0-15 |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | detail | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | detail | $0 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |