LCOV - code coverage report
Current view: top level - util/io_uring - fd_io_uring.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 8 0.0 %
Date: 2026-02-13 06:06:24 Functions: 0 3 0.0 %

          Line data    Source code
       1             : #define _GNU_SOURCE
       2             : #include "fd_io_uring_sys.h"
       3             : #include <sys/syscall.h> /* SYS_* */
       4             : #include <unistd.h> /* syscall */
       5             : 
       6             : int
       7             : fd_io_uring_setup( uint                   entry_cnt,
       8           0 :                    fd_io_uring_params_t * p ) {
       9           0 :   return (int)syscall( SYS_io_uring_setup, entry_cnt, p );
      10           0 : }
      11             : 
      12             : int
      13             : fd_io_uring_register( int          ring_fd,
      14             :                       uint         opcode,
      15             :                       void const * arg,
      16           0 :                       uint         arg_cnt ) {
      17           0 :   return (int)syscall( SYS_io_uring_register, ring_fd, opcode, arg, arg_cnt );
      18           0 : }
      19             : 
      20             : int
      21             : fd_io_uring_enter( int    ring_fd,
      22             :                    uint   to_submit,
      23             :                    uint   min_complete,
      24             :                    uint   flags,
      25             :                    void * arg,
      26           0 :                    ulong  arg_sz ) {
      27             :   return (int)syscall( SYS_io_uring_enter, ring_fd, to_submit, min_complete, flags, arg, arg_sz );
      28           0 : }

Generated by: LCOV version 1.14