Searched refs:subbufs (Results 1 – 7 of 7) sorted by relevance
60 skc_uint const subbufs, in skc_suballocator_create() argument64 size_t const subbufs_size = sizeof(*suballocator->subbufs) * subbufs; in skc_suballocator_create()67 …suballocator->subbufs = skc_runtime_host_perm_alloc(runtime,SKC_MEM_FLAGS_READ_WRITE,subbufs_size); in skc_suballocator_create()70 memset(suballocator->subbufs,0,subbufs_size); in skc_suballocator_create()73 suballocator->subbufs[0].size = (skc_subbuf_size_t)size; in skc_suballocator_create()78 sizeof(*suballocator->ids) * subbufs); in skc_suballocator_create()79 for (skc_uint ii=0; ii<subbufs; ii++) in skc_suballocator_create()83 suballocator->rem.spare = subbufs - 1; in skc_suballocator_create()86 suballocator->count = subbufs; in skc_suballocator_create()99 skc_runtime_host_perm_free(runtime,suballocator->subbufs); in skc_suballocator_dispose()[all …]
66 struct skc_subbuf * subbufs; member92 skc_uint const subbufs,
100 runtime->config->suballocator.host.subbufs, in skc_allocator_host_create()
187 skc_uint subbufs; // how many subbufs in the buffer? member200 struct skc_subbuffer_blocks * subbufs; // array of structures member205 struct skc_subbuffer_cmds * subbufs; // array of structures member303 skc_uint const new_subbuf = (to.subbuf + 1) % impl->ring.subbufs; in skc_ringdex_wip_to_subbuf_inc()507 to = to % impl->ring.subbufs; in skc_path_builder_impl_unmap()516 from = from % impl->ring.subbufs; in skc_path_builder_impl_unmap()518 struct skc_subbuffer_blocks * const blocks = impl->blocks.subbufs + from; in skc_path_builder_impl_unmap()519 struct skc_subbuffer_cmds * const cmds = impl->cmds .subbufs + from; in skc_path_builder_impl_unmap()532 from = ++from % impl->ring.subbufs; in skc_path_builder_impl_unmap()547 to = to % impl->ring.subbufs; in skc_path_builder_impl_map()[all …]
26 skc_uint subbufs; member30 skc_uint subbufs; member
108 runtime->config->suballocator.device.subbufs, in skc_allocator_device_create()
104 .subbufs = 1024 // must be <= (1 << (8 * sizeof(skc_subbuf_id_t)))108 .subbufs = 1024 // must be <= (1 << (8 * sizeof(skc_subbuf_id_t)))