Searched refs:mpd (Results 1 – 2 of 2) sorted by relevance
774 struct mlx5_ib_pd *mpd = to_mpd(pd); in mlx5_ib_dealloc_pd() local777 free_pa_mkey(mdev, mpd->pa_lkey); in mlx5_ib_dealloc_pd()779 mlx5_core_dealloc_pd(mdev->mdev, mpd->pdn); in mlx5_ib_dealloc_pd()780 kfree(mpd); in mlx5_ib_dealloc_pd()
2326 gdth_modep_data mpd; in gdth_internal_cache_cmd() local2374 memset((char*)&mpd,0,sizeof(gdth_modep_data)); in gdth_internal_cache_cmd()2375 mpd.hd.data_length = sizeof(gdth_modep_data); in gdth_internal_cache_cmd()2376 mpd.hd.dev_par = (ha->hdr[t].devtype&2) ? 0x80:0; in gdth_internal_cache_cmd()2377 mpd.hd.bd_length = sizeof(mpd.bd); in gdth_internal_cache_cmd()2378 mpd.bd.block_length[0] = (SECTOR_SIZE & 0x00ff0000) >> 16; in gdth_internal_cache_cmd()2379 mpd.bd.block_length[1] = (SECTOR_SIZE & 0x0000ff00) >> 8; in gdth_internal_cache_cmd()2380 mpd.bd.block_length[2] = (SECTOR_SIZE & 0x000000ff); in gdth_internal_cache_cmd()2381 gdth_copy_internal_data(ha, scp, (char*)&mpd, sizeof(gdth_modep_data)); in gdth_internal_cache_cmd()