Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/f2fs/extent_cache.c __insert_extent_tree() -> __attach_extent_node()

Type Parameter Key Value
PARAM_VALUE 0 sbi->extent_tree 4096-ptr_max
PARAM_VALUE 1 et 4096-ptr_max
PARAM_VALUE 1 et->lock.dep_map->name 0-255
PARAM_VALUE 1 et->lock.owner_cpu 0
PARAM_VALUE 1 et->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 2 ei 8298602287582679040,9019003734973227008
PARAM_VALUE 4 p 4096-ptr_max
PARAM_VALUE 4 *p 0
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 4 p (-1),8
BUF_SIZE 4 p (-1),8
DATA_SOURCE 0 sbi $0
DATA_SOURCE 1 et $1
DATA_SOURCE 2 ei $2
DATA_SOURCE 5 leftmost $5 [m]
PARAM_COMPARE 4 &(*p)->rb_left < $4
PARAM_COMPARE 4 &(*p)->rb_right < $4
NOSPEC 1 et->largest.fofs
NOSPEC 2 ei->fofs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 et->cached_en->ei.fofs 0-u32max[c]
USER_DATA 1 et->cached_en->ei.len 1-s32max[c]
USER_DATA 1 et->largest.fofs 0-4294967293[c]
USER_DATA 1 et->largest.len 1-u32max[c]
USER_DATA 2 ei->fofs 0-u32max[c]
USER_DATA 2 ei->len 1-s32max[c]
UNITS 0 sbi unit_byte
LOCK2 1 &et->lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &mapping->invalidate_lock
HALF_LOCKED2 &sbi->cp_rwsem.internal_rwsem
TYPE_LOCK (struct extent_tree)->lock

fs/f2fs/extent_cache.c f2fs_init_read_extent_tree() -> __attach_extent_node()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->adjust_lock_priority 0-4294967295
PARAM_VALUE 0 sbi->allocate_section_hint 0-4294967295
PARAM_VALUE 0 sbi->allocate_section_policy 0-4294967295
PARAM_VALUE 0 sbi->bggc_io_aware 0-4294967295
PARAM_VALUE 0 sbi->blkzone_alloc_policy 0-4294967295
PARAM_VALUE 0 sbi->blocks_per_blkz 0-4294967295
PARAM_VALUE 0 sbi->blocks_per_seg 0-4294967295
PARAM_VALUE 0 sbi->blocksize 0-4294967295
PARAM_VALUE 0 sbi->compr_new_inode 0-4294967295
PARAM_VALUE 0 sbi->compress_percent 0-4294967295
PARAM_VALUE 0 sbi->compress_watermark 0-4294967295
PARAM_VALUE 0 sbi->cur_victim_sec 0-4294967295
PARAM_VALUE 0 sbi->current_reserved_blocks 0-4294967295
PARAM_VALUE 0 sbi->data_io_flag 0-4294967295
PARAM_VALUE 0 sbi->dirty_device 0-4294967295
PARAM_VALUE 0 sbi->discard_blks 0-4294967295
PARAM_VALUE 0 sbi->donate_files 0-4294967295
PARAM_VALUE 0 sbi->entries_in_sum 0-4294967295
PARAM_VALUE 0 sbi->extent_tree 4096-ptr_max
PARAM_VALUE 0 sbi->first_seq_zone_segno 0-4294967295
PARAM_VALUE 0 sbi->fsync_node_num 0-4294967295
PARAM_VALUE 0 sbi->fsync_seg_id 0-4294967295
PARAM_VALUE 0 sbi->gc_mode 0-4294967295
PARAM_VALUE 0 sbi->gc_remaining_trials 0-4294967295
PARAM_VALUE 0 sbi->gc_segment_mode 0-4294967295
PARAM_VALUE 0 sbi->hot_data_age_threshold 0-4294967295
PARAM_VALUE 0 sbi->io_skip_bggc 0-4294967295
PARAM_VALUE 0 sbi->iostat_period_ms 0-4294967295
PARAM_VALUE 0 sbi->last_age_weight 0-4294967295
PARAM_VALUE 0 sbi->last_valid_block_count 0-4294967295
PARAM_VALUE 0 sbi->lock_duration_priority 0-4294967295
PARAM_VALUE 0 sbi->log_blocks_per_seg 0-4294967295
PARAM_VALUE 0 sbi->log_blocksize 0-4294967295
PARAM_VALUE 0 sbi->log_sectors_per_block 0-4294967295
PARAM_VALUE 0 sbi->max_atc_write_bio_size 0-4294967295
PARAM_VALUE 0 sbi->max_io_bytes 0-4294967295
PARAM_VALUE 0 sbi->max_open_zones 0-4294967295
PARAM_VALUE 0 sbi->max_orphans 0-4294967295
PARAM_VALUE 0 sbi->max_read_extent_count 0-4294967295
PARAM_VALUE 0 sbi->max_victim_search 0-4294967295
PARAM_VALUE 0 sbi->meta_ino_num 0-4294967295
PARAM_VALUE 0 sbi->migration_granularity 0-4294967295
PARAM_VALUE 0 sbi->migration_window_granularity 0-4294967295
PARAM_VALUE 0 sbi->nat_journal_entries 0-4294967295
PARAM_VALUE 0 sbi->node_ino_num 0-4294967295
PARAM_VALUE 0 sbi->node_io_flag 0-4294967295
PARAM_VALUE 0 sbi->nquota_files 0-4294967295
PARAM_VALUE 0 sbi->other_skip_bggc 0-4294967295
PARAM_VALUE 0 sbi->page_array_slab_size 0-4294967295
PARAM_VALUE 0 sbi->reserved_blocks 0-4294967295
PARAM_VALUE 0 sbi->reserved_pin_section 0-4294967295
PARAM_VALUE 0 sbi->root_ino_num 0-4294967295
PARAM_VALUE 0 sbi->s_chksum_seed 0-4294967295
PARAM_VALUE 0 sbi->secs_per_zone 0-4294967295
PARAM_VALUE 0 sbi->segs_per_sec 0-4294967295
PARAM_VALUE 0 sbi->seq_file_ra_mul 0-4294967295
PARAM_VALUE 0 sbi->shrinker_run_no 0-4294967295
PARAM_VALUE 0 sbi->sit_journal_entries 0-4294967295
PARAM_VALUE 0 sbi->sum_blocksize 0-4294967295
PARAM_VALUE 0 sbi->sum_entry_size 0-4294967295
PARAM_VALUE 0 sbi->sum_journal_size 0-4294967295
PARAM_VALUE 0 sbi->sums_per_block 0-4294967295
PARAM_VALUE 0 sbi->total_node_count 0-4294967295
PARAM_VALUE 0 sbi->total_sections 0-4294967295
PARAM_VALUE 0 sbi->total_valid_block_count 0-4294967295
PARAM_VALUE 0 sbi->total_valid_node_count 0-4294967295
PARAM_VALUE 0 sbi->unusable_block_count 0-4294967295
PARAM_VALUE 0 sbi->unusable_blocks_per_sec 0-4294967295
PARAM_VALUE 0 sbi->user_block_count 0-4294967295
PARAM_VALUE 0 sbi->warm_data_age_threshold 0-4294967295
PARAM_VALUE 1 et 4096-ptr_max
PARAM_VALUE 1 et->list.next->prev 4096-ptr_max
PARAM_VALUE 1 et->list.prev->next 4096-ptr_max
PARAM_VALUE 1 et->lock.dep_map->name 0-255
PARAM_VALUE 1 et->lock.owner_cpu 0
PARAM_VALUE 1 et->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 et->node_cnt.counter 0
PARAM_VALUE 2 ei 1167163853435858944
PARAM_VALUE 2 ei->age 0
PARAM_VALUE 2 ei->c_len 0
PARAM_VALUE 2 ei->len 1-u32max
PARAM_VALUE 3 parent 0
PARAM_VALUE 4 p 4096-ptr_max
PARAM_VALUE 5 leftmost 1
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
DATA_SOURCE 1 et r __grab_extent_tree
NOSPEC 1 et->ino
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 et->ino 0-4294967294[c]
UNITS 0 sbi unit_byte
LOCK2 1 &et->lock
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem
TYPE_LOCK (struct extent_tree)->lock