Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/btrfs/tree-mod-log.c btrfs_get_old_root() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 &eb->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/tree-mod-log.c btrfs_tree_mod_log_rewind() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 &eb_rewin->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
UNITS 0 info unit_byte
HALF_LOCKED2 &fs_info->cleaner_mutex

fs/btrfs/extent-tree.c btrfs_drop_subtree() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 &fs_info->cleaner_mutex
LOCK2 &node->lock
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/extent-tree.c reada_walk_down() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &next->lock
HALF_LOCKED2 &node->lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex

fs/btrfs/print-tree.c btrfs_print_tree() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 rcu_read

fs/btrfs/ctree.c balance_level() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
UNITS 0 info unit_byte

fs/btrfs/ctree.c balance_node_right() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
UNITS 0 info unit_byte
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &dst->lock
HALF_LOCKED2 &src->lock

fs/btrfs/ctree.c insert_ptr() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 info->chunk_root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 info->chunk_root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 0 info->tree_root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 info->tree_root->dirty_log_pages.inode->vfs_inode.i_size
UNITS 0 info unit_byte
HALF_LOCKED2 &c->lock
HALF_LOCKED2 &right->lock

fs/btrfs/ctree.c push_node_left() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
UNITS 0 info unit_byte
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &dst->lock
HALF_LOCKED2 &src->lock

fs/btrfs/ctree.c push_nodes_for_insert() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
UNITS 0 info unit_byte
LOCK2 &left->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/ctree.c push_nodes_for_insert() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
UNITS 0 info unit_byte
LOCK2 &right->lock
HALF_LOCKED2 &cow->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/ctree.c setup_nodes_for_search() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
UNITS 0 info unit_byte

fs/btrfs/ctree.c setup_nodes_for_search() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
UNITS 0 info unit_byte

fs/btrfs/ctree.c split_node() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
UNITS 0 info unit_byte

fs/btrfs/tree-checker.c __btrfs_check_node() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c __btrfs_check_node() -> BTRFS_NODEPTRS_PER_BLOCK()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock