Searched refs:stack_size (Results 1 - 12 of 12) sorted by relevance
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co2_context.c | 195 int co2_init_context(struct co2_context* ctx, void (*func)(void*), void* arg, void* stack, size_t stack_size) in co2_init_context() argument 197 if (stack_size < 0x4 * sizeof(uintptr_t)) { in co2_init_context() 201 uintptr_t stack_top = (uintptr_t)stack + stack_size - 0x2 * sizeof(uintptr_t); in co2_init_context()
|
H A D | co_routine_factory.cpp | 20 CoRoutine *CoRoutineAllocMem(std::size_t stack_size) in CoRoutineAllocMem() argument 22 return ffrt::QSimpleAllocator<CoRoutine>::AllocMem(stack_size); in CoRoutineAllocMem()
|
H A D | co_routine_factory.h | 23 CoRoutine *CoRoutineAllocMem(std::size_t stack_size);
|
H A D | co2_context.h | 67 int co2_init_context(struct co2_context* ctx, void (*func)(void*), void* arg, void* stack, size_t stack_size);
|
H A D | co_routine.cpp | 357 GetCoEnv()->runningCo = AllocNewCoRoutine(task->stack_size); 359 if (GetCoEnv()->runningCo->allocatedSize != task->stack_size) { // stack size not match, alloc one 361 GetCoEnv()->runningCo = AllocNewCoRoutine(task->stack_size);
|
/foundation/resourceschedule/ffrt/src/tm/ |
H A D | task_base.h | 66 uint64_t stack_size = STACK_SIZE; member in ffrt::CoTask
|
H A D | cpu_task.cpp | 103 stack_size = std::max(attr->stackSize_, MIN_STACK_SIZE); in CPUEUTask()
|
H A D | queue_task.cpp | 43 stack_size = std::max(attr->stackSize_, MIN_STACK_SIZE); in QueueTask()
|
/foundation/resourceschedule/ffrt/interfaces/kits/cpp/ |
H A D | task.h | 162 inline task_attr& stack_size(uint64_t size) in stack_size() function in ffrt::task_attr 175 inline uint64_t stack_size() const in stack_size() function in ffrt::task_attr 700 * @param stack_size Indicates the thread stack size. 702 returns ffrt_error_inval if qos_ or stack_size invalid; 707 static inline ffrt_error_t set_worker_stack_size(qos qos_, size_t stack_size) in set_worker_stack_size() argument 709 return ffrt_set_worker_stack_size(qos_, stack_size); in set_worker_stack_size()
|
/foundation/resourceschedule/ffrt/interfaces/kits/c/ |
H A D | task.h | 281 * @param stack_size Indicates worker thread stack size. 285 FFRT_C_API ffrt_error_t ffrt_set_worker_stack_size(ffrt_qos_t qos, size_t stack_size);
|
/foundation/resourceschedule/ffrt/src/core/ |
H A D | task.cpp | 428 ffrt_error_t ffrt_set_worker_stack_size(ffrt_qos_t qos, size_t stack_size) in ffrt_set_worker_stack_size() argument 430 if (qos < ffrt::QoS::Min() || qos >= ffrt::QoS::Max() || stack_size < PTHREAD_STACK_MIN) { in ffrt_set_worker_stack_size() 431 FFRT_LOGE("qos [%d] or stack size [%d] is invalid.", qos, stack_size); in ffrt_set_worker_stack_size() 448 groupCtl[qos].workerStackSize = (stack_size - 1 + static_cast<size_t>(pageSize)) & in ffrt_set_worker_stack_size()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_common.c | 370 attr.stack_size = DFINDER_THREAD_STACK_SIZE; in NstackxInitInner()
|
Completed in 8 milliseconds