Home
last modified time | relevance | path

Searched refs:lu_env (Results 1 – 70 of 70) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dcl_object.h143 int (*cdo_req_init)(const struct lu_env *env, struct cl_device *dev,
322 int (*coo_page_init)(const struct lu_env *env, struct cl_object *obj,
331 int (*coo_lock_init)(const struct lu_env *env,
343 int (*coo_io_init)(const struct lu_env *env,
356 int (*coo_attr_get)(const struct lu_env *env, struct cl_object *obj,
369 int (*coo_attr_set)(const struct lu_env *env, struct cl_object *obj,
377 int (*coo_conf_set)(const struct lu_env *env, struct cl_object *obj,
387 int (*coo_glimpse)(const struct lu_env *env,
844 struct page *(*cpo_vmpage)(const struct lu_env *env,
855 int (*cpo_own)(const struct lu_env *env,
[all …]
Dlclient.h49 int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io,
114 int cl_is_normalio(const struct lu_env *env, const struct cl_io *io);
125 static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env) in ccc_env_info()
134 static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env) in ccc_env_thread_attr()
142 static inline struct cl_io *ccc_env_thread_io(const struct lu_env *env) in ccc_env_thread_io()
154 static inline struct ccc_session *ccc_env_session(const struct lu_env *env) in ccc_env_session()
163 static inline struct ccc_io *ccc_env_io(const struct lu_env *env) in ccc_env_io()
258 int ccc_device_init (const struct lu_env *env,
261 struct lu_device *ccc_device_fini (const struct lu_env *env,
263 struct lu_device *ccc_device_alloc(const struct lu_env *env,
[all …]
Dlustre_log.h86 int llog_init_handle(const struct lu_env *env, struct llog_handle *handle,
88 int llog_process(const struct lu_env *env, struct llog_handle *loghandle,
90 int llog_process_or_fork(const struct lu_env *env,
93 int llog_open(const struct lu_env *env, struct llog_ctxt *ctxt,
96 int llog_close(const struct lu_env *env, struct llog_handle *cathandle);
97 int llog_backup(const struct lu_env *env, struct obd_device *obd,
136 int llog_cat_close(const struct lu_env *env, struct llog_handle *cathandle);
137 int llog_cat_process(const struct lu_env *env, struct llog_handle *cat_llh,
141 int llog_setup(const struct lu_env *env, struct obd_device *obd,
144 int __llog_ctxt_put(const struct lu_env *env, struct llog_ctxt *ctxt);
[all …]
Dlu_object.h103 struct lu_env;
141 struct lu_object *(*ldo_object_alloc)(const struct lu_env *env,
147 int (*ldo_process_config)(const struct lu_env *env,
149 int (*ldo_recovery_complete)(const struct lu_env *,
158 int (*ldo_prepare)(const struct lu_env *,
192 typedef int (*lu_printer_t)(const struct lu_env *env,
210 int (*loo_object_init)(const struct lu_env *env,
218 int (*loo_object_start)(const struct lu_env *env,
225 void (*loo_object_delete)(const struct lu_env *env,
231 void (*loo_object_free)(const struct lu_env *env,
[all …]
Dlustre_fld.h132 __u32 flags, const struct lu_env *env);
136 const struct lu_env *env);
139 const struct lu_env *env);
Dobd.h969 int (*o_get_info)(const struct lu_env *env, struct obd_export *,
972 int (*o_set_info_async)(const struct lu_env *, struct obd_export *,
991 int (*o_connect)(const struct lu_env *env,
995 int (*o_reconnect)(const struct lu_env *env,
1015 int (*o_statfs)(const struct lu_env *, struct obd_export *exp,
1025 int (*o_create)(const struct lu_env *env, struct obd_export *exp,
1028 int (*o_destroy)(const struct lu_env *env, struct obd_export *exp,
1031 int (*o_setattr)(const struct lu_env *, struct obd_export *exp,
1036 int (*o_getattr)(const struct lu_env *env, struct obd_export *exp,
1042 int (*o_preprw)(const struct lu_env *env, int cmd,
[all …]
Dobd_class.h102 typedef int (*llog_cb_t)(const struct lu_env *, struct llog_handle *,
112 int class_config_llog_handler(const struct lu_env *env,
137 int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt,
412 static inline int obd_get_info(const struct lu_env *env, in obd_get_info()
427 static inline int obd_set_info_async(const struct lu_env *env, in obd_set_info_async()
472 struct lu_env env; in obd_setup()
514 struct lu_env env; in obd_precleanup()
542 struct lu_env env; in obd_cleanup()
590 struct lu_env env; in obd_process_config()
693 static inline int obd_create(const struct lu_env *env, struct obd_export *exp, in obd_create()
[all …]
Dlustre_net.h483 typedef int (*ptlrpc_interpterer_t)(const struct lu_env *env,
505 struct lu_env;
1518 static inline int ptlrpc_req_interpret(const struct lu_env *env, in ptlrpc_req_interpret()
1813 struct lu_env *t_env;
2178 struct lu_env pc_env;
2356 int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set);
2428 int (*cb)(const struct lu_env *, void *), void *data);
2821 int client_connect_import(const struct lu_env *env,
Dlustre_fid.h158 struct lu_env;
375 int seq_client_alloc_fid(const struct lu_env *env, struct lu_client_seq *seq,
378 int fid_is_local(const struct lu_env *env,
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h132 struct lu_env *emrg_env;
432 const struct lu_env *lse_env;
480 struct lu_env *sub_env;
582 int lov_object_init(const struct lu_env *env, struct lu_object *obj,
584 int lovsub_object_init(const struct lu_env *env, struct lu_object *obj,
586 int lov_lock_init(const struct lu_env *env, struct cl_object *obj,
588 int lov_io_init(const struct lu_env *env, struct cl_object *obj,
590 int lovsub_lock_init(const struct lu_env *env, struct cl_object *obj,
593 int lov_lock_init_raid0(const struct lu_env *env, struct cl_object *obj,
595 int lov_lock_init_empty(const struct lu_env *env, struct cl_object *obj,
[all …]
Dlov_object.c57 int (*llo_init)(const struct lu_env *env, struct lov_device *dev,
61 int (*llo_delete)(const struct lu_env *env, struct lov_object *lov,
63 void (*llo_fini)(const struct lu_env *env, struct lov_object *lov,
65 void (*llo_install)(const struct lu_env *env, struct lov_object *lov,
67 int (*llo_print)(const struct lu_env *env, void *cookie,
69 int (*llo_page_init)(const struct lu_env *env, struct cl_object *obj,
71 int (*llo_lock_init)(const struct lu_env *env,
74 int (*llo_io_init)(const struct lu_env *env,
76 int (*llo_getattr)(const struct lu_env *env, struct cl_object *obj,
80 static int lov_layout_wait(const struct lu_env *env, struct lov_object *lov);
[all …]
Dlovsub_lock.c55 static void lovsub_lock_fini(const struct lu_env *env, in lovsub_lock_fini()
65 static void lovsub_parent_lock(const struct lu_env *env, struct lov_lock *lov) in lovsub_parent_lock()
75 static void lovsub_parent_unlock(const struct lu_env *env, struct lov_lock *lov) in lovsub_parent_unlock()
90 static void lovsub_lock_state(const struct lu_env *env, in lovsub_lock_state()
115 static unsigned long lovsub_lock_weigh(const struct lu_env *env, in lovsub_lock_weigh()
190 int lov_sublock_modify(const struct lu_env *env, struct lov_lock *lov, in lov_sublock_modify()
223 static int lovsub_lock_modify(const struct lu_env *env, in lovsub_lock_modify()
246 static int lovsub_lock_closure(const struct lu_env *env, in lovsub_lock_closure()
273 static int lovsub_lock_delete_one(const struct lu_env *env, in lovsub_lock_delete_one()
381 static void lovsub_lock_delete(const struct lu_env *env, in lovsub_lock_delete()
[all …]
Dlovsub_dev.c53 static void lovsub_req_completion(const struct lu_env *env, in lovsub_req_completion()
67 static void lovsub_req_attr_set(const struct lu_env *env, in lovsub_req_attr_set()
93 static int lovsub_device_init(const struct lu_env *env, struct lu_device *d, in lovsub_device_init()
115 static struct lu_device *lovsub_device_fini(const struct lu_env *env, in lovsub_device_fini()
128 static struct lu_device *lovsub_device_free(const struct lu_env *env, in lovsub_device_free()
143 static int lovsub_req_init(const struct lu_env *env, struct cl_device *dev, in lovsub_req_init()
168 static struct lu_device *lovsub_device_alloc(const struct lu_env *env, in lovsub_device_alloc()
Dlov_io.c60 static void lov_io_sub_fini(const struct lu_env *env, struct lov_io *lio, in lov_io_sub_fini()
134 static int lov_io_sub_init(const struct lu_env *env, struct lov_io *lio, in lov_io_sub_init()
217 struct lov_io_sub *lov_sub_get(const struct lu_env *env, in lov_sub_get()
259 struct lov_io_sub *lov_page_subio(const struct lu_env *env, struct lov_io *lio, in lov_page_subio()
275 static int lov_io_subio_init(const struct lu_env *env, struct lov_io *lio, in lov_io_subio_init()
355 static void lov_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in lov_io_fini()
380 static int lov_io_iter_init(const struct lu_env *env, in lov_io_iter_init()
427 static int lov_io_rw_iter_init(const struct lu_env *env, in lov_io_rw_iter_init()
463 static int lov_io_call(const struct lu_env *env, struct lov_io *lio, in lov_io_call()
464 int (*iofunc)(const struct lu_env *, struct cl_io *)) in lov_io_call() argument
[all …]
Dlov_page.c66 static void lov_page_fini(const struct lu_env *env, in lov_page_fini()
82 static int lov_page_own(const struct lu_env *env, in lov_page_own()
101 static void lov_page_assume(const struct lu_env *env, in lov_page_assume()
107 static int lov_page_cache_add(const struct lu_env *env, in lov_page_cache_add()
130 static int lov_page_print(const struct lu_env *env, in lov_page_print()
151 static void lov_empty_page_fini(const struct lu_env *env, in lov_empty_page_fini()
157 int lov_page_init_raid0(const struct lu_env *env, struct cl_object *obj, in lov_page_init_raid0()
216 int lov_page_init_empty(const struct lu_env *env, struct cl_object *obj, in lov_page_init_empty()
Dlovsub_object.c55 int lovsub_object_init(const struct lu_env *env, struct lu_object *obj, in lovsub_object_init()
76 static void lovsub_object_free(const struct lu_env *env, struct lu_object *obj) in lovsub_object_free()
97 static int lovsub_object_print(const struct lu_env *env, void *cookie, in lovsub_object_print()
105 static int lovsub_attr_set(const struct lu_env *env, struct cl_object *obj, in lovsub_attr_set()
114 static int lovsub_object_glimpse(const struct lu_env *env, in lovsub_object_glimpse()
139 struct lu_object *lovsub_object_alloc(const struct lu_env *env, in lovsub_object_alloc()
Dlov_lock.c49 static struct cl_lock_closure *lov_closure_get(const struct lu_env *env,
52 static int lov_lock_unuse(const struct lu_env *env,
60 static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env, in lov_sublock_env_get()
103 static void lov_sublock_adopt(const struct lu_env *env, struct lov_lock *lck, in lov_sublock_adopt()
136 static struct cl_lock *lov_sublock_alloc(const struct lu_env *env, in lov_sublock_alloc()
182 static void lov_sublock_unlock(const struct lu_env *env, in lov_sublock_unlock()
192 static int lov_sublock_lock(const struct lu_env *env, in lov_sublock_lock()
288 static int lov_lock_sub_init(const struct lu_env *env, in lov_lock_sub_init()
361 static int lov_sublock_release(const struct lu_env *env, struct lov_lock *lck, in lov_sublock_release()
406 static void lov_sublock_hold(const struct lu_env *env, struct lov_lock *lck, in lov_sublock_hold()
[all …]
Dlov_dev.c121 static void lov_req_completion(const struct lu_env *env, in lov_req_completion()
196 static struct lu_device *lov_device_fini(const struct lu_env *env, in lov_device_fini()
218 static int lov_device_init(const struct lu_env *env, struct lu_device *d, in lov_device_init()
258 static int lov_req_init(const struct lu_env *env, struct cl_device *dev, in lov_req_init()
295 static struct lu_device *lov_device_free(const struct lu_env *env, in lov_device_free()
309 static void lov_cl_del_target(const struct lu_env *env, struct lu_device *dev, in lov_cl_del_target()
354 static int lov_expand_targets(const struct lu_env *env, struct lov_device *dev) in lov_expand_targets()
394 static int lov_cl_add_target(const struct lu_env *env, struct lu_device *dev, in lov_cl_add_target()
437 static int lov_process_config(const struct lu_env *env, in lov_process_config()
472 static struct lu_device *lov_device_alloc(const struct lu_env *env, in lov_device_alloc()
Dlovsub_page.c53 static void lovsub_page_fini(const struct lu_env *env, in lovsub_page_fini()
62 int lovsub_page_init(const struct lu_env *env, struct cl_object *obj, in lovsub_page_init()
Dlov_obd.c199 static int lov_connect(const struct lu_env *env, in lov_connect()
1021 static int lov_create(const struct lu_env *env, struct obd_export *exp, in lov_create()
1061 static int lov_destroy(const struct lu_env *env, struct obd_export *exp, in lov_destroy()
1364 static int lov_statfs(const struct lu_env *env, struct obd_export *exp, in lov_statfs()
1951 static int lov_get_info(const struct lu_env *env, struct obd_export *exp, in lov_get_info()
2059 static int lov_set_info_async(const struct lu_env *env, struct obd_export *exp, in lov_set_info_async()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h414 int osc_lock_init(const struct lu_env *env,
417 int osc_io_init (const struct lu_env *env,
419 int osc_req_init (const struct lu_env *env, struct cl_device *dev,
421 struct lu_object *osc_object_alloc(const struct lu_env *env,
424 int osc_page_init(const struct lu_env *env, struct cl_object *obj,
429 int osc_lvb_print (const struct lu_env *env, void *cookie,
432 void osc_page_submit(const struct lu_env *env, struct osc_page *opg,
434 int osc_cancel_async_page(const struct lu_env *env, struct osc_page *ops);
439 int osc_queue_async_io(const struct lu_env *env, struct cl_io *io,
441 int osc_teardown_async_page(const struct lu_env *env, struct osc_object *obj,
[all …]
Dosc_page.c47 static int osc_lru_reserve(const struct lu_env *env, struct osc_object *obj,
62 static int osc_page_is_dlocked(const struct lu_env *env,
99 static int osc_page_protected(const struct lu_env *env,
152 static int osc_page_protected(const struct lu_env *env, in osc_page_protected()
165 static void osc_page_fini(const struct lu_env *env, in osc_page_fini()
184 static void osc_page_transfer_put(const struct lu_env *env, in osc_page_transfer_put()
201 static void osc_page_transfer_add(const struct lu_env *env, in osc_page_transfer_add()
216 static int osc_page_cache_add(const struct lu_env *env, in osc_page_cache_add()
254 static int osc_page_addref_lock(const struct lu_env *env, in osc_page_addref_lock()
275 static void osc_page_putref_lock(const struct lu_env *env, in osc_page_putref_lock()
[all …]
Dosc_io.c62 static struct osc_io *cl2osc_io(const struct lu_env *env, in cl2osc_io()
87 static void osc_io_fini(const struct lu_env *env, const struct cl_io_slice *io) in osc_io_fini()
98 static int osc_io_submit(const struct lu_env *env, in osc_io_submit()
188 static void osc_page_touch_at(const struct lu_env *env, in osc_page_touch_at()
232 static void osc_page_touch(const struct lu_env *env, in osc_page_touch()
255 static int osc_io_prepare_write(const struct lu_env *env, in osc_io_prepare_write()
281 static int osc_io_commit_write(const struct lu_env *env, in osc_io_commit_write()
310 static int osc_io_fault_start(const struct lu_env *env, in osc_io_fault_start()
343 static int trunc_check_cb(const struct lu_env *env, struct cl_io *io, in trunc_check_cb()
373 static void osc_trunc_check(const struct lu_env *env, struct cl_io *io, in osc_trunc_check()
[all …]
Dosc_lock.c63 static void osc_lock_to_lockless(const struct lu_env *env,
146 static void osc_lock_detach(const struct lu_env *env, struct osc_lock *olck) in osc_lock_detach()
201 static int osc_lock_unuse(const struct lu_env *env, in osc_lock_unuse()
237 static void osc_lock_fini(const struct lu_env *env, in osc_lock_fini()
257 static void osc_lock_build_policy(const struct lu_env *env, in osc_lock_build_policy()
318 static void osc_ast_data_put(const struct lu_env *env, struct osc_lock *olck) in osc_ast_data_put()
337 static void osc_lock_lvb_update(const struct lu_env *env, struct osc_lock *olck, in osc_lock_lvb_update()
401 static void osc_lock_granted(const struct lu_env *env, struct osc_lock *olck, in osc_lock_granted()
441 static void osc_lock_upcall0(const struct lu_env *env, struct osc_lock *olck) in osc_lock_upcall0()
488 struct lu_env *env; in osc_lock_upcall()
[all …]
Dosc_object.c72 static int osc_object_init(const struct lu_env *env, struct lu_object *obj, in osc_object_init()
103 static void osc_object_free(const struct lu_env *env, struct lu_object *obj) in osc_object_free()
128 int osc_lvb_print(const struct lu_env *env, void *cookie, in osc_lvb_print()
136 static int osc_object_print(const struct lu_env *env, void *cookie, in osc_object_print()
151 static int osc_attr_get(const struct lu_env *env, struct cl_object *obj, in osc_attr_get()
161 int osc_attr_set(const struct lu_env *env, struct cl_object *obj, in osc_attr_set()
185 static int osc_object_glimpse(const struct lu_env *env, in osc_object_glimpse()
251 struct lu_object *osc_object_alloc(const struct lu_env *env, in osc_object_alloc()
Dosc_dev.c173 static int osc_cl_process_config(const struct lu_env *env, in osc_cl_process_config()
189 static int osc_device_init(const struct lu_env *env, struct lu_device *d, in osc_device_init()
195 static struct lu_device *osc_device_fini(const struct lu_env *env, in osc_device_fini()
201 static struct lu_device *osc_device_free(const struct lu_env *env, in osc_device_free()
211 static struct lu_device *osc_device_alloc(const struct lu_env *env, in osc_device_alloc()
Dosc_cache.c50 static int osc_extent_wait(const struct lu_env *env, struct osc_extent *ext,
52 static void osc_ap_completion(const struct lu_env *env, struct client_obd *cli,
54 static int osc_make_ready(const struct lu_env *env, struct osc_async_page *oap,
56 static int osc_refresh_count(const struct lu_env *env,
58 static int osc_io_unplug_async(const struct lu_env *env,
378 static void osc_extent_put(const struct lu_env *env, struct osc_extent *ext) in osc_extent_put()
526 static int osc_extent_merge(const struct lu_env *env, struct osc_extent *cur, in osc_extent_merge()
577 void osc_extent_release(const struct lu_env *env, struct osc_extent *ext) in osc_extent_release()
622 struct osc_extent *osc_extent_find(const struct lu_env *env, in osc_extent_find()
832 int osc_extent_finish(const struct lu_env *env, struct osc_extent *ext, in osc_extent_finish()
[all …]
Dosc_internal.h46 struct lu_env;
92 int osc_create(const struct lu_env *env, struct obd_export *exp,
134 int osc_build_rpc(const struct lu_env *env, struct client_obd *cli,
Dosc_request.c105 static int brw_interpret(const struct lu_env *env,
213 static int osc_getattr_interpret(const struct lu_env *env, in osc_getattr_interpret()
271 static int osc_getattr(const struct lu_env *env, struct obd_export *exp, in osc_getattr()
314 static int osc_setattr(const struct lu_env *env, struct obd_export *exp, in osc_setattr()
355 static int osc_setattr_interpret(const struct lu_env *env, in osc_setattr_interpret()
564 static int osc_sync_interpret(const struct lu_env *env, in osc_sync_interpret()
663 static int osc_destroy_interpret(const struct lu_env *env, in osc_destroy_interpret()
692 int osc_create(const struct lu_env *env, struct obd_export *exp, in osc_create()
726 static int osc_destroy(const struct lu_env *env, struct obd_export *exp, in osc_destroy()
860 static int osc_set_info_async(const struct lu_env *env, struct obd_export *exp,
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_page.c63 static void vvp_page_fini(const struct lu_env *env, in vvp_page_fini()
77 static int vvp_page_own(const struct lu_env *env, in vvp_page_own()
102 static void vvp_page_assume(const struct lu_env *env, in vvp_page_assume()
113 static void vvp_page_unassume(const struct lu_env *env, in vvp_page_unassume()
123 static void vvp_page_disown(const struct lu_env *env, in vvp_page_disown()
134 static void vvp_page_discard(const struct lu_env *env, in vvp_page_discard()
157 static int vvp_page_unmap(const struct lu_env *env, in vvp_page_unmap()
176 static void vvp_page_delete(const struct lu_env *env, in vvp_page_delete()
196 static void vvp_page_export(const struct lu_env *env, in vvp_page_export()
210 static int vvp_page_is_vmlocked(const struct lu_env *env, in vvp_page_is_vmlocked()
[all …]
Dvvp_internal.h45 int vvp_io_init (const struct lu_env *env,
47 int vvp_lock_init (const struct lu_env *env,
50 int vvp_page_init (const struct lu_env *env,
53 struct lu_object *vvp_object_alloc(const struct lu_env *env,
Dvvp_io.c49 static struct vvp_io *cl2vvp_io(const struct lu_env *env,
55 int cl_is_normalio(const struct lu_env *env, const struct cl_io *io) in cl_is_normalio()
70 static bool can_populate_pages(const struct lu_env *env, struct cl_io *io, in can_populate_pages()
103 static int vvp_io_fault_iter_init(const struct lu_env *env, in vvp_io_fault_iter_init()
115 static void vvp_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in vvp_io_fini()
176 static void vvp_io_fault_fini(const struct lu_env *env, in vvp_io_fault_fini()
204 static int vvp_mmap_locks(const struct lu_env *env, in vvp_mmap_locks()
287 static int vvp_io_rw_lock(const struct lu_env *env, struct cl_io *io, in vvp_io_rw_lock()
306 static int vvp_io_read_lock(const struct lu_env *env, in vvp_io_read_lock()
319 static int vvp_io_fault_lock(const struct lu_env *env, in vvp_io_fault_lock()
[all …]
Dvvp_object.c56 static int vvp_object_print(const struct lu_env *env, void *cookie, in vvp_object_print()
77 static int vvp_attr_get(const struct lu_env *env, struct cl_object *obj, in vvp_attr_get()
99 static int vvp_attr_set(const struct lu_env *env, struct cl_object *obj, in vvp_attr_set()
122 static int vvp_conf_set(const struct lu_env *env, struct cl_object *obj, in vvp_conf_set()
195 struct lu_object *vvp_object_alloc(const struct lu_env *env, in vvp_object_alloc()
Dvvp_dev.c138 static struct lu_device *vvp_device_alloc(const struct lu_env *env, in vvp_device_alloc()
198 struct lu_env *env; in cl_sb_init()
221 struct lu_env *env; in cl_sb_fini()
316 static struct cl_object *vvp_pgcache_obj(const struct lu_env *env, in vvp_pgcache_obj()
344 static loff_t vvp_pgcache_find(const struct lu_env *env, in vvp_pgcache_find()
398 static void vvp_pgcache_page_show(const struct lu_env *env, in vvp_pgcache_page_show()
433 struct lu_env *env; in vvp_pgcache_show()
474 struct lu_env *env; in vvp_pgcache_start()
498 struct lu_env *env; in vvp_pgcache_next()
Dvvp_lock.c60 static unsigned long vvp_lock_weigh(const struct lu_env *env, in vvp_lock_weigh()
80 int vvp_lock_init(const struct lu_env *env, struct cl_object *obj, in vvp_lock_init()
Drw26.c76 struct lu_env *env; in ll_invalidatepage()
120 struct lu_env *env; in ll_releasepage()
228 ssize_t ll_direct_rw_pages(const struct lu_env *env, struct cl_io *io, in ll_direct_rw_pages()
333 static ssize_t ll_direct_IO_26_seg(const struct lu_env *env, struct cl_io *io, in ll_direct_IO_26_seg()
365 struct lu_env *env; in ll_direct_IO_26()
Drw.c68 struct lu_env *env = lcc->lcc_env; in ll_cl_fini()
91 struct lu_env *env; in ll_cl_init()
197 struct lu_env *env; in ll_cl_get()
223 struct lu_env *env = lcc->lcc_env; in ll_prepare_write()
254 struct lu_env *env; in ll_commit_write()
423 static int cl_read_ahead_page(const struct lu_env *env, struct cl_io *io, in cl_read_ahead_page()
464 static int ll_read_ahead_page(const struct lu_env *env, struct cl_io *io, in ll_read_ahead_page()
609 static int ll_read_ahead_pages(const struct lu_env *env, in ll_read_ahead_pages()
660 int ll_readahead(const struct lu_env *env, struct cl_io *io, in ll_readahead()
1098 struct lu_env *env; in ll_writepage()
[all …]
Dllite_mmap.c98 ll_fault_io_init(struct vm_area_struct *vma, struct lu_env **env_ret, in ll_fault_io_init()
106 struct lu_env *env; in ll_fault_io_init()
172 struct lu_env *env; in ll_page_mkwrite0()
293 struct lu_env *env; in ll_fault0()
Dllite_internal.h698 int ll_readahead(const struct lu_env *env, struct cl_io *io,
745 int ll_merge_lvb(const struct lu_env *env, struct inode *inode);
902 struct lu_env *lcc_env;
912 static inline struct vvp_thread_info *vvp_env_info(const struct lu_env *env) in vvp_env_info()
922 static inline struct vvp_io_args *vvp_env_args(const struct lu_env *env, in vvp_env_args()
936 static inline struct vvp_session *vvp_env_session(const struct lu_env *env) in vvp_env_session()
946 static inline struct vvp_io *vvp_env_io(const struct lu_env *env) in vvp_env_io()
1313 static inline int cl_merge_lvb(const struct lu_env *env, struct inode *inode) in cl_merge_lvb()
1351 ssize_t ll_direct_rw_pages(const struct lu_env *env, struct cl_io *io,
Dlloop.c141 const struct lu_env *lo_env;
187 const struct lu_env *env = lo->lo_env; in do_bio_lustrebacked()
406 struct lu_env *env; in loop_thread()
Dfile.c979 int ll_merge_lvb(const struct lu_env *env, struct inode *inode) in ll_merge_lvb()
1095 ll_file_io_generic(const struct lu_env *env, struct vvp_io_args *args, in ll_file_io_generic()
1186 struct lu_env *env; in ll_file_read_iter()
1210 struct lu_env *env; in ll_file_write_iter()
1236 struct lu_env *env; in ll_file_splice_read()
1889 struct lu_env *env; in ll_hsm_release()
2563 struct lu_env *env; in cl_sync_file_range()
3254 struct lu_env *env; in ll_layout_conf()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c51 static void cl_page_delete0(const struct lu_env *env, struct cl_page *pg,
148 int cl_page_gang_lookup(const struct lu_env *env, struct cl_object *obj, in cl_page_gang_lookup()
243 static void cl_page_free(const struct lu_env *env, struct cl_page *page) in cl_page_free()
279 static struct cl_page *cl_page_alloc(const struct lu_env *env, in cl_page_alloc()
336 static struct cl_page *cl_page_find0(const struct lu_env *env, in cl_page_find0()
436 struct cl_page *cl_page_find(const struct lu_env *env, struct cl_object *o, in cl_page_find()
444 struct cl_page *cl_page_find_sub(const struct lu_env *env, struct cl_object *o, in cl_page_find_sub()
488 static void cl_page_state_set0(const struct lu_env *env, in cl_page_state_set0()
547 static void cl_page_state_set(const struct lu_env *env, in cl_page_state_set()
576 void cl_page_put(const struct lu_env *env, struct cl_page *page) in cl_page_put()
[all …]
Dcl_lock.c76 static int cl_lock_invariant_trusted(const struct lu_env *env, in cl_lock_invariant_trusted()
92 static int cl_lock_invariant(const struct lu_env *env, in cl_lock_invariant()
115 static struct cl_thread_counters *cl_lock_counters(const struct lu_env *env, in cl_lock_counters()
127 static void cl_lock_trace0(int level, const struct lu_env *env, in cl_lock_trace0()
155 static void cl_lock_lockdep_acquire(const struct lu_env *env, in cl_lock_lockdep_acquire()
162 static void cl_lock_lockdep_release(const struct lu_env *env, in cl_lock_lockdep_release()
173 static void cl_lock_lockdep_acquire(const struct lu_env *env, in cl_lock_lockdep_acquire()
176 static void cl_lock_lockdep_release(const struct lu_env *env, in cl_lock_lockdep_release()
250 static void cl_lock_free(const struct lu_env *env, struct cl_lock *lock) in cl_lock_free()
285 void cl_lock_put(const struct lu_env *env, struct cl_lock *lock) in cl_lock_put()
[all …]
Dcl_object.c108 struct cl_object *cl_object_find(const struct lu_env *env, in cl_object_find()
125 void cl_object_put(const struct lu_env *env, struct cl_object *o) in cl_object_put()
209 int cl_object_attr_get(const struct lu_env *env, struct cl_object *obj, in cl_object_attr_get()
240 int cl_object_attr_set(const struct lu_env *env, struct cl_object *obj, in cl_object_attr_set()
273 int cl_object_glimpse(const struct lu_env *env, struct cl_object *obj, in cl_object_glimpse()
300 int cl_conf_set(const struct lu_env *env, struct cl_object *obj, in cl_conf_set()
326 void cl_object_kill(const struct lu_env *env, struct cl_object *obj) in cl_object_kill()
349 void cl_object_prune(const struct lu_env *env, struct cl_object *obj) in cl_object_prune()
499 struct lu_env ce_lu;
659 static struct lu_env *cl_env_new(__u32 ctx_tags, __u32 ses_tags, void *debug) in cl_env_new()
[all …]
Dcl_io.c74 int cl_io_is_going(const struct lu_env *env) in cl_io_is_going()
102 void cl_io_fini(const struct lu_env *env, struct cl_io *io) in cl_io_fini()
149 static int cl_io_init0(const struct lu_env *env, struct cl_io *io, in cl_io_init0()
183 int cl_io_sub_init(const struct lu_env *env, struct cl_io *io, in cl_io_sub_init()
205 int cl_io_init(const struct lu_env *env, struct cl_io *io, in cl_io_init()
223 int cl_io_rw_init(const struct lu_env *env, struct cl_io *io, in cl_io_rw_init()
376 static int cl_lockset_lock_one(const struct lu_env *env, in cl_lockset_lock_one()
400 static void cl_lock_link_fini(const struct lu_env *env, struct cl_io *io, in cl_lock_link_fini()
414 static int cl_lockset_lock(const struct lu_env *env, struct cl_io *io, in cl_lockset_lock()
455 int cl_io_lock(const struct lu_env *env, struct cl_io *io) in cl_io_lock()
[all …]
Dllog_internal.h49 const struct lu_env *lpi_env;
69 int class_config_dump_handler(const struct lu_env *env,
72 int llog_process_or_fork(const struct lu_env *env,
75 int llog_cat_cleanup(const struct lu_env *env, struct llog_handle *cathandle,
Dllog_cat.c64 static int llog_cat_id2handle(const struct lu_env *env, in llog_cat_id2handle()
127 int llog_cat_close(const struct lu_env *env, struct llog_handle *cathandle) in llog_cat_close()
146 static int llog_cat_process_cb(const struct lu_env *env, in llog_cat_process_cb()
193 static int llog_cat_process_or_fork(const struct lu_env *env, in llog_cat_process_or_fork()
233 int llog_cat_process(const struct lu_env *env, struct llog_handle *cat_llh, in llog_cat_process()
Dllog.c107 static int llog_read_header(const struct lu_env *env, in llog_read_header()
141 int llog_init_handle(const struct lu_env *env, struct llog_handle *handle, in llog_init_handle()
342 struct lu_env env; in llog_process_thread_daemonize()
361 int llog_process_or_fork(const struct lu_env *env, in llog_process_or_fork()
402 int llog_process(const struct lu_env *env, struct llog_handle *loghandle, in llog_process()
409 int llog_open(const struct lu_env *env, struct llog_ctxt *ctxt, in llog_open()
444 int llog_close(const struct lu_env *env, struct llog_handle *loghandle) in llog_close()
Dlu_object.c61 static void lu_object_free(const struct lu_env *env, struct lu_object *o);
69 void lu_object_put(const struct lu_env *env, struct lu_object *o) in lu_object_put()
163 void lu_object_unhash(const struct lu_env *env, struct lu_object *o) in lu_object_unhash()
195 static struct lu_object *lu_object_alloc(const struct lu_env *env, in lu_object_alloc()
264 static void lu_object_free(const struct lu_env *env, struct lu_object *o) in lu_object_free()
310 int lu_site_purge(const struct lu_env *env, struct lu_site *s, int nr) in lu_site_purge()
442 int lu_cdebug_printer(const struct lu_env *env, in lu_cdebug_printer()
476 void lu_object_header_print(const struct lu_env *env, void *cookie, in lu_object_header_print()
493 void lu_object_print(const struct lu_env *env, void *cookie, in lu_object_print()
575 static struct lu_object *lu_object_find(const struct lu_env *env, in lu_object_find()
[all …]
Dllog_obd.c71 int __llog_ctxt_put(const struct lu_env *env, struct llog_ctxt *ctxt) in __llog_ctxt_put()
107 int llog_cleanup(const struct lu_env *env, struct llog_ctxt *ctxt) in llog_cleanup()
144 int llog_setup(const struct lu_env *env, struct obd_device *obd, in llog_setup()
Dcl_internal.h119 struct cl_thread_info *cl_env_info(const struct lu_env *env);
Dobd_config.c1064 int class_config_llog_handler(const struct lu_env *env, in class_config_llog_handler()
1252 int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt, in class_config_parse_llog()
1346 int class_config_dump_handler(const struct lu_env *env, in class_config_dump_handler()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c167 int ccc_device_init(const struct lu_env *env, struct lu_device *d, in ccc_device_init()
187 struct lu_device *ccc_device_fini(const struct lu_env *env, in ccc_device_fini()
193 struct lu_device *ccc_device_alloc(const struct lu_env *env, in ccc_device_alloc()
232 struct lu_device *ccc_device_free(const struct lu_env *env, in ccc_device_free()
248 int ccc_req_init(const struct lu_env *env, struct cl_device *dev, in ccc_req_init()
268 static struct lu_env *ccc_inode_fini_env;
321 struct lu_object *ccc_object_alloc(const struct lu_env *env, in ccc_object_alloc()
347 int ccc_object_init0(const struct lu_env *env, in ccc_object_init0()
357 int ccc_object_init(const struct lu_env *env, struct lu_object *obj, in ccc_object_init()
380 void ccc_object_free(const struct lu_env *env, struct lu_object *obj) in ccc_object_free()
[all …]
Dglimpse.c86 int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io, in cl_glimpse_lock()
164 static int cl_io_get(struct inode *inode, struct lu_env **envout, in cl_io_get()
167 struct lu_env *env; in cl_io_get()
200 struct lu_env *env = NULL; in cl_glimpse_size0()
231 struct lu_env *env = NULL; in cl_local_size()
Dlcommon_misc.c129 struct lu_env *env; in cl_get_grouplock()
183 struct lu_env *env = cg->cg_env; in cl_put_grouplock()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c96 static int echo_client_setup(const struct lu_env *env,
145 static inline struct echo_thread_info *echo_env_info(const struct lu_env *env) in echo_env_info()
171 static struct echo_thread_info *echo_env_info(const struct lu_env *env);
226 static struct page *echo_page_vmpage(const struct lu_env *env, in echo_page_vmpage()
232 static int echo_page_own(const struct lu_env *env, in echo_page_own()
245 static void echo_page_disown(const struct lu_env *env, in echo_page_disown()
255 static void echo_page_discard(const struct lu_env *env, in echo_page_discard()
262 static int echo_page_is_vmlocked(const struct lu_env *env, in echo_page_is_vmlocked()
270 static void echo_page_completion(const struct lu_env *env, in echo_page_completion()
277 static void echo_page_fini(const struct lu_env *env, in echo_page_fini()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dllog_client.c79 static int llog_client_open(const struct lu_env *env, in llog_client_open()
146 static int llog_client_next_block(const struct lu_env *env, in llog_client_next_block()
205 static int llog_client_prev_block(const struct lu_env *env, in llog_client_prev_block()
258 static int llog_client_read_header(const struct lu_env *env, in llog_client_read_header()
315 static int llog_client_close(const struct lu_env *env, in llog_client_close()
Dptlrpcd.c277 static int ptlrpcd_check(struct lu_env *env, struct ptlrpcd_ctl *pc) in ptlrpcd_check()
390 struct lu_env env = { .le_ses = NULL }; in ptlrpcd()
Dimport.c106 static int ptlrpc_connect_interpret(const struct lu_env *env,
779 static int ptlrpc_connect_interpret(const struct lu_env *env, in ptlrpc_connect_interpret()
1206 static int completed_replay_interpret(const struct lu_env *env, in completed_replay_interpret()
Dclient.c1469 int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set) in ptlrpc_check_set()
2646 static int ptlrpc_replay_interpret(const struct lu_env *env, in ptlrpc_replay_interpret()
2972 int (*cb)(const struct lu_env *, void *);
2991 static int work_interpreter(const struct lu_env *env, in work_interpreter()
3022 int (*cb)(const struct lu_env *, void *), void *cbdata) in ptlrpcd_alloc_work() argument
Dservice.c1987 struct lu_env *env; in ptlrpc_main()
/linux-4.4.14/drivers/staging/lustre/lustre/fid/
Dfid_internal.h48 const struct lu_env *env);
Dfid_request.c147 const struct lu_env *env) in seq_client_alloc_super()
167 static int seq_client_alloc_meta(const struct lu_env *env, in seq_client_alloc_meta()
185 static int seq_client_alloc_seq(const struct lu_env *env, in seq_client_alloc_seq()
244 int seq_client_alloc_fid(const struct lu_env *env, in seq_client_alloc_fid()
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c632 static int mgc_llog_init(const struct lu_env *env, struct obd_device *obd) in mgc_llog_init()
653 static int mgc_llog_fini(const struct lu_env *env, struct obd_device *obd) in mgc_llog_fini()
952 static int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp, in mgc_set_info_async()
1030 static int mgc_get_info(const struct lu_env *env, struct obd_export *exp, in mgc_get_info()
1454 struct lu_env *env; in mgc_process_cfg_log()
/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_request.c450 __u32 flags, const struct lu_env *env) in fld_client_lookup()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1044 static int mdc_statfs(const struct lu_env *env, in mdc_statfs()
1459 static int changelog_kkuc_cb(const struct lu_env *env, struct llog_handle *llh, in changelog_kkuc_cb()
2049 static int mdc_set_info_async(const struct lu_env *env, in mdc_set_info_async()
2100 static int mdc_get_info(const struct lu_env *env, struct obd_export *exp, in mdc_get_info()
Dmdc_locks.c1177 static int mdc_intent_getattr_async_interpret(const struct lu_env *env, in mdc_intent_getattr_async_interpret()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c197 static int lmv_connect(const struct lu_env *env, in lmv_connect()
1387 static int lmv_statfs(const struct lu_env *env, struct obd_export *exp, in lmv_statfs()
2285 static int lmv_get_info(const struct lu_env *env, struct obd_export *exp, in lmv_get_info()
2348 static int lmv_set_info_async(const struct lu_env *env, struct obd_export *exp, in lmv_set_info_async()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c488 int client_connect_import(const struct lu_env *env, in client_connect_import()
Dldlm_request.c1786 static int replay_lock_interpret(const struct lu_env *env, in replay_lock_interpret()