Searched refs:units (Results 1 – 1 of 1) sorted by relevance
75 unsigned int units, prev_offset; in __snd_util_mem_alloc() local82 units = size; in __snd_util_mem_alloc()83 if (units & 1) in __snd_util_mem_alloc()84 units++; in __snd_util_mem_alloc()85 if (units > hdr->size) in __snd_util_mem_alloc()92 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc()96 if (hdr->size - prev_offset < units) in __snd_util_mem_alloc()100 return __snd_util_memblk_new(hdr, units, p->prev); in __snd_util_mem_alloc()109 __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units, in __snd_util_memblk_new() argument125 blk->size = units; in __snd_util_memblk_new()[all …]