Documented in 1 files:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 7 files:
- arch/powerpc/math-emu/udivmodti4.c
- drivers/crypto/aspeed/aspeed-acry.c, line 270
- lib/crypto/mpi/mpi-bit.c, line 50
- lib/crypto/mpi/mpi-div.c, line 146
- lib/crypto/mpi/mpi-pow.c
- lib/crypto/mpi/mpicoder.c
- lib/crypto/mpi/mpih-div.c
Smatch caller information:
lib/crypto/mpi/mpicoder.c count_lzeros() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct key)->sem |
lib/crypto/mpi/mpicoder.c mpi_read_raw_data() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &key->sem |
lib/crypto/mpi/mpicoder.c mpi_read_raw_from_sgl() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/crypto/mpi/mpi-pow.c mpi_powm() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &key->sem |
lib/crypto/mpi/mpi-pow.c mpi_powm() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &key->sem |
lib/crypto/mpi/mpi-bit.c mpi_get_nbits() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-u64max |
| LOCK2 | &key->sem | ||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct key)->sem |
lib/crypto/mpi/mpih-div.c mpihelp_divmod_1() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $3 |
lib/crypto/mpi/mpih-div.c mpihelp_mod_1() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $2 |
lib/crypto/mpi/mpi-div.c mpi_tdiv_qr() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|
drivers/crypto/aspeed/aspeed-acry.c aspeed_acry_rsa_ctx_copy() -> count_leading_zeros()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1-255 |