Lines Matching refs:lvb
1197 /* send our current lvb */
1202 if (!dlm_lvb_is_empty(mres->lvb) &&
1204 memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN))) {
1209 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN);
1693 * This holds true for the convert, cancel and unlock cases, and since lvb
1694 * updates are tied to these same messages, it applies to lvb updates as
1819 if (!dlm_lvb_is_empty(mres->lvb)) {
1822 * lvb when node died. recreate the
1823 * lksb with the updated lvb. */
1824 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN);
1825 /* the lock resource lvb update must happen
1828 * the lvb. */
1829 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
1832 * most recent valid lvb info */
1835 if (!dlm_lvb_is_empty(res->lvb) &&
1837 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) {
1840 "lvb! type=%d\n", dlm->name,
1843 printk("lockres lvb=[");
1845 printk("%02x", res->lvb[i]);
1846 printk("]\nmigrated lvb=[");
1848 printk("%02x", mres->lvb[i]);
1853 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
2110 * had an EX when he died, blank out the lvb */
2114 * locks granted, we can no longer trust the lvb */
2116 local = 1; /* check local state for valid lvb */
2125 /* zero the lksb lvb and lockres lvb */
2127 memset(lock->lksb->lvb, 0, DLM_LVB_LEN);
2134 mlog(0, "clearing %.*s lvb, dead node %u had EX\n",
2136 memset(res->lvb, 0, DLM_LVB_LEN);
2149 * 2) if the dead node had an EX when he died, blank out the lvb
2199 * either PR or EX mode, zero out the lvb before requesting.
2253 /* zero the lvb if necessary */