Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_slide_own_bcast_window() -> batadv_bit_get_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 2 | seq_num_diff | 1 |
| PARAM_VALUE | 3 | set_mark | 0 |
| BUF_SIZE | 1 | seq_bits | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hard_iface->bat_iv.ogm_buff_mutex | ||
| LOCK2 | &orig_node->bat_iv.ogm_cnt_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct batadv_hard_iface_bat_iv)->ogm_buff_mutex | ||
| TYPE_LOCK | (struct batadv_orig_bat_iv)->ogm_cnt_lock |
net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_update_seqnos() -> batadv_bit_get_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | set_mark | 0-1 |
| BUF_SIZE | 1 | seq_bits | 8 |
| FUZZY_MAX | 3 | set_mark | 1 |
| HARD_MAX | 3 | set_mark | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &orig_node->bat_iv.ogm_cnt_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct batadv_orig_bat_iv)->ogm_cnt_lock |
net/batman-adv/routing.c batadv_recv_bcast_packet() -> batadv_bit_get_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 3 | set_mark | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &orig_node->bcast_seqno_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct batadv_orig_node)->bcast_seqno_lock |