Home | History | Annotate | Download | only in core

Lines Matching refs:len

35  * @v len	Required length of buffer
41 struct io_buffer * alloc_iob ( size_t len ) {
46 if ( len < IOB_ZLEN )
47 len = IOB_ZLEN;
50 len = ( len + __alignof__( *iobuf ) - 1 ) &
54 data = malloc_dma ( len + sizeof ( *iobuf ), IOB_ALIGN );
58 iobuf = ( struct io_buffer * ) ( data + len );
83 * @v len Required headroom
90 int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len ) {
92 if ( iob_headroom ( iobuf ) >= len )