mr->device = pd->device; mr->pd     = pd;
mr->device  = pd->device; mr->pd      = pd; mr->uobject = NULL;
struct ib_mr *ib_reg_phys_mr(struct ib_pd *pd,			     struct ib_phys_buf *phys_buf_array,			     int num_phys_buf,			     int mr_access_flags,			     u64 *iova_start){	struct ib_mr *mr;	mr = pd->device->reg_phys_mr(pd, phys_buf_array, num_phys_buf,				     mr_access_flags, iova_start);	if (!IS_ERR(mr)) {		mr->device = pd->device;		mr->pd     = pd;		atomic_inc(&pd->usecnt);		atomic_set(&mr->usecnt, 0);	}	return mr;}