Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvdimm/label.c __pmem_label_update() -> nsl_uuid_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 0 | ndd->ns_next | 0-s32max |
| PARAM_VALUE | 1 | nd_label | 1-u64max |
| PARAM_VALUE | 2 | uuid | 1-u64max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &nd_mapping->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |
drivers/nvdimm/label.c del_labels() -> nsl_uuid_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 0 | ndd->ns_next | 0-s32max |
| PARAM_VALUE | 1 | nd_label | 1-u64max |
| PARAM_VALUE | 2 | uuid | 1-u64max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| DATA_SOURCE | 2 | uuid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &nd_mapping->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |
drivers/nvdimm/namespace_devs.c add_namespace_resource() -> nsl_uuid_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nd_label | 4096-ptr_max |
| PARAM_VALUE | 2 | uuid | 0-ptr_max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| DATA_SOURCE | 1 | nd_label | $1 |
| DATA_SOURCE | 2 | uuid | r namespace_to_uuid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |
drivers/nvdimm/namespace_devs.c has_uuid_at_pos() -> nsl_uuid_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 1 | nd_label | 4096-ptr_max |
| PARAM_VALUE | 1 | nd_label->cxl.position | 0-65534 |
| PARAM_VALUE | 1 | nd_label->efi.position | 0-65534 |
| PARAM_VALUE | 2 | uuid | 5513019073119797248 |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| DATA_SOURCE | 2 | uuid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |
drivers/nvdimm/namespace_devs.c select_pmem_id() -> nsl_uuid_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nd_label | 1-u64max |
| PARAM_VALUE | 2 | uuid | 5513019073119797248 |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| DATA_SOURCE | 2 | uuid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |