Lines Matching refs:epfiles
75 /* In this state no open(2), read(2) or write(2) on epfiles
84 /* This is the only state in which operations on epfiles may
94 * as well as epfile) may succeed (at this point epfiles are
220 struct ffs_epfile *epfiles;
320 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
1331 if (ffs->epfiles)
1332 ffs_epfiles_destroy(ffs->epfiles, ffs->eps_count);
1346 ffs->epfiles = NULL;
1418 struct ffs_epfile *epfile, *epfiles;
1424 epfiles = kzalloc(count * sizeof *epfiles, GFP_KERNEL);
1425 if (!epfiles)
1428 epfile = epfiles;
1433 sprintf(epfiles->name, "ep%u", i);
1434 if (!unlikely(ffs_sb_create_file(ffs->sb, epfiles->name, epfile,
1437 ffs_epfiles_destroy(epfiles, i - 1);
1442 ffs->epfiles = epfiles;
1447 static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count)
1449 struct ffs_epfile *epfile = epfiles;
1463 kfree(epfiles);
1522 struct ffs_epfile *epfile = func->ffs->epfiles;
1543 struct ffs_epfile *epfile = ffs->epfiles;