/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_internal.h | 81 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 …]
|
D | ldlm_resource.c | 158 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 …]
|
D | ldlm_pool.c | 179 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 …]
|
D | ldlm_request.c | 287 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 …]
|
D | ldlm_lockd.c | 104 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()
|
D | ldlm_lock.c | 219 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 …]
|
D | ldlm_flock.c | 140 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_process_flock_lock()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 197 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 …]
|
D | lustre_fid.h | 388 struct ldlm_namespace;
|
D | obd.h | 756 struct ldlm_namespace *obd_namespace;
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpc_internal.h | 44 struct ldlm_namespace;
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_reint.c | 73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused()
|
D | mdc_locks.c | 192 struct ldlm_namespace *ns = class_exp2obd(exp)->obd_namespace; in mdc_null_inode()
|
D | mdc_request.c | 2201 struct ldlm_namespace *ns = obd->obd_namespace; in mdc_import_event()
|
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 1065 struct ldlm_namespace *ns = obd->obd_namespace; in mgc_import_event()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 636 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()
|