Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/xfs/scrub/attr_repair.c xrep_xattr_insert_rec() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 2617648626453458944
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 4096-ptr_max
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 8,72
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 0
PARAM_VALUE 0 args->whichfork 1
NOCHECK_CALL

fs/xfs/xfs_xattr.c xfs_attr_change() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 723211545615044608,1626525534258675712,7424337454025605120,7487811804324171776
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->dp->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 args->dp->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->name 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 1-u64max
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->new_namelen 0
PARAM_VALUE 0 args->new_value 0
PARAM_VALUE 0 args->new_valuelen 0
PARAM_VALUE 0 args->op_flags 8,72
PARAM_VALUE 0 args->rmtblkcnt 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->rmtvaluelen 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 0
PARAM_VALUE 0 args->whichfork 1
DATA_SOURCE 0 args $0
FUZZY_MAX 0 args->op_flags 8
BIT_INFO 0 args->op_flags 0x8,0x48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 args->valuelen 0-65536
USER_PTR 0 args->name
USER_PTR 0 args->value

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

Type Parameter Key Value
PARAM_VALUE 0 args 753782448518184960
PARAM_VALUE 0 args->attr_filter 0,2-14
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->geo 4096-ptr_max
PARAM_VALUE 0 args->index s32min-65534
PARAM_VALUE 0 args->name 4096-ptr_max
PARAM_VALUE 0 args->namelen 0-255
PARAM_VALUE 0 args->op_flags 8
PARAM_VALUE 0 args->rmtblkno 0-1
PARAM_VALUE 0 args->trans 4096-ptr_max
PARAM_VALUE 0 args->value 4096-ptr_max
PARAM_VALUE 0 args->valuelen 0-255
PARAM_VALUE 0 args->whichfork 1
MEM_ZERO 0 args
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/libxfs/xfs_parent.c xfs_parent_da_args_init() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->attr_filter 8
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 0 args->op_flags 72
PARAM_VALUE 0 args->value 1-u64max
PARAM_VALUE 0 args->valuelen 12
PARAM_VALUE 0 args->whichfork 1
BUF_SIZE 0 args->name (-1),2-3
DATA_SOURCE 0 args $0
STR_LEN 0 args (-1),5,8
STR_LEN 0 args (-1),5,8
STR_LEN 0 args->name (-1),1-2
STR_LEN 0 args->trans (-1),5,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 args->rmtvaluelen
NO_OVERFLOW_SIMPLE 0 args->trans->t_blk_res

fs/xfs/scrub/attr.c xchk_xattr_actor() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 5630577279320186880
PARAM_VALUE 0 args->attr_filter 0,2-14
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->geo 4096-ptr_max
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->namelen 0-255
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->whichfork 1
NOCHECK_CALL
HALF_LOCKED2 &dl->lock

fs/xfs/libxfs/xfs_attr.c xfs_attr_get() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 980738373998071808,3163508157539217408,7062019221962641408
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 4096-ptr_max
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkcnt 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->rmtvaluelen 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 0
PARAM_VALUE 0 args->whichfork 1
DATA_SOURCE 0 args $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 args->valuelen 1-65536[c]
USER_PTR 0 args->name

fs/xfs/libxfs/xfs_attr.c xfs_attr_update_pptr_replace_args() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->dp->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 args->dp->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->name 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 args->dp->i_mount->m_sb_bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 0 args->trans 4096-ptr_max
BUF_SIZE 0 args->name s32min-(-2),1-s32max
BUF_SIZE 0 args->value s32min-(-2),1-s32max
CAPPED_DATA 0 args->trans 1
DATA_SOURCE 0 args $0
STR_LEN 0 args->name (-1)
BIT_INFO 0 args->op_flags 0x2,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 args->hashval 0-u32max[c]
USER_DATA 0 args->rmtblkcnt 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 args->trans->t_blk_res
NO_OVERFLOW_SIMPLE 0 args->trans->t_mountp->m_sb_bp->b_transp->t_rtx_res_used

fs/xfs/scrub/parent_repair.c xrep_parent_fetch_xattr_remote() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 8484377219378921472
PARAM_VALUE 0 args->attr_filter 0,2-6
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 0
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->whichfork 1
NOCHECK_CALL
HALF_LOCKED2 &dl->lock

fs/xfs/scrub/parent_repair.c xrep_parent_insert_xattr() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 8707016372046581760
PARAM_VALUE 0 args->blkno 0
PARAM_VALUE 0 args->blkno2 0
PARAM_VALUE 0 args->filetype 0
PARAM_VALUE 0 args->hashval 0
PARAM_VALUE 0 args->index 0
PARAM_VALUE 0 args->index2 0
PARAM_VALUE 0 args->inumber 0
PARAM_VALUE 0 args->name 4096-ptr_max
PARAM_VALUE 0 args->new_name 0
PARAM_VALUE 0 args->op_flags 8
PARAM_VALUE 0 args->rmtblkno 0
PARAM_VALUE 0 args->total 0
PARAM_VALUE 0 args->trans 0
PARAM_VALUE 0 args->whichfork 1
NOCHECK_CALL

fs/xfs/xfs_attr_item.c xfs_attri_recover_work() -> xfs_attr_sethash()

Type Parameter Key Value
PARAM_VALUE 0 args 4096-ptr_max
PARAM_VALUE 0 args->attr_filter 0,2-142
PARAM_VALUE 0 args->dp 4096-ptr_max
PARAM_VALUE 0 args->namelen 0-255
PARAM_VALUE 0 args->op_flags 104
PARAM_VALUE 0 args->whichfork 1
BUF_SIZE 0 args 144
BUF_SIZE 0 args->name s32min-(-2),1-s32max
BUF_SIZE 0 args->new_name s32min-(-2),1-s32max
BUF_SIZE 0 args->new_value s32min-(-2),1-s32max
BUF_SIZE 0 args->value s32min-(-2),1-s32max
CAPPED_DATA 0 args->namelen 1
BIT_INFO 0 args->attr_filter 0x0,0x8e
NOCHECK_CALL