Lines Matching refs:dlm_ls

35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len)  in dlm_control_store()
61 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
72 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
77 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
86 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
91 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
103 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
109 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
116 ssize_t (*show)(struct dlm_ls *, char *);
117 ssize_t (*store)(struct dlm_ls *, const char *, size_t);
166 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show()
174 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store()
181 struct dlm_ls *ls = container_of(k, struct dlm_ls, ls_kobj); in lockspace_kobj_release()
198 static int do_uevent(struct dlm_ls *ls, int in) in do_uevent()
231 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_uevent()
261 static struct dlm_ls *find_ls_to_scan(void) in find_ls_to_scan()
263 struct dlm_ls *ls; in find_ls_to_scan()
279 struct dlm_ls *ls; in dlm_scand()
318 struct dlm_ls *dlm_find_lockspace_global(uint32_t id) in dlm_find_lockspace_global()
320 struct dlm_ls *ls; in dlm_find_lockspace_global()
336 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) in dlm_find_lockspace_local()
338 struct dlm_ls *ls; in dlm_find_lockspace_local()
353 struct dlm_ls *dlm_find_lockspace_device(int minor) in dlm_find_lockspace_device()
355 struct dlm_ls *ls; in dlm_find_lockspace_device()
370 void dlm_put_lockspace(struct dlm_ls *ls) in dlm_put_lockspace()
377 static void remove_lockspace(struct dlm_ls *ls) in remove_lockspace()
428 struct dlm_ls *ls; in new_lockspace()
493 ls = kzalloc(sizeof(struct dlm_ls) + namelen, GFP_NOFS); in new_lockspace()
749 static int lockspace_busy(struct dlm_ls *ls, int force) in lockspace_busy()
765 static int release_lockspace(struct dlm_ls *ls, int force) in release_lockspace()
880 struct dlm_ls *ls; in dlm_release_lockspace()
901 struct dlm_ls *ls; in dlm_stop_lockspaces()