Lines Matching defs:ls
62 #define log_error(ls, fmt, args...) \
63 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
65 #define log_rinfo(ls, fmt, args...) \
69 (ls)->ls_name, ##args); \
72 (ls)->ls_name , ##args); \
75 #define log_debug(ls, fmt, args...) \
79 (ls)->ls_name , ##args); \
82 #define log_limit(ls, fmt, args...) \
86 (ls)->ls_name , ##args); \
104 * Lockspace member (per node in a ls)
577 the dlm using this ls */
612 struct list_head ls_nodes; /* current nodes in ls */
614 int ls_num_nodes; /* number of nodes in ls */
737 static inline int dlm_locking_stopped(struct dlm_ls *ls)
739 return !test_bit(LSFL_RUNNING, &ls->ls_flags);
742 static inline int dlm_recovery_stopped(struct dlm_ls *ls)
744 return test_bit(LSFL_RECOVER_STOP, &ls->ls_flags);
747 static inline int dlm_no_directory(struct dlm_ls *ls)
749 return test_bit(LSFL_NODIR, &ls->ls_flags);
828 void dlm_create_debug_file(struct dlm_ls *ls);
829 void dlm_delete_debug_file(struct dlm_ls *ls);
835 static inline void dlm_create_debug_file(struct dlm_ls *ls) { }
836 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { }