Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/btree.c nilfs_btree_node_delete() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | 0-65534 |
| BUF_SIZE | 0 | node | (-1),56 |
| BUF_SIZE | 0 | node | (-1),56 |
| DATA_SOURCE | 0 | node | $0 |
| PARAM_COMPARE | 1 | nchildren | < $0->bn_nchildren |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_init() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | 0-s32max |
| BUF_SIZE | 0 | node | (-1),56 |
| BUF_SIZE | 0 | node | (-1),56 |
| CAPPED_DATA | 1 | nchildren | 1 |
| DATA_SOURCE | 0 | node | $0 |
| DATA_SOURCE | 1 | nchildren | $3 |
| FUZZY_MAX | 1 | nchildren | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | node | unit_byte |
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_insert() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | 1-u16max |
| BUF_SIZE | 0 | node | (-1),56 |
| BUF_SIZE | 0 | node | (-1),56 |
| DATA_SOURCE | 0 | node | $0 |
| PARAM_COMPARE | 1 | nchildren | > $0->bn_nchildren |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | node | unit_byte |
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_move_left() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | (-65535)-131070 |
| BUF_SIZE | 0 | node | (-1),56 |
| BUF_SIZE | 0 | node | (-1),56 |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_move_left() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | (-65535)-131070 |
| DATA_SOURCE | 0 | node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_move_right() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | (-65535)-131070 |
| BUF_SIZE | 0 | node | (-1),56 |
| BUF_SIZE | 0 | node | (-1),56 |
| DATA_SOURCE | 0 | node | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/nilfs2/btree.c nilfs_btree_node_move_right() -> nilfs_btree_node_set_nchildren()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | nchildren | (-65535)-131070 |
| DATA_SOURCE | 0 | node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |