Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/kobject.c kobject_add() -> kobject_add_varg()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 1 parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 2 fmt 0,4096-ptr_max
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj->ktype (-1),48
BUF_SIZE 1 parent (-1)-s32max
BUF_SIZE 1 parent (-1)-s32max
BUF_SIZE 2 fmt (-1),3-12,18
BUF_SIZE 2 fmt (-1),3-12,18
BUF_SIZE 3 vargs 8
BUF_SIZE 3 vargs 8
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 parent $1
DATA_SOURCE 2 fmt $2
STR_LEN 0 kobj (-1),2-11,17
STR_LEN 0 kobj (-1),2-11,17
STR_LEN 1 parent (-1),2-13,15,17,19-22,31
STR_LEN 1 parent (-1),2-13,15,17,19-22,31
PARAM_COMPARE 2 &fmt == $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disks_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &bch_register_lock
HALF_LOCKED2 global &gdp_mutex
HALF_LOCKED2 global &of_mutex
HALF_LOCKED2 global &virtio_fs_mutex

lib/kobject.c kobject_init_and_add() -> kobject_add_varg()

Type Parameter Key Value
PARAM_VALUE 0 kobj 0,4096-ptr_max
PARAM_VALUE 0 kobj->kref.refcount.refs.counter 1
PARAM_VALUE 0 kobj->ktype 4096-ptr_max
PARAM_VALUE 0 kobj->state_add_uevent_sent 0
PARAM_VALUE 0 kobj->state_remove_uevent_sent 0
PARAM_VALUE 1 parent->sd->attr.open->nr_mmapped 0-4294967295
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj->kset (-1),344
BUF_SIZE 1 parent (-1)-s32max
BUF_SIZE 1 parent (-1)-s32max
BUF_SIZE 1 parent->parent (-1),248
BUF_SIZE 2 fmt (-1),1,3-20,25,30
BUF_SIZE 2 fmt (-1),1,3-20,25,30
BUF_SIZE 3 vargs 8
BUF_SIZE 3 vargs 8
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 parent $2
DATA_SOURCE 2 fmt $3
STR_LEN 0 kobj (-1),2-19,24
STR_LEN 0 kobj (-1),2-19,24
STR_LEN 0 kobj->ktype (-1)
PARAM_COMPARE 2 &fmt == $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &c->umount_mutex
HALF_LOCKED2 &ctx->walk_control_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &q->sysfs_lock
HALF_LOCKED2 &sbi->s_error_notify_mutex
HALF_LOCKED2 &srv_dev->lock
HALF_LOCKED2 &srv_sess->lock
HALF_LOCKED2 &us_ibdev->usdev_lock
HALF_LOCKED2 &vf->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &bioscfg_drv.mutex
HALF_LOCKED2 global &damon_sysfs_lock
HALF_LOCKED2 global &device_ctls_mutex
HALF_LOCKED2 global &edac_pci_ctls_mutex
HALF_LOCKED2 global &global_tunables_lock
HALF_LOCKED2 global &gov_dbs_data_mutex
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &pci_slot_mutex
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &topology_lock
HALF_LOCKED2 global &wmi_priv.mutex
HALF_LOCKED2 global &xgmi_mutex