Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/morsemicro/mm81x/mmrc.c calculate_remaining_attempts() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->best_tp.index | 0-65534 |
| PARAM_VALUE | 0 | tb->caps.max_rates | 0-4 |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| CAPPED_DATA | 0 | tb->best_tp.index | 1 |
| CAPPED_DATA | 0 | tb->lookaround_cnt | 1 |
| CAPPED_DATA | 0 | tb->stability_cnt_threshold | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| FUZZY_MAX | 0 | tb->caps.max_rates | 3 |
| PREEMPT_ADD | |||
| LOCK2 | &mors->mrc.lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c calculate_remaining_attempts() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->best_tp.index | 0-65534 |
| PARAM_VALUE | 0 | tb->caps.max_rates | 0-4 |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| CAPPED_DATA | 0 | tb->best_tp.index | 1 |
| CAPPED_DATA | 0 | tb->lookaround_cnt | 1 |
| CAPPED_DATA | 0 | tb->stability_cnt_threshold | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| FUZZY_MAX | 0 | tb->caps.max_rates | 3 |
| PREEMPT_ADD | |||
| LOCK2 | &mors->mrc.lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c generate_table_priority() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mrc->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c generate_table_priority() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mrc->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c generate_table_priority() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->fixed_rate.rate | 11 |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mrc->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c mmrc_get_rates() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->fixed_rate.rate | 11 |
| PARAM_VALUE | 0 | tb->lookaround_cnt | 0-254 |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| CAPPED_DATA | 0 | tb->lookaround_cnt | 1 |
| CAPPED_DATA | 0 | tb->stability_cnt_threshold | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mors->mrc.lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c mmrc_get_rates() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->fixed_rate.rate | 11 |
| PARAM_VALUE | 0 | tb->lookaround_cnt | 0-254 |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| CAPPED_DATA | 0 | tb->lookaround_cnt | 1 |
| CAPPED_DATA | 0 | tb->stability_cnt_threshold | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mors->mrc.lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |
drivers/net/wireless/morsemicro/mm81x/mmrc.c mmrc_update() -> calculate_throughput()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->table | 4096-ptr_max |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &mrc->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mm81x_rc)->lock |