HomeSort by relevance Sort by last modified time
    Searched refs:fd_info (Results 1 - 7 of 7) sorted by null

  /external/grpc-grpc/src/core/lib/iomgr/
wakeup_fd_posix.cc 58 grpc_error* grpc_wakeup_fd_init(grpc_wakeup_fd* fd_info) {
60 return grpc_cv_wakeup_fd_vtable.init(fd_info);
62 return wakeup_fd_vtable->init(fd_info);
65 grpc_error* grpc_wakeup_fd_consume_wakeup(grpc_wakeup_fd* fd_info) {
67 return grpc_cv_wakeup_fd_vtable.consume(fd_info);
69 return wakeup_fd_vtable->consume(fd_info);
72 grpc_error* grpc_wakeup_fd_wakeup(grpc_wakeup_fd* fd_info) {
74 return grpc_cv_wakeup_fd_vtable.wakeup(fd_info);
76 return wakeup_fd_vtable->wakeup(fd_info);
79 void grpc_wakeup_fd_destroy(grpc_wakeup_fd* fd_info) {
    [all...]
wakeup_fd_posix.h 68 grpc_error* (*init)(grpc_wakeup_fd* fd_info);
69 grpc_error* (*consume)(grpc_wakeup_fd* fd_info);
70 grpc_error* (*wakeup)(grpc_wakeup_fd* fd_info);
71 void (*destroy)(grpc_wakeup_fd* fd_info);
84 #define GRPC_WAKEUP_FD_GET_READ_FD(fd_info) ((fd_info)->read_fd)
86 grpc_error* grpc_wakeup_fd_init(grpc_wakeup_fd* fd_info) GRPC_MUST_USE_RESULT;
87 grpc_error* grpc_wakeup_fd_consume_wakeup(grpc_wakeup_fd* fd_info)
89 grpc_error* grpc_wakeup_fd_wakeup(grpc_wakeup_fd* fd_info) GRPC_MUST_USE_RESULT;
90 void grpc_wakeup_fd_destroy(grpc_wakeup_fd* fd_info);
    [all...]
wakeup_fd_pipe.cc 36 static grpc_error* pipe_init(grpc_wakeup_fd* fd_info) {
48 fd_info->read_fd = pipefd[0];
49 fd_info->write_fd = pipefd[1];
53 static grpc_error* pipe_consume(grpc_wakeup_fd* fd_info) {
58 r = read(fd_info->read_fd, buf, sizeof(buf));
72 static grpc_error* pipe_wakeup(grpc_wakeup_fd* fd_info) {
74 while (write(fd_info->write_fd, &c, 1) != 1 && errno == EINTR)
79 static void pipe_destroy(grpc_wakeup_fd* fd_info) {
80 if (fd_info->read_fd != 0) close(fd_info->read_fd)
    [all...]
wakeup_fd_eventfd.cc 34 static grpc_error* eventfd_create(grpc_wakeup_fd* fd_info) {
39 fd_info->read_fd = efd;
40 fd_info->write_fd = -1;
44 static grpc_error* eventfd_consume(grpc_wakeup_fd* fd_info) {
48 err = eventfd_read(fd_info->read_fd, &value);
56 static grpc_error* eventfd_wakeup(grpc_wakeup_fd* fd_info) {
60 err = eventfd_write(fd_info->read_fd, 1);
68 static void eventfd_destroy(grpc_wakeup_fd* fd_info) {
69 if (fd_info->read_fd != 0) close(fd_info->read_fd)
    [all...]
wakeup_fd_cv.cc 42 static grpc_error* cv_fd_init(grpc_wakeup_fd* fd_info) {
63 fd_info->read_fd = GRPC_IDX_TO_FD(idx);
64 fd_info->write_fd = -1;
69 static grpc_error* cv_fd_wakeup(grpc_wakeup_fd* fd_info) {
72 g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].is_set = 1;
73 cvn = g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].cvs;
82 static grpc_error* cv_fd_consume(grpc_wakeup_fd* fd_info) {
84 g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].is_set = 0;
89 static void cv_fd_destroy(grpc_wakeup_fd* fd_info) {
90 if (fd_info->read_fd == 0)
    [all...]
  /external/libevent/
evport.c 89 struct fd_info { struct
133 sizeof(struct fd_info), /* fdinfo length */
230 * are specified (implicitly) from the fd_info struct.
233 reassociate(struct evport_data *epdp, struct fd_info *fdip, int fd)
289 struct fd_info *fdi = NULL;
328 struct fd_info *fdi = pevt->portev_user;
382 struct fd_info *fdi = p;
399 struct fd_info *fdi = p;
  /external/mesa3d/src/intel/vulkan/
anv_device.c 1773 const VkImportMemoryFdInfoKHR *fd_info = local
    [all...]

Completed in 309 milliseconds