/fs/ocfs2/ |
D | dlmglue.c | 128 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 …]
|
D | stack_user.c | 798 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()
|
D | stackglue.h | 68 char lvb[DLM_LVB_LEN]; member
|
D | stack_o2cb.c | 251 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
|
/fs/ocfs2/dlmfs/ |
D | userdlm.c | 550 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/ |
D | dlmconvert.c | 213 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()
|
D | dlmast.c | 207 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()
|
D | dlmunlock.c | 167 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()
|
D | dlmcommon.h | 333 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
|
D | dlmrecovery.c | 1205 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 …]
|
D | dlmapi.h | 115 char lvb[DLM_LVB_LEN]; member
|
D | dlmdebug.c | 536 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
|
D | dlmmaster.c | 596 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
|
/fs/dlm/ |
D | user.c | 50 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/ |
D | lock_dlm.c | 486 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()
|