Searched refs:smibuf (Results 1 – 1 of 1) sorted by relevance
154 struct gsmi_buf *smibuf; in gsmi_buf_alloc() local156 smibuf = kzalloc(sizeof(*smibuf), GFP_KERNEL); in gsmi_buf_alloc()157 if (!smibuf) { in gsmi_buf_alloc()164 if (!smibuf->start) { in gsmi_buf_alloc()166 kfree(smibuf); in gsmi_buf_alloc()171 smibuf->length = GSMI_BUF_SIZE; in gsmi_buf_alloc()172 smibuf->address = (u32)virt_to_phys(smibuf->start); in gsmi_buf_alloc()174 return smibuf; in gsmi_buf_alloc()179 if (smibuf) { in gsmi_buf_free()180 if (smibuf->start) in gsmi_buf_free()[all …]