qp_sec 82 drivers/infiniband/core/security.c struct ib_qp_security *qp_sec) qp_sec 87 drivers/infiniband/core/security.c ret = security_ib_pkey_access(qp_sec->security, subnet_prefix, pkey); qp_sec 92 drivers/infiniband/core/security.c &qp_sec->shared_qp_list, qp_sec 336 drivers/infiniband/core/security.c struct ib_ports_pkeys *qp_pps = qp->qp_sec->ports_pkeys; qp_sec 368 drivers/infiniband/core/security.c new_pps->main.sec = qp->qp_sec; qp_sec 369 drivers/infiniband/core/security.c new_pps->alt.sec = qp->qp_sec; qp_sec 383 drivers/infiniband/core/security.c if (!qp->qp_sec) qp_sec 386 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); qp_sec 387 drivers/infiniband/core/security.c ret = check_qp_port_pkey_settings(real_qp->qp_sec->ports_pkeys, qp_sec 388 drivers/infiniband/core/security.c qp->qp_sec); qp_sec 394 drivers/infiniband/core/security.c list_add(&qp->qp_sec->shared_qp_list, qp_sec 395 drivers/infiniband/core/security.c &real_qp->qp_sec->shared_qp_list); qp_sec 397 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); qp_sec 399 drivers/infiniband/core/security.c destroy_qp_security(qp->qp_sec); qp_sec 408 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); qp_sec 410 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); qp_sec 431 drivers/infiniband/core/security.c qp->qp_sec = kzalloc(sizeof(*qp->qp_sec), GFP_KERNEL); qp_sec 432 drivers/infiniband/core/security.c if (!qp->qp_sec) qp_sec 435 drivers/infiniband/core/security.c qp->qp_sec->qp = qp; qp_sec 436 drivers/infiniband/core/security.c qp->qp_sec->dev = dev; qp_sec 437 drivers/infiniband/core/security.c mutex_init(&qp->qp_sec->mutex); qp_sec 438 drivers/infiniband/core/security.c INIT_LIST_HEAD(&qp->qp_sec->shared_qp_list); qp_sec 439 drivers/infiniband/core/security.c atomic_set(&qp->qp_sec->error_list_count, 0); qp_sec 440 drivers/infiniband/core/security.c init_completion(&qp->qp_sec->error_complete); qp_sec 441 drivers/infiniband/core/security.c ret = security_ib_alloc_security(&qp->qp_sec->security); qp_sec 443 drivers/infiniband/core/security.c kfree(qp->qp_sec); qp_sec 444 drivers/infiniband/core/security.c qp->qp_sec = NULL; qp_sec 588 drivers/infiniband/core/security.c !real_qp->qp_sec), qp_sec 598 drivers/infiniband/core/security.c if (pps_change && !special_qp && real_qp->qp_sec) { qp_sec 599 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); qp_sec 604 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); qp_sec 621 drivers/infiniband/core/security.c real_qp->qp_sec); qp_sec 637 drivers/infiniband/core/security.c tmp_pps = real_qp->qp_sec->ports_pkeys; qp_sec 638 drivers/infiniband/core/security.c real_qp->qp_sec->ports_pkeys = new_pps; qp_sec 646 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); qp_sec 1820 drivers/infiniband/core/verbs.c if (qp->qp_sec) qp_sec 1821 drivers/infiniband/core/verbs.c ib_close_shared_qp_security(qp->qp_sec); qp_sec 1880 drivers/infiniband/core/verbs.c sec = qp->qp_sec; qp_sec 1739 include/rdma/ib_verbs.h struct ib_qp_security *qp_sec;