Defined in 1 files as a function:
Referenced in 7 files:
- drivers/cxl/core/hdm.c, line 827
- drivers/cxl/core/mbox.c
- drivers/cxl/core/memdev.c
- drivers/cxl/mem.c
- drivers/cxl/pci.c
- drivers/cxl/pmem.c
- drivers/cxl/security.c, line 18
Smatch caller information:
drivers/cxl/security.c cxl_pmem_get_security_flags() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/hdm.c cxl_decoder_commit() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/pci.c __cxl_pci_mbox_send_cmd() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cxlds | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cxlds | s32min-(-2),1-s32max |
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cxlds | unit_byte |
| LOCK2 | &cxl_mbox->mbox_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cxl_mailbox)->mbox_mutex |
drivers/cxl/pci.c cxl_event_thread() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/pci.c cxl_pci_mbox_irq() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/mem.c cxl_mem_probe() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/mem.c cxl_poison_attr_visible() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/core/memdev.c __cxl_memdev_ioctl() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlds | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlds->type | 1 |
| LOCK2 | _T->lock |
drivers/cxl/core/memdev.c cxl_memdev_has_poison_cmd() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlds->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/core/memdev.c cxl_memdev_security_visible() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/core/memdev.c devm_cxl_sanitize_setup_notifier() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cxl/core/memdev.c firmware_version_show() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/core/memdev.c label_storage_size_show() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/core/memdev.c payload_max_show() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/core/memdev.c security_state_show() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/core/mbox.c cxl_mem_get_poison() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlds->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/mbox.c cxl_mem_sanitize() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/pmem.c cxl_nvdimm_arm_dirty_shutdown_tracking() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlds | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/pmem.c cxl_nvdimm_probe() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/pmem.c cxl_pmem_nvdimm_ctl() -> to_cxl_memdev_state()
| Type | Parameter | Key | Value |
|---|