Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/cavium/liquidio/lio_main.c, line 804
- kernel/module/kdb.c, line 36
- kernel/module/main.c
- kernel/module/procfs.c, line 21
Smatch caller information:
drivers/net/ethernet/cavium/liquidio/lio_main.c liquidio_watchdog() -> module_refcount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 0 |
kernel/module/procfs.c print_unload_info() -> module_refcount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| DATA_SOURCE | 0 | mod | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/module/kdb.c kdb_lsmod() -> module_refcount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| CAPPED_DATA | 0 | &mod->list | 1 |
| HALF_LOCKED2 | rcu_read |
kernel/module/main.c show_refcnt() -> module_refcount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |