Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/overlayfs/copy_up.c ovl_do_copy_up() -> ovl_set_nlink_upper()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->s_fs_info->config.index 0-1
PARAM_VALUE 0 dentry->d_sb->s_fs_info->layers 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->s_fs_info->noxattr 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dentry unit_jiffy
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/copy_up.c ovl_link_up() -> ovl_set_nlink_upper()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
PARAM_VALUE 0 dentry->d_inode 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->s_fs_info->layers 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dentry unit_jiffy
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/util.c ovl_cleanup_index() -> ovl_set_nlink_upper()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
PARAM_VALUE 0 dentry->d_inode 4096-ptr_max
PARAM_VALUE 0 dentry->d_inode->i_data.host->i_sb->s_export_op->encode_fh 0,2,4096-ptr_max
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->error_remove_folio 0,373303432983703552,3650281484867371008,6933238642996355072,7934844886813757440
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->free_folio 0,87018317492477952,1576041750683152384,3223952723663937536,4787850423793061888
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->is_dirty_writeback 0,7518438349615988736,8867638692533350400
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->is_partially_uptodate 0,1933474595957665792,7182876493439184896
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->launder_folio 0,122107076755599360,327075084911996928,858079631894568960,7268098942548045824
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->swap_deactivate 0,1546359495696728064,3888069641387622400,7359158453655175168,8604917376913055744
PARAM_VALUE 0 dentry->d_inode->i_mapping->a_ops->swap_rw 0,4986685196838862848,8487923053812363264
PARAM_VALUE 0 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_inode->i_nlink 0
PARAM_VALUE 0 dentry->d_inode->i_op->get_offset_ctx 0,2606890545167454208
PARAM_VALUE 0 dentry->d_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 0 dentry->d_inode->i_op->sync_lazytime 0,6951464784224747520
PARAM_VALUE 0 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 dentry->d_inode->i_sb->s_export_op->encode_fh 0,2,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 dentry->d_sb 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 dentry->d_sb->s_export_op->flags 0,127
PARAM_VALUE 0 dentry->d_sb->s_fs_info 4096-ptr_max
BUF_SIZE 0 dentry (-1),1-s32max
BUF_SIZE 0 dentry (-1),1-s32max
CAPPED_DATA 0 dentry 1
DATA_SOURCE 0 dentry $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 dentry->d_inode->i_mode 0-u16max
USER_DATA 0 dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 dentry->d_name.name
NO_OVERFLOW_SIMPLE 0 dentry->dentry->d_inode->i_size
HALF_LOCKED2 0 &dentry->d_inode->i_rwsem
HALF_LOCKED2 0 &dentry->d_lockref.lock
HALF_LOCKED2 0 &dentry->d_sb->s_vfs_rename_mutex

fs/overlayfs/util.c ovl_nlink_start() -> ovl_set_nlink_upper()

Type Parameter Key Value
PARAM_VALUE 0 dentry 4096-ptr_max
PARAM_VALUE 0 dentry->d_inode 1-u64max
PARAM_VALUE 0 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 0 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 dentry->d_sb 4096-ptr_max
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 dentry->d_sb->s_export_op->flags 0,127
PARAM_VALUE 0 dentry->d_sb->s_fs_info 4096-ptr_max
BUF_SIZE 0 dentry (-1),1-s32max
BUF_SIZE 0 dentry (-1),1-s32max
DATA_SOURCE 0 dentry $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dentry->d_inode->i_mode 0-u16max
USER_DATA 0 dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 dentry->moved->d_inode->i_size
HALF_LOCKED2 0 &dentry->d_inode->i_rwsem
HALF_LOCKED2 0 &dentry->d_lockref.lock
HALF_LOCKED2 0 &dentry->d_sb->s_vfs_rename_mutex