dlm_internal.h (eef7d739c218cb2546cf95686db77de0d76e4122) dlm_internal.h (163a1859ec6c4c33547bf4613efabf52031566aa)
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 402 unchanged lines hidden (view full) ---

411
412struct rcom_config {
413 uint32_t rf_lvblen;
414 uint32_t rf_lsflags;
415 uint64_t rf_unused;
416};
417
418struct rcom_lock {
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 402 unchanged lines hidden (view full) ---

411
412struct rcom_config {
413 uint32_t rf_lvblen;
414 uint32_t rf_lsflags;
415 uint64_t rf_unused;
416};
417
418struct rcom_lock {
419 uint32_t rl_ownpid;
420 uint32_t rl_lkid;
421 uint32_t rl_remid;
422 uint32_t rl_parent_lkid;
423 uint32_t rl_parent_remid;
424 uint32_t rl_exflags;
425 uint32_t rl_flags;
426 uint32_t rl_lvbseq;
427 int rl_result;
419 __le32 rl_ownpid;
420 __le32 rl_lkid;
421 __le32 rl_remid;
422 __le32 rl_parent_lkid;
423 __le32 rl_parent_remid;
424 __le32 rl_exflags;
425 __le32 rl_flags;
426 __le32 rl_lvbseq;
427 __le32 rl_result;
428 int8_t rl_rqmode;
429 int8_t rl_grmode;
430 int8_t rl_status;
431 int8_t rl_asts;
428 int8_t rl_rqmode;
429 int8_t rl_grmode;
430 int8_t rl_status;
431 int8_t rl_asts;
432 uint16_t rl_wait_type;
433 uint16_t rl_namelen;
432 __le16 rl_wait_type;
433 __le16 rl_namelen;
434 char rl_name[DLM_RESNAME_MAXLEN];
435 char rl_lvb[0];
436};
437
438struct dlm_ls {
439 struct list_head ls_list; /* list of lockspaces */
440 dlm_lockspace_t *ls_local_handle;
441 uint32_t ls_global_id; /* global unique lockspace ID */

--- 155 unchanged lines hidden ---
434 char rl_name[DLM_RESNAME_MAXLEN];
435 char rl_lvb[0];
436};
437
438struct dlm_ls {
439 struct list_head ls_list; /* list of lockspaces */
440 dlm_lockspace_t *ls_local_handle;
441 uint32_t ls_global_id; /* global unique lockspace ID */

--- 155 unchanged lines hidden ---