Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_split() -> xfs_attr3_leaf_add()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_addr 4096-ptr_max
PARAM_VALUE 0 bp->b_addr->back 0-4294967295
PARAM_VALUE 0 bp->b_addr->count 0-u16max
PARAM_VALUE 0 bp->b_addr->firstused 0-u16max
PARAM_VALUE 0 bp->b_addr->forw 0-4294967295
PARAM_VALUE 0 bp->b_addr->hdr.info.magic 0-15341,15343-u16max
PARAM_VALUE 0 bp->b_addr->hdr.pad1 0
PARAM_VALUE 0 bp->b_addr->holes 0-255
PARAM_VALUE 0 bp->b_addr->info.hdr.back 0-4294967295
PARAM_VALUE 0 bp->b_addr->info.hdr.forw 0-4294967295
PARAM_VALUE 0 bp->b_addr->info.hdr.magic 15342
PARAM_VALUE 0 bp->b_addr->pad1 0
PARAM_VALUE 0 bp->b_addr->usedbytes 0-u16max
PARAM_VALUE 0 bp->b_flags 0,32-u32max
PARAM_VALUE 0 bp->b_log_item->bli_flags 0,2-u32max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->dp 4096-ptr_max
PARAM_VALUE 1 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 1 args->dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 1 args->geo 4096-ptr_max
PARAM_VALUE 1 args->trans 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev->next->next 4096-ptr_max
CAPPED_DATA 0 bp->b_log_item->bli_format_count 1
CAPPED_DATA 1 args->geo->blksize 1
CAPPED_DATA 1 args->geo->fsbcount 1
CAPPED_DATA 1 args->trans 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
NO_OVERFLOW_SIMPLE 1 args->geo->fsbcount
NO_OVERFLOW_SIMPLE 1 args->rmtvaluelen

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_split() -> xfs_attr3_leaf_add()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_addr 4096-ptr_max
PARAM_VALUE 0 bp->b_addr->back 0-4294967295
PARAM_VALUE 0 bp->b_addr->count 0-u16max
PARAM_VALUE 0 bp->b_addr->firstused 0-u16max
PARAM_VALUE 0 bp->b_addr->forw 0-4294967295
PARAM_VALUE 0 bp->b_addr->hdr.info.magic 0-15341,15343-u16max
PARAM_VALUE 0 bp->b_addr->hdr.pad1 0
PARAM_VALUE 0 bp->b_addr->holes 0-255
PARAM_VALUE 0 bp->b_addr->info.hdr.back 0-4294967295
PARAM_VALUE 0 bp->b_addr->info.hdr.forw 0-4294967295
PARAM_VALUE 0 bp->b_addr->info.hdr.magic 15342
PARAM_VALUE 0 bp->b_addr->pad1 0
PARAM_VALUE 0 bp->b_addr->usedbytes 0-u16max
PARAM_VALUE 0 bp->b_flags 0,32-u32max
PARAM_VALUE 0 bp->b_log_item->bli_flags 0,2-u32max
PARAM_VALUE 0 bp->b_ops 2348109553517068288
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->dp 4096-ptr_max
PARAM_VALUE 1 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 1 args->dp->i_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 1 args->geo 4096-ptr_max
PARAM_VALUE 1 args->trans 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev->next->next 4096-ptr_max
CAPPED_DATA 0 bp->b_log_item->bli_format_count 1
CAPPED_DATA 1 args->geo->blksize 1
CAPPED_DATA 1 args->geo->fsbcount 1
CAPPED_DATA 1 args->trans 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
NO_OVERFLOW_SIMPLE 1 args->geo->fsbcount
NO_OVERFLOW_SIMPLE 1 args->rmtvaluelen

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_to_leaf() -> xfs_attr3_leaf_add()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_addr 4096-ptr_max
PARAM_VALUE 0 bp->b_flags 0,32-4294967295
PARAM_VALUE 0 bp->b_ops 2348109553517068288
PARAM_VALUE 1 args 753782448518184960
PARAM_VALUE 1 args->attr_filter 0,2-14
PARAM_VALUE 1 args->dp 4096-ptr_max
PARAM_VALUE 1 args->geo 4096-ptr_max
PARAM_VALUE 1 args->name 4096-ptr_max
PARAM_VALUE 1 args->namelen 0-255
PARAM_VALUE 1 args->op_flags 8
PARAM_VALUE 1 args->trans 4096-ptr_max
PARAM_VALUE 1 args->value 4096-ptr_max
PARAM_VALUE 1 args->valuelen 0-255
PARAM_VALUE 1 args->whichfork 1
MEM_ZERO 1 args
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bp->b_map_count

fs/xfs/libxfs/xfs_attr.c xfs_attr_leaf_addname() -> xfs_attr3_leaf_add()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_addr 4096-ptr_max
PARAM_VALUE 0 bp->b_addr->hdr.count 0-u16max
PARAM_VALUE 0 bp->b_addr->hdr.holes 0-255
PARAM_VALUE 0 bp->b_addr->hdr.info.back 0-4294967295
PARAM_VALUE 0 bp->b_addr->hdr.info.forw 0-4294967295
PARAM_VALUE 0 bp->b_addr->hdr.info.magic 0-15341,15343-u16max
PARAM_VALUE 0 bp->b_addr->hdr.usedbytes 0-u16max
PARAM_VALUE 0 bp->b_lru_ref.counter 0-4
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->dp 4096-ptr_max
PARAM_VALUE 1 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 1 args->geo 4096-ptr_max
PARAM_VALUE 1 args->trans 4096-ptr_max
PARAM_VALUE 1 args->trans->t_items.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bp->b_map_count

fs/xfs/libxfs/xfs_attr.c xfs_attr_node_try_addname() -> xfs_attr3_leaf_add()

Type Parameter Key Value
PARAM_VALUE 1 args 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING