Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_btalloc_best_length() -> xfs_bmap_adjacent()

Type Parameter Key Value
PARAM_VALUE 0 ap 7078978139519856640,7228274775691866112
PARAM_VALUE 0 ap->flags 0,2-u32max
PARAM_VALUE 0 ap->ip 4096-ptr_max
PARAM_VALUE 0 ap->ip->i_mount 4096-ptr_max
DATA_SOURCE 0 ap $0
STR_LEN 0 ap->tp (-1)-1024
BIT_INFO 0 ap->flags 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ap->aeof 0-1
USER_DATA 0 ap->got.br_blockcount 0-2097151[c]
USER_DATA 0 ap->got.br_startoff 0-s32max[c]
USER_DATA 0 ap->length 0-2097151[c]
USER_DATA 0 ap->minlen 0-2097151[c]
USER_DATA 0 ap->offset 0-2149580798[c]
USER_DATA 0 ap->prev.br_blockcount 0-2097151[c]
USER_DATA 0 ap->prev.br_startoff 0-s32max[c]

fs/xfs/xfs_rtalloc.c xfs_bmap_rtalloc() -> xfs_bmap_adjacent()

Type Parameter Key Value
PARAM_VALUE 0 ap 7078978139519856640,7228274775691866112
PARAM_VALUE 0 ap->flags 0,2-u32max
PARAM_VALUE 0 ap->ip 4096-ptr_max
PARAM_VALUE 0 ap->ip->i_mount 4096-ptr_max
CAPPED_DATA 0 ap->tp 1
DATA_SOURCE 0 ap $0
BIT_INFO 0 ap->datatype 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ap->aeof 0-1
USER_DATA 0 ap->got.br_blockcount 0-2097151[c]
USER_DATA 0 ap->got.br_startoff 0-s32max[c]
USER_DATA 0 ap->length 0-2097151[c]
USER_DATA 0 ap->minlen 0-2097151[c]
USER_DATA 0 ap->offset 0-s32max[c]
USER_DATA 0 ap->prev.br_blockcount 0-2097151[c]
USER_DATA 0 ap->prev.br_startoff 0-s32max[c]

fs/xfs/xfs_filestream.c xfs_filestream_create_association() -> xfs_bmap_adjacent()

Type Parameter Key Value
PARAM_VALUE 0 ap 7078978139519856640,7228274775691866112
PARAM_VALUE 0 ap->datatype 0,4-5,7
PARAM_VALUE 0 ap->flags 0,2-u32max
PARAM_VALUE 0 ap->got.br_startblock 0-4503599627370495
PARAM_VALUE 0 ap->got.br_startoff 0-18014398509481983
PARAM_VALUE 0 ap->ip 4096-ptr_max
PARAM_VALUE 0 ap->ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ap->prev.br_blockcount 0-18014398509481983
PARAM_VALUE 0 ap->prev.br_startblock 0-4503599627370495
PARAM_VALUE 0 ap->prev.br_startoff 0-18014398509481983,u64max
CAPPED_DATA 0 ap->got.br_startoff 1
CAPPED_DATA 0 ap->tp 1
DATA_SOURCE 0 ap $0
FUZZY_MAX 0 ap->datatype 4
STR_LEN 0 ap->tp (-1)-1024
BIT_INFO 0 ap->datatype 0x1,0xffffffffffffffff
BIT_INFO 0 ap->flags 0x0,0x7fffffff
NOSPEC 0 ap->got.br_blockcount
NOSPEC 0 ap->got.br_startoff
NOSPEC 0 ap->length
NOSPEC 0 ap->minlen
NOSPEC 0 ap->offset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ap->aeof 0-1
USER_DATA 0 ap->got.br_blockcount 0-2097151[c]
USER_DATA 0 ap->got.br_startoff 0-s32max[c]
USER_DATA 0 ap->length 0-2097151,4292870145-u32max
USER_DATA 0 ap->minlen 0-2097151[c]
USER_DATA 0 ap->offset 0-2149580798[c]
USER_DATA 0 ap->prev.br_blockcount 0-2097151[c]
USER_DATA 0 ap->prev.br_startoff 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 ap->tp->t_blk_res

fs/xfs/xfs_filestream.c xfs_filestream_lookup_association() -> xfs_bmap_adjacent()

Type Parameter Key Value
PARAM_VALUE 0 ap 7078978139519856640,7228274775691866112
PARAM_VALUE 0 ap->datatype 0,4-5,7
PARAM_VALUE 0 ap->flags 0,2-u32max
PARAM_VALUE 0 ap->got.br_startblock 0-4503599627370495
PARAM_VALUE 0 ap->got.br_startoff 0-18014398509481983
PARAM_VALUE 0 ap->ip 4096-ptr_max
PARAM_VALUE 0 ap->ip->i_mount 4096-ptr_max
PARAM_VALUE 0 ap->prev.br_blockcount 0-18014398509481983
PARAM_VALUE 0 ap->prev.br_startblock 0-4503599627370495
PARAM_VALUE 0 ap->prev.br_startoff 0-18014398509481983,u64max
CAPPED_DATA 0 ap->got.br_startoff 1
CAPPED_DATA 0 ap->tp 1
DATA_SOURCE 0 ap $0
FUZZY_MAX 0 ap->datatype 4
STR_LEN 0 ap->tp (-1)-1024
BIT_INFO 0 ap->datatype 0x1,0x7
BIT_INFO 0 ap->flags 0x0,0x7fffffff
NOSPEC 0 ap->got.br_blockcount
NOSPEC 0 ap->got.br_startoff
NOSPEC 0 ap->length
NOSPEC 0 ap->minlen
NOSPEC 0 ap->offset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ap->aeof 0-1
USER_DATA 0 ap->got.br_blockcount 0-2097151[c]
USER_DATA 0 ap->got.br_startoff 0-s32max[c]
USER_DATA 0 ap->length 0-2097151,4292870145-u32max
USER_DATA 0 ap->minlen 0-2097151[c]
USER_DATA 0 ap->offset 0-2149580798[c]
USER_DATA 0 ap->prev.br_blockcount 0-2097151[c]
USER_DATA 0 ap->prev.br_startoff 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 ap->tp->t_blk_res