Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_alloc.c, line 72
- fs/xfs/libxfs/xfs_refcount_btree.c, line 77
- fs/xfs/scrub/refcount_repair.c, line 600
Smatch caller information:
fs/xfs/scrub/refcount_repair.c xrep_refc_build_new_tree() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_alloc.c xfs_prealloc_blocks() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| DATA_SOURCE | 0 | mp | $0 |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | 0 | &mp->m_growlock |
fs/xfs/libxfs/xfs_refcount_btree.c xfs_refcountbt_alloc_block() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_ag.c xfs_ag_init_headers() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| DATA_SOURCE | 0 | mp | $0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | mp | unit_byte |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_agfblock_init() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| DATA_SOURCE | 0 | mp | $0 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_rmaproot_init() -> xfs_refc_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| DATA_SOURCE | 0 | mp | $0 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |