Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/function/
Df_fs.c855 static void __ffs_epfile_read_buffer_free(struct ffs_epfile *epfile) in __ffs_epfile_read_buffer_free() argument
861 struct ffs_buffer *buf = xchg(&epfile->read_buffer, READ_BUFFER_DROP); in __ffs_epfile_read_buffer_free()
867 static ssize_t __ffs_epfile_read_buffered(struct ffs_epfile *epfile, in __ffs_epfile_read_buffered() argument
875 struct ffs_buffer *buf = xchg(&epfile->read_buffer, NULL); in __ffs_epfile_read_buffered()
893 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_buffered()
900 static ssize_t __ffs_epfile_read_data(struct ffs_epfile *epfile, in __ffs_epfile_read_data() argument
931 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_data()
939 struct ffs_epfile *epfile = file->private_data; in ffs_epfile_io() local
947 if (WARN_ON(epfile->ffs->state != FFS_ACTIVE)) in ffs_epfile_io()
951 ep = epfile->ep; in ffs_epfile_io()
[all …]