Home
last modified time | relevance | path

Searched refs:epfile (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/gadget/function/
H A Df_fs.c900 static void __ffs_epfile_read_buffer_free(struct ffs_epfile *epfile) in __ffs_epfile_read_buffer_free() argument
906 struct ffs_buffer *buf = xchg(&epfile->read_buffer, READ_BUFFER_DROP); in __ffs_epfile_read_buffer_free()
912 static ssize_t __ffs_epfile_read_buffered(struct ffs_epfile *epfile, in __ffs_epfile_read_buffered() argument
920 struct ffs_buffer *buf = xchg(&epfile->read_buffer, NULL); in __ffs_epfile_read_buffered()
938 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_buffered()
945 static ssize_t __ffs_epfile_read_data(struct ffs_epfile *epfile, in __ffs_epfile_read_data() argument
976 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_data()
984 struct ffs_epfile *epfile = file->private_data; in ffs_epfile_wait_ep() local
989 ep = epfile->ep; in ffs_epfile_wait_ep()
995 epfile->ffs->wait, (ep = epfile->ep)); in ffs_epfile_wait_ep()
[all …]
/linux/fs/
H A Deventpoll.c2584 struct file *epfile, struct file *tfile, bool nonblock) in ep_ctl_lock() argument
2595 if (!READ_ONCE(epfile->f_ep) && ep->gen != loop_check_gen && in ep_ctl_lock()