Lines Matching defs:dmb
218 struct dibs_dmb dmb;
223 memset(&dmb, 0, sizeof(dmb));
224 dmb.dmb_tok = dmb_desc->token;
225 dmb.idx = dmb_desc->sba_idx;
226 dmb.cpu_addr = dmb_desc->cpu_addr;
227 dmb.dma_addr = dmb_desc->dma_addr;
228 dmb.dmb_len = dmb_desc->len;
230 smcd->dibs->ops->unregister_dmb(smcd->dibs, &dmb);
239 struct dibs_dmb dmb;
242 memset(&dmb, 0, sizeof(dmb));
243 dmb.dmb_len = dmb_len;
244 dmb.idx = dmb_desc->sba_idx;
245 dmb.vlan_id = lgr->vlan_id;
246 copy_to_dibsgid(&dmb.rgid, &lgr->peer_gid);
249 rc = dibs->ops->register_dmb(dibs, &dmb, &smc_dibs_client);
251 dmb_desc->sba_idx = dmb.idx;
252 dmb_desc->token = dmb.dmb_tok;
253 dmb_desc->cpu_addr = dmb.cpu_addr;
254 dmb_desc->dma_addr = dmb.dma_addr;
255 dmb_desc->len = dmb.dmb_len;
273 struct dibs_dmb dmb;
279 memset(&dmb, 0, sizeof(dmb));
280 dmb.dmb_tok = token;
281 rc = dev->dibs->ops->attach_dmb(dev->dibs, &dmb);
283 dmb_desc->sba_idx = dmb.idx;
284 dmb_desc->token = dmb.dmb_tok;
285 dmb_desc->cpu_addr = dmb.cpu_addr;
286 dmb_desc->dma_addr = dmb.dma_addr;
287 dmb_desc->len = dmb.dmb_len;