Lines Matching refs:buf_alloc
174 @discussion Buffers allocated with buf_alloc() are not returned with a upl, and
184 @discussion This function should only be called on iobufs, i.e. buffers allocated with buf_alloc().
322 Otherwise, the buffer was created with buf_alloc() and buf_setupl() was subsequently called; buf_map()
339 underlying buffer will tear down the mapping. Otherwise, the buffer was created with buf_alloc() and
464 code which is manually providing storage for an iobuf, one allocated with buf_alloc().
485 useful with iobufs (allocated with buf_alloc()).
526 buf_getblk() was passed a device vnode. It is set on an iobuf if buf_alloc() is passed a device
537 It is also set on an iobuf if buf_alloc() is passed a device vnode.
610 @discussion buf_setupl() should only be called on buffers allocated with buf_alloc().
619 @return 0 for success, EINVAL if the buffer was not allocated with buf_alloc().
628 have been allocated with buf_alloc(). Checks its arguments to make sure
669 @function buf_alloc
671 @discussion A buffer returned by buf_alloc() is marked as busy and as an iobuf; it has no storage set up and must be
677 buf_t buf_alloc(vnode_t);
681 @abstract Free a buffer that was allocated with buf_alloc().
765 with buf_alloc()).
791 with buf_alloc(), there are no such guarantees; you must take care of your own flushing to disk. If