bioaligned(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

bioaligned(9f)

bioaligned(9F)                 Kernel Functions                 bioaligned(9F)

NAME
       bioaligned - check alignment of buffer data

SYNOPSIS
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       int bioaligned(struct buf *bp, size_t align, int flags);

PARAMETERS
       bp       Pointer  to  the buf(9S) structure describing the original I/O
                request.


       align    Power of two alignment being checked.


       flags    Determines the type of alignment being  checked.  Flag  values
                supported are BIOALIGNED_BEGIN (which checks the beginning ad‐
                dress  alignment), and BIOALIGNED_END (which checks the ending
                address alignment).


INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

DESCRIPTION
       The bioaligned() function checks the  alignment  of  memory  associated
       with  a  buffer.  It  returns  1  if the buffer is aligned and 0 if the
       buffer is unaligned.

RETURN VALUES
       The bioaligned() function returns 1 if the buffer is aligned and  0  if
       the buffer is unaligned.

CONTEXT
       The bioaligned() function can be called from any context.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted


SEE ALSO
       attributes(7),  biodone(9F),  bp_mapin(9F),   bp_copyin(9F),   bp_copy‐
       out(9F), freerbuf(9F), getrbuf(9F), buf(9S)

Oracle Solaris 11.4               23 Feb 2023                   bioaligned(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3