Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/btree.c nilfs_btree_borrow_left() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_borrow_right() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_carry_left() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_carry_right() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_concat_left() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_concat_right() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_do_delete() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-254 |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_do_insert() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-254 |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_do_lookup() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 0-254 |
| DATA_SOURCE | 0 | path | $1 |
| FUZZY_MAX | 1 | level | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_do_lookup_last() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-254 |
| DATA_SOURCE | 0 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_get_next_key() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-255 |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| LOCK2 | &btree->b_sem | ||
| HALF_LOCKED2 | &nilfs->ns_segctor_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_get_node() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_lookup_contig() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1 |
| DATA_SOURCE | 0 | path | r nilfs_btree_alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_prepare_delete() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_prepare_insert() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_promote_key() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | s32min-254 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_shrink() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_split() -> nilfs_btree_get_nonroot_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-s32max |
| CAPPED_DATA | 1 | level | 1 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 1 | level | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |