Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/firmware/efi/efi-pstore.c, line 239
- drivers/firmware/efi/vars.c, line 255
- drivers/rtc/rtc-pm8xxx.c, line 146
Smatch caller information:
drivers/firmware/efi/efi-pstore.c efi_pstore_erase() -> efivar_set_variable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | vendor | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 7 |
| PARAM_VALUE | 3 | data_size | 0 |
| PARAM_VALUE | 4 | data | 0 |
| BUF_SIZE | 0 | name | 2-134 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &target->i_rwsem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/rtc/rtc-pm8xxx.c pm8xxx_rtc_write_uefi_offset() -> efivar_set_variable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 6134054761527746560 |
| PARAM_VALUE | 0 | *name | 0-255 |
| PARAM_VALUE | 1 | vendor | 4096-ptr_max |
| PARAM_VALUE | 2 | attr | 7 |
| PARAM_VALUE | 3 | data_size | 12 |
| PARAM_VALUE | 4 | data | 4096-ptr_max |
| BUF_SIZE | 0 | name | 16 |
| BUF_SIZE | 4 | data | 12 |
| STR_LEN | 0 | name | 7 |
| TERMINATED | 0 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |