Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/pci/slot.c make_slot_name() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 1 name 16,4096-ptr_max
BUF_SIZE 1 name 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 name 0-s32max,18446744071562067968-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pci_slot_mutex

drivers/platform/x86/lenovo/think-lmi.c tlmi_validate_setting_name() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 4096-ptr_max
PARAM_VALUE 0 kset->kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 kset->kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 kset->kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 kset->kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 kset->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 kset->uevent_ops 0
BUF_SIZE 0 kset 344
BUF_SIZE 1 name 512
BUF_SIZE 1 name 512
DATA_SOURCE 0 kset $0
DATA_SOURCE 1 name $1
RX_PATH
TASK_NOT_RUNNING

drivers/pci/hotplug/pci_hotplug_core.c fs_add_slot() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 1 name 955596576267329536,3154391598105935872,3443960472763920384,3724098880311934976,4498261839756185600,5568615874657591296,6224577605160603648
BUF_SIZE 1 name 7-9,12-13
STR_LEN 0 kset (-1)
STR_LEN 1 name (-1)
TERMINATED 1 name 1
RX_PATH
TASK_NOT_RUNNING

drivers/firmware/qemu_fw_cfg.c fw_cfg_build_symlink() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 1-u64max
PARAM_VALUE 1 name 4096-ptr_max
PARAM_VALUE 1 *name 1-255
BUF_SIZE 0 kset 344,u64max
BUF_SIZE 0 kset 344,u64max
DATA_SOURCE 0 kset $0 [m]
DATA_SOURCE 1 name r strsep
RX_PATH
TASK_NOT_RUNNING

drivers/base/bus.c driver_find() -> kset_find_obj()

Type Parameter Key Value
BUF_SIZE 1 name (-1),1-s32max
BUF_SIZE 1 name (-1),1-s32max
DATA_SOURCE 1 name $0
STR_LEN 0 kset (-1),2,4,7,9
STR_LEN 1 name (-1),2,4,7,9
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &gameport_mutex
HALF_LOCKED2 global &tracepoints_mutex

drivers/platform/x86/dell/dell-wmi-sysman/sysman.c init_bios_attributes() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 0,4096-ptr_max
LOCK2 global &wmi_priv.mutex
TYPE_LOCK (struct wmi_sysman_priv)->mutex

kernel/module/sysfs.c mod_sysfs_init() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
BUF_SIZE 1 name 56

drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_init_bios_buffer_attribute() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 0,4096-ptr_max
PARAM_VALUE 1 name 4425310229369520128
BUF_SIZE 1 name 512
LOCK2 global &bioscfg_drv.mutex
TYPE_LOCK (struct bioscfg_priv)->mutex

drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_init_bios_package_attribute() -> kset_find_obj()

Type Parameter Key Value
PARAM_VALUE 0 kset 0,4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
PARAM_VALUE 1 *name 0-255
LOCK2 global &bioscfg_drv.mutex
TYPE_LOCK (struct bioscfg_priv)->mutex

kernel/params.c lookup_or_create_module_kobject() -> kset_find_obj()

Type Parameter Key Value
BUF_SIZE 1 name (-1),3-25,27-28,56
BUF_SIZE 1 name (-1),3-25,27-28,56
DATA_SOURCE 1 name $0
RX_PATH
TASK_NOT_RUNNING