Home
last modified time | relevance | path

Searched refs:epfiles (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_fs.c239 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
1722 struct ffs_epfile *epfiles; in ffs_data_closed() local
1731 epfiles = ffs->epfiles; in ffs_data_closed()
1732 ffs->epfiles = NULL; in ffs_data_closed()
1736 if (epfiles) in ffs_data_closed()
1737 ffs_epfiles_destroy(epfiles, in ffs_data_closed()
1786 struct ffs_epfile *epfiles; in ffs_data_clear() local
1796 epfiles = ffs->epfiles; in ffs_data_clear()
1907 struct ffs_epfile *epfile, *epfiles; ffs_epfiles_create() local
1938 ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count) ffs_epfiles_destroy() argument
[all...]
H A Df_generic.c210 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
1373 if (epfile->ffs->epfiles + i == epfile) in ffs_epfile_ioctl()
1668 if (ffs->epfiles) in ffs_data_clear()
1669 ffs_epfiles_destroy(ffs->epfiles, ffs->eps_count); in ffs_data_clear()
1685 ffs->epfiles = NULL; in ffs_data_reset()
1760 struct ffs_epfile *epfile = NULL, *epfiles = NULL; in ffs_epfiles_create() local
1766 epfiles = kcalloc(count, sizeof(*epfiles), GFP_KERNEL); in ffs_epfiles_create()
1767 if (!epfiles) in ffs_epfiles_create()
1770 epfile = epfiles; in ffs_epfiles_create()
1808 ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count) ffs_epfiles_destroy() argument
[all...]
H A Du_fs.h78 * In this state no open(2), read(2) or write(2) on epfiles
90 * This is the only state in which operations on epfiles may
98 * are refused. All epfiles, except ep0, are deleted so there
119 * from user space we fail to initialise epfiles or
123 * as well as epfile) may succeed (at this point epfiles are
287 struct ffs_epfile *epfiles; member
H A Du_generic.h125 * In this state no open(2), read(2) or write(2) on epfiles
137 * This is the only state in which operations on epfiles may
145 * are refused. All epfiles, except ep0, are deleted so there
166 * from user space we fail to initialise epfiles or
170 * as well as epfile) may succeed (at this point epfiles are
338 struct ffs_epfile *epfiles; member
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_fs.c240 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
1681 struct ffs_epfile *epfiles; in ffs_data_closed() local
1688 epfiles = ffs->epfiles; in ffs_data_closed()
1689 ffs->epfiles = NULL; in ffs_data_closed()
1693 if (epfiles) in ffs_data_closed()
1694 ffs_epfiles_destroy(epfiles, in ffs_data_closed()
1741 struct ffs_epfile *epfiles; in ffs_data_clear() local
1749 epfiles = ffs->epfiles; in ffs_data_clear()
1854 struct ffs_epfile *epfile, *epfiles; ffs_epfiles_create() local
1883 ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count) ffs_epfiles_destroy() argument
[all...]
H A Df_generic.c210 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
1374 if (epfile->ffs->epfiles + i == epfile) in ffs_epfile_ioctl()
1670 if (ffs->epfiles) in ffs_data_clear()
1671 ffs_epfiles_destroy(ffs->epfiles, ffs->eps_count); in ffs_data_clear()
1687 ffs->epfiles = NULL; in ffs_data_reset()
1762 struct ffs_epfile *epfile = NULL, *epfiles = NULL; in ffs_epfiles_create() local
1768 epfiles = kcalloc(count, sizeof(*epfiles), GFP_KERNEL); in ffs_epfiles_create()
1769 if (!epfiles) in ffs_epfiles_create()
1772 epfile = epfiles; in ffs_epfiles_create()
1810 ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count) ffs_epfiles_destroy() argument
[all...]
H A Du_fs.h76 * In this state no open(2), read(2) or write(2) on epfiles
88 * This is the only state in which operations on epfiles may
96 * are refused. All epfiles, except ep0, are deleted so there
117 * from user space we fail to initialise epfiles or
121 * as well as epfile) may succeed (at this point epfiles are
285 struct ffs_epfile *epfiles; member
H A Du_generic.h125 * In this state no open(2), read(2) or write(2) on epfiles
137 * This is the only state in which operations on epfiles may
145 * are refused. All epfiles, except ep0, are deleted so there
166 * from user space we fail to initialise epfiles or
170 * as well as epfile) may succeed (at this point epfiles are
338 struct ffs_epfile *epfiles; member
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
H A Dinode.c142 struct list_head epfiles; member
176 INIT_LIST_HEAD (&dev->epfiles); in dev_new()
202 struct list_head epfiles; member
218 BUG_ON (!list_empty (&data->epfiles)); in put_ep()
1549 while (!list_empty(&dev->epfiles)) { in destroy_ep_files()
1555 ep = list_first_entry (&dev->epfiles, struct ep_data, epfiles); in destroy_ep_files()
1556 list_del_init (&ep->epfiles); in destroy_ep_files()
1621 list_add_tail (&data->epfiles, &dev->epfiles); in activate_ep_files()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Dinode.c142 struct list_head epfiles; member
176 INIT_LIST_HEAD (&dev->epfiles); in dev_new()
202 struct list_head epfiles; member
218 BUG_ON (!list_empty (&data->epfiles)); in put_ep()
1547 while (!list_empty(&dev->epfiles)) { in destroy_ep_files()
1553 ep = list_first_entry (&dev->epfiles, struct ep_data, epfiles); in destroy_ep_files()
1554 list_del_init (&ep->epfiles); in destroy_ep_files()
1619 list_add_tail (&data->epfiles, &dev->epfiles); in activate_ep_files()
[all...]

Completed in 19 milliseconds