Lines Matching defs:srv_bind
2659 * srv_bind The address of a ibt_srv_bind_t that describes
2682 ibt_bind_service(ibt_srv_hdl_t srv_hdl, ib_gid_t gid, ibt_srv_bind_t *srv_bind,
2718 if (srv_bind != NULL) {
2726 if (srv_bind->sb_pkey == 0) {
2732 if (strlen(srv_bind->sb_name) >= IB_SVC_NAME_LEN) {
2739 "Service Name='%s'", srv_bind->sb_name);
2741 port.hp_port, srv_bind->sb_pkey, &pkey_ix);
2745 srv_bind->sb_pkey);
2764 if (srv_bind == NULL ||
2765 srv_bind->sb_pkey == sbp->sbind_pkey) {
2785 if (srv_bind != NULL) {
2789 sbindp->sbind_lease = srv_bind->sb_lease;
2791 sbindp->sbind_pkey = srv_bind->sb_pkey;
2793 sbindp->sbind_key[0] = srv_bind->sb_key[0];
2795 sbindp->sbind_key[1] = srv_bind->sb_key[1];
2796 (void) strcpy(sbindp->sbind_name, srv_bind->sb_name);
2797 (void) strcpy((char *)srv_rec.ServiceName, srv_bind->sb_name);
2809 * setting IBT_SBIND_NO_CLEANUP flag (srv_bind->sb_flag).
2812 (!(srv_bind->sb_flag & IBT_SBIND_NO_CLEANUP))) {
2817 ibcm_swizzle_from_srv(&srv_bind->sb_data, sbindp->sbind_data);
2937 "service binding not found: srv_hdl %p, srv_bind %p",