Searched refs:work (Results 1 - 22 of 22) sorted by relevance

/fuchsia/zircon/system/utest/fs-host/
H A Dtest-rw-workers.cpp24 int (*work)(worker_t* w); member in struct:worker
46 int (*work)(worker_t* w), uint32_t size, uint32_t flags);
55 int (*work)(worker_t*); member in struct:__anon1400
143 w->work = worker_verify;
150 int (*work)(worker_t* w), uint32_t size, uint32_t flags) {
158 w->work = work;
181 if ((w->status = w->work(w)) == FAIL) {
211 ASSERT_TRUE(worker_new(where, WORK[n].name, WORK[n].work,
/fuchsia/zircon/third_party/ulib/backtrace/
H A Drules.mk27 # the simplistic unwinder will work.
/fuchsia/zircon/system/ulib/minfs/include/minfs/
H A Dwriteback.h49 // Actually transacts the enqueued work, and resets the WritebackWork to
78 // single unit of writeback work, which occurs during a cross-directory
87 Transaction(fbl::unique_ptr<WritebackWork> work, argument
90 : work_(fbl::move(work)),
104 void SetWork(fbl::unique_ptr<WritebackWork> work) { argument
105 work_ = fbl::move(work);
135 // Enqueues work into the writeback buffer.
136 // When this function returns, the transaction blocks from |work|
141 // completed, |work| also contains references to any Vnodes which are
143 void Enqueue(fbl::unique_ptr<WritebackWork> work) __TA_EXCLUDE
[all...]
/fuchsia/zircon/system/utest/fs/
H A Dtest-rw-workers.c45 int (*work)(worker_t* w); member in struct:worker
67 int (*work)(worker_t* w), uint32_t size, uint32_t flags);
148 w->work = worker_verify;
155 int (*work)(worker_t* w), uint32_t size, uint32_t flags) {
165 w->work = work;
182 if ((w->status = w->work(w)) == FAIL) {
223 int (*work)(worker_t*); member in struct:__anon1393
261 // assemble the work
264 ASSERT_TRUE(worker_new(env, where, WORK[n].name, WORK[n].work,
[all...]
/fuchsia/zircon/system/ulib/blobfs/
H A Dwriteback.cpp189 // Not enough room to write back work, yet. Wait until room is available.
264 void WritebackBuffer::Enqueue(fbl::unique_ptr<WritebackWork> work) { argument
265 TRACE_DURATION("blobfs", "WritebackBuffer::Enqueue", "work ptr", work.get());
267 size_t blocks = work->BlkCount();
273 CopyToBufferLocked(work.get());
274 work_queue_.push(fbl::move(work));
284 auto work = b->work_queue_.pop(); local
285 TRACE_DURATION("blobfs", "WritebackBuffer::WritebackThread", "work ptr", work
[all...]
H A Dblobfs.cpp114 // content is enqueued to |work| without flushing.
119 zx_status_t EnqueuePaginated(fbl::unique_ptr<WritebackWork>* work, Blobfs* blobfs, VnodeBlob* vn, argument
125 (*work)->Enqueue(vmo, relative_block, absolute_block, delta_blocks);
136 blobfs->EnqueueWork(fbl::move(*work));
137 *work = fbl::move(tmp);
941 // 2b) Flush all pending work to blobfs to the underlying storage.
/fuchsia/zircon/system/ulib/minfs/
H A Dwriteback.cpp208 // Not enough room to write back work, yet. Wait until
279 void WritebackBuffer::Enqueue(fbl::unique_ptr<WritebackWork> work) { argument
281 TRACE_FLOW_BEGIN("minfs", "writeback", reinterpret_cast<trace_flow_id_t>(work.get()));
286 size_t blocks = work->BlkCount();
306 CopyToBufferLocked(work.get());
309 work_queue_.push(fbl::move(work));
319 auto work = b->work_queue_.pop(); local
322 // Stay unlocked while processing a unit of work
326 // in "work" are contiguous and in the range of [start_, len_) (including
328 size_t blks_consumed = work
[all...]
H A Dminfs.cpp260 fbl::unique_ptr<WritebackWork> work(new WritebackWork(bc_.get()));
267 (status = inodes_->Reserve(work.get(), reserve_inodes, &inode_promise)) != ZX_OK) {
272 (status = block_allocator_->Reserve(work.get(), reserve_blocks, &block_promise)) != ZX_OK) {
277 new Transaction(fbl::move(work), fbl::move(inode_promise), fbl::move(block_promise)));
/fuchsia/zircon/system/ulib/inspector/
H A Drules.mk32 # the simplistic unwinder will work.
/fuchsia/zircon/system/core/crashanalyzer/
H A Drules.mk40 # the simplistic unwinder will work.
/fuchsia/zircon/system/uapp/runtests/
H A Drules.mk23 # zxcpp required for fbl to work.
/fuchsia/zircon/third_party/ulib/jemalloc/test/src/
H A DSFMT.c386 uint32_t work; local
400 work = 1;
402 if ((work & parity[i]) != 0) {
403 psfmt32[idxof(i)] ^= work;
406 work = work << 1;
/fuchsia/zircon/system/ulib/runtests-utils/
H A Drules.mk31 # zxcpp required for fbl to work.
/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr-coordinator.cpp468 static void queue_work(work_t* work, dc_work::Op op, uint32_t arg) { argument
469 ZX_ASSERT(work->op == dc_work::Op::kIdle);
470 work->op = op;
471 work->arg = arg;
472 list_add_tail(&list_pending_work, &work->node);
475 static void cancel_work(work_t* work) { argument
476 if (work->op != dc_work::Op::kIdle) {
477 list_delete(&work->node);
478 work->op = dc_work::Op::kIdle;
482 static void process_work(work_t* work) { argument
[all...]
H A Ddevcoordinator.h82 work_t work; member in struct:dc_device
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/
H A Dwriteback.h106 // Actually transacts the enqueued work, and resets the WritebackWork to
118 // Tells work to remove sync flag once the txn has successfully completed.
145 // Enqueues work into the writeback buffer.
146 // When this function returns, the transaction blocks from |work|
151 // completed, |work| also contains references to any Vnodes which are
153 void Enqueue(fbl::unique_ptr<WritebackWork> work) __TA_EXCLUDES(writeback_lock_);
193 // Work associated with the "writeback" thread, which manages work items,
H A Dblobfs.h195 // hatch to avoid wasting work.
452 void EnqueueWork(fbl::unique_ptr<WritebackWork> work) { argument
454 writeback_->Enqueue(fbl::move(work));
/fuchsia/zircon/system/utest/fbl/
H A Drules.mk47 # and slab allocator tests work.
/fuchsia/zircon/third_party/ulib/ngunwind/
H A Drules.mk92 # the simplistic unwinder will work.
/fuchsia/zircon/system/core/userboot/
H A Drules.mk85 # this hack, the userboot code doesn't need to do any special work to
/fuchsia/zircon/make/
H A Dmodule-userlib.mk163 # Hack to work around libc/libmusl aliasing
H A Dengine.mk204 # ngunwind, backtrace use this so that the simplisitic unwinder will work with
402 # can work and define WITH_PANIC_BACKTRACE to enable them in panics

Completed in 376 milliseconds