Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/platform/x86/amd/hsmp/acpi.c hsmp_resource() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 10
PARAM_VALUE 1 res 4283018632039403520
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte

drivers/ptp/ptp_vmclock.c vmclock_acpi_resources() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-6,8-25
PARAM_VALUE 1 res 5040182585304809472
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res 64
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte

drivers/acpi/resource.c acpi_dev_process_resource() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-25
PARAM_VALUE 1 res 1439067489841360896
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res 64
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte

drivers/acpi/resource.c is_memory() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-25
PARAM_VALUE 1 res 8996725875096539136
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res 64
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->lock
HALF_LOCKED2 global &acpi_link_lock
HALF_LOCKED2 global &ioapic_list_lock

drivers/pnp/pnpacpi/rsparser.c pnpacpi_allocated_resource() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 8-10
PARAM_VALUE 1 res 2978243907216621568
PARAM_VALUE 1 res->child 0
PARAM_VALUE 1 res->desc 0
PARAM_VALUE 1 res->end 0
PARAM_VALUE 1 res->flags 0
PARAM_VALUE 1 res->name 0
PARAM_VALUE 1 res->parent 0
PARAM_VALUE 1 res->sibling 0
PARAM_VALUE 1 res->start 0
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res 64
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte

drivers/acpi/scan.c acpi_get_resource_memory() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-25
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res (-1),3-4,6,8,16,24,32,48,64,128,152,208,240,504
BUF_SIZE 1 res (-1),3-4,6,8,16,24,32,48,64,128,152,208,240,504
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
DATA_SOURCE 1 res $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte

drivers/char/tpm/tpm_crb.c crb_check_resource() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-25
PARAM_VALUE 1 res 923038782160551936
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res 64
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->lock
HALF_LOCKED2 global &acpi_link_lock
HALF_LOCKED2 global &ioapic_list_lock

drivers/acpi/ioapic.c setup_res() -> acpi_dev_resource_memory()

Type Parameter Key Value
PARAM_VALUE 0 ares 4096-18446744073709547519
PARAM_VALUE 0 ares->length 1-u32max
PARAM_VALUE 0 ares->type 0-25
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->flags 0
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 0 ares s32min,(-10),(-1),1-s32max
BUF_SIZE 1 res (-1),3-4,6,8,16,24,32,48,64,128,152,208,240,504
BUF_SIZE 1 res (-1),3-4,6,8,16,24,32,48,64,128,152,208,240,504
CAPPED_DATA 0 ares 1
DATA_SOURCE 0 ares $0
DATA_SOURCE 1 res $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ares unit_byte