Home
last modified time | relevance | path

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

/fs/ocfs2/
Ddlmglue.c128 struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_dump_meta_lvb_info() local
133 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters), in ocfs2_dump_meta_lvb_info()
134 be32_to_cpu(lvb->lvb_igeneration)); in ocfs2_dump_meta_lvb_info()
136 (unsigned long long)be64_to_cpu(lvb->lvb_isize), in ocfs2_dump_meta_lvb_info()
137 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid), in ocfs2_dump_meta_lvb_info()
138 be16_to_cpu(lvb->lvb_imode)); in ocfs2_dump_meta_lvb_info()
140 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb->lvb_inlink), in ocfs2_dump_meta_lvb_info()
141 (long long)be64_to_cpu(lvb->lvb_iatime_packed), in ocfs2_dump_meta_lvb_info()
142 (long long)be64_to_cpu(lvb->lvb_ictime_packed), in ocfs2_dump_meta_lvb_info()
143 (long long)be64_to_cpu(lvb->lvb_imtime_packed), in ocfs2_dump_meta_lvb_info()
[all …]
Dstack_user.c798 static void lvb_to_version(char *lvb, struct ocfs2_protocol_version *ver) in lvb_to_version() argument
801 (struct ocfs2_protocol_version *)lvb; in lvb_to_version()
810 static void version_to_lvb(struct ocfs2_protocol_version *ver, char *lvb) in version_to_lvb() argument
813 (struct ocfs2_protocol_version *)lvb; in version_to_lvb()
Dstackglue.h68 char lvb[DLM_LVB_LEN]; member
Dstack_o2cb.c251 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
/fs/ocfs2/dlmfs/
Duserdlm.c550 char *lvb; in user_dlm_write_lvb() local
557 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_write_lvb()
558 memcpy(lvb, val, len); in user_dlm_write_lvb()
568 char *lvb; in user_dlm_read_lvb() local
577 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_read_lvb()
578 memcpy(val, lvb, len); in user_dlm_read_lvb()
/fs/ocfs2/dlm/
Ddlmconvert.c213 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master()
397 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request()
525 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
Ddlmast.c207 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb()
430 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN); in dlm_proxy_ast_handler()
477 vec[1].iov_base = lock->lksb->lvb; in dlm_send_proxy_ast_msg()
Ddlmunlock.c167 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN); in dlmunlock_common()
348 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_unlock_request()
494 memcpy(&lksb->lvb[0], &unlock->lvb[0], DLM_LVB_LEN); in dlm_unlock_lock_handler()
Ddlmcommon.h333 char lvb[DLM_LVB_LEN]; member
386 static inline int dlm_lvb_is_empty(char *lvb) in dlm_lvb_is_empty() argument
390 if (lvb[i]) in dlm_lvb_is_empty()
580 u8 lvb[DLM_LVB_LEN]; member
619 s8 lvb[0]; member
634 s8 lvb[0]; member
650 s8 lvb[0]; member
Ddlmrecovery.c1205 if (dlm_lvb_is_empty(mres->lvb)) { in dlm_prepare_lvb_for_migration()
1206 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN); in dlm_prepare_lvb_for_migration()
1211 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN)) in dlm_prepare_lvb_for_migration()
1947 if (!dlm_lvb_is_empty(mres->lvb)) { in dlm_process_recovery_data()
1952 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
1957 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
1963 if (!dlm_lvb_is_empty(res->lvb) && in dlm_process_recovery_data()
1965 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) { in dlm_process_recovery_data()
1973 printk("%02x", res->lvb[i]); in dlm_process_recovery_data()
1976 printk("%02x", mres->lvb[i]); in dlm_process_recovery_data()
[all …]
Ddlmapi.h115 char lvb[DLM_LVB_LEN]; member
Ddlmdebug.c536 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
Ddlmmaster.c596 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
/fs/dlm/
Duser.c50 char lvb[DLM_USER_LVB_LEN]; member
118 memcpy(kb->i.lock.lvb, kb32->i.lock.lvb, DLM_USER_LVB_LEN); in compat_input()
267 params->lkid, params->lvb, in device_user_lock()
313 params->lvb); in device_user_unlock()
/fs/gfs2/
Dlock_dlm.c486 static int all_jid_bits_clear(char *lvb) in all_jid_bits_clear() argument
488 return !memchr_inv(lvb + JID_BITMAP_OFFSET, 0, in all_jid_bits_clear()