Home
last modified time | relevance | path

Searched refs:init_ents (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcq.c293 void *init_ents; in mlx4_init_user_cqes() local
297 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()