Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_generic.c92 struct usb_request *req; /* P: epfile->mutex */
99 int status; /* P: epfile->mutex */
119 * can never run concurrently (they are synchronised by epfile->mutex)
199 struct ffs_epfile *epfile; member
947 static struct ffs_memory *generic_find_memory_area(struct ffs_epfile *epfile, uint64_t buf, uint32_t len) in generic_find_memory_area() argument
952 list_for_each_entry(iter, &epfile->memory_list, memlist) { in generic_find_memory_area()
977 struct ffs_epfile *epfile = io_data->epfile; in epfile_task_proc() local
980 spin_lock_irqsave(&epfile->ffs->eps_lock, flags); in epfile_task_proc()
983 kfifo_in(&epfile in epfile_task_proc()
1002 struct ffs_epfile *epfile = container_of(inode->i_cdev, struct ffs_epfile, cdev); ffs_epfile_open() local
1019 struct ffs_epfile *epfile = file->private_data; ffs_epfile_mmap() local
1066 struct ffs_epfile *epfile = file->private_data; ffs_epfile_iorw() local
1223 struct ffs_epfile *epfile = file->private_data; ffs_epfile_ioctl() local
1397 struct ffs_epfile *epfile = file->private_data; ffs_epfile_read() local
1417 struct ffs_epfile *epfile = file->private_data; ffs_epfile_poll() local
1760 struct ffs_epfile *epfile = NULL, *epfiles = NULL; ffs_epfiles_create() local
1810 struct ffs_epfile *epfile = epfiles; ffs_epfiles_destroy() local
1826 struct ffs_epfile *epfile = func->ffs->epfiles; ffs_func_eps_disable() local
1849 struct ffs_epfile *epfile = ffs->epfiles; ffs_func_eps_enable() local
[all...]
H A Df_fs.c119 struct usb_request *req; /* P: epfile->mutex */
126 int status; /* P: epfile->mutex */
149 * can never run concurrently (they are synchronised by epfile->mutex)
866 static void __ffs_epfile_read_buffer_free(struct ffs_epfile *epfile) in __ffs_epfile_read_buffer_free() argument
872 struct ffs_buffer *buf = xchg(&epfile->read_buffer, READ_BUFFER_DROP); in __ffs_epfile_read_buffer_free()
877 /* Assumes epfile->mutex is held. */
878 static ssize_t __ffs_epfile_read_buffered(struct ffs_epfile *epfile, in __ffs_epfile_read_buffered() argument
882 * Null out epfile->read_buffer so ffs_func_eps_disable does not free in __ffs_epfile_read_buffered()
886 struct ffs_buffer *buf = xchg(&epfile->read_buffer, NULL); in __ffs_epfile_read_buffered()
904 if (cmpxchg(&epfile in __ffs_epfile_read_buffered()
911 __ffs_epfile_read_data(struct ffs_epfile *epfile, void *data, int data_len, struct iov_iter *iter) __ffs_epfile_read_data() argument
950 struct ffs_epfile *epfile = file->private_data; ffs_epfile_io() local
1154 struct ffs_epfile *epfile = inode->i_private; ffs_epfile_open() local
1170 struct ffs_epfile *epfile = kiocb->ki_filp->private_data; ffs_aio_cancel() local
1277 struct ffs_epfile *epfile = inode->i_private; ffs_epfile_release() local
1290 struct ffs_epfile *epfile = file->private_data; ffs_epfile_ioctl() local
1907 struct ffs_epfile *epfile, *epfiles; ffs_epfiles_create() local
1940 struct ffs_epfile *epfile = epfiles; ffs_epfiles_destroy() local
1959 struct ffs_epfile *epfile; ffs_func_eps_disable() local
1986 struct ffs_epfile *epfile; ffs_func_eps_enable() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_generic.c92 struct usb_request *req; /* P: epfile->mutex */
99 int status; /* P: epfile->mutex */
119 * can never run concurrently (they are synchronised by epfile->mutex)
199 struct ffs_epfile *epfile; member
948 static struct ffs_memory *generic_find_memory_area(struct ffs_epfile *epfile, uint64_t buf, uint32_t len) in generic_find_memory_area() argument
953 list_for_each_entry(iter, &epfile->memory_list, memlist) { in generic_find_memory_area()
978 struct ffs_epfile *epfile = io_data->epfile; in epfile_task_proc() local
981 spin_lock_irqsave(&epfile->ffs->eps_lock, flags); in epfile_task_proc()
984 kfifo_in(&epfile in epfile_task_proc()
1003 struct ffs_epfile *epfile = container_of(inode->i_cdev, struct ffs_epfile, cdev); ffs_epfile_open() local
1020 struct ffs_epfile *epfile = file->private_data; ffs_epfile_mmap() local
1067 struct ffs_epfile *epfile = file->private_data; ffs_epfile_iorw() local
1224 struct ffs_epfile *epfile = file->private_data; ffs_epfile_ioctl() local
1398 struct ffs_epfile *epfile = file->private_data; ffs_epfile_read() local
1418 struct ffs_epfile *epfile = file->private_data; ffs_epfile_poll() local
1762 struct ffs_epfile *epfile = NULL, *epfiles = NULL; ffs_epfiles_create() local
1812 struct ffs_epfile *epfile = epfiles; ffs_epfiles_destroy() local
1828 struct ffs_epfile *epfile = func->ffs->epfiles; ffs_func_eps_disable() local
1851 struct ffs_epfile *epfile = ffs->epfiles; ffs_func_eps_enable() local
[all...]
H A Df_fs.c119 struct usb_request *req; /* P: epfile->mutex */
147 * can never run concurrently (they are synchronised by epfile->mutex)
855 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()
866 /* Assumes epfile->mutex is held. */
867 static ssize_t __ffs_epfile_read_buffered(struct ffs_epfile *epfile, in __ffs_epfile_read_buffered() argument
871 * Null out epfile->read_buffer so ffs_func_eps_disable does not free in __ffs_epfile_read_buffered()
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()
899 /* Assumes epfile
900 __ffs_epfile_read_data(struct ffs_epfile *epfile, void *data, int data_len, struct iov_iter *iter) __ffs_epfile_read_data() argument
939 struct ffs_epfile *epfile = file->private_data; ffs_epfile_io() local
1149 struct ffs_epfile *epfile = inode->i_private; ffs_epfile_open() local
1163 struct ffs_epfile *epfile = kiocb->ki_filp->private_data; ffs_aio_cancel() local
1264 struct ffs_epfile *epfile = inode->i_private; ffs_epfile_release() local
1275 struct ffs_epfile *epfile = file->private_data; ffs_epfile_ioctl() local
1854 struct ffs_epfile *epfile, *epfiles; ffs_epfiles_create() local
1885 struct ffs_epfile *epfile = epfiles; ffs_epfiles_destroy() local
1902 struct ffs_epfile *epfile; ffs_func_eps_disable() local
1929 struct ffs_epfile *epfile; ffs_func_eps_enable() local
[all...]

Completed in 12 milliseconds