Home
last modified time | relevance | path

Searched refs:ldlm_namespace (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/lustre/lustre/ldlm/
Dldlm_internal.h81 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) in ldlm_ns_empty()
86 void ldlm_namespace_move_to_active_locked(struct ldlm_namespace *, ldlm_side_t);
87 void ldlm_namespace_move_to_inactive_locked(struct ldlm_namespace *,
89 struct ldlm_namespace *ldlm_namespace_first_locked(ldlm_side_t);
102 int ldlm_cancel_lru(struct ldlm_namespace *ns, int nr,
104 int ldlm_cancel_lru_local(struct ldlm_namespace *ns,
111 void ldlm_namespace_free_prior(struct ldlm_namespace *ns,
113 void ldlm_namespace_free_post(struct ldlm_namespace *ns);
135 ldlm_lock_create(struct ldlm_namespace *ns, const struct ldlm_res_id *,
139 ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *, struct ldlm_lock **,
[all …]
Dldlm_resource.c158 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in resource_count_show()
174 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_count_show()
188 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_unused_count_show()
198 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_show()
210 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_store()
295 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_show()
304 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_store()
323 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_show()
334 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_store()
364 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in ldlm_ns_release()
[all …]
Dldlm_pool.c179 static inline struct ldlm_namespace *ldlm_pl2ns(struct ldlm_pool *pl) in ldlm_pl2ns()
181 return container_of(pl, struct ldlm_namespace, ns_pool); in ldlm_pl2ns()
341 struct ldlm_namespace *ns; in ldlm_cli_pool_shrink()
561 struct ldlm_namespace *ns = ldlm_pl2ns(pl); in ldlm_pool_sysfs_init()
573 struct ldlm_namespace *ns = ldlm_pl2ns(pl); in ldlm_pool_debugfs_init()
671 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, in ldlm_pool_init()
816 struct ldlm_namespace *ns; in ldlm_pools_count()
817 struct ldlm_namespace *ns_old = NULL; /* loop detection */ in ldlm_pools_count()
870 struct ldlm_namespace *ns; in ldlm_pools_scan()
930 struct ldlm_namespace *ns; in ldlm_pools_recalc()
[all …]
Dldlm_request.c287 static void failed_lock_cleanup(struct ldlm_namespace *ns, in failed_lock_cleanup()
338 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini()
575 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req()
660 struct ldlm_namespace *ns; in ldlm_cli_enqueue()
1013 struct ldlm_namespace *ns; in ldlm_cli_cancel()
1108 static ldlm_policy_res_t ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, in ldlm_cancel_no_wait_policy()
1144 static ldlm_policy_res_t ldlm_cancel_lrur_policy(struct ldlm_namespace *ns, in ldlm_cancel_lrur_policy()
1183 static ldlm_policy_res_t ldlm_cancel_passed_policy(struct ldlm_namespace *ns, in ldlm_cancel_passed_policy()
1203 static ldlm_policy_res_t ldlm_cancel_aged_policy(struct ldlm_namespace *ns, in ldlm_cancel_aged_policy()
1224 static ldlm_policy_res_t ldlm_cancel_default_policy(struct ldlm_namespace *ns, in ldlm_cancel_default_policy()
[all …]
Dldlm_lockd.c104 struct ldlm_namespace *blwi_ns;
119 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, in ldlm_handle_bl_callback()
158 struct ldlm_namespace *ns, in ldlm_handle_cp_callback()
307 struct ldlm_namespace *ns, in ldlm_handle_gl_callback()
382 struct ldlm_namespace *ns, in init_blwi()
416 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, in ldlm_bl_to_thread()
446 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_lock()
452 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_list()
536 struct ldlm_namespace *ns; in ldlm_callback_handler()
Dldlm_lock.c219 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru_nolock()
235 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru()
249 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru_nolock()
267 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru()
280 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_touch_in_lru()
464 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, in ldlm_lock_change_resource()
779 struct ldlm_namespace *ns; in ldlm_lock_decref_internal()
1202 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match()
1461 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, in ldlm_lock_create()
1524 ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *ns, in ldlm_lock_enqueue()
[all …]
Dldlm_flock.c140 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_process_flock_lock()
/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h197 struct ldlm_namespace;
305 struct ldlm_namespace *nsb_namespace;
358 struct ldlm_namespace { struct
466 static inline int ns_connect_cancelset(struct ldlm_namespace *ns) in ns_connect_cancelset() argument
475 static inline int ns_connect_lru_resize(struct ldlm_namespace *ns) in ns_connect_lru_resize()
481 static inline void ns_register_cancel(struct ldlm_namespace *ns, in ns_register_cancel()
893 ldlm_ns_name(struct ldlm_namespace *ns) in ldlm_ns_name()
898 static inline struct ldlm_namespace *
904 static inline struct ldlm_namespace *
924 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_lvbo_init()
[all …]
Dlustre_fid.h388 struct ldlm_namespace;
Dobd.h756 struct ldlm_namespace *obd_namespace;
/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpc_internal.h44 struct ldlm_namespace;
/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused()
Dmdc_locks.c192 struct ldlm_namespace *ns = class_exp2obd(exp)->obd_namespace; in mdc_null_inode()
Dmdc_request.c2201 struct ldlm_namespace *ns = obd->obd_namespace; in mdc_import_event()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1065 struct ldlm_namespace *ns = obd->obd_namespace; in mgc_import_event()
/drivers/staging/lustre/lustre/osc/
Dosc_request.c636 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in osc_resource_get_unused()
3017 struct ldlm_namespace *ns = obd->obd_namespace; in osc_import_event()