Lines Matching defs:dlm_ls

558 struct dlm_ls {  struct
559 struct list_head ls_list; /* list of lockspaces */
560 dlm_lockspace_t *ls_local_handle;
561 uint32_t ls_global_id; /* global unique lockspace ID */
562 uint32_t ls_generation;
563 uint32_t ls_exflags;
564 int ls_lvblen;
565 atomic_t ls_count; /* refcount of processes in
567 wait_queue_head_t ls_count_wait;
568 int ls_create_count; /* create/release refcount */
569 unsigned long ls_flags; /* LSFL_ */
570 unsigned long ls_scan_time;
571 struct kobject ls_kobj;
573 struct idr ls_lkbidr;
574 spinlock_t ls_lkbidr_spin;
576 struct dlm_rsbtable *ls_rsbtbl;
577 uint32_t ls_rsbtbl_size;
579 struct mutex ls_waiters_mutex;
580 struct list_head ls_waiters; /* lkbs needing a reply */
582 struct mutex ls_orphans_mutex;
583 struct list_head ls_orphans;
586 struct mutex ls_timeout_mutex;
587 struct list_head ls_timeout;
590 spinlock_t ls_new_rsb_spin;
591 int ls_new_rsb_count;
592 struct list_head ls_new_rsb; /* new rsb structs */
594 spinlock_t ls_remove_spin;
595 wait_queue_head_t ls_remove_wait;
596 char ls_remove_name[DLM_RESNAME_MAXLEN+1];
597 char *ls_remove_names[DLM_REMOVE_NAMES_MAX];
598 int ls_remove_len;
599 int ls_remove_lens[DLM_REMOVE_NAMES_MAX];
601 struct list_head ls_nodes; /* current nodes in ls */
602 struct list_head ls_nodes_gone; /* dead node list, recovery */
603 int ls_num_nodes; /* number of nodes in ls */
604 int ls_low_nodeid;
605 int ls_total_weight;
606 int *ls_node_array;
608 int ls_slot;
609 int ls_num_slots;
610 int ls_slots_size;
611 struct dlm_slot *ls_slots;
613 struct dlm_rsb ls_stub_rsb; /* for returning errors */
614 struct dlm_lkb ls_stub_lkb; /* for returning errors */
615 struct dlm_message ls_stub_ms; /* for faking a reply */
617 struct dentry *ls_debug_rsb_dentry; /* debugfs */
618 struct dentry *ls_debug_waiters_dentry; /* debugfs */
619 struct dentry *ls_debug_locks_dentry; /* debugfs */
620 struct dentry *ls_debug_all_dentry; /* debugfs */
621 struct dentry *ls_debug_toss_dentry; /* debugfs */
623 wait_queue_head_t ls_uevent_wait; /* user part of join/leave */
624 int ls_uevent_result;
625 struct completion ls_recovery_done;
626 int ls_recovery_result;
628 struct miscdevice ls_device;
630 struct workqueue_struct *ls_callback_wq;
634 struct mutex ls_cb_mutex;
635 struct list_head ls_cb_delay; /* save for queue_work later */
636 struct timer_list ls_timer;
637 struct task_struct *ls_recoverd_task;
638 struct mutex ls_recoverd_active;
639 spinlock_t ls_recover_lock;
640 unsigned long ls_recover_begin; /* jiffies timestamp */
641 uint32_t ls_recover_status; /* DLM_RS_ */
642 uint64_t ls_recover_seq;
643 struct dlm_recover *ls_recover_args;
644 struct rw_semaphore ls_in_recovery; /* block local requests */
645 struct rw_semaphore ls_recv_active; /* block dlm_recv */
646 struct list_head ls_requestqueue;/* queue remote requests */
647 atomic_t ls_requestqueue_cnt;
648 wait_queue_head_t ls_requestqueue_wait;
649 struct mutex ls_requestqueue_mutex;
650 struct dlm_rcom *ls_recover_buf;
651 int ls_recover_nodeid; /* for debugging */
652 unsigned int ls_recover_dir_sent_res; /* for log info */
653 unsigned int ls_recover_dir_sent_msg; /* for log info */
677 * LSFL_RECOVER_STOP - dlm_ls_stop() sets this to tell dlm recovery routines argument