Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/bonding/bond_options.c
- drivers/net/bonding/bond_sysfs.c, line 91
- drivers/usb/gadget/function/u_ether.c, line 1052
- net/core/dev.c
- net/ipv4/ip_tunnel.c, line 244
- net/ipv6/ip6_gre.c, line 330
- net/ipv6/ip6_tunnel.c, line 293
- net/ipv6/ip6_vti.c, line 209
- net/ipv6/sit.c, line 258
Smatch caller information:
drivers/usb/gadget/function/u_ether.c gether_set_ifname() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 5538537736040763392 |
| BUF_SIZE | 0 | name | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
net/ipv6/ip6_tunnel.c ip6_tnl_create() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | 16 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv6/ip6_gre.c ip6gre_tunnel_locate() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | 16 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv6/sit.c ipip6_tunnel_locate() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| BUF_SIZE | 0 | name | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ip6_vti.c vti6_tnl_create() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | 16 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/ip_tunnel.c __ip_tunnel_create() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4096-ptr_max |
| BUF_SIZE | 0 | name | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_sysfs.c bonding_store_bonds() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 6926598588452352001 |
| BUF_SIZE | 0 | name | 16 |
| BUF_SIZE | 0 | name | 16 |
| 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_option_queue_id_set() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *name | 0 |
| BUF_SIZE | 0 | name | 1,8,16,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_options.c bond_option_slaves_set() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 4921954617254993921 |
| BUF_SIZE | 0 | name | 16 |
| BUF_SIZE | 0 | name | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c dev_prep_valid_name() -> dev_valid_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | (-1)-0,6-7,16 |
| BUF_SIZE | 0 | name | (-1)-0,6-7,16 |
| DATA_SOURCE | 0 | name | $2 |
| STR_LEN | 0 | name | (-1),15 |
| STR_LEN | 0 | name | (-1),15 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *name | 0-255 |
| USER_PTR | 0 | name | |
| HALF_LOCKED2 | global &rtnl_mutex |