Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/dma/swiotlb.c swiotlb_alloc_pool() -> limit_nareas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nslots | 2048 |
| DATA_SOURCE | 0 | nareas | $4 |
| HALF_LOCKED2 | &pool->lock |
kernel/dma/swiotlb.c swiotlb_alloc_pool() -> limit_nareas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nslots | 0,128-1024 |
| CAPPED_DATA | 1 | nslots | 1 |
| CAPPED_DATA | 1 | nslots | 1 |
| DATA_SOURCE | 0 | nareas | $4 [m] |
| BIT_INFO | 1 | nslots | 0x0,0x780 |
| BIT_INFO | 1 | nslots | 0x0,0x780 |
| NO_OVERFLOW_SIMPLE | 0 | nareas |
kernel/dma/swiotlb.c swiotlb_init_late() -> limit_nareas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nslots | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | nslots | 1 |
| CAPPED_DATA | 1 | nslots | 1 |
| BIT_INFO | 1 | nslots | 0x0,0xffffffff |
| BIT_INFO | 1 | nslots | 0x0,0xffffffff |
kernel/dma/swiotlb.c swiotlb_init_remap() -> limit_nareas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nslots | 0,128-u64max |
| LOCK2 | irq |
kernel/dma/swiotlb.c swiotlb_init_remap() -> limit_nareas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nslots | 0,256-9223372036854775808 |
| CAPPED_DATA | 1 | nslots | 1 |
| CAPPED_DATA | 1 | nslots | 1 |
| BIT_INFO | 1 | nslots | 0x0,0xffffffffffffff80 |
| BIT_INFO | 1 | nslots | 0x0,0xffffffffffffff80 |
| LOCK2 | irq |