Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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, in mlx4_init_user_cqes()
323 kfree(init_ents); in mlx4_init_user_cqes()