Searched refs:ibpkey (Results 1 – 7 of 7) sorted by relevance
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()
24 selinux-$(CONFIG_SECURITY_INFINIBAND) += ibpkey.o
6753 struct lsm_ibpkey_audit ibpkey; in selinux_ib_pkey_access() local6760 ibpkey.subnet_prefix = subnet_prefix; in selinux_ib_pkey_access()6761 ibpkey.pkey = pkey_val; in selinux_ib_pkey_access()6762 ad.u.ibpkey = &ibpkey; in selinux_ib_pkey_access()
97 struct lsm_ibpkey_audit *ibpkey; member
191 } ibpkey; member
2379 c->u.ibpkey.subnet_prefix = in ocontext_read()2394 c->u.ibpkey.low_pkey = pkey_lo; in ocontext_read()2395 c->u.ibpkey.high_pkey = pkey_hi; in ocontext_read()3403 cpu_to_be64(c->u.ibpkey.subnet_prefix); in ocontext_write()3409 buf[0] = cpu_to_le32(c->u.ibpkey.low_pkey); in ocontext_write()3410 buf[1] = cpu_to_le32(c->u.ibpkey.high_pkey); in ocontext_write()
2465 if (c->u.ibpkey.low_pkey <= pkey_num && in security_ib_pkey_sid()2466 c->u.ibpkey.high_pkey >= pkey_num && in security_ib_pkey_sid()2467 c->u.ibpkey.subnet_prefix == subnet_prefix) in security_ib_pkey_sid()