Searched refs:pgdir (Results 1 – 2 of 2) sorted by relevance
302 struct mlx4_db_pgdir *pgdir; in mlx4_alloc_db_pgdir() local304 pgdir = kzalloc(sizeof *pgdir, GFP_KERNEL); in mlx4_alloc_db_pgdir()305 if (!pgdir) in mlx4_alloc_db_pgdir()308 bitmap_fill(pgdir->order1, MLX4_DB_PER_PAGE / 2); in mlx4_alloc_db_pgdir()309 pgdir->bits[0] = pgdir->order0; in mlx4_alloc_db_pgdir()310 pgdir->bits[1] = pgdir->order1; in mlx4_alloc_db_pgdir()311 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, in mlx4_alloc_db_pgdir()312 &pgdir->db_dma, GFP_KERNEL); in mlx4_alloc_db_pgdir()313 if (!pgdir->db_page) { in mlx4_alloc_db_pgdir()314 kfree(pgdir); in mlx4_alloc_db_pgdir()[all …]
566 struct mlx4_db_pgdir *pgdir; member