ffs_dev           250 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_find_dev(const char *name);
ffs_dev           251 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_alloc_dev(void);
ffs_dev           252 drivers/usb/gadget/function/f_fs.c static void _ffs_free_dev(struct ffs_dev *dev);
ffs_dev          1572 drivers/usb/gadget/function/f_fs.c 	void *ffs_dev;
ffs_dev          1592 drivers/usb/gadget/function/f_fs.c 	ffs_dev = ffs_acquire_dev(ffs->dev_name);
ffs_dev          1593 drivers/usb/gadget/function/f_fs.c 	if (IS_ERR(ffs_dev)) {
ffs_dev          1595 drivers/usb/gadget/function/f_fs.c 		return PTR_ERR(ffs_dev);
ffs_dev          1598 drivers/usb/gadget/function/f_fs.c 	ffs->private_data = ffs_dev;
ffs_dev          3445 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_do_find_dev(const char *name)
ffs_dev          3447 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *dev;
ffs_dev          3463 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_get_single_dev(void)
ffs_dev          3465 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *dev;
ffs_dev          3468 drivers/usb/gadget/function/f_fs.c 		dev = list_first_entry(&ffs_devices, struct ffs_dev, entry);
ffs_dev          3479 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_find_dev(const char *name)
ffs_dev          3481 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *dev;
ffs_dev          3530 drivers/usb/gadget/function/f_fs.c 	if (strlen(name) >= FIELD_SIZEOF(struct ffs_dev, name))
ffs_dev          3538 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *dev;
ffs_dev          3637 drivers/usb/gadget/function/f_fs.c static struct ffs_dev *_ffs_alloc_dev(void)
ffs_dev          3639 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *dev;
ffs_dev          3662 drivers/usb/gadget/function/f_fs.c int ffs_name_dev(struct ffs_dev *dev, const char *name)
ffs_dev          3664 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *existing;
ffs_dev          3681 drivers/usb/gadget/function/f_fs.c int ffs_single_dev(struct ffs_dev *dev)
ffs_dev          3701 drivers/usb/gadget/function/f_fs.c static void _ffs_free_dev(struct ffs_dev *dev)
ffs_dev          3716 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *ffs_dev;
ffs_dev          3721 drivers/usb/gadget/function/f_fs.c 	ffs_dev = _ffs_find_dev(dev_name);
ffs_dev          3722 drivers/usb/gadget/function/f_fs.c 	if (!ffs_dev)
ffs_dev          3723 drivers/usb/gadget/function/f_fs.c 		ffs_dev = ERR_PTR(-ENOENT);
ffs_dev          3724 drivers/usb/gadget/function/f_fs.c 	else if (ffs_dev->mounted)
ffs_dev          3725 drivers/usb/gadget/function/f_fs.c 		ffs_dev = ERR_PTR(-EBUSY);
ffs_dev          3726 drivers/usb/gadget/function/f_fs.c 	else if (ffs_dev->ffs_acquire_dev_callback &&
ffs_dev          3727 drivers/usb/gadget/function/f_fs.c 	    ffs_dev->ffs_acquire_dev_callback(ffs_dev))
ffs_dev          3728 drivers/usb/gadget/function/f_fs.c 		ffs_dev = ERR_PTR(-ENOENT);
ffs_dev          3730 drivers/usb/gadget/function/f_fs.c 		ffs_dev->mounted = true;
ffs_dev          3733 drivers/usb/gadget/function/f_fs.c 	return ffs_dev;
ffs_dev          3738 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *ffs_dev;
ffs_dev          3743 drivers/usb/gadget/function/f_fs.c 	ffs_dev = ffs_data->private_data;
ffs_dev          3744 drivers/usb/gadget/function/f_fs.c 	if (ffs_dev) {
ffs_dev          3745 drivers/usb/gadget/function/f_fs.c 		ffs_dev->mounted = false;
ffs_dev          3747 drivers/usb/gadget/function/f_fs.c 		if (ffs_dev->ffs_release_dev_callback)
ffs_dev          3748 drivers/usb/gadget/function/f_fs.c 			ffs_dev->ffs_release_dev_callback(ffs_dev);
ffs_dev          3756 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *ffs_obj;
ffs_dev          3789 drivers/usb/gadget/function/f_fs.c 	struct ffs_dev *ffs_obj;
ffs_dev            52 drivers/usb/gadget/function/u_fs.h 	void *(*ffs_acquire_dev_callback)(struct ffs_dev *dev);
ffs_dev            53 drivers/usb/gadget/function/u_fs.h 	void (*ffs_release_dev_callback)(struct ffs_dev *dev);
ffs_dev            68 drivers/usb/gadget/function/u_fs.h int ffs_name_dev(struct ffs_dev *dev, const char *name);
ffs_dev            69 drivers/usb/gadget/function/u_fs.h int ffs_single_dev(struct ffs_dev *dev);
ffs_dev           293 drivers/usb/gadget/function/u_fs.h 	struct ffs_dev			*dev;
ffs_dev           139 drivers/usb/gadget/legacy/g_ffs.c static void *functionfs_acquire_dev(struct ffs_dev *dev);
ffs_dev           140 drivers/usb/gadget/legacy/g_ffs.c static void functionfs_release_dev(struct ffs_dev *dev);
ffs_dev           260 drivers/usb/gadget/legacy/g_ffs.c static void *functionfs_acquire_dev(struct ffs_dev *dev)
ffs_dev           268 drivers/usb/gadget/legacy/g_ffs.c static void functionfs_release_dev(struct ffs_dev *dev)