/linux-6.1.9/fs/ocfs2/ |
D | dlmglue.c | 116 struct ocfs2_meta_lvb *lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in ocfs2_dump_meta_lvb_info() local 121 lvb->lvb_version, be32_to_cpu(lvb->lvb_iclusters), in ocfs2_dump_meta_lvb_info() 122 be32_to_cpu(lvb->lvb_igeneration)); in ocfs2_dump_meta_lvb_info() 124 (unsigned long long)be64_to_cpu(lvb->lvb_isize), in ocfs2_dump_meta_lvb_info() 125 be32_to_cpu(lvb->lvb_iuid), be32_to_cpu(lvb->lvb_igid), in ocfs2_dump_meta_lvb_info() 126 be16_to_cpu(lvb->lvb_imode)); in ocfs2_dump_meta_lvb_info() 128 "mtime_packed 0x%llx iattr 0x%x\n", be16_to_cpu(lvb->lvb_inlink), in ocfs2_dump_meta_lvb_info() 129 (long long)be64_to_cpu(lvb->lvb_iatime_packed), in ocfs2_dump_meta_lvb_info() 130 (long long)be64_to_cpu(lvb->lvb_ictime_packed), in ocfs2_dump_meta_lvb_info() 131 (long long)be64_to_cpu(lvb->lvb_imtime_packed), in ocfs2_dump_meta_lvb_info() [all …]
|
D | stack_user.c | 782 static void lvb_to_version(char *lvb, struct ocfs2_protocol_version *ver) in lvb_to_version() argument 785 (struct ocfs2_protocol_version *)lvb; in lvb_to_version() 794 static void version_to_lvb(struct ocfs2_protocol_version *ver, char *lvb) in version_to_lvb() argument 797 (struct ocfs2_protocol_version *)lvb; in version_to_lvb()
|
D | stackglue.h | 58 char lvb[DLM_LVB_LEN]; member
|
D | stack_o2cb.c | 241 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
|
/linux-6.1.9/fs/ocfs2/dlmfs/ |
D | userdlm.c | 540 char *lvb; in user_dlm_write_lvb() local 547 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_write_lvb() 548 memcpy(lvb, val, len); in user_dlm_write_lvb() 556 char *lvb; in user_dlm_read_lvb() local 563 lvb = ocfs2_dlm_lvb(&lockres->l_lksb); in user_dlm_read_lvb() 564 memcpy(val, lvb, DLM_LVB_LEN); in user_dlm_read_lvb()
|
D | dlmfs.c | 228 char lvb[DLM_LVB_LEN]; in dlmfs_file_read() local 230 if (!user_dlm_read_lvb(file_inode(file), lvb)) in dlmfs_file_read() 233 return simple_read_from_buffer(buf, count, ppos, lvb, sizeof(lvb)); in dlmfs_file_read()
|
/linux-6.1.9/fs/ocfs2/dlm/ |
D | dlmast.c | 180 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb() 401 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN); in dlm_proxy_ast_handler() 448 vec[1].iov_base = lock->lksb->lvb; in dlm_send_proxy_ast_msg()
|
D | dlmconvert.c | 196 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master() 380 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request() 508 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
|
D | dlmunlock.c | 151 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN); in dlmunlock_common() 346 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()
|
D | dlmcommon.h | 313 char lvb[DLM_LVB_LEN]; member 366 static inline int dlm_lvb_is_empty(char *lvb) in dlm_lvb_is_empty() argument 370 if (lvb[i]) in dlm_lvb_is_empty() 560 u8 lvb[DLM_LVB_LEN]; member 599 s8 lvb[]; member 614 s8 lvb[]; member 630 s8 lvb[]; member
|
D | dlmrecovery.c | 1186 if (dlm_lvb_is_empty(mres->lvb)) { in dlm_prepare_lvb_for_migration() 1187 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN); in dlm_prepare_lvb_for_migration() 1192 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN)) in dlm_prepare_lvb_for_migration() 1934 if (!dlm_lvb_is_empty(mres->lvb)) { in dlm_process_recovery_data() 1939 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data() 1944 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data() 1950 if (!dlm_lvb_is_empty(res->lvb) && in dlm_process_recovery_data() 1952 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) { in dlm_process_recovery_data() 1960 printk("%02x", res->lvb[i]); in dlm_process_recovery_data() 1963 printk("%02x", mres->lvb[i]); in dlm_process_recovery_data() [all …]
|
D | dlmapi.h | 98 char lvb[DLM_LVB_LEN]; member
|
D | dlmdebug.c | 519 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
|
D | dlmmaster.c | 574 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
|
/linux-6.1.9/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() 278 params->lkid, params->lvb, in device_user_lock() 283 params->lkid, params->lvb); in device_user_lock() 334 params->lvb); in device_user_unlock()
|
/linux-6.1.9/include/uapi/linux/ |
D | dlm_device.h | 47 char lvb[DLM_USER_LVB_LEN]; member
|
/linux-6.1.9/fs/gfs2/ |
D | lock_dlm.c | 505 static int all_jid_bits_clear(char *lvb) in all_jid_bits_clear() argument 507 return !memchr_inv(lvb + JID_BITMAP_OFFSET, 0, in all_jid_bits_clear()
|