/linux/security/selinux/ |
H A D | ibpkey.c | 70 static struct sel_ib_pkey *sel_ib_pkey_find(u64 subnet_prefix, u16 pkey_num) in sel_ib_pkey_find() argument 78 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find() 129 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument 137 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid_slow() 144 ret = security_ib_pkey_sid(subnet_prefix, pkey_num, in sel_ib_pkey_sid_slow() 158 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow() 181 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument 186 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid() 194 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()
|
/linux/drivers/infiniband/core/ |
H A D | security.c | 66 u64 *subnet_prefix) in get_pkey_and_subnet_prefix() argument 75 ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix() 81 u64 subnet_prefix, in enforce_qp_pkey_security() argument 87 ret = security_ib_pkey_access(qp_sec->security, subnet_prefix, pkey); in enforce_qp_pkey_security() 95 subnet_prefix, in enforce_qp_pkey_security() 114 u64 subnet_prefix; in check_qp_port_pkey_settings() local 124 &subnet_prefix); in check_qp_port_pkey_settings() 129 subnet_prefix, in check_qp_port_pkey_settings() 138 &subnet_prefix); in check_qp_port_pkey_settings() 143 subnet_prefix, in check_qp_port_pkey_settings() [all …]
|
H A D | core_priv.h | 224 u64 subnet_prefix); 249 u64 subnet_prefix) in ib_security_cache_change() argument
|
H A D | cache.c | 542 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in make_default_gid() 1080 *sn_pfx = device->port_data[port_num].cache.subnet_prefix; in ib_get_cached_subnet_prefix() 1468 tprops->subnet_prefix = in config_non_roce_gid_cache() 1469 be64_to_cpu(gid_attr.gid.global.subnet_prefix); in config_non_roce_gid_cache() 1541 device->port_data[port].cache.subnet_prefix = tprops->subnet_prefix; in ib_cache_update() 1547 tprops->subnet_prefix); in ib_cache_update()
|
H A D | uverbs_marshall.c | 56 cpu_to_be64(port_attr.subnet_prefix)); in rdma_ah_conv_opa_to_ib()
|
/linux/security/selinux/include/ |
H A D | ibpkey.h | 22 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid); 28 static inline int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid) in sel_ib_pkey_sid() argument
|
H A D | objsec.h | 138 u64 subnet_prefix; /* Port subnet prefix */ member
|
H A D | security.h | 296 int security_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid);
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_ruc.c | 72 (gid->global.subnet_prefix == gid_prefix || in gid_ok() 73 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok() 105 grh->dgid.global.subnet_prefix, in qib_ruc_check_hdr() 144 grh->dgid.global.subnet_prefix, in qib_ruc_check_hdr() 195 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in qib_make_grh()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | ruc.c | 17 (gid->global.subnet_prefix == gid_prefix || in gid_ok() 18 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok() 58 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr() 95 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr() 138 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_grh()
|
/linux/include/rdma/ |
H A D | ib_sa.h | 228 ib->dgid.global.subnet_prefix in path_conv_opa_to_ib() 229 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib() 232 ib->dgid.global.subnet_prefix in path_conv_opa_to_ib() 233 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib()
|
H A D | opa_port_info.h | 339 __be64 subnet_prefix; member
|
/linux/include/linux/ |
H A D | lsm_audit.h | 51 u64 subnet_prefix; member
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 1097 priv->local_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid() 1098 dev_addr_mod(priv->dev, 4, (u8 *)&gid0.global.subnet_prefix, in ipoib_dev_addr_changed_valid() 1099 sizeof(gid0.global.subnet_prefix)); in ipoib_dev_addr_changed_valid() 1100 search_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
|
/linux/include/uapi/rdma/ |
H A D | rdma_user_rxe.h | 50 __be64 subnet_prefix; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | rdma.c | 115 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in mlx5_rdma_make_default_gid()
|
H A D | vport.c | 594 gid->global.subnet_prefix = tmp->global.subnet_prefix; in mlx5_query_hca_vport_gid()
|
/linux/security/ |
H A D | lsm_audit.c | 410 memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, in dump_common_audit_data() 411 sizeof(a->u.ibpkey->subnet_prefix)); in dump_common_audit_data()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 757 grh->dgid.global.subnet_prefix == cpu_to_be64( in mlx4_ib_demux_mad() 758 atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix))) { in mlx4_ib_demux_mad() 1212 gid.global.subnet_prefix = in handle_port_mgmt_change_event() 1220 (u64)atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix), in handle_port_mgmt_change_event() 1221 be64_to_cpu(gid.global.subnet_prefix)); in handle_port_mgmt_change_event() 1222 atomic64_set(&dev->sriov.demux[port - 1].subnet_prefix, in handle_port_mgmt_change_event() 1223 be64_to_cpu(gid.global.subnet_prefix)); in handle_port_mgmt_change_event() 2340 atomic64_set(&dev->sriov.demux[i].subnet_prefix, in mlx4_ib_init_sriov() 2341 be64_to_cpu(gid.global.subnet_prefix)); in mlx4_ib_init_sriov()
|
H A D | mcg.c | 760 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in search_relocate_mgid0_group() 841 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in acquire_group()
|
/linux/security/selinux/ss/ |
H A D | policydb.h | 188 u64 subnet_prefix; member
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe.c | 103 port->subnet_prefix = cpu_to_be64(RXE_PORT_SUBNET_PREFIX); in rxe_init_port_param()
|
H A D | rxe_verbs.h | 366 __be64 subnet_prefix; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.h | 54 __be64 subnet_prefix; member
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | vt.c | 234 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()
|