Home
last modified time | relevance | path

Searched refs:subnet_prefix (Results 1 – 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/security/selinux/
Dibpkey.c71 static struct sel_ib_pkey *sel_ib_pkey_find(u64 subnet_prefix, u16 pkey_num) in sel_ib_pkey_find() argument
79 pkey->psec.subnet_prefix == subnet_prefix) in sel_ib_pkey_find()
130 static int sel_ib_pkey_sid_slow(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid_slow() argument
138 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid_slow()
145 ret = security_ib_pkey_sid(&selinux_state, subnet_prefix, pkey_num, in sel_ib_pkey_sid_slow()
159 new->psec.subnet_prefix = subnet_prefix; in sel_ib_pkey_sid_slow()
182 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *sid) in sel_ib_pkey_sid() argument
187 pkey = sel_ib_pkey_find(subnet_prefix, pkey_num); in sel_ib_pkey_sid()
195 return sel_ib_pkey_sid_slow(subnet_prefix, pkey_num, sid); in sel_ib_pkey_sid()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsecurity.c66 u64 *subnet_prefix) in get_pkey_and_subnet_prefix() argument
75 ret = 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 …]
Dcore_priv.h226 u64 subnet_prefix);
251 u64 subnet_prefix) in ib_security_cache_change() argument
Dcache.c542 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in make_default_gid()
1082 *sn_pfx = device->port_data[port_num].cache.subnet_prefix; in ib_get_cached_subnet_prefix()
1534 device->port_data[port].cache.subnet_prefix = tprops->subnet_prefix; in ib_cache_update()
1540 tprops->subnet_prefix); in ib_cache_update()
Duverbs_marshall.c56 cpu_to_be64(port_attr.subnet_prefix)); in rdma_ah_conv_opa_to_ib()
/kernel/linux/linux-5.10/security/selinux/include/
Dibpkey.h19 int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid);
25 static inline int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid) in sel_ib_pkey_sid() argument
Dobjsec.h138 u64 subnet_prefix; /* Port subnet prefix */ member
Dsecurity.h338 u64 subnet_prefix, u16 pkey_num, u32 *out_sid);
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ruc.c72 (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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Druc.c59 (gid->global.subnet_prefix == gid_prefix || in gid_ok()
60 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok()
100 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
137 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
180 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_grh()
/kernel/linux/linux-5.10/include/rdma/
Dib_sa.h227 ib->dgid.global.subnet_prefix in path_conv_opa_to_ib()
228 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib()
231 ib->dgid.global.subnet_prefix in path_conv_opa_to_ib()
232 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib()
Dopa_port_info.h339 __be64 subnet_prefix; member
/kernel/linux/linux-5.10/include/linux/
Dlsm_audit.h51 u64 subnet_prefix; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c1075 priv->local_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
1076 netdev_gid->global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
1077 search_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_rxe.h15 __be64 subnet_prefix; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_rxe.h32 __be64 subnet_prefix; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_rxe.h50 __be64 subnet_prefix; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Drdma.c127 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in mlx5_rdma_make_default_gid()
/kernel/linux/linux-5.10/security/
Dlsm_audit.c426 memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, in dump_common_audit_data()
427 sizeof(a->u.ibpkey->subnet_prefix)); in dump_common_audit_data()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c756 grh->dgid.global.subnet_prefix == cpu_to_be64( in mlx4_ib_demux_mad()
757 atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix))) { in mlx4_ib_demux_mad()
1210 gid.global.subnet_prefix = in handle_port_mgmt_change_event()
1218 (u64)atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix), in handle_port_mgmt_change_event()
1219 be64_to_cpu(gid.global.subnet_prefix)); in handle_port_mgmt_change_event()
1220 atomic64_set(&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()
2341 atomic64_set(&dev->sriov.demux[i].subnet_prefix, in mlx4_ib_init_sriov()
2342 be64_to_cpu(gid.global.subnet_prefix)); in mlx4_ib_init_sriov()
/kernel/linux/linux-5.10/security/selinux/ss/
Dpolicydb.h191 u64 subnet_prefix; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h54 __be64 subnet_prefix; member
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe.c101 port->subnet_prefix = cpu_to_be64(RXE_PORT_SUBNET_PREFIX); in rxe_init_port_param()
Drxe_verbs.h344 __be64 subnet_prefix; member
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dvt.c279 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()

12