Searched refs:GDTH_SCRATCH (Results 1 – 3 of 3) sorted by relevance
117 BUILD_BUG_ON(sizeof(gdth_cpar_str) > GDTH_SCRATCH); in gdth_set_asc_info()233 size_t size = max_t(size_t, GDTH_SCRATCH, sizeof(gdth_hget_str)); in gdth_show_info()245 pds = (gdth_dskstat_str *)(buf + GDTH_SCRATCH/4); in gdth_show_info()248 gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; in gdth_show_info()249 gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; in gdth_show_info()255 cnt = (3*GDTH_SCRATCH/4 - 5 * sizeof(u32)) / in gdth_show_info()
136 #define GDTH_SCRATCH PAGE_SIZE /* 4KB scratch buffer */ macro
4057 ha->pscratch = dma_alloc_coherent(&ha->pdev->dev, GDTH_SCRATCH, in gdth_pci_probe_one()4132 dma_free_coherent(&ha->pdev->dev, GDTH_SCRATCH, in gdth_pci_probe_one()4161 dma_free_coherent(&ha->pdev->dev, GDTH_SCRATCH, in gdth_remove_one()