Searched refs:size_buff (Results 1 – 1 of 1) sorted by relevance
1553 ReadCapdata_struct *size_buff; in register_new_disk() local1585 size_buff = kmalloc(sizeof( ReadCapdata_struct), GFP_KERNEL); in register_new_disk()1586 if (size_buff == NULL) { in register_new_disk()1596 kfree(size_buff); in register_new_disk()1698 memset(size_buff, 0, sizeof(ReadCapdata_struct)); in register_new_disk()1700 size_buff, sizeof(ReadCapdata_struct), 1, in register_new_disk()1704 (unsigned int) size_buff->total_size[0]) << 24; in register_new_disk()1706 (unsigned int) size_buff->total_size[1]) << 16; in register_new_disk()1708 (unsigned int) size_buff->total_size[2]) << 8; in register_new_disk()1710 (unsigned int) size_buff->total_size[3]); in register_new_disk()[all …]