Lines Matching refs:dlm_ls

37 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len)  in dlm_control_store()
63 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
74 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
79 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
88 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
93 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
105 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
111 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
118 ssize_t (*show)(struct dlm_ls *, char *);
119 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()
232 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_uevent()
262 static struct dlm_ls *find_ls_to_scan(void) in find_ls_to_scan()
264 struct dlm_ls *ls; in find_ls_to_scan()
280 struct dlm_ls *ls; in dlm_scand()
319 struct dlm_ls *dlm_find_lockspace_global(uint32_t id) in dlm_find_lockspace_global()
321 struct dlm_ls *ls; in dlm_find_lockspace_global()
337 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) in dlm_find_lockspace_local()
339 struct dlm_ls *ls; in dlm_find_lockspace_local()
354 struct dlm_ls *dlm_find_lockspace_device(int minor) in dlm_find_lockspace_device()
356 struct dlm_ls *ls; in dlm_find_lockspace_device()
371 void dlm_put_lockspace(struct dlm_ls *ls) in dlm_put_lockspace()
378 static void remove_lockspace(struct dlm_ls *ls) in remove_lockspace()
429 struct dlm_ls *ls; in new_lockspace()
494 ls = kzalloc(sizeof(struct dlm_ls) + namelen, GFP_NOFS); in new_lockspace()
752 static int lockspace_busy(struct dlm_ls *ls, int force) in lockspace_busy()
768 static int release_lockspace(struct dlm_ls *ls, int force) in release_lockspace()
882 struct dlm_ls *ls; in dlm_release_lockspace()
903 struct dlm_ls *ls; in dlm_stop_lockspaces()