/fs/ocfs2/ |
D | dlmglue.c | 117 struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_dump_meta_lvb_info() local 122 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters), in ocfs2_dump_meta_lvb_info() 123 be32_to_cpu(lvb->lvb_igeneration)); in ocfs2_dump_meta_lvb_info() 125 (unsigned long long)be64_to_cpu(lvb->lvb_isize), in ocfs2_dump_meta_lvb_info() 126 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid), in ocfs2_dump_meta_lvb_info() 127 be16_to_cpu(lvb->lvb_imode)); in ocfs2_dump_meta_lvb_info() 129 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb->lvb_inlink), in ocfs2_dump_meta_lvb_info() 130 (long long)be64_to_cpu(lvb->lvb_iatime_packed), in ocfs2_dump_meta_lvb_info() 131 (long long)be64_to_cpu(lvb->lvb_ictime_packed), in ocfs2_dump_meta_lvb_info() 132 (long long)be64_to_cpu(lvb->lvb_imtime_packed), in ocfs2_dump_meta_lvb_info() [all …]
|
D | stack_user.c | 790 static void lvb_to_version(char *lvb, struct ocfs2_protocol_version *ver) in lvb_to_version() argument 793 (struct ocfs2_protocol_version *)lvb; in lvb_to_version() 802 static void version_to_lvb(struct ocfs2_protocol_version *ver, char *lvb) in version_to_lvb() argument 805 (struct ocfs2_protocol_version *)lvb; in version_to_lvb()
|
D | stackglue.h | 60 char lvb[DLM_LVB_LEN]; member
|
D | stack_o2cb.c | 243 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
|
/fs/ocfs2/dlmfs/ |
D | userdlm.c | 542 char *lvb; in user_dlm_write_lvb() local 549 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_write_lvb() 550 memcpy(lvb, val, len); in user_dlm_write_lvb() 558 char *lvb; in user_dlm_read_lvb() local 565 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_read_lvb() 566 memcpy(val, lvb, DLM_LVB_LEN); in user_dlm_read_lvb()
|
D | dlmfs.c | 229 char lvb[DLM_LVB_LEN]; in dlmfs_file_read() local 231 if (!user_dlm_read_lvb(file_inode(file), lvb)) in dlmfs_file_read() 234 return simple_read_from_buffer(buf, count, ppos, lvb, sizeof(lvb)); in dlmfs_file_read()
|
/fs/ocfs2/dlm/ |
D | dlmconvert.c | 198 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master() 382 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request() 510 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
|
D | dlmast.c | 192 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb() 413 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN); in dlm_proxy_ast_handler() 460 vec[1].iov_base = lock->lksb->lvb; in dlm_send_proxy_ast_msg()
|
D | dlmunlock.c | 153 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 | 318 char lvb[DLM_LVB_LEN]; member 371 static inline int dlm_lvb_is_empty(char *lvb) in dlm_lvb_is_empty() argument 375 if (lvb[i]) in dlm_lvb_is_empty() 565 u8 lvb[DLM_LVB_LEN]; member 604 s8 lvb[]; member 619 s8 lvb[]; member 635 s8 lvb[]; member
|
D | dlmrecovery.c | 1195 if (dlm_lvb_is_empty(mres->lvb)) { in dlm_prepare_lvb_for_migration() 1196 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN); in dlm_prepare_lvb_for_migration() 1201 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN)) in dlm_prepare_lvb_for_migration() 1943 if (!dlm_lvb_is_empty(mres->lvb)) { in dlm_process_recovery_data() 1948 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data() 1953 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data() 1959 if (!dlm_lvb_is_empty(res->lvb) && in dlm_process_recovery_data() 1961 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) { in dlm_process_recovery_data() 1969 printk("%02x", res->lvb[i]); in dlm_process_recovery_data() 1972 printk("%02x", mres->lvb[i]); in dlm_process_recovery_data() [all …]
|
D | dlmapi.h | 100 char lvb[DLM_LVB_LEN]; member
|
D | dlmdebug.c | 521 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
|
D | dlmmaster.c | 576 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
|
/fs/dlm/ |
D | user.c | 48 char lvb[DLM_USER_LVB_LEN]; member 116 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 | 489 static int all_jid_bits_clear(char *lvb) in all_jid_bits_clear() argument 491 return !memchr_inv(lvb + JID_BITMAP_OFFSET, 0, in all_jid_bits_clear()
|