Home
last modified time | relevance | path

Searched refs:DLM_LVB_LEN (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/ocfs2/dlmfs/
Ddlmfs.c228 char lvb[DLM_LVB_LEN]; in dlmfs_file_read()
241 char lvb_buf[DLM_LVB_LEN]; in dlmfs_file_write()
248 if (*ppos >= DLM_LVB_LEN) in dlmfs_file_write()
252 if (count > DLM_LVB_LEN - *ppos) in dlmfs_file_write()
253 count = DLM_LVB_LEN - *ppos; in dlmfs_file_write()
378 i_size_write(inode, DLM_LVB_LEN); in dlmfs_get_inode()
Duserdlm.c542 BUG_ON(len > DLM_LVB_LEN); in user_dlm_write_lvb()
564 memcpy(val, lvb, DLM_LVB_LEN); in user_dlm_read_lvb()
/linux-6.1.9/fs/ocfs2/dlm/
Ddlmapi.h90 #define DLM_LVB_LEN 64 macro
98 char lvb[DLM_LVB_LEN];
Ddlmcommon.h313 char lvb[DLM_LVB_LEN];
369 for (i=0; i<DLM_LVB_LEN; i++) in dlm_lvb_is_empty()
560 u8 lvb[DLM_LVB_LEN];
601 #define DLM_CONVERT_LOCK_MAX_LEN (sizeof(struct dlm_convert_lock)+DLM_LVB_LEN)
616 #define DLM_UNLOCK_LOCK_MAX_LEN (sizeof(struct dlm_unlock_lock)+DLM_LVB_LEN)
632 #define DLM_PROXY_AST_MAX_LEN (sizeof(struct dlm_proxy_ast)+DLM_LVB_LEN)
675 u8 reco_lvb[DLM_LVB_LEN];
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()
447 vec[1].iov_len = DLM_LVB_LEN; in dlm_send_proxy_ast_msg()
Ddlmconvert.c196 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master()
379 vec[1].iov_len = DLM_LVB_LEN; 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()
345 vec[1].iov_len = DLM_LVB_LEN; in dlm_send_remote_unlock_request()
491 memcpy(&lksb->lvb[0], &unlock->lvb[0], DLM_LVB_LEN); in dlm_unlock_lock_handler()
Ddlmrecovery.c1187 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()
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()
1952 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) { in dlm_process_recovery_data()
1959 for (i=0; i<DLM_LVB_LEN; i++) in dlm_process_recovery_data()
1962 for (i=0; i<DLM_LVB_LEN; i++) in dlm_process_recovery_data()
1968 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN); in dlm_process_recovery_data()
2239 memset(lock->lksb->lvb, 0, DLM_LVB_LEN); in dlm_revalidate_lvb()
2248 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_revalidate_lvb()
Ddlmdebug.c517 for (i = 0; i < DLM_LVB_LEN; i++) in dump_lockres()
Ddlmmaster.c574 memset(res->lvb, 0, DLM_LVB_LEN); in dlm_init_lockres()
/linux-6.1.9/fs/ocfs2/
Dstackglue.h58 char lvb[DLM_LVB_LEN];
Dstack_user.c114 char oc_lvb[DLM_LVB_LEN];
994 DLM_LSFL_NEWEXCL, DLM_LVB_LEN, in user_cluster_connect()
Ddlmglue.c3196 for(i = 0; i < DLM_LVB_LEN; i++) in ocfs2_dlm_seq_show()