Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- arch/mips/rb532/devices.c, line 365
- arch/um/drivers/vector_kern.c, line 1548
- arch/xtensa/platforms/iss/network.c, line 129
- drivers/firmware/broadcom/bcm47xx_sprom.c, line 153
- drivers/misc/pch_phub.c, line 502
- drivers/net/bonding/bond_options.c, line 1883
- drivers/net/ethernet/pasemi/pasemi_mac.c, line 205
- drivers/net/netconsole.c
- drivers/net/wireless/ath/ath6kl/debug.c, line 1247
- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c, line 604
- drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c, line 503
- drivers/nvmem/brcm_nvram.c, line 111
- drivers/nvmem/layouts/u-boot-env.c, line 41
- drivers/ptp/ptp_pch.c, line 280
- drivers/staging/rtl8723bs/core/rtw_ieee80211.c, line 1014
- lib/net_utils.c, line 27
- net/bridge/br_sysfs_br.c, line 316
- net/core/pktgen.c
- net/mac80211/debugfs_netdev.c, line 452
Smatch caller information:
net/core/pktgen.c pktgen_if_write() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 2847455700021108736 |
| BUF_SIZE | 0 | s | 32 |
| BUF_SIZE | 1 | mac | 6 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s |
net/core/pktgen.c pktgen_if_write() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 2847455700021108736 |
| BUF_SIZE | 0 | s | 32 |
| BUF_SIZE | 1 | mac | 6 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s |
drivers/ptp/ptp_pch.c pch_set_station_address() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 1 | mac | 5109617279390416896 |
| BUF_SIZE | 0 | s | 20 |
| BUF_SIZE | 0 | s | 20 |
| BUF_SIZE | 1 | mac | 8 |
| DATA_SOURCE | 0 | s | $0 |
| STR_LEN | 0 | s | (-1),17 |
| STR_LEN | 0 | s | (-1),17 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->register_lock | ||
| HALF_LOCKED2 | flags |
drivers/net/netconsole.c netconsole_parser_cmdline() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4098-ptr_max |
| PARAM_VALUE | 0 | *s | 0 |
| BUF_SIZE | 1 | mac | 6 |
drivers/net/netconsole.c netconsole_parser_cmdline() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | *s | 1-255 |
| BUF_SIZE | 1 | mac | 6 |
drivers/net/netconsole.c remote_mac_store() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | mac | 1783247156945825792 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_uapsd_misbehaving_write() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 2126223417348743168 |
| BUF_SIZE | 0 | s | 20 |
| BUF_SIZE | 0 | s | 20 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $1 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s | |
| LOCK2 | &mvm->mutex | ||
| TYPE_LOCK | (struct iwl_mvm)->mutex |
drivers/staging/rtl8723bs/core/rtw_ieee80211.c rtw_macaddr_cfg() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 1 | mac | 6774810372536479744 |
| BUF_SIZE | 1 | mac | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/ath6kl/debug.c ath6kl_force_roam_write() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 9198456057168445440 |
| PARAM_VALUE | 1 | mac | 2260267184977203200 |
| BUF_SIZE | 0 | s | 20 |
| BUF_SIZE | 1 | mac | 6 |
| TERMINATED | 0 | s | 1 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s |
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c mt7615_ext_mac_addr_write() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 2368247789272408064-18446744073709547521 |
| PARAM_VALUE | 1 | mac | 7053427165721567232 |
| BUF_SIZE | 0 | s | (-1),32 |
| BUF_SIZE | 0 | s | (-1),32 |
| BUF_SIZE | 1 | mac | 6 |
| USER_DATA | 0 | *s | 0-255 |
| USER_PTR | 0 | s |
drivers/nvmem/layouts/u-boot-env.c u_boot_env_read_post_process_ethaddr() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mac | 429277432088584192 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_macaddr() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 5673522076733427712 |
| BUF_SIZE | 0 | s | 100 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 1 | mac | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/bridge/br_sysfs_br.c group_addr_store() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | mac | 5089519437652025344 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $2 |
| NS_CAPABLE | 0 | 12 | |
| 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_ad_actor_system_set() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 1 | mac | 771648561497190400 |
| BUF_SIZE | 0 | s | 1,8,16,23 |
| BUF_SIZE | 1 | mac | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/misc/pch_phub.c store_pch_mac() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | mac | 5535840235813122048 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/mac80211/debugfs_netdev.c ieee80211_if_parse_tkip_mic_test() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mac | 740666679159201792 |
| BUF_SIZE | 0 | s | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | s | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/nvmem/brcm_nvram.c brcm_nvram_read_post_process_macaddr() -> mac_pton()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mac | 2924393155375153152 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | s | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |