Home
last modified time | relevance | path

Searched refs:fc_tbl (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/fs/nfs/
Dcallback_proc.c473 struct nfs4_slot_table *fc_tbl; in nfs4_callback_recallslot() local
484 fc_tbl = &cps->clp->cl_session->fc_slot_table; in nfs4_callback_recallslot()
487 if (args->crsa_target_max_slots > fc_tbl->max_slots || in nfs4_callback_recallslot()
492 if (args->crsa_target_max_slots == fc_tbl->max_slots) in nfs4_callback_recallslot()
495 fc_tbl->target_max_slots = args->crsa_target_max_slots; in nfs4_callback_recallslot()
Dnfs4state.c1564 struct nfs4_slot_table *fc_tbl = &clp->cl_session->fc_slot_table; in nfs4_recall_slot() local
1570 new = kmalloc(fc_tbl->target_max_slots * sizeof(struct nfs4_slot), in nfs4_recall_slot()
1575 spin_lock(&fc_tbl->slot_tbl_lock); in nfs4_recall_slot()
1576 for (i = 0; i < fc_tbl->target_max_slots; i++) in nfs4_recall_slot()
1577 new[i].seq_nr = fc_tbl->slots[i].seq_nr; in nfs4_recall_slot()
1578 old = fc_tbl->slots; in nfs4_recall_slot()
1579 fc_tbl->slots = new; in nfs4_recall_slot()
1580 fc_tbl->max_slots = fc_tbl->target_max_slots; in nfs4_recall_slot()
1581 fc_tbl->target_max_slots = 0; in nfs4_recall_slot()
1582 fc_attrs->max_reqs = fc_tbl->max_slots; in nfs4_recall_slot()
[all …]