Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/nilfs2/super.c nilfs_set_log_cursor() -> nilfs_count_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 1 | nblocks | 5282628158387363840 |
| BUF_SIZE | 0 | nilfs | (-1),1-s32max |
| BUF_SIZE | 0 | nilfs | (-1),1-s32max |
| DATA_SOURCE | 0 | nilfs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nilfs | unit_byte |
| HALF_LOCKED2 | &nilfs->ns_sem | ||
| HALF_LOCKED2 | 0 | &nilfs->ns_sem | |
| TYPE_LOCK | (struct the_nilfs)->ns_sem |
fs/nilfs2/super.c nilfs_statfs() -> nilfs_count_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 1 | nblocks | 4365293301165228032 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nilfs | unit_byte |
| HALF_LOCKED2 | &s->s_umount |
fs/nilfs2/sysfs.c nilfs_dev_free_blocks_show() -> nilfs_count_free_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nilfs | 4096-ptr_max |
| PARAM_VALUE | 1 | nblocks | 2782499722663653376 |
| PARAM_VALUE | 1 | *nblocks | 0 |
| DATA_SOURCE | 0 | nilfs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |