Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/hid/hid-steelseries-arctis.c steelseries_get_sibling_sd() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/platform/x86/intel/pmc/core.c pmc_core_set_device_d3() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/power/supply/power_supply_core.c power_supply_deferred_register_work() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
UNITS 0 dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/power/supply/power_supply_core.c power_supply_deferred_register_work() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte
HALF_LOCKED2 &pool->lock

drivers/pci/pci.c pci_dev_trylock() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->dev_set->lock

drivers/usb/core/usb.c usb_lock_device_for_reset() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ud->sysfs_lock

drivers/usb/core/usb.c usb_lock_device_for_reset() -> device_trylock()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ud->sysfs_lock