Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/pci/p2pdma.c, line 1028 (as a function)
- include/linux/pci-p2pdma.h, line 129 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/nvme/target/core.c nvmet_req_alloc_p2pmem_sgls() -> pci_p2pmem_alloc_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 1-u64max |
| PARAM_VALUE | 1 | nents | 4096-ptr_max |
| PARAM_VALUE | 1 | *nents | 0 |
| PARAM_VALUE | 2 | length | 0-17301503,4294443009-u32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/target/core.c nvmet_req_alloc_p2pmem_sgls() -> pci_p2pmem_alloc_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 1-u64max |
| PARAM_VALUE | 0 | pdev->p2pdma | 4096-ptr_max |
| PARAM_VALUE | 1 | nents | 4096-ptr_max |
| PARAM_VALUE | 1 | *nents | 0 |
| PARAM_VALUE | 2 | length | 8-524288 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |