Lines Matching defs:dispose

391 nfsd_file_dispose_list(struct list_head *dispose)
395 while (!list_empty(dispose)) {
396 nf = list_first_entry(dispose, struct nfsd_file, nf_lru);
404 * @dispose: list of nfsd_files to be disposed
410 nfsd_file_dispose_list_delayed(struct list_head *dispose)
412 while(!list_empty(dispose)) {
413 struct nfsd_file *nf = list_first_entry(dispose,
439 LIST_HEAD(dispose);
444 list_move(l->freeme.next, &dispose);
451 nfsd_file_dispose_list(&dispose);
460 * @arg: dispose list
504 /* Refcount went to zero. Unhash it and queue it to the dispose list */
515 LIST_HEAD(dispose);
519 &dispose, list_lru_count(&nfsd_file_lru));
521 nfsd_file_dispose_list_delayed(&dispose);
541 LIST_HEAD(dispose);
545 nfsd_file_lru_cb, &dispose);
547 nfsd_file_dispose_list_delayed(&dispose);
556 * @dispose: private list to queue successfully-put objects
559 * reference. If it's the last reference, queue it to the dispose list.
562 nfsd_file_cond_queue(struct nfsd_file *nf, struct list_head *dispose)
579 /* If refcount goes to 0, then put on the dispose list */
581 list_add(&nf->nf_lru, dispose);
589 * @dispose: list on which to gather nfsd_files to close out
598 * Populates the dispose list with entries that have already had their
603 nfsd_file_queue_for_close(struct inode *inode, struct list_head *dispose)
614 nfsd_file_cond_queue(nf, dispose);
631 LIST_HEAD(dispose);
633 nfsd_file_queue_for_close(inode, &dispose);
634 nfsd_file_dispose_list_delayed(&dispose);
651 LIST_HEAD(dispose);
655 nfsd_file_queue_for_close(inode, &dispose);
656 while (!list_empty(&dispose)) {
657 nf = list_first_entry(&dispose, struct nfsd_file, nf_lru);
803 LIST_HEAD(dispose);
812 nfsd_file_cond_queue(nf, &dispose);
820 nfsd_file_dispose_list(&dispose);