Defined in 7 files as a member:
- drivers/net/ethernet/marvell/prestera/prestera.h, line 334 (as a member)
- drivers/net/ethernet/marvell/prestera/prestera_hw.c, line 527 (as a member)
- drivers/net/ethernet/marvell/prestera/prestera_rxtx.c, line 100 (as a member)
- drivers/soc/fsl/dpaa2-console.c, line 53 (as a member)
- include/linux/elf-fdpic.h, line 34 (as a member)
- include/linux/pci-epc.h, line 142 (as a member)
- tools/testing/selftests/mm/process_madv.c, line 141 (as a member)
Defined in 2 files as a function:
- net/netfilter/nf_nat_sip.c, line 94 (as a function)
- security/apparmor/af_inet.c, line 93 (as a function)
Referenced in 26 files:
- arch/powerpc/mm/book3s64/radix_pgtable.c
- drivers/gpu/host1x/hw/debug_hw.c
- drivers/misc/genwqe/card_dev.c
- drivers/net/ethernet/alacritech/slic.h
- drivers/net/ethernet/alacritech/slicoss.c
- drivers/net/ethernet/marvell/prestera/prestera_hw.c
- drivers/net/ethernet/marvell/prestera/prestera_rxtx.c
- drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c
- drivers/net/ethernet/socionext/sni_ave.c
- drivers/net/hyperv/netvsc.c
- drivers/net/wireless/realtek/rtl8xxxu/8710b.c
- drivers/net/wireless/realtek/rtl8xxxu/core.c
- drivers/pci/controller/cadence/pcie-cadence-ep.c, line 641
- drivers/pci/controller/dwc/pcie-designware-ep.c, line 941
- drivers/pci/controller/pcie-rcar-ep.c, line 461
- drivers/pci/controller/pcie-rockchip-ep.c, line 712
- drivers/pci/endpoint/pci-epc-core.c
-
drivers/scsi/FlashPoint.c
- line 4510
- line 4513
- line 4515
- line 4516
- line 4517
- line 4518
- line 4519
- line 4520
- line 4521
- line 4522
- line 4523
- line 4524
- line 4525
- line 4526
- line 4527
- line 4528
- line 4529
- line 4530
- line 4531
- line 4532
- line 4533
- line 4534
- line 4535
- line 4536
- line 4537
- line 4538
- line 4539
- line 4540
- line 4541
- line 4542
- line 4543
- line 4544
- line 4545
- line 4546
- line 4547
- line 4548
- line 4549
- line 4550
- line 4551
- line 4552
- line 4553
- line 4554
- line 4555
- line 4556
- line 4557
- line 4558
- line 4559
- line 4560
- line 4561
- line 4562
- line 4563
- line 4564
- line 4565
- line 4566
- line 4567
- line 4568
- line 4569
- line 4570
- line 4571
- line 4572
- line 4573
- line 4574
- line 4575
- line 4576
- line 4577
- line 4578
- line 4579
- line 4580
- line 4581
- line 4582
- line 4583
- line 4584
- line 4585
- line 4586
- line 4588
- line 4589
- line 4590
- line 4591
- line 4592
- line 4593
- line 4594
- line 4595
- line 4596
- line 4597
- line 4598
- line 4599
- line 4600
- drivers/soc/fsl/dpaa2-console.c
- fs/adfs/map.c
- fs/binfmt_elf.c
- fs/binfmt_elf_fdpic.c
- kernel/bpf/verifier.c
- net/netfilter/nf_nat_sip.c
- security/apparmor/af_inet.c
- tools/testing/selftests/mm/process_madv.c
Smatch caller information:
net/netfilter/nf_nat_sip.c map_sip_addr() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 3 | dptr | 969033113277771776,1097446839666429952 |
| PARAM_VALUE | 4 | datalen | 2707693340019548160,6202126820813148160 |
| PARAM_VALUE | 6 | matchlen | 1-u32max |
| PARAM_VALUE | 7 | addr | 3612635987438829568 |
| PARAM_VALUE | 7 | addr->ip | 0-255 |
| PARAM_VALUE | 8 | port | 1024-u16max |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | protoff | $1 |
| DATA_SOURCE | 2 | dataoff | $2 |
| DATA_SOURCE | 3 | dptr | $3 |
| DATA_SOURCE | 4 | datalen | $4 |
| CONSTRAINT | 2 | dataoff | <49 |
| UNITS | 1 | protoff | unit_byte |
| UNITS | 2 | dataoff | unit_byte |
net/netfilter/nf_nat_sip.c nf_nat_sip() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 3 | dptr | 969033113277771776,1097446839666429952 |
| PARAM_VALUE | 3 | *dptr | 4096-u64max |
| PARAM_VALUE | 4 | datalen | 2707693340019548160,6202126820813148160 |
| PARAM_VALUE | 7 | addr | 6017163364934144000 |
| PARAM_VALUE | 7 | addr->ip | 0-255 |
| PARAM_VALUE | 8 | port | 1024-u16max |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | protoff | $1 |
| DATA_SOURCE | 2 | dataoff | $2 |
| DATA_SOURCE | 3 | dptr | $3 |
| DATA_SOURCE | 4 | datalen | $4 |
| CONSTRAINT | 2 | dataoff | <49 |
net/netfilter/nf_nat_sip.c nf_nat_sip() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 3 | dptr | 969033113277771776,1097446839666429952 |
| PARAM_VALUE | 4 | datalen | 2707693340019548160,6202126820813148160 |
| PARAM_VALUE | 6 | matchlen | 1-u32max |
| PARAM_VALUE | 7 | addr | 6017163364934144000 |
| PARAM_VALUE | 7 | addr->ip | 0-255 |
| PARAM_VALUE | 8 | port | 1024-u16max |
| CAPPED_DATA | 8 | port | 1 |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | protoff | $1 |
| DATA_SOURCE | 2 | dataoff | $2 |
| DATA_SOURCE | 3 | dptr | $3 |
| DATA_SOURCE | 4 | datalen | $4 |
| CONSTRAINT | 2 | dataoff | <49 |
net/netfilter/nf_nat_sip.c nf_nat_sip() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 3 | dptr | 969033113277771776,1097446839666429952 |
| PARAM_VALUE | 4 | datalen | 2707693340019548160,6202126820813148160 |
| PARAM_VALUE | 6 | matchlen | 1-u32max |
| PARAM_VALUE | 7 | addr | 6017163364934144000 |
| PARAM_VALUE | 7 | addr->ip | 0-255 |
| PARAM_VALUE | 8 | port | 1024-u16max |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | protoff | $1 |
| DATA_SOURCE | 2 | dataoff | $2 |
| DATA_SOURCE | 3 | dptr | $3 |
| DATA_SOURCE | 4 | datalen | $4 |
| CONSTRAINT | 2 | dataoff | <49 |
security/apparmor/af_inet.c aa_inet_connect_perm() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->sa_family | 1-u16max |
| PARAM_VALUE | 1 | protoff | s32min-(-1),2-s32max |
| PARAM_VALUE | 2 | dataoff | 0 |
| PARAM_VALUE | 3 | dptr | 2 |
| PARAM_VALUE | 4 | datalen | 8153967422121820160 |
| PARAM_VALUE | 5 | matchoff | 8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->class | 14 |
| PARAM_VALUE | 5 | matchoff->common.apparmor_audit_data | 8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.selinux_audit_data | 8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.smack_audit_data | 8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.type | 2,7 |
| PARAM_VALUE | 5 | matchoff->common.u.net | 8277426382114914304 |
| PARAM_VALUE | 5 | matchoff->denied | 0 |
| PARAM_VALUE | 5 | matchoff->error | 0 |
| PARAM_VALUE | 5 | matchoff->iface.ns | 0 |
| PARAM_VALUE | 5 | matchoff->info | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.data | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.type | 0 |
| PARAM_VALUE | 5 | matchoff->name | 0 |
| PARAM_VALUE | 5 | matchoff->net.addr | 0 |
| PARAM_VALUE | 5 | matchoff->net.protocol | 0-u16max |
| PARAM_VALUE | 5 | matchoff->net.type | 0-u16max |
| PARAM_VALUE | 5 | matchoff->op | 3903629404945924096 |
| PARAM_VALUE | 5 | matchoff->peer | 0 |
| PARAM_VALUE | 5 | matchoff->request | 64 |
| PARAM_VALUE | 5 | matchoff->rlim.max | 0 |
| PARAM_VALUE | 5 | matchoff->signal | 0 |
| PARAM_VALUE | 5 | matchoff->tags | 0 |
| PARAM_VALUE | 5 | matchoff->type | 0 |
| DATA_SOURCE | 0 | skb | $1 |
| DATA_SOURCE | 1 | protoff | $2 |
| FUZZY_MAX | 1 | protoff | 2 |
| UNITS | 1 | protoff | unit_byte |
security/apparmor/af_inet.c aa_inet_msg_perm() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dataoff | 0 |
| PARAM_VALUE | 3 | dptr | 2 |
| PARAM_VALUE | 4 | datalen | 4385775156065579008 |
| PARAM_VALUE | 5 | matchoff | 479141004406341632 |
| PARAM_VALUE | 5 | matchoff->class | 14 |
| PARAM_VALUE | 5 | matchoff->common.apparmor_audit_data | 479141004406341632 |
| PARAM_VALUE | 5 | matchoff->common.selinux_audit_data | 479141004406341632 |
| PARAM_VALUE | 5 | matchoff->common.smack_audit_data | 479141004406341632 |
| PARAM_VALUE | 5 | matchoff->common.type | 2,7 |
| PARAM_VALUE | 5 | matchoff->common.u.net | 2007267651650256896 |
| PARAM_VALUE | 5 | matchoff->denied | 0 |
| PARAM_VALUE | 5 | matchoff->error | 0 |
| PARAM_VALUE | 5 | matchoff->iface.ns | 0 |
| PARAM_VALUE | 5 | matchoff->info | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.data | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.type | 0 |
| PARAM_VALUE | 5 | matchoff->name | 0 |
| PARAM_VALUE | 5 | matchoff->net.addr | 0 |
| PARAM_VALUE | 5 | matchoff->net.protocol | 0-u16max |
| PARAM_VALUE | 5 | matchoff->net.type | 0-u16max |
| PARAM_VALUE | 5 | matchoff->op | 3903629404945924096,5301814466429702144,7528988410598850560 |
| PARAM_VALUE | 5 | matchoff->peer | 0 |
| PARAM_VALUE | 5 | matchoff->request | 2,4,64 |
| PARAM_VALUE | 5 | matchoff->rlim.max | 0 |
| PARAM_VALUE | 5 | matchoff->signal | 0 |
| PARAM_VALUE | 5 | matchoff->tags | 0 |
| PARAM_VALUE | 5 | matchoff->type | 0 |
| BUF_SIZE | 0 | skb | 1-s32max |
| TERMINATED | 5 | matchoff->op | 1 |
| UNITS | 0 | skb | unit_byte |
| UNITS | 1 | protoff | unit_byte |
security/apparmor/af_inet.c map_sock_addr() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | protoff | 0 |
| PARAM_VALUE | 2 | dataoff | 0 |
| PARAM_VALUE | 3 | dptr | 0,2 |
| PARAM_VALUE | 4 | datalen | 4096-ptr_max |
| PARAM_VALUE | 5 | matchoff | 0,479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->class | 14 |
| PARAM_VALUE | 5 | matchoff->common.apparmor_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.selinux_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.smack_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.type | 2,7 |
| PARAM_VALUE | 5 | matchoff->common.u.net | 92933206824779776,1595106704143970304,2007267651650256896,6053386646287540224,7475423656980897792,7737913063294271488,8277426382114914304 |
| PARAM_VALUE | 5 | matchoff->denied | 0 |
| PARAM_VALUE | 5 | matchoff->error | 0 |
| PARAM_VALUE | 5 | matchoff->iface.ns | 0 |
| PARAM_VALUE | 5 | matchoff->info | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.data | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.type | 0 |
| PARAM_VALUE | 5 | matchoff->name | 0 |
| PARAM_VALUE | 5 | matchoff->net.addr | 0 |
| PARAM_VALUE | 5 | matchoff->net.protocol | 0-u16max |
| PARAM_VALUE | 5 | matchoff->net.type | 0-u16max |
| PARAM_VALUE | 5 | matchoff->peer | 0 |
| PARAM_VALUE | 5 | matchoff->rlim.max | 0 |
| PARAM_VALUE | 5 | matchoff->signal | 0 |
| PARAM_VALUE | 5 | matchoff->tags | 0 |
| PARAM_VALUE | 5 | matchoff->type | 0 |
| DATA_SOURCE | 3 | dptr | $1 |
| DATA_SOURCE | 5 | matchoff | $3 |
| BIT_INFO | 3 | dptr | 0x0,0x2 |
| HARD_MAX | 3 | dptr | 2 |
security/apparmor/af_inet.c map_sock_addr() -> map_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 976249120417468416,1429330999989207040,3667685118311354368,5558246599895183360,5764797608778117120,6368938073942097920,7231725250024161280,8221726435819053056 |
| PARAM_VALUE | 1 | protoff | 0-s32max |
| PARAM_VALUE | 2 | dataoff | 0 |
| PARAM_VALUE | 3 | dptr | 0,2 |
| PARAM_VALUE | 4 | datalen | 4096-ptr_max |
| PARAM_VALUE | 5 | matchoff | 0,479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->class | 14 |
| PARAM_VALUE | 5 | matchoff->common.apparmor_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.selinux_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.smack_audit_data | 479141004406341632,1120378918376693760,1640763297985433600,1887905528197201920,3873708848732499968,7317968997715144704,8522220306628263936 |
| PARAM_VALUE | 5 | matchoff->common.type | 2,7 |
| PARAM_VALUE | 5 | matchoff->common.u.net | 92933206824779776,1595106704143970304,2007267651650256896,6053386646287540224,7475423656980897792,7737913063294271488,8277426382114914304 |
| PARAM_VALUE | 5 | matchoff->denied | 0 |
| PARAM_VALUE | 5 | matchoff->error | 0 |
| PARAM_VALUE | 5 | matchoff->iface.ns | 0 |
| PARAM_VALUE | 5 | matchoff->info | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.data | 0 |
| PARAM_VALUE | 5 | matchoff->mnt.type | 0 |
| PARAM_VALUE | 5 | matchoff->name | 0 |
| PARAM_VALUE | 5 | matchoff->net.addr | 0 |
| PARAM_VALUE | 5 | matchoff->net.protocol | 0-u16max |
| PARAM_VALUE | 5 | matchoff->net.type | 0-u16max |
| PARAM_VALUE | 5 | matchoff->peer | 0 |
| PARAM_VALUE | 5 | matchoff->rlim.max | 0 |
| PARAM_VALUE | 5 | matchoff->signal | 0 |
| PARAM_VALUE | 5 | matchoff->tags | 0 |
| PARAM_VALUE | 5 | matchoff->type | 0 |
| DATA_SOURCE | 3 | dptr | $1 |
| DATA_SOURCE | 5 | matchoff | $3 |
| FUZZY_MAX | 1 | protoff | 0 |
| BIT_INFO | 3 | dptr | 0x0,0x2 |
| HARD_MAX | 3 | dptr | 2 |