Lines Matching defs:dlm_ls
562 struct dlm_ls { struct
563 struct list_head ls_list; /* list of lockspaces */
564 uint32_t ls_global_id; /* global unique lockspace ID */
565 uint32_t ls_generation;
566 uint32_t ls_exflags;
567 int ls_lvblen;
568 atomic_t ls_count; /* refcount of processes in
570 wait_queue_head_t ls_count_wait;
571 int ls_create_count; /* create/release refcount */
572 unsigned long ls_flags; /* LSFL_ */
573 struct kobject ls_kobj;
575 struct xarray ls_lkbxa;
576 rwlock_t ls_lkbxa_lock;
580 struct rhashtable ls_rsbtbl;
581 rwlock_t ls_rsbtbl_lock; /* for ls_rsbtbl and ls_slow */
582 struct list_head ls_slow_inactive; /* to iterate rsbtbl */
583 struct list_head ls_slow_active; /* to iterate rsbtbl */
585 struct timer_list ls_scan_timer; /* based on first scan_list rsb toss_time */
586 struct list_head ls_scan_list; /* rsbs ordered by res_toss_time */
587 spinlock_t ls_scan_lock;
589 spinlock_t ls_waiters_lock;
590 struct list_head ls_waiters; /* lkbs needing a reply */
592 spinlock_t ls_orphans_lock;
593 struct list_head ls_orphans;
595 struct list_head ls_nodes; /* current nodes in ls */
596 struct list_head ls_nodes_gone; /* dead node list, recovery */
597 int ls_num_nodes; /* number of nodes in ls */
598 int ls_low_nodeid;
599 int ls_total_weight;
600 int *ls_node_array;
602 int ls_slot;
603 int ls_num_slots;
604 int ls_slots_size;
605 struct dlm_slot *ls_slots;
607 struct dlm_rsb ls_local_rsb; /* for returning errors */
608 struct dlm_lkb ls_local_lkb; /* for returning errors */
609 struct dlm_message ls_local_ms; /* for faking a reply */
611 struct dentry *ls_debug_rsb_dentry; /* debugfs */
612 struct dentry *ls_debug_waiters_dentry; /* debugfs */
613 struct dentry *ls_debug_locks_dentry; /* debugfs */
614 struct dentry *ls_debug_all_dentry; /* debugfs */
615 struct dentry *ls_debug_toss_dentry; /* debugfs */
616 struct dentry *ls_debug_queued_asts_dentry; /* debugfs */
618 wait_queue_head_t ls_uevent_wait; /* user part of join/leave */
619 int ls_uevent_result;
620 struct completion ls_recovery_done;
621 int ls_recovery_result;
623 struct miscdevice ls_device;
625 struct workqueue_struct *ls_callback_wq;
629 spinlock_t ls_cb_lock;
630 struct list_head ls_cb_delay; /* save for queue_work later */
631 struct task_struct *ls_recoverd_task;
632 struct mutex ls_recoverd_active;
633 spinlock_t ls_recover_lock;
634 unsigned long ls_recover_begin; /* jiffies timestamp */
635 uint32_t ls_recover_status; /* DLM_RS_ */
636 uint64_t ls_recover_seq;
637 struct dlm_recover *ls_recover_args;
638 struct rw_semaphore ls_in_recovery; /* block local requests */
639 rwlock_t ls_recv_active; /* block dlm_recv */
640 struct list_head ls_requestqueue;/* queue remote requests */
641 rwlock_t ls_requestqueue_lock;
642 struct dlm_rcom *ls_recover_buf;
643 int ls_recover_nodeid; /* for debugging */
644 unsigned int ls_recover_locks_in; /* for log info */
645 uint64_t ls_rcom_seq;
646 spinlock_t ls_rcom_spin;
647 struct list_head ls_recover_list;
671 * LSFL_RECOVER_STOP - dlm_ls_stop() sets this to tell dlm recovery routines argument