Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Ddlmglue.c116 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 …]
Dstack_user.c782 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()
Dstackglue.h58 char lvb[DLM_LVB_LEN]; member
Dstack_o2cb.c241 return (void *)(lksb->lksb_o2dlm.lvb); in o2cb_dlm_lvb()
/linux-6.1.9/fs/ocfs2/dlmfs/
Duserdlm.c540 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()
Ddlmfs.c228 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/
Ddlmast.c180 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()
Ddlmconvert.c196 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()
Ddlmunlock.c151 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()
Ddlmcommon.h313 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
Ddlmrecovery.c1186 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 …]
Ddlmapi.h98 char lvb[DLM_LVB_LEN]; member
Ddlmdebug.c519 "%02x", (unsigned char)res->lvb[i]); in dump_lockres()
Ddlmmaster.c574 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
/linux-6.1.9/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()
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/
Ddlm_device.h47 char lvb[DLM_USER_LVB_LEN]; member
/linux-6.1.9/fs/gfs2/
Dlock_dlm.c505 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()