Lines Matching defs:oldstate
617 * Add entries from statedir to supplied oldstate list.
621 rfs4_ss_oldstate(rfs4_oldstate_t *oldstate, char *statedir, char *destdir)
692 insque(cl_ss, oldstate);
733 * Remove all oldstate files referenced by this servinst.
741 os_head = sip->oldstate;
770 * Form the state and oldstate paths, and read in the stable storage files.
776 char *state, *oldstate;
779 oldstate = kmem_alloc(MAXPATHLEN, KM_SLEEP);
785 (void) sprintf(oldstate, "%s/%s", path, NFS4_DSS_OLDSTATE_LEAF);
788 * Populate the current server instance's oldstate list.
797 rfs4_ss_oldstate(rfs4_cur_servinst->oldstate, oldstate, NULL);
798 rfs4_ss_oldstate(rfs4_cur_servinst->oldstate, state, oldstate);
802 kmem_free(oldstate, MAXPATHLEN);
816 * It should be sufficient to check the oldstate data for just
823 * oldstate data for all instances with an active grace period.
825 * This also serves as the mechanism to remove stale oldstate data.
827 * expired, the oldstate data should be cleared.
848 /* short circuit everything if this server instance has no oldstate */
850 os_head = sip->oldstate;
858 * instance's oldstate data, so it can be cleared.
867 os_head = sip->oldstate;