Searched refs:epfile (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_generic.c | 199 struct ffs_epfile *epfile; member 947 static struct ffs_memory *generic_find_memory_area(struct ffs_epfile *epfile, uint64_t buf, uint32_… 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->reqEventFifo, &io_data->buf, sizeof(struct UsbFnReqEvent)); in epfile_task_proc() 987 spin_unlock_irqrestore(&epfile->ffs->eps_lock, flags); in epfile_task_proc() 988 wake_up_all(&epfile->wait_que); in epfile_task_proc() 1002 struct ffs_epfile *epfile = container_of(inode->i_cdev, struct ffs_epfile, cdev); in ffs_epfile_open() local 1004 if (WARN_ON(epfile->ffs->state != FFS_ACTIVE)) in ffs_epfile_open() [all …]
|
D | f_fs.c | 857 static void __ffs_epfile_read_buffer_free(struct ffs_epfile *epfile) in __ffs_epfile_read_buffer_free() argument 863 struct ffs_buffer *buf = xchg(&epfile->read_buffer, READ_BUFFER_DROP); in __ffs_epfile_read_buffer_free() 869 static ssize_t __ffs_epfile_read_buffered(struct ffs_epfile *epfile, in __ffs_epfile_read_buffered() argument 877 struct ffs_buffer *buf = xchg(&epfile->read_buffer, NULL); in __ffs_epfile_read_buffered() 895 if (cmpxchg(&epfile->read_buffer, NULL, buf)) in __ffs_epfile_read_buffered() 902 static ssize_t __ffs_epfile_read_data(struct ffs_epfile *epfile, in __ffs_epfile_read_data() argument 933 if (unlikely(cmpxchg(&epfile->read_buffer, NULL, buf))) in __ffs_epfile_read_data() 941 struct ffs_epfile *epfile = file->private_data; in ffs_epfile_io() local 949 if (WARN_ON(epfile->ffs->state != FFS_ACTIVE)) in ffs_epfile_io() 953 ep = epfile->ep; in ffs_epfile_io() [all …]
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 15201 - struct usb_request *req; /* P: epfile->mutex */ 15208 - int status; /* P: epfile->mutex */ 15228 - * can never run concurrently (they are synchronised by epfile->mutex) 15308 - struct ffs_epfile *epfile; 16056 -static struct ffs_memory *generic_find_memory_area(struct ffs_epfile *epfile, uint64_t buf, uint32… 16061 - list_for_each_entry(iter, &epfile->memory_list, memlist) { 16086 - struct ffs_epfile *epfile = io_data->epfile; 16089 - spin_lock_irqsave(&epfile->ffs->eps_lock, flags); 16092 - kfifo_in(&epfile->reqEventFifo, &io_data->buf, sizeof(struct UsbFnReqEvent)); 16096 - spin_unlock_irqrestore(&epfile->ffs->eps_lock, flags); [all …]
|