Lines Matching refs:src

40 				struct ibv_kern_ah_attr *src)  in ibv_copy_ah_attr_from_kern()  argument
42 memcpy(dst->grh.dgid.raw, src->grh.dgid, sizeof dst->grh.dgid); in ibv_copy_ah_attr_from_kern()
43 dst->grh.flow_label = src->grh.flow_label; in ibv_copy_ah_attr_from_kern()
44 dst->grh.sgid_index = src->grh.sgid_index; in ibv_copy_ah_attr_from_kern()
45 dst->grh.hop_limit = src->grh.hop_limit; in ibv_copy_ah_attr_from_kern()
46 dst->grh.traffic_class = src->grh.traffic_class; in ibv_copy_ah_attr_from_kern()
48 dst->dlid = src->dlid; in ibv_copy_ah_attr_from_kern()
49 dst->sl = src->sl; in ibv_copy_ah_attr_from_kern()
50 dst->src_path_bits = src->src_path_bits; in ibv_copy_ah_attr_from_kern()
51 dst->static_rate = src->static_rate; in ibv_copy_ah_attr_from_kern()
52 dst->is_global = src->is_global; in ibv_copy_ah_attr_from_kern()
53 dst->port_num = src->port_num; in ibv_copy_ah_attr_from_kern()
57 struct ibv_kern_qp_attr *src) in ibv_copy_qp_attr_from_kern() argument
59 dst->cur_qp_state = src->cur_qp_state; in ibv_copy_qp_attr_from_kern()
60 dst->path_mtu = src->path_mtu; in ibv_copy_qp_attr_from_kern()
61 dst->path_mig_state = src->path_mig_state; in ibv_copy_qp_attr_from_kern()
62 dst->qkey = src->qkey; in ibv_copy_qp_attr_from_kern()
63 dst->rq_psn = src->rq_psn; in ibv_copy_qp_attr_from_kern()
64 dst->sq_psn = src->sq_psn; in ibv_copy_qp_attr_from_kern()
65 dst->dest_qp_num = src->dest_qp_num; in ibv_copy_qp_attr_from_kern()
66 dst->qp_access_flags = src->qp_access_flags; in ibv_copy_qp_attr_from_kern()
68 dst->cap.max_send_wr = src->max_send_wr; in ibv_copy_qp_attr_from_kern()
69 dst->cap.max_recv_wr = src->max_recv_wr; in ibv_copy_qp_attr_from_kern()
70 dst->cap.max_send_sge = src->max_send_sge; in ibv_copy_qp_attr_from_kern()
71 dst->cap.max_recv_sge = src->max_recv_sge; in ibv_copy_qp_attr_from_kern()
72 dst->cap.max_inline_data = src->max_inline_data; in ibv_copy_qp_attr_from_kern()
74 ibv_copy_ah_attr_from_kern(&dst->ah_attr, &src->ah_attr); in ibv_copy_qp_attr_from_kern()
75 ibv_copy_ah_attr_from_kern(&dst->alt_ah_attr, &src->alt_ah_attr); in ibv_copy_qp_attr_from_kern()
77 dst->pkey_index = src->pkey_index; in ibv_copy_qp_attr_from_kern()
78 dst->alt_pkey_index = src->alt_pkey_index; in ibv_copy_qp_attr_from_kern()
79 dst->en_sqd_async_notify = src->en_sqd_async_notify; in ibv_copy_qp_attr_from_kern()
80 dst->sq_draining = src->sq_draining; in ibv_copy_qp_attr_from_kern()
81 dst->max_rd_atomic = src->max_rd_atomic; in ibv_copy_qp_attr_from_kern()
82 dst->max_dest_rd_atomic = src->max_dest_rd_atomic; in ibv_copy_qp_attr_from_kern()
83 dst->min_rnr_timer = src->min_rnr_timer; in ibv_copy_qp_attr_from_kern()
84 dst->port_num = src->port_num; in ibv_copy_qp_attr_from_kern()
85 dst->timeout = src->timeout; in ibv_copy_qp_attr_from_kern()
86 dst->retry_cnt = src->retry_cnt; in ibv_copy_qp_attr_from_kern()
87 dst->rnr_retry = src->rnr_retry; in ibv_copy_qp_attr_from_kern()
88 dst->alt_port_num = src->alt_port_num; in ibv_copy_qp_attr_from_kern()
89 dst->alt_timeout = src->alt_timeout; in ibv_copy_qp_attr_from_kern()
93 struct ib_user_path_rec *src) in ibv_copy_path_rec_from_kern() argument
95 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); in ibv_copy_path_rec_from_kern()
96 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid); in ibv_copy_path_rec_from_kern()
98 dst->dlid = src->dlid; in ibv_copy_path_rec_from_kern()
99 dst->slid = src->slid; in ibv_copy_path_rec_from_kern()
100 dst->raw_traffic = src->raw_traffic; in ibv_copy_path_rec_from_kern()
101 dst->flow_label = src->flow_label; in ibv_copy_path_rec_from_kern()
102 dst->hop_limit = src->hop_limit; in ibv_copy_path_rec_from_kern()
103 dst->traffic_class = src->traffic_class; in ibv_copy_path_rec_from_kern()
104 dst->reversible = src->reversible; in ibv_copy_path_rec_from_kern()
105 dst->numb_path = src->numb_path; in ibv_copy_path_rec_from_kern()
106 dst->pkey = src->pkey; in ibv_copy_path_rec_from_kern()
107 dst->sl = src->sl; in ibv_copy_path_rec_from_kern()
108 dst->mtu_selector = src->mtu_selector; in ibv_copy_path_rec_from_kern()
109 dst->mtu = src->mtu; in ibv_copy_path_rec_from_kern()
110 dst->rate_selector = src->rate_selector; in ibv_copy_path_rec_from_kern()
111 dst->rate = src->rate; in ibv_copy_path_rec_from_kern()
112 dst->packet_life_time = src->packet_life_time; in ibv_copy_path_rec_from_kern()
113 dst->preference = src->preference; in ibv_copy_path_rec_from_kern()
114 dst->packet_life_time_selector = src->packet_life_time_selector; in ibv_copy_path_rec_from_kern()
118 struct ibv_sa_path_rec *src) in ibv_copy_path_rec_to_kern() argument
120 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid); in ibv_copy_path_rec_to_kern()
121 memcpy(dst->sgid, src->sgid.raw, sizeof src->sgid); in ibv_copy_path_rec_to_kern()
123 dst->dlid = src->dlid; in ibv_copy_path_rec_to_kern()
124 dst->slid = src->slid; in ibv_copy_path_rec_to_kern()
125 dst->raw_traffic = src->raw_traffic; in ibv_copy_path_rec_to_kern()
126 dst->flow_label = src->flow_label; in ibv_copy_path_rec_to_kern()
127 dst->hop_limit = src->hop_limit; in ibv_copy_path_rec_to_kern()
128 dst->traffic_class = src->traffic_class; in ibv_copy_path_rec_to_kern()
129 dst->reversible = src->reversible; in ibv_copy_path_rec_to_kern()
130 dst->numb_path = src->numb_path; in ibv_copy_path_rec_to_kern()
131 dst->pkey = src->pkey; in ibv_copy_path_rec_to_kern()
132 dst->sl = src->sl; in ibv_copy_path_rec_to_kern()
133 dst->mtu_selector = src->mtu_selector; in ibv_copy_path_rec_to_kern()
134 dst->mtu = src->mtu; in ibv_copy_path_rec_to_kern()
135 dst->rate_selector = src->rate_selector; in ibv_copy_path_rec_to_kern()
136 dst->rate = src->rate; in ibv_copy_path_rec_to_kern()
137 dst->packet_life_time = src->packet_life_time; in ibv_copy_path_rec_to_kern()
138 dst->preference = src->preference; in ibv_copy_path_rec_to_kern()
139 dst->packet_life_time_selector = src->packet_life_time_selector; in ibv_copy_path_rec_to_kern()