Lines Matching refs:fbl
8 #include <fbl/auto_lock.h>
9 #include <fbl/mutex.h>
10 #include <fbl/vector.h>
14 #include <fbl/algorithm.h>
15 #include <fbl/intrusive_hash_table.h>
16 #include <fbl/intrusive_single_list.h>
17 #include <fbl/macros.h>
18 #include <fbl/ref_ptr.h>
19 #include <fbl/unique_ptr.h>
60 requests_.push_back(fbl::move(request));
131 closure_ = fbl::move(closure);
142 void WritebackWork::PinVnode(fbl::RefPtr<VnodeMinfs> vn) {
149 ZX_DEBUG_ASSERT(node_count_ < fbl::count_of(vn_));
150 vn_[node_count_++] = fbl::move(vn);
155 zx_status_t WritebackBuffer::Create(Bcache* bc, fbl::unique_ptr<fzl::MappedVmo> buffer,
156 fbl::unique_ptr<WritebackBuffer>* out) {
157 fbl::unique_ptr<WritebackBuffer> wb(new WritebackBuffer(bc, fbl::move(buffer)));
174 *out = fbl::move(wb);
178 WritebackBuffer::WritebackBuffer(Bcache* bc, fbl::unique_ptr<fzl::MappedVmo> buffer) :
179 bc_(bc), unmounting_(false), buffer_(fbl::move(buffer)),
185 fbl::AutoLock lock(&writeback_lock_);
264 static_assert(fbl::is_pod<write_request_t>::value, "Can't memmove non-POD");
279 void WritebackBuffer::Enqueue(fbl::unique_ptr<WritebackWork> work) {
282 fbl::AutoLock lock(&writeback_lock_);
309 work_queue_.push(fbl::move(work));