Lines Matching refs:fs_fcheck
153 spin_lock(&entry->fs_fcheck->fc_lock);
154 while (!list_empty(&entry->fs_fcheck->fc_head)) {
155 p = list_first_entry(&entry->fs_fcheck->fc_head,
161 spin_unlock(&entry->fs_fcheck->fc_lock);
163 kfree(entry->fs_fcheck);
164 entry->fs_fcheck = NULL;
193 entry->fs_fcheck = fcheck;
199 if (!osb->osb_fc_ent.fs_fcheck)
220 spin_lock(&ent->fs_fcheck->fc_lock);
221 if (len < (ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done)) {
225 len, ent->fs_fcheck->fc_size - ent->fs_fcheck->fc_done);
228 if (len < ent->fs_fcheck->fc_size)
230 ent->fs_fcheck->fc_size - len));
232 ent->fs_fcheck->fc_max = len;
235 spin_unlock(&ent->fs_fcheck->fc_lock);
314 spin_lock(&ent->fs_fcheck->fc_lock);
315 total = snprintf(buf, remain, "%u\n", ent->fs_fcheck->fc_max);
316 spin_unlock(&ent->fs_fcheck->fc_lock);
323 spin_lock(&ent->fs_fcheck->fc_lock);
324 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
339 spin_unlock(&ent->fs_fcheck->fc_lock);
351 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
366 list_for_each_entry(p, &ent->fs_fcheck->fc_head, fe_list) {
370 ent->fs_fcheck->fc_size--;
371 ent->fs_fcheck->fc_done--;
400 spin_lock(&ent->fs_fcheck->fc_lock);
402 ent->fs_fcheck->fc_done++;
403 spin_unlock(&ent->fs_fcheck->fc_lock);
474 spin_lock(&ent->fs_fcheck->fc_lock);
478 } else if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) &&
479 (ent->fs_fcheck->fc_done == 0)) {
483 ent->fs_fcheck->fc_max);
487 if ((ent->fs_fcheck->fc_size >= ent->fs_fcheck->fc_max) &&
488 (ent->fs_fcheck->fc_done > 0)) {
500 list_add_tail(&entry->fe_list, &ent->fs_fcheck->fc_head);
501 ent->fs_fcheck->fc_size++;
503 spin_unlock(&ent->fs_fcheck->fc_lock);