Defined in 2 files as a function:
- drivers/nvme/host/nvme.h, line 1084 (as a function)
- drivers/nvme/host/nvme.h, line 1177 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/nvme/host/sysfs.c dev_to_ns_head() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvme/host/sysfs.c multipath_sysfs_group_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nuse_show() -> nvme_disk_is_ns_head()
| 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/nvme/host/sysfs.c nvme_get_ns_from_dev() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/nvme/host/sysfs.c nvme_ns_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_diag_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_diag_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_diag_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_diag_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/sysfs.c nvme_ns_diag_attrs_are_visible() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/pr.c __nvme_send_pr_command() -> nvme_disk_is_ns_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->fops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/multipath.c nvme_get_ns_from_dev() -> nvme_disk_is_ns_head()
| 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 |