Lines Matching refs:flags
38 unsigned int flags; member
142 if (file->flags & O_NONBLOCK) in eventfd_read()
158 if (ctx->flags & EFD_SEMAPHORE) in eventfd_read()
217 else if (!(file->flags & O_NONBLOCK)) in eventfd_write()
250 static int rt_eventfd_create(struct dfs_file *df, unsigned int count, int flags) in rt_eventfd_create() argument
263 ctx->flags = flags; in rt_eventfd_create()
264 flags &= EFD_SHARED_FCNTL_FLAGS; in rt_eventfd_create()
265 flags |= O_RDWR; in rt_eventfd_create()
276 df->flags = flags; in rt_eventfd_create()
300 static int do_eventfd(unsigned int count, int flags) in do_eventfd() argument
307 if (flags & ~EFD_FLAGS_SET) in do_eventfd()
319 status = rt_eventfd_create(file, count, flags); in do_eventfd()
342 int eventfd(unsigned int count, int flags) in eventfd() argument
344 return do_eventfd(count, flags); in eventfd()