Searched refs:fd (Results 1 - 25 of 1604) sorted by relevance

1234567891011>>

/xsrc/external/mit/xf86-video-intel/dist/src/
H A Dfd.h30 int fd_move_cloexec(int fd);
31 int fd_set_cloexec(int fd);
32 int fd_set_nonblock(int fd);
H A Dfd.c36 #include "fd.h"
38 int fd_move_cloexec(int fd) argument
42 newfd = fcntl(fd,
50 return fd;
56 close(fd);
60 int fd_set_cloexec(int fd) argument
64 if (fd == -1)
65 return fd;
68 flags = fcntl(fd, F_GETFD);
71 fcntl(fd, F_SETF
78 fd_set_nonblock(int fd) argument
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/
H A Dfd.h30 int fd_move_cloexec(int fd);
31 int fd_set_cloexec(int fd);
32 int fd_set_nonblock(int fd);
H A Dfd.c36 #include "fd.h"
38 int fd_move_cloexec(int fd) argument
42 newfd = fcntl(fd,
50 return fd;
56 close(fd);
60 int fd_set_cloexec(int fd) argument
64 if (fd == -1)
65 return fd;
68 flags = fcntl(fd, F_GETFD);
71 fcntl(fd, F_SETF
78 fd_set_nonblock(int fd) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/tegra/drm/
H A Dtegra_drm_winsys.c30 struct pipe_screen *tegra_drm_screen_create(int fd);
32 struct pipe_screen *tegra_drm_screen_create(int fd) argument
40 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0);
41 if (fd < 0)
44 screen = tegra_screen_create(fd);
46 close(fd);
H A Dtegra_drm_public.h29 struct pipe_screen *tegra_drm_screen_create(int fd);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/tegra/drm/
H A Dtegra_drm_winsys.c31 struct pipe_screen *tegra_drm_screen_create(int fd);
33 struct pipe_screen *tegra_drm_screen_create(int fd) argument
41 fd = os_dupfd_cloexec(fd);
42 if (fd < 0)
45 screen = tegra_screen_create(fd);
47 close(fd);
/xsrc/external/mit/MesaLib.old/dist/src/gbm/main/
H A Dbackend.h34 _gbm_create_device(int fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_drm.h30 struct panfrost_driver *panfrost_create_drm_driver(int fd);
/xsrc/external/mit/bdftopcf/dist/
H A Dfilewr.c46 int fd; local in function:FontFileOpenWrite
48 fd = open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY | O_CLOEXEC, 0666);
49 if (fd < 0)
51 return (FontFilePtr) BufFileOpenWrite(fd);
55 FontFileOpenWriteFd(int fd) argument
57 return (FontFilePtr) BufFileOpenWrite(fd);
61 FontFileOpenFd(int fd) argument
63 return (FontFilePtr) BufFileOpenRead(fd);
/xsrc/external/mit/libxshmfence/dist/src/
H A Dxshmfence_alloc.c72 int fd; local in function:xshmfence_alloc_shm
78 fd = memfd_create("xshmfence", MFD_CLOEXEC|MFD_ALLOW_SEALING);
79 if (fd < 0)
82 fd = shm_open(SHM_ANON, O_RDWR|O_CLOEXEC, 0600);
83 if (fd < 0)
87 fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666);
88 if (fd < 0)
92 fd = mkostemp(template, O_CLOEXEC);
94 fd = mkstemp(template);
96 if (fd <
125 xshmfence_map_shm(int fd) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Danon_file.c49 set_cloexec_or_close(int fd) argument
53 if (fd == -1)
56 flags = fcntl(fd, F_GETFD);
60 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1)
63 return fd;
66 close(fd);
75 int fd; local in function:create_tmpfile_cloexec
78 fd = mkostemp(tmpname, O_CLOEXEC);
80 fd = mkstemp(tmpname);
83 if (fd <
117 int fd, ret; local in function:os_create_anonymous_file
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/loader/
H A Dpci_id_driver_map.c24 int is_nouveau_vieux(int fd);
33 nouveau_chipset(int fd) argument
38 ret = drmCommandWriteRead(fd, DRM_NOUVEAU_GETPARAM, &gp, sizeof(gp));
46 is_nouveau_vieux(int fd) argument
48 int chipset = nouveau_chipset(fd);
55 int is_nouveau_vieux(int fd) { return 0; } argument
/xsrc/external/mit/MesaLib/dist/src/loader/
H A Dpci_id_driver_map.c26 bool is_nouveau_vieux(int fd);
35 nouveau_chipset(int fd) argument
40 ret = drmCommandWriteRead(fd, DRM_NOUVEAU_GETPARAM, &gp, sizeof(gp));
48 is_nouveau_vieux(int fd) argument
50 int chipset = nouveau_chipset(fd);
57 bool is_nouveau_vieux(int fd) { return false; } argument
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Dfilewr.c46 int fd; local in function:FontFileOpenWrite
48 fd = open (name, O_CREAT|O_TRUNC|O_RDWR|O_BINARY|O_CLOEXEC, 0666);
49 if (fd < 0)
51 return (FontFilePtr) BufFileOpenWrite (fd);
55 FontFileOpenWriteFd (int fd) argument
57 return (FontFilePtr) BufFileOpenWrite (fd);
61 FontFileOpenFd (int fd) argument
63 return (FontFilePtr) BufFileOpenRead (fd);
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dfilewr.c47 int fd; local in function:FontFileOpenWrite
49 fd = open (name, O_CREAT|O_TRUNC|O_RDWR|O_BINARY|O_CLOEXEC, 0666);
50 if (fd < 0)
52 return (FontFilePtr) BufFileOpenWrite (fd);
56 FontFileOpenWriteFd (int fd) argument
58 return (FontFilePtr) BufFileOpenWrite (fd);
62 FontFileOpenFd (int fd) argument
64 return (FontFilePtr) BufFileOpenRead (fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/iris/drm/
H A Diris_drm_winsys.c31 iris_drm_screen_create(int fd, const struct pipe_screen_config *config) argument
33 return iris_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3), config);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/shared/
H A Dsigiostubs.c38 xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure) argument
44 xf86RemoveSIGIOHandler(int fd) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/target-helpers/
H A Ddrm_helper_public.h11 pipe_i915_create_screen(int fd, const struct pipe_screen_config *config);
14 pipe_iris_create_screen(int fd, const struct pipe_screen_config *config);
17 pipe_nouveau_create_screen(int fd, const struct pipe_screen_config *config);
20 pipe_r300_create_screen(int fd, const struct pipe_screen_config *config);
23 pipe_r600_create_screen(int fd, const struct pipe_screen_config *config);
26 pipe_radeonsi_create_screen(int fd, const struct pipe_screen_config *config);
29 pipe_vmwgfx_create_screen(int fd, const struct pipe_screen_config *config);
32 pipe_freedreno_create_screen(int fd, const struct pipe_screen_config *config);
35 pipe_virgl_create_screen(int fd, const struct pipe_screen_config *config);
38 pipe_v3d_create_screen(int fd, cons
[all...]
/xsrc/external/mit/libdrm/dist/radeon/
H A Dradeon_cs_gem.h38 struct radeon_cs_manager *radeon_cs_manager_gem_ctor(int fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/kmsro/drm/
H A Dkmsro_drm_public.h32 struct pipe_screen *kmsro_drm_screen_create(int fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/svga/drm/
H A Dsvga_drm_public.h39 svga_drm_winsys_screen_create(int fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/kms-dri/
H A Dkms_dri_sw_winsys.h35 struct sw_winsys *kms_dri_create_winsys(int fd);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/virgl/drm/
H A Dvirgl_drm_public.h28 struct pipe_screen *virgl_drm_screen_create(int fd);
/xsrc/external/mit/MesaLib/dist/include/android_stub/android/
H A Dsync.h45 int sync_wait(int fd, int timeout);

Completed in 31 milliseconds

1234567891011>>