Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/bonding/bond_alb.c bond_xmit_alb_slave_get() -> _simple_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hash_size | 4,16 |
| BUF_SIZE | 0 | hash_start | 4,16 |
| BUF_SIZE | 0 | hash_start | 4,16 |
| FUZZY_MAX | 1 | hash_size | 16 |
| BIT_INFO | 1 | hash_size | 0x0,0x14 |
| HARD_MAX | 1 | hash_size | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | hash_size | unit_byte |
| LOCK2 | rcu_read |
drivers/net/bonding/bond_alb.c rlb_choose_channel() -> _simple_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hash_start | 4096-ptr_max |
| PARAM_VALUE | 1 | hash_size | 4 |
| BUF_SIZE | 0 | hash_start | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | hash_size | unit_byte |
| LOCK2 | &bond->mode_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &bond_dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bonding)->mode_lock |
drivers/net/bonding/bond_alb.c rlb_choose_channel() -> _simple_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hash_start | 4096-ptr_max |
| PARAM_VALUE | 1 | hash_size | 4 |
| BUF_SIZE | 0 | hash_start | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | hash_size | unit_byte |
| LOCK2 | &bond->mode_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &bond_dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct bonding)->mode_lock |
drivers/net/bonding/bond_alb.c rlb_purge_src_ip() -> _simple_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hash_start | 4096-ptr_max |
| PARAM_VALUE | 1 | hash_size | 4 |
| BUF_SIZE | 0 | hash_start | 4 |
| UNITS | 1 | hash_size | unit_byte |
drivers/net/bonding/bond_alb.c rlb_update_entry_from_arp() -> _simple_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hash_start | 4096-ptr_max |
| PARAM_VALUE | 1 | hash_size | 4 |
| BUF_SIZE | 0 | hash_start | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | hash_size | unit_byte |
| LOCK2 | &bond->mode_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct bonding)->mode_lock |