Searched refs:alloc_size (Results 1 – 2 of 2) sorted by relevance
107 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf()179 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf()591 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open()1224 uint32_t alloc_size = (uint32_t) rbuf->chan->alloc_size; in subbuf_splice_actor() local1225 size_t read_start = (size_t) do_div(pos, alloc_size); in subbuf_splice_actor()1253 subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; in subbuf_splice_actor()
6913 unsigned long alloc_size = 0, ptr; in sched_init() local6916 alloc_size += 2 * nr_cpu_ids * sizeof(void **); in sched_init()6919 alloc_size += 2 * nr_cpu_ids * sizeof(void **); in sched_init()6922 alloc_size += num_possible_cpus() * cpumask_size(); in sched_init()6924 if (alloc_size) { in sched_init()6925 ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT); in sched_init()