Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/libxfs/xfs_btree.c xfs_btree_demote_leaf_child() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 2 ops 4096-ptr_max
PARAM_VALUE 2 ops->alloc_block 4096-ptr_max
PARAM_VALUE 2 ops->broot_realloc 0,205008320403959808,1877799289265856512,4624930743969431552
PARAM_VALUE 2 ops->buf_ops 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 2 ops->cmp_key_with_cur 4096-ptr_max
PARAM_VALUE 2 ops->cmp_two_keys 4096-ptr_max
PARAM_VALUE 2 ops->dup_cursor 4096-ptr_max
PARAM_VALUE 2 ops->free_block 4096-ptr_max
PARAM_VALUE 2 ops->geom_flags 0-3
PARAM_VALUE 2 ops->get_dmaxrecs 0,3492848713905295360,3901288766128197632,8955386628324601856
PARAM_VALUE 2 ops->get_maxrecs 4096-ptr_max
PARAM_VALUE 2 ops->get_minrecs 4096-ptr_max
PARAM_VALUE 2 ops->init_high_key_from_rec 0,4096-ptr_max
PARAM_VALUE 2 ops->init_key_from_rec 4096-ptr_max
PARAM_VALUE 2 ops->init_ptr_from_cur 0,4096-ptr_max
PARAM_VALUE 2 ops->init_rec_from_cur 4096-ptr_max
PARAM_VALUE 2 ops->key_len 4,8,40
PARAM_VALUE 2 ops->keys_contiguous 0,4096-ptr_max
PARAM_VALUE 2 ops->keys_inorder 4096-ptr_max
PARAM_VALUE 2 ops->lru_refs 1-3
PARAM_VALUE 2 ops->name 0,4096-ptr_max
PARAM_VALUE 2 ops->ptr_len 4,8
PARAM_VALUE 2 ops->rec_len 8,12,16,24
PARAM_VALUE 2 ops->recs_inorder 4096-ptr_max
PARAM_VALUE 2 ops->set_root 0,135209176560377856,500508166552113152,524490925254889472,5551055571258630144,6116626257139232768,9044852301428047872
PARAM_VALUE 2 ops->sick_mask 0,8,16,32,64,128,256,512
PARAM_VALUE 2 ops->statoff 76,91,106,121,136,151,166,181,196,211,226,241
PARAM_VALUE 2 ops->type 1
PARAM_VALUE 2 ops->update_cursor 0,2872932845050183680
PARAM_VALUE 3 level 0
BUF_SIZE 1 block (-1),40-3145800
BUF_SIZE 1 block (-1),40-3145800
CAPPED_DATA 4 numrecs 1
DATA_SOURCE 4 numrecs $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte
UNITS 4 numrecs unit_array_size

fs/xfs/libxfs/xfs_btree.c xfs_btree_promote_leaf_iroot() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 2 ops 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 2 ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 2 ops->get_maxrecs 1079984446839365632,2174688114436640768,3735100726838427648,4895553875624292352,5672237732794068992,5932761532190343168,6934959590197788672,8480664611111198720
PARAM_VALUE 2 ops->ptr_len 4,8
PARAM_VALUE 2 ops->type 1
PARAM_VALUE 3 level 0-1,u16max
PARAM_VALUE 4 numrecs 1
BUF_SIZE 1 block (-1),40-3145800
BUF_SIZE 1 block (-1),40-3145800
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_btree_staging.c xfs_btree_bload_prep_block() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 block 0,16,4096-ptr_max
PARAM_VALUE 2 ops 4096-ptr_max
PARAM_VALUE 2 ops->get_maxrecs 4096-ptr_max
PARAM_VALUE 2 ops->get_minrecs 4096-ptr_max
PARAM_VALUE 2 ops->type 1
PARAM_VALUE 3 level 0-254
BUF_SIZE 1 block 0-u64max
CAPPED_DATA 3 level 1
DATA_SOURCE 1 block r _kzalloc_noprof
DATA_SOURCE 3 level $3
DATA_SOURCE 4 numrecs $4
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmbt_init_block() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 2 ops 2173030708748693504
PARAM_VALUE 3 level 0-1
PARAM_VALUE 4 numrecs 0-1
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 1 block (-1),24-3145800
BUF_SIZE 1 block (-1),24-3145800
DATA_SOURCE 1 block $1
DATA_SOURCE 3 level $3
DATA_SOURCE 4 numrecs $4
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
HARD_MAX 3 level 1
HARD_MAX 4 numrecs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_create() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 1 block 1-u64max
PARAM_VALUE 2 ops 5177736840100265984
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 1 block (-1),40-3145800
BUF_SIZE 1 block (-1),40-3145800
DATA_SOURCE 1 block r xfs_broot_realloc
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_from_disk() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_rtrefc_maxlevels 1-u32max
PARAM_VALUE 0 mp->m_super 4096-ptr_max
PARAM_VALUE 1 block 4096-ptr_max
PARAM_VALUE 2 ops 5177736840100265984
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 1 block 24-3145752
BUF_SIZE 1 block 24-3145752
DATA_SOURCE 1 block $3
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mp->m_rsumlevels 1-32[c]
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_create() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 1 block 1-u64max
PARAM_VALUE 2 ops 6771264632830390272
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 1 block (-1),40-3145800
BUF_SIZE 1 block (-1),40-3145800
DATA_SOURCE 1 block r xfs_broot_realloc
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_from_disk() -> xfs_btree_init_block()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_super 4096-ptr_max
PARAM_VALUE 1 block 4096-ptr_max
PARAM_VALUE 2 ops 6771264632830390272
PARAM_VALUE 3 level 0
PARAM_VALUE 4 numrecs 0
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 1 block 24-3145752
BUF_SIZE 1 block 24-3145752
DATA_SOURCE 1 block $3
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mp->m_rsumlevels 1-32[c]
UNITS 0 mp unit_byte