Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/tests/extent-map-tests.c __test_case_3() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 1870838484786184192 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 4096 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c __test_case_3() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 1870838484786184192 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0,8192,12288 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| DATA_SOURCE | 2 | start | $2 |
| HARD_MAX | 2 | start | 12288 |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c __test_case_4() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 4406595738406137856 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 8192 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c __test_case_4() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 4406595738406137856 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 8192 |
| PARAM_VALUE | 3 | len | 24576 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c __test_case_4() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | em_in | 4406595738406137856 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0,4096 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| DATA_SOURCE | 2 | start | $2 |
| HARD_MAX | 2 | start | 4096 |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c add_compressed_extent() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 6753373313641861120 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0,4096,12288,24576,36864,40960 |
| PARAM_VALUE | 3 | len | 4096,12288,24576 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 2 | start | $1 |
| DATA_SOURCE | 3 | len | $2 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_1() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 3973491153138954240 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 16384 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_1() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 3973491153138954240 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 16384 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_1() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | em_in | 3973491153138954240 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 8192 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_2() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 6742761040681549824 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_2() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 6742761040681549824 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 4096 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_2() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | em_in | 6742761040681549824 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_6() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | em_in | 4575100038728294400 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 8192 |
| DATA_SOURCE | 0 | inode | $1 |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_7() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 938428633269559296 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 16384 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_7() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 938428633269559296 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 32768 |
| PARAM_VALUE | 3 | len | 16384 |
| DATA_SOURCE | 0 | inode | $1 |
| NO_OVERFLOW_SIMPLE | 2 | start | |
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_8() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 1467408494137049088 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 122880 |
| PARAM_VALUE | 3 | len | 8192 |
| DATA_SOURCE | 0 | inode | $1 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/tests/extent-map-tests.c test_case_8() -> btrfs_add_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->extent_tree.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | inode->extent_tree.lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | inode->root->fs_info->evictable_extent_maps.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | em_in | 1467408494137049088 |
| PARAM_VALUE | 1 | *em_in | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 143360 |
| PARAM_VALUE | 3 | len | 4096 |
| DATA_SOURCE | 0 | inode | $1 |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |