Searched refs:init_ents (Results 1 – 1 of 1) sorted by relevance
293 void *init_ents; in mlx4_init_user_cqes() local297 init_ents = kmalloc(PAGE_SIZE, GFP_KERNEL); in mlx4_init_user_cqes()298 if (!init_ents) in mlx4_init_user_cqes()305 memset(init_ents, 0xcc, PAGE_SIZE); in mlx4_init_user_cqes()309 err = copy_to_user((void __user *)buf, init_ents, PAGE_SIZE) ? in mlx4_init_user_cqes()317 err = copy_to_user((void __user *)buf, init_ents, entries * cqe_size) ? in mlx4_init_user_cqes()322 kfree(init_ents); in mlx4_init_user_cqes()