Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/bonding/bond_main.c, line 6338
- drivers/net/bonding/bond_options.c, line 720
- drivers/net/bonding/bond_procfs.c
- drivers/net/bonding/bond_sysfs.c
Smatch caller information:
drivers/net/bonding/bond_procfs.c bond_info_show_master() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 5 |
| PARAM_VALUE | 1 | val | 1-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/bonding/bond_procfs.c bond_info_show_master() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 2 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/bonding/bond_procfs.c bond_info_show_master() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 16 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/bonding/bond_procfs.c bond_info_show_master() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 12 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/bonding/bond_main.c bond_check_params() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 3 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
drivers/net/bonding/bond_sysfs.c bonding_show_ad_select() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 12 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_arp_all_targets() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 4 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_arp_validate() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 3 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_fail_over_mac() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 5 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_lacp_active() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 30 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_lacp_rate() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 10 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_mode() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 0 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_primary_reselect() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 16 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_sysfs.c bonding_show_xmit_hash() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 2 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/bonding/bond_options.c bond_opt_dep_print() -> bond_opt_get_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | option | 0 |
| PARAM_VALUE | 1 | val | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |