Lines Matching refs:async
29 /* async buffer flushing, 1999 Andrea Arcangeli <andrea@suse.de> */
787 /* OK, the async IO on this page is complete. */
971 0 -> async flush
1165 * Reserve NR_RESERVED buffer heads for async IO requests to avoid
1169 struct buffer_head * get_unused_buffer_head(int async)
1194 * If we need an async buffer, use the reserved buffer heads.
1196 if (async) {
1230 * The async flag is used to differentiate async IO (paging, swapping)
1231 * from ordinary buffer allocations, and only async requests are allowed
1234 static struct buffer_head * create_buffers(struct page * page, unsigned long size, int async)
1243 bh = get_unused_buffer_head(async);
1281 * Return failure for non-async IO requests. Async IO requests
1286 if (!async)
1291 * finishing IO. Since this is an async request and
1293 * async buffer heads in use.