Lines Matching defs:fcount
41 unsigned int *fcount = FILE_FCOUNT(file);
45 if (fcount == NULL) {
46 fcount = kcalloc(max, sizeof(*fcount), GFP_KERNEL);
47 if (!fcount)
49 FILE_FCOUNT(file) = fcount;
59 ++fcount[reg];
67 unsigned int *fcount = FILE_FCOUNT(file);
79 if (fcount == NULL)
81 if (fcount[reg] < 1)
83 --fcount[reg];
340 unsigned int *fcount = FILE_FCOUNT(file);
343 if (fcount != NULL) {
346 while (fcount[i] > 0) {
348 --fcount[i];
351 kfree(fcount);