Searched refs:lvb (Results 1 - 17 of 17) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/dlm/
H A Dlock.c146 if (lp->lvb)
175 lp->lvb = NULL;
287 if (lp->lvb)
384 char *lvb; local
386 lvb = kzalloc(GDLM_LVB_SIZE, GFP_KERNEL);
387 if (!lvb)
390 lp->lksb.sb_lvbptr = lvb;
391 lp->lvb = lvb;
397 kfree(lp->lvb);
483 gdlm_unhold_lvb(void *lock, char *lvb) argument
[all...]
H A Dlock_dlm.h110 char *lvb; member in struct:gdlm_lock
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Ddlmglue.c115 struct ocfs2_meta_lvb *lvb = (struct ocfs2_meta_lvb *) lockres->l_lksb.lvb; local
120 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters),
121 be32_to_cpu(lvb->lvb_igeneration));
123 (unsigned long long)be64_to_cpu(lvb->lvb_isize),
124 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid),
125 be16_to_cpu(lvb->lvb_imode));
127 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb
1449 struct ocfs2_meta_lvb *lvb; local
1498 struct ocfs2_meta_lvb *lvb; local
1538 struct ocfs2_meta_lvb *lvb = (struct ocfs2_meta_lvb *) lockres->l_lksb.lvb; local
2169 char *lvb; local
2632 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dlm.h32 void gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, void *lock, char *lvb);
H A Dlm.c167 void gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, void *lock, char *lvb) argument
170 sdp->sd_lockstruct.ls_ops->lm_unhold_lvb(lock, lvb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Ddlm_device.h37 char lvb[DLM_USER_LVB_LEN]; member in struct:dlm_lock_params
H A Dlm_interface.h204 void (*lm_unhold_lvb) (void *lock, char *lvb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/nolock/
H A Dmain.c154 * @lvb: the lock value block
158 static void nolock_unhold_lvb(void *lock, char *lvb) argument
160 kfree(lvb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/dlm/
H A Ddlmast.c196 mlog(0, "getting lvb from lockres for %s node\n",
199 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN);
201 /* Do nothing for lvb put requests - they should be done in
203 * racing gets and puts which could result in old lvb data
211 /* reset any lvb flags on the lksb */
301 mlog(ML_ERROR, "both PUT and GET lvb specified\n");
306 mlog(0, "lvb: %s\n", flags & LKM_PUT_LVB ? "put lvb" :
307 (flags & LKM_GET_LVB ? "get lvb"
[all...]
H A Ddlmconvert.c157 /* EX + LKM_VALBLK + convert == set lvb */
158 mlog(0, "will set lvb: converting %s->%s\n",
168 "lvb: converting %s->%s\n",
174 "into lvb: converting %s->%s\n",
218 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN);
372 /* extra data to send if we are updating lvb */
374 vec[1].iov_base = lock->lksb->lvb;
452 mlog(ML_ERROR, "both PUT and GET lvb specified\n");
457 mlog(0, "lvb
[all...]
H A Duserdlm.c543 char *lvb = lockres->l_lksb.lvb; local
550 memcpy(lvb, val, len);
560 char *lvb = lockres->l_lksb.lvb; local
567 memcpy(val, lvb, len);
H A Ddlmapi.h109 /* Callers are only allowed access to the lvb and status members of
115 char lvb[DLM_LVB_LEN]; member in struct:dlm_lockstatus
168 #define LKM_PUT_LVB 0x20000000 /* extension: lvb is being passed
170 #define LKM_GET_LVB 0x40000000 /* extension: lvb should be copied
H A Ddlmunlock.c167 /* make the final update to the lvb */
169 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN);
259 /* if cancel or unlock succeeded, lvb work is done */
270 * update of the lvb will be sent to the new master */
345 /* extra data to send if we are updating lvb */
347 vec[1].iov_base = lock->lksb->lvb;
409 mlog(ML_ERROR, "bad args! cannot modify lvb on a CANCEL "
425 mlog(0, "lvb: %s\n", flags & LKM_PUT_LVB ? "put lvb"
[all...]
H A Ddlmrecovery.c1197 /* 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 whe
[all...]
H A Ddlmcommon.h276 char lvb[DLM_LVB_LEN]; member in struct:dlm_lock_resource
339 static inline int dlm_lvb_is_empty(char *lvb) argument
343 if (lvb[i])
517 u8 lvb[DLM_LVB_LEN]; member in struct:dlm_migratable_lockres
556 s8 lvb[0]; member in struct:dlm_convert_lock
571 s8 lvb[0]; member in struct:dlm_unlock_lock
587 s8 lvb[0]; member in struct:dlm_proxy_ast
615 * lvb recovery based on each node's info */
H A Ddlmmaster.c671 memset(res->lvb, 0, DLM_LVB_LEN);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/dlm/
H A Duser.c46 char lvb[DLM_USER_LVB_LEN]; member in struct:dlm_lock_params32
110 memcpy(kb->i.lock.lvb, kb32->i.lock.lvb, DLM_USER_LVB_LEN);
203 /* We want to copy the lvb to userspace when the completion
204 ast is read if the status is 0, the lock has an lvb and
259 params->lkid, params->lvb);
296 params->lvb);
663 /* copy lvb to userspace if there is one, it's been updated, and

Completed in 421 milliseconds