Searched refs:fcntl (Results 1 - 25 of 541) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/iris/drm/
H A Diris_drm_winsys.c25 #include <fcntl.h>
33 return iris_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), config);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/v3d/drm/
H A Dv3d_drm_winsys.c25 #include <fcntl.h>
34 return v3d_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), NULL);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/panfrost/drm/
H A Dpanfrost_drm_winsys.c26 #include <fcntl.h>
35 return panfrost_create_screen(fcntl(fd, F_DUPFD_CLOEXEC, 3), NULL);
41 return panfrost_create_screen(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro);
/xsrc/external/mit/xf86-video-intel/dist/src/
H A Dfd.c31 #include <fcntl.h>
42 newfd = fcntl(fd,
68 flags = fcntl(fd, F_GETFD);
71 fcntl(fd, F_SETFD, flags);
85 flags = fcntl(fd, F_GETFL);
88 fcntl(fd, F_SETFL, flags);
/xsrc/external/mit/xf86-video-intel-2014/dist/src/
H A Dfd.c31 #include <fcntl.h>
42 newfd = fcntl(fd,
68 flags = fcntl(fd, F_GETFD);
71 fcntl(fd, F_SETFD, flags);
85 flags = fcntl(fd, F_GETFL);
88 fcntl(fd, F_SETFL, flags);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/tegra/drm/
H A Dtegra_drm_winsys.c24 #include <fcntl.h>
40 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/crocus/drm/
H A Dcrocus_drm_winsys.c25 #include <fcntl.h>
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bsd/
H A Dbsd_kmod.c6 #include <fcntl.h>
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/
H A Dbsd_kmod.c6 #include <fcntl.h>
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/vc4/drm/
H A Dvc4_drm_winsys.c25 #include <fcntl.h>
49 return vc4_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/vc4/drm/
H A Dvc4_drm_winsys.c25 #include <fcntl.h>
64 return vc4_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/iris/drm/
H A Diris_drm_winsys.c25 #include <fcntl.h>
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/tegra/drm/
H A Dtegra_drm_winsys.c24 #include <fcntl.h>
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/v3d/drm/
H A Dv3d_drm_winsys.c25 #include <fcntl.h>
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dos_socket.c12 #include <fcntl.h>
70 int old = fcntl(s, F_GETFL, 0);
76 fcntl(s, F_SETFL, old & ~O_NONBLOCK);
78 fcntl(s, F_SETFL, old | O_NONBLOCK);
H A Dos_file.c10 #include <fcntl.h>
54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd);
62 newfd = fcntl(fd, F_DUPFD, minfd);
67 long flags = fcntl(newfd, F_GETFD);
73 if (fcntl(newfd, F_SETFD, flags | FD_CLOEXEC) == -1) {
82 #include <fcntl.h>
H A Danon_file.c34 #include <fcntl.h>
56 flags = fcntl(fd, F_GETFD);
60 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1)
/xsrc/external/mit/libxshmfence/dist/src/
H A Dxshmfence_alloc.c29 #include <fcntl.h>
100 flags = fcntl(fd, F_GETFD);
103 fcntl(fd, F_SETFD, &flags);
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/
H A Ddmxsigio.c48 #include <fcntl.h>
148 fcntl(fd, F_SETOWN, getpid());
149 flags = fcntl(fd, F_GETFL);
151 fcntl(fd, F_SETFL, flags);
179 flags = fcntl(fd, F_GETFL);
181 fcntl(fd, F_SETFL, flags);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/lima/drm/
H A Dlima_drm_winsys.c25 #include <fcntl.h>
100 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3);
123 return lima_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_fence.c25 #include <fcntl.h>
49 *fence = lima_fence_create(fcntl(fd, F_DUPFD_CLOEXEC, 3));
86 return fcntl(fence->fd, F_DUPFD_CLOEXEC, 3);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_network.c16 # include <fcntl.h>
183 int old = fcntl(s, F_GETFL, 0);
189 fcntl(s, F_SETFL, old & ~O_NONBLOCK);
191 fcntl(s, F_SETFL, old | O_NONBLOCK);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_network.c16 # include <fcntl.h>
183 int old = fcntl(s, F_GETFL, 0);
189 fcntl(s, F_SETFL, old & ~O_NONBLOCK);
191 fcntl(s, F_SETFL, old | O_NONBLOCK);
/xsrc/external/mit/MesaLib/dist/src/freedreno/isa/
H A Dir3-disasm.c24 #include <fcntl.h>
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
H A DquartzStartup.c36 #include <fcntl.h>
109 fcntl(darwinEventReadFD, F_SETFL, O_NONBLOCK);

Completed in 23 milliseconds

1234567891011>>