Lines Matching refs:dlm_ls
36 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
62 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
73 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
78 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
87 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
92 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
104 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
110 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
117 ssize_t (*show)(struct dlm_ls *, char *);
118 ssize_t (*store)(struct dlm_ls *, const char *, size_t);
167 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show()
175 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store()
182 struct dlm_ls *ls = container_of(k, struct dlm_ls, ls_kobj); in lockspace_kobj_release()
199 static int do_uevent(struct dlm_ls *ls, int in) in do_uevent()
222 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_uevent()
252 static struct dlm_ls *find_ls_to_scan(void) in find_ls_to_scan()
254 struct dlm_ls *ls; in find_ls_to_scan()
270 struct dlm_ls *ls; in dlm_scand()
309 struct dlm_ls *dlm_find_lockspace_global(uint32_t id) in dlm_find_lockspace_global()
311 struct dlm_ls *ls; in dlm_find_lockspace_global()
327 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) in dlm_find_lockspace_local()
329 struct dlm_ls *ls; in dlm_find_lockspace_local()
344 struct dlm_ls *dlm_find_lockspace_device(int minor) in dlm_find_lockspace_device()
346 struct dlm_ls *ls; in dlm_find_lockspace_device()
361 void dlm_put_lockspace(struct dlm_ls *ls) in dlm_put_lockspace()
368 static void remove_lockspace(struct dlm_ls *ls) in remove_lockspace()
413 struct dlm_ls *ls; in new_lockspace()
478 ls = kzalloc(sizeof(struct dlm_ls) + namelen, GFP_NOFS); in new_lockspace()
742 static int lockspace_busy(struct dlm_ls *ls, int force) in lockspace_busy()
758 static int release_lockspace(struct dlm_ls *ls, int force) in release_lockspace()
879 struct dlm_ls *ls; in dlm_release_lockspace()
900 struct dlm_ls *ls; in dlm_stop_lockspaces()