Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/nilfs2/page.c __nilfs_get_folio_block() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| HALF_LOCKED2 | &btree->b_sem |
fs/gfs2/meta_io.c gfs2_getbuf() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 1-u64max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| UNITS | 1 | count | unit_byte |
fs/gfs2/meta_io.c gfs2_getjdatabuf() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 1-u64max |
| BUF_SIZE | 0 | bh | 1-s32max |
| BUF_SIZE | 0 | bh | 1-s32max |
| DATA_SOURCE | 0 | bh | r folio_get_private |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | count | unit_byte |
| HALF_LOCKED2 | &ip->i_rw_mutex | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/nilfs2/mdt.c nilfs_mdt_forget_block() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 1-u64max |
| BUF_SIZE | 0 | bh | 1-s32max |
| BUF_SIZE | 0 | bh | 1-s32max |
| DATA_SOURCE | 0 | bh | r folio_get_private |
| CAPABLE | 0 | 21 | |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | &nilfs->ns_segctor_sem |
fs/nilfs2/mdt.c nilfs_mdt_freeze_buffer() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/mdt.c nilfs_mdt_get_frozen_buffer() -> get_nth_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 1-u64max |
| BUF_SIZE | 0 | bh | 1-s32max |
| BUF_SIZE | 0 | bh | 1-s32max |
| DATA_SOURCE | 0 | bh | r folio_get_private |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bmap->b_sem | ||
| HALF_LOCKED2 | &btree->b_sem | ||
| HALF_LOCKED2 | &direct->b_sem |