Lines Matching refs:fs_fcheck
152 spin_lock(&entry->fs_fcheck->fc_lock);
153 while (!list_empty(&entry->fs_fcheck->fc_head)) {
154 p = list_first_entry(&entry->fs_fcheck->fc_head,
160 spin_unlock(&entry->fs_fcheck->fc_lock);
162 kfree(entry->fs_fcheck);
163 entry->fs_fcheck = NULL;
192 entry->fs_fcheck = fcheck;
198 if (!osb->osb_fc_ent.fs_fcheck)
219 spin_lock(&ent->fs_fcheck->fc_lock);
220 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) {
224 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done);
227 if (len < ent->fs_fcheck->fc_size)
229 ent->fs_fcheck->fc_size - len));
231 ent->fs_fcheck->fc_max = len;
234 spin_unlock(&ent->fs_fcheck->fc_lock);
313 spin_lock(&ent->fs_fcheck->fc_lock);
314 total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max);
315 spin_unlock(&ent->fs_fcheck->fc_lock);
322 spin_lock(&ent->fs_fcheck->fc_lock);
323 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
338 spin_unlock(&ent->fs_fcheck->fc_lock);
350 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
365 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
369 ent->fs_fcheck->fc_size--;
370 ent->fs_fcheck->fc_done--;
399 spin_lock(&ent->fs_fcheck->fc_lock);
401 ent->fs_fcheck->fc_done++;
402 spin_unlock(&ent->fs_fcheck->fc_lock);
473 spin_lock(&ent->fs_fcheck->fc_lock);
477 } else if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) &&
478 (ent->fs_fcheck->fc_done == 0)) {
482 ent->fs_fcheck->fc_max);
486 if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) &&
487 (ent->fs_fcheck->fc_done > 0)) {
499 list_add_tail(&entry->fe_list, &ent->fs_fcheck->fc_head);
500 ent->fs_fcheck->fc_size++;
502 spin_unlock(&ent->fs_fcheck->fc_lock);