Home
last modified time | relevance | path

Searched refs:lvb (Results 1 – 15 of 15) sorted by relevance

/fs/ocfs2/
Ddlmglue.c118 struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_dump_meta_lvb_info() local
123 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters), in ocfs2_dump_meta_lvb_info()
124 be32_to_cpu(lvb->lvb_igeneration)); in ocfs2_dump_meta_lvb_info()
126 (unsigned long long)be64_to_cpu(lvb->lvb_isize), in ocfs2_dump_meta_lvb_info()
127 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid), in ocfs2_dump_meta_lvb_info()
128 be16_to_cpu(lvb->lvb_imode)); in ocfs2_dump_meta_lvb_info()
130 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb->lvb_inlink), in ocfs2_dump_meta_lvb_info()
131 (long long)be64_to_cpu(lvb->lvb_iatime_packed), in ocfs2_dump_meta_lvb_info()
132 (long long)be64_to_cpu(lvb->lvb_ictime_packed), in ocfs2_dump_meta_lvb_info()
133 (long long)be64_to_cpu(lvb->lvb_imtime_packed), in ocfs2_dump_meta_lvb_info()
[all …]
Dstackglue.h76 char lvb[DLM_LVB_LEN]; member
Dstack_o2cb.c241 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
/fs/gfs2/locking/dlm/
Dlock.c365 if (lp->lvb) in make_flags()
480 if (lp->lvb) in gdlm_do_unlock()
583 char *lvb; in gdlm_add_lvb() local
585 lvb = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in gdlm_add_lvb()
586 if (!lvb) in gdlm_add_lvb()
589 lp->lksb.sb_lvbptr = lvb; in gdlm_add_lvb()
590 lp->lvb = lvb; in gdlm_add_lvb()
596 kfree(lp->lvb); in gdlm_del_lvb()
597 lp->lvb = NULL; in gdlm_del_lvb()
626 lpn->lvb = junk_lvb; in hold_null_lock()
[all …]
Dlock_dlm.h104 char *lvb; member
/fs/ocfs2/dlm/
Duserdlm.c543 char *lvb = lockres->l_lksb.lvb; in user_dlm_write_lvb() local
550 memcpy(lvb, val, len); in user_dlm_write_lvb()
560 char *lvb = lockres->l_lksb.lvb; in user_dlm_read_lvb() local
567 memcpy(val, lvb, len); in user_dlm_read_lvb()
Ddlmast.c198 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb()
403 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN); in dlm_proxy_ast_handler()
451 vec[1].iov_base = lock->lksb->lvb; in dlm_send_proxy_ast_msg()
Ddlmconvert.c218 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master()
374 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request()
501 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
Ddlmrecovery.c1190 if (!dlm_lvb_is_empty(mres->lvb) && in dlm_add_lock_to_array()
1192 memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN))) { in dlm_add_lock_to_array()
1197 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN); in dlm_add_lock_to_array()
1831 if (!dlm_lvb_is_empty(mres->lvb)) { in dlm_process_recovery_data()
1836 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
1841 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
1847 if (!dlm_lvb_is_empty(res->lvb) && in dlm_process_recovery_data()
1849 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) { in dlm_process_recovery_data()
1857 printk("%02x", res->lvb[i]); in dlm_process_recovery_data()
1860 printk("%02x", mres->lvb[i]); in dlm_process_recovery_data()
[all …]
Ddlmunlock.c169 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN); in dlmunlock_common()
347 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_unlock_request()
491 memcpy(&lksb->lvb[0], &unlock->lvb[0], DLM_LVB_LEN); in dlm_unlock_lock_handler()
Ddlmcommon.h328 char lvb[DLM_LVB_LEN]; member
391 static inline int dlm_lvb_is_empty(char *lvb) in dlm_lvb_is_empty() argument
395 if (lvb[i]) in dlm_lvb_is_empty()
569 u8 lvb[DLM_LVB_LEN]; member
608 s8 lvb[0]; member
623 s8 lvb[0]; member
639 s8 lvb[0]; member
Ddlmapi.h115 char lvb[DLM_LVB_LEN]; member
Ddlmdebug.c609 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
Ddlmmaster.c623 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
/fs/dlm/
Duser.c48 char lvb[DLM_USER_LVB_LEN]; member
117 memcpy(kb->i.lock.lvb, kb32->i.lock.lvb, DLM_USER_LVB_LEN); in compat_input()
286 params->lkid, params->lvb, in device_user_lock()
324 params->lvb); in device_user_unlock()