Class IOURingMemRegionReg

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct io_uring_mem_region_reg") public class IOURingMemRegionReg extends Struct<IOURingMemRegionReg> implements NativeResource
struct io_uring_mem_region_reg {
    __u64 region_uptr;
    __u64 flags;
    __u64 __resv[2];
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • REGION_UPTR

      public static final int REGION_UPTR
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • __RESV

      public static final int __RESV
      The struct member offsets.
  • Constructor Details

    • IOURingMemRegionReg

      public IOURingMemRegionReg(ByteBuffer container)
      Creates a IOURingMemRegionReg instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details