Home
last modified time | relevance | path

Searched refs:lu_device (Results 1 – 24 of 24) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlu_object.h101 struct lu_device;
144 struct lu_device *d);
149 struct lu_device *, struct lustre_cfg *);
151 struct lu_device *);
160 struct lu_device *parent,
161 struct lu_device *dev);
260 struct lu_device { struct
352 struct lu_device *(*ldto_device_alloc)(const struct lu_env *env,
360 struct lu_device *(*ldto_device_free)(const struct lu_env *,
361 struct lu_device *);
[all …]
Dlustre_quota.h87 int (*qmth_quotactl)(const struct lu_env *, struct lu_device *,
91 int (*qmth_dqacq)(const struct lu_env *, struct lu_device *,
95 int (*qmth_intent_policy)(const struct lu_env *, struct lu_device *,
100 int (*qmth_lvbo_init)(struct lu_device *, struct ldlm_resource *);
103 int (*qmth_lvbo_update)(struct lu_device *, struct ldlm_resource *,
107 int (*qmth_lvbo_size)(struct lu_device *, struct ldlm_lock *);
110 int (*qmth_lvbo_fill)(struct lu_device *, struct ldlm_lock *, void *,
114 int (*qmth_lvbo_free)(struct lu_device *, struct ldlm_resource *);
Dlclient.h262 struct lu_device *d,
263 const char *name, struct lu_device *next);
264 struct lu_device *ccc_device_fini (const struct lu_env *env,
265 struct lu_device *d);
266 struct lu_device *ccc_device_alloc(const struct lu_env *env,
271 struct lu_device *ccc_device_free (const struct lu_env *env,
272 struct lu_device *d);
275 struct lu_device *dev,
360 struct lu_device *ccc2lu_dev (struct ccc_device *vdv);
362 struct ccc_device *lu2ccc_dev (const struct lu_device *d);
Ddt_object.h651 struct lu_device dd_lu_dev;
665 static inline int lu_device_is_dt(const struct lu_device *d) in lu_device_is_dt()
670 static inline struct dt_device *lu2dt_dev(struct lu_device *l) in lu2dt_dev()
708 struct lu_object_header *h, struct lu_device *d);
836 struct lu_device *top_dev);
Dcl_object.h154 struct lu_device cd_lu_dev;
2654 static inline int lu_device_is_cl(const struct lu_device *d) in lu_device_is_cl()
2659 static inline struct cl_device *lu2cl_dev(const struct lu_device *d) in lu2cl_dev()
2665 static inline struct lu_device *cl2lu_dev(struct cl_device *d) in cl2lu_dev()
3281 struct lu_device *next);
Dobd.h815 struct lu_device *obd_lu_dev;
1443 static inline const char *lu_dev_name(const struct lu_device *lu_dev) in lu_dev_name()
Dobd_class.h557 struct lu_device *d
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlovsub_dev.c93 static int lovsub_device_init(const struct lu_env *env, struct lu_device *d, in lovsub_device_init()
94 const char *name, struct lu_device *next) in lovsub_device_init()
115 static struct lu_device *lovsub_device_fini(const struct lu_env *env, in lovsub_device_fini()
116 struct lu_device *d) in lovsub_device_fini()
118 struct lu_device *next; in lovsub_device_fini()
128 static struct lu_device *lovsub_device_free(const struct lu_env *env, in lovsub_device_free()
129 struct lu_device *d) in lovsub_device_free()
132 struct lu_device *next = cl2lu_dev(lsd->acid_next); in lovsub_device_free()
168 static struct lu_device *lovsub_device_alloc(const struct lu_env *env, in lovsub_device_alloc()
172 struct lu_device *d; in lovsub_device_alloc()
Dlov_dev.c195 static struct lu_device *lov_device_fini(const struct lu_env *env, in lov_device_fini()
196 struct lu_device *d) in lov_device_fini()
217 static int lov_device_init(const struct lu_env *env, struct lu_device *d, in lov_device_init()
218 const char *name, struct lu_device *next) in lov_device_init()
294 static struct lu_device *lov_device_free(const struct lu_env *env, in lov_device_free()
295 struct lu_device *d) 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()
394 static int lov_cl_add_target(const struct lu_env *env, struct lu_device *dev, in lov_cl_add_target()
438 struct lu_device *d, struct lustre_cfg *cfg) in lov_process_config()
472 static struct lu_device *lov_device_alloc(const struct lu_env *env, in lov_device_alloc()
[all …]
Dlov_cl_internal.h628 struct lu_device *dev);
631 struct lu_device *dev);
678 static inline struct lu_device *lov2lu_dev(struct lov_device *lov) in lov2lu_dev()
683 static inline struct lov_device *lu2lov_dev(const struct lu_device *d) in lu2lov_dev()
694 static inline struct lu_device *lovsub2lu_dev(struct lovsub_device *lovsub) in lovsub2lu_dev()
699 static inline struct lovsub_device *lu2lovsub_dev(const struct lu_device *d) in lu2lovsub_dev()
Dlovsub_object.c60 struct lu_device *under; in lovsub_object_init()
143 struct lu_device *dev) in lovsub_object_alloc()
Dlov_object.c889 struct lu_device *dev) in lov_object_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_dev.c109 static struct lu_device *osc2lu_dev(struct osc_device *osc) in osc2lu_dev()
174 struct lu_device *d, struct lustre_cfg *cfg) in osc_cl_process_config()
189 static int osc_device_init(const struct lu_env *env, struct lu_device *d, in osc_device_init()
190 const char *name, struct lu_device *next) in osc_device_init()
195 static struct lu_device *osc_device_fini(const struct lu_env *env, in osc_device_fini()
196 struct lu_device *d) in osc_device_fini()
201 static struct lu_device *osc_device_free(const struct lu_env *env, in osc_device_free()
202 struct lu_device *d) in osc_device_free()
211 static struct lu_device *osc_device_alloc(const struct lu_env *env, in osc_device_alloc()
215 struct lu_device *d; in osc_device_alloc()
Dosc_cl_internal.h424 struct lu_device *dev);
499 static inline struct osc_device *lu2osc_dev(const struct lu_device *d) in lu2osc_dev()
Dosc_object.c255 struct lu_device *dev) in osc_object_alloc()
Dosc_cache.c1321 struct lu_device *ld = opg->ops_cl.cpl_obj->co_lu.lo_dev; in osc_completion()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c168 int ccc_device_init(const struct lu_env *env, struct lu_device *d, in ccc_device_init()
169 const char *name, struct lu_device *next) in ccc_device_init()
188 struct lu_device *ccc_device_fini(const struct lu_env *env, in ccc_device_fini()
189 struct lu_device *d) in ccc_device_fini()
194 struct lu_device *ccc_device_alloc(const struct lu_env *env, in ccc_device_alloc()
201 struct lu_device *lud; in ccc_device_alloc()
233 struct lu_device *ccc_device_free(const struct lu_env *env, in ccc_device_free()
234 struct lu_device *d) in ccc_device_free()
238 struct lu_device *next = cl2lu_dev(vdv->cdv_next); in ccc_device_free()
324 struct lu_device *dev, in ccc_object_alloc()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c196 struct lu_device *dev, in lu_object_alloc()
587 struct lu_device *dev, const struct lu_fid *f, in lu_object_find()
595 struct lu_device *dev, in lu_object_new()
621 struct lu_device *dev, in lu_object_find_try()
699 struct lu_device *dev, in lu_object_find_at()
726 struct lu_device *dev, in lu_object_find_slice()
953 void lu_dev_add_linkage(struct lu_site *s, struct lu_device *d) in lu_dev_add_linkage()
962 void lu_dev_del_linkage(struct lu_site *s, struct lu_device *d) in lu_dev_del_linkage()
982 int lu_site_init(struct lu_site *s, struct lu_device *top) in lu_site_init()
1097 void lu_device_get(struct lu_device *d) in lu_device_get()
[all …]
Ddt_object.c152 struct lu_object_header *h, struct lu_device *d) in dt_object_init()
219 struct lu_device *top_dev) in dt_locate_at()
Dcl_object.c970 struct lu_device *next) in cl_type_setup()
973 struct lu_device *d; in cl_type_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_internal.h56 struct lu_device *dev);
Dvvp_dev.c140 static struct lu_device *vvp_device_alloc(const struct lu_env *env, in vvp_device_alloc()
320 struct lu_device *dev, in vvp_pgcache_obj()
348 struct lu_device *dev, loff_t pos) in vvp_pgcache_find()
Dvvp_object.c198 struct lu_device *dev) in vvp_object_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c62 struct lu_device *ed_next;
440 struct lu_device *under; in echo_object_init()
561 struct lu_device *dev) in echo_object_alloc()
690 static struct lu_device *echo_device_alloc(const struct lu_env *env, in echo_device_alloc()
694 struct lu_device *next; in echo_device_alloc()
809 static int echo_device_init(const struct lu_env *env, struct lu_device *d, in echo_device_init()
810 const char *name, struct lu_device *next) in echo_device_init()
816 static struct lu_device *echo_device_fini(const struct lu_env *env, in echo_device_fini()
817 struct lu_device *d) in echo_device_fini()
820 struct lu_device *next = ed->ed_next; in echo_device_fini()
[all …]