Searched refs:ibpkey (Results 1 – 10 of 10) sorted by relevance
22 selinux-$(CONFIG_SECURITY_INFINIBAND) += ibpkey.o
6678 struct lsm_ibpkey_audit ibpkey; in selinux_ib_pkey_access() local6685 ibpkey.subnet_prefix = subnet_prefix; in selinux_ib_pkey_access()6686 ibpkey.pkey = pkey_val; in selinux_ib_pkey_access()6687 ad.u.ibpkey = &ibpkey; in selinux_ib_pkey_access()
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()413 a->u.ibpkey->pkey, &sbn_pfx); in dump_common_audit_data()
97 struct lsm_ibpkey_audit *ibpkey; member
194 } ibpkey; member
2342 c->u.ibpkey.subnet_prefix = be64_to_cpu(prefixbuf[0]); in ocontext_read()2356 c->u.ibpkey.low_pkey = pkey_lo; in ocontext_read()2357 c->u.ibpkey.high_pkey = pkey_hi; in ocontext_read()3355 prefixbuf[0] = cpu_to_be64(c->u.ibpkey.subnet_prefix); in ocontext_write()3361 buf[0] = cpu_to_le32(c->u.ibpkey.low_pkey); in ocontext_write()3362 buf[1] = cpu_to_le32(c->u.ibpkey.high_pkey); in ocontext_write()
2457 if (c->u.ibpkey.low_pkey <= pkey_num && in security_ib_pkey_sid()2458 c->u.ibpkey.high_pkey >= pkey_num && in security_ib_pkey_sid()2459 c->u.ibpkey.subnet_prefix == subnet_prefix) in security_ib_pkey_sid()
[all...]