Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c945 unsigned char *p_read_buf; in qlcnic_83xx_sysfs_flash_read_handler() local
958 p_read_buf = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); in qlcnic_83xx_sysfs_flash_read_handler()
959 if (!p_read_buf) in qlcnic_83xx_sysfs_flash_read_handler()
962 kfree(p_read_buf); in qlcnic_83xx_sysfs_flash_read_handler()
966 ret = qlcnic_83xx_lockless_flash_read32(adapter, offset, p_read_buf, in qlcnic_83xx_sysfs_flash_read_handler()
971 kfree(p_read_buf); in qlcnic_83xx_sysfs_flash_read_handler()
976 qlcnic_swap32_buffer((u32 *)p_read_buf, count); in qlcnic_83xx_sysfs_flash_read_handler()
977 memcpy(buf, p_read_buf, size); in qlcnic_83xx_sysfs_flash_read_handler()
978 kfree(p_read_buf); in qlcnic_83xx_sysfs_flash_read_handler()