Home
last modified time | relevance | path

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

123

/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c48 struct obd_device *dev = container_of(kobj, struct obd_device, in active_show()
58 struct obd_device *dev = container_of(kobj, struct obd_device, in active_store()
84 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_show()
96 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_store()
136 struct obd_device *dev = container_of(kobj, struct obd_device, in max_dirty_mb_show()
155 struct obd_device *dev = container_of(kobj, struct obd_device, in max_dirty_mb_store()
183 struct obd_device *dev = m->private; in osc_cached_mb_seq_show()
202 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; in osc_cached_mb_seq_write()
237 struct obd_device *dev = container_of(kobj, struct obd_device, in cur_dirty_bytes_show()
254 struct obd_device *dev = container_of(kobj, struct obd_device, in cur_grant_bytes_show()
[all …]
Dosc_internal.h133 int osc_process_config_base(struct obd_device *obd, struct lustre_cfg *cfg);
140 int osc_cleanup(struct obd_device *obd);
141 int osc_setup(struct obd_device *obd, struct lustre_cfg *lcfg);
143 int lproc_osc_attach_seqstat(struct obd_device *dev);
175 static inline struct osc_device *obd2osc_dev(const struct obd_device *d) in obd2osc_dev()
189 int osc_quota_setup(struct obd_device *obd);
190 int osc_quota_cleanup(struct obd_device *obd);
194 int osc_quotactl(struct obd_device *unused, struct obd_export *exp,
196 int osc_quotacheck(struct obd_device *unused, struct obd_export *exp,
Dosc_quota.c206 int osc_quota_setup(struct obd_device *obd) in osc_quota_setup()
234 int osc_quota_cleanup(struct obd_device *obd) in osc_quota_cleanup()
245 int osc_quotactl(struct obd_device *unused, struct obd_export *exp, in osc_quotactl()
286 int osc_quotacheck(struct obd_device *unused, struct obd_export *exp, in osc_quotacheck()
/drivers/staging/lustre/lustre/lov/
Dlproc_lov.c46 struct obd_device *dev = (struct obd_device *)m->private; in lov_stripesize_seq_show()
59 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; in lov_stripesize_seq_write()
79 struct obd_device *dev = (struct obd_device *)m->private; in lov_stripeoffset_seq_show()
92 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; in lov_stripeoffset_seq_write()
111 struct obd_device *dev = (struct obd_device *)m->private; in lov_stripetype_seq_show()
124 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; in lov_stripetype_seq_write()
143 struct obd_device *dev = (struct obd_device *)m->private; in lov_stripecount_seq_show()
156 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; in lov_stripecount_seq_write()
176 struct obd_device *dev = container_of(kobj, struct obd_device, in numobd_show()
188 struct obd_device *dev = container_of(kobj, struct obd_device, in activeobd_show()
[all …]
Dlov_internal.h96 struct obd_device *set_obd;
154 int qos_add_tgt(struct obd_device *obd, __u32 index);
155 int qos_del_tgt(struct obd_device *obd, struct lov_tgt_desc *tgt);
160 void qos_statfs_update(struct obd_device *obd, __u64 max_age, int wait);
185 int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo,
189 int lov_fini_statfs(struct obd_device *obd, struct obd_statfs *osfs,
201 int lov_connect_obd(struct obd_device *obd, __u32 index, int activate,
203 int lov_setup(struct obd_device *obd, struct lustre_cfg *lcfg);
204 int lov_process_config_base(struct obd_device *obd, struct lustre_cfg *lcfg,
206 int lov_del_target(struct obd_device *obd, __u32 index,
[all …]
Dlov_obd.c65 static void lov_getref(struct obd_device *obd) in lov_getref()
76 static void __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt);
78 static void lov_putref(struct obd_device *obd) in lov_putref()
120 static int lov_set_osc_active(struct obd_device *obd, struct obd_uuid *uuid,
122 static int lov_notify(struct obd_device *obd, struct obd_device *watched,
126 int lov_connect_obd(struct obd_device *obd, __u32 index, int activate, in lov_connect_obd()
131 struct obd_device *tgt_obd; in lov_connect_obd()
200 struct obd_export **exp, struct obd_device *obd, in lov_connect()
257 static int lov_disconnect_obd(struct obd_device *obd, struct lov_tgt_desc *tgt) in lov_disconnect_obd()
260 struct obd_device *osc_obd; in lov_disconnect_obd()
[all …]
Dlov_pool.c400 int lov_pool_new(struct obd_device *obd, char *poolname) in lov_pool_new()
481 int lov_pool_del(struct obd_device *obd, char *poolname) in lov_pool_del()
510 int lov_pool_add(struct obd_device *obd, char *poolname, char *ostname) in lov_pool_add()
556 int lov_pool_remove(struct obd_device *obd, char *poolname, char *ostname) in lov_pool_remove()
/drivers/staging/lustre/lustre/lmv/
Dlproc_lmv.c48 struct obd_device *dev = container_of(kobj, struct obd_device, in numobd_show()
83 struct obd_device *dev = container_of(kobj, struct obd_device, in placement_show()
97 struct obd_device *dev = container_of(kobj, struct obd_device, in placement_store()
127 struct obd_device *dev = container_of(kobj, struct obd_device, in activeobd_show()
138 struct obd_device *dev = (struct obd_device *)m->private; in lmv_desc_uuid_seq_show()
151 struct obd_device *dev = p->private; in lmv_tgt_seq_start()
164 struct obd_device *dev = p->private; in lmv_tgt_seq_next()
Dlmv_obd.c80 struct obd_device *obd; in lmv_set_mdc_active()
138 static int lmv_notify(struct obd_device *obd, struct obd_device *watched, in lmv_notify()
198 struct obd_export **exp, struct obd_device *obd, in lmv_connect()
249 static void lmv_set_timeouts(struct obd_device *obd) in lmv_set_timeouts()
275 struct obd_device *obd = exp->exp_obd; in lmv_init_ea_size()
324 static int lmv_connect_mdc(struct obd_device *obd, struct lmv_tgt_desc *tgt) in lmv_connect_mdc()
329 struct obd_device *mdc_obd; in lmv_connect_mdc()
420 static int lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp, in lmv_add_target()
432 struct obd_device *mdc_obd; in lmv_add_target()
515 int lmv_check_connect(struct obd_device *obd) in lmv_check_connect()
[all …]
Dlmv_intent.c61 struct obd_device *obd = exp->exp_obd; in lmv_intent_remote()
165 struct obd_device *obd = exp->exp_obd; in lmv_intent_open()
248 struct obd_device *obd = exp->exp_obd; in lmv_intent_lookup()
298 struct obd_device *obd = exp->exp_obd; in lmv_intent_lock()
/drivers/staging/lustre/lustre/include/
Dobd.h44 #define IOC_OSC_SET_ACTIVE _IOWR(IOC_OSC_TYPE, 21, struct obd_device *)
431 struct obd_device *ltd_obd;
454 struct obd_device *pool_lobd; /* obd of the lov/lod to which
687 int (*onu_upcall)(struct obd_device *host, struct obd_device *watched,
716 struct obd_device { struct
767 struct obd_device *obd_observer; argument
976 int (*o_attach)(struct obd_device *dev, u32 len, void *data);
977 int (*o_detach)(struct obd_device *dev);
978 int (*o_setup)(struct obd_device *dev, struct lustre_cfg *cfg);
979 int (*o_precleanup)(struct obd_device *dev,
[all …]
Dobd_class.h62 extern struct obd_device *obd_devs[MAX_OBD_DEVICES];
66 struct obd_device *class_exp2obd(struct obd_export *);
79 struct obd_device *class_newdev(const char *type_name, const char *name);
80 void class_release_dev(struct obd_device *obd);
83 struct obd_device *class_name2obd(const char *name);
85 struct obd_device *class_find_client_obd(struct obd_uuid *tgt_uuid,
88 struct obd_device *class_devices_in_group(struct obd_uuid *grp_uuid,
90 struct obd_device *class_num2obd(int num);
108 struct obd_device *class_incref(struct obd_device *obd,
110 void class_decref(struct obd_device *obd,
[all …]
Dlustre_log.h97 int llog_backup(const struct lu_env *env, struct obd_device *obd,
141 int llog_setup(const struct lu_env *env, struct obd_device *obd,
143 struct obd_device *disk_obd, struct llog_operations *op);
158 int (*lop_setup)(const struct lu_env *env, struct obd_device *obd,
160 struct obd_device *disk_obd);
243 struct obd_device *loc_obd; /* points back to the containing obd*/
333 static inline struct llog_ctxt *llog_get_context(struct obd_device *obd, in llog_get_context()
344 static inline int llog_ctxt_null(struct obd_device *obd, int index) in llog_ctxt_null()
/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c48 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_show()
64 struct obd_device *dev = container_of(kobj, struct obd_device, in max_rpcs_in_flight_store()
95 struct obd_device *obd = in mdc_kuc_write()
179 struct obd_device *dev = container_of(kobj, struct obd_device, in max_pages_per_rpc_show()
Dmdc_request.c56 static int mdc_cleanup(struct obd_device *obd);
782 struct obd_device *obd = class_exp2obd(exp); in mdc_close()
898 struct obd_device *obd = class_exp2obd(exp); in mdc_done_writing()
1048 struct obd_device *obd = class_exp2obd(exp); in mdc_statfs()
1456 struct obd_device *cs_obd;
1557 static int mdc_ioc_changelog_send(struct obd_device *obd, in mdc_ioc_changelog_send()
1593 static int mdc_quotacheck(struct obd_device *unused, struct obd_export *exp, in mdc_quotacheck()
1638 static int mdc_quotactl(struct obd_device *unused, struct obd_export *exp, in mdc_quotactl()
1731 struct obd_device *obd = exp->exp_obd; in mdc_iocontrol()
2173 static int mdc_import_event(struct obd_device *obd, struct obd_import *imp, in mdc_import_event()
[all …]
Dmdc_reint.c110 struct obd_device *obd = exp->exp_obd; in mdc_setattr()
307 struct obd_device *obd = class_exp2obd(exp); in mdc_unlink()
360 struct obd_device *obd = exp->exp_obd; in mdc_link()
405 struct obd_device *obd = exp->exp_obd; in mdc_rename()
Dmdc_locks.c178 struct obd_device *obd = class_exp2obd(exp); in mdc_cancel_unused()
279 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_open_pack()
406 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_unlink_pack()
444 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_getattr_pack()
492 struct obd_device *obd = class_exp2obd(exp); in mdc_intent_layout_pack()
761 struct obd_device *obddev = class_exp2obd(exp); in mdc_enqueue()
1187 struct obd_device *obddev; in mdc_intent_getattr_async_interpret()
1234 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_getattr_async()
/drivers/staging/lustre/lustre/obdclass/
Dgenops.c67 static struct obd_device *obd_device_alloc(void) in obd_device_alloc()
69 struct obd_device *obd; in obd_device_alloc()
77 static void obd_device_free(struct obd_device *obd) in obd_device_free()
278 struct obd_device *class_newdev(const char *type_name, const char *name) in class_newdev()
280 struct obd_device *result = NULL; in class_newdev()
281 struct obd_device *newdev; in class_newdev()
307 struct obd_device *obd = class_num2obd(i); in class_newdev()
359 void class_release_dev(struct obd_device *obd) in class_release_dev()
389 struct obd_device *obd = class_num2obd(i); in class_name2dev()
408 struct obd_device *class_name2obd(const char *name) in class_name2obd()
[all …]
Dlprocfs_status.c363 struct obd_device *obd = container_of(kobj, struct obd_device, in uuid_show()
373 struct obd_device *obd = container_of(kobj, struct obd_device, in blocksize_show()
389 struct obd_device *obd = container_of(kobj, struct obd_device, in kbytestotal_show()
412 struct obd_device *obd = container_of(kobj, struct obd_device, in kbytesfree_show()
435 struct obd_device *obd = container_of(kobj, struct obd_device, in kbytesavail_show()
458 struct obd_device *obd = container_of(kobj, struct obd_device, in filestotal_show()
474 struct obd_device *obd = container_of(kobj, struct obd_device, in filesfree_show()
489 struct obd_device *obd = data; in lprocfs_rd_server_uuid()
513 struct obd_device *obd = data; in lprocfs_rd_conn_uuid()
624 struct obd_device *obd = data; in lprocfs_rd_import()
[all …]
Dllog_obd.c44 static struct llog_ctxt *llog_new_ctxt(struct obd_device *obd) in llog_new_ctxt()
74 struct obd_device *obd; in __llog_ctxt_put()
144 int llog_setup(const struct lu_env *env, struct obd_device *obd, in llog_setup()
146 struct obd_device *disk_obd, struct llog_operations *op) in llog_setup()
Dobd_config.c179 struct obd_device *obd = NULL; in class_attach()
284 static int class_setup(struct obd_device *obd, struct lustre_cfg *lcfg) in class_setup()
378 static int class_detach(struct obd_device *obd, struct lustre_cfg *lcfg) in class_detach()
405 static int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg) in class_cleanup()
479 struct obd_device *class_incref(struct obd_device *obd, in class_incref()
491 void class_decref(struct obd_device *obd, const char *scope, const void *source) in class_decref()
541 static int class_add_conn(struct obd_device *obd, struct lustre_cfg *lcfg) in class_add_conn()
575 static int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) in class_del_conn()
781 struct obd_device *obd; in class_process_config()
1372 int class_manual_cleanup(struct obd_device *obd) in class_manual_cleanup()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c189 struct config_llog_data *do_config_log_add(struct obd_device *obd, in do_config_log_add()
245 static struct config_llog_data *config_recover_log_add(struct obd_device *obd, in config_recover_log_add()
265 static struct config_llog_data *config_params_log_add(struct obd_device *obd, in config_params_log_add()
284 static int config_log_add(struct obd_device *obd, char *logname, in config_log_add()
439 struct obd_device *obd = data; in lprocfs_mgc_rd_ir_state()
632 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()
665 static int mgc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) in mgc_precleanup()
697 static int mgc_cleanup(struct obd_device *obd) in mgc_cleanup()
711 static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) in mgc_setup()
[all …]
/drivers/staging/lustre/lustre/ptlrpc/
Dsec_lproc.c74 struct obd_device *dev = seq->private; in sptlrpc_info_lprocfs_seq_show()
114 struct obd_device *dev = seq->private; in sptlrpc_ctxs_lprocfs_seq_show()
137 int sptlrpc_lprocfs_cliobd_attach(struct obd_device *dev) in sptlrpc_lprocfs_cliobd_attach()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c92 int cl_ocd_update(struct obd_device *host, in cl_ocd_update()
93 struct obd_device *watched, in cl_ocd_update()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c260 int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg) in client_obd_setup()
475 int client_obd_cleanup(struct obd_device *obddev) in client_obd_cleanup()
490 struct obd_device *obd, struct obd_uuid *cluuid, in client_connect_import()
557 struct obd_device *obd = class_exp2obd(exp); in client_disconnect_export()
634 struct obd_device *obd; in target_pack_pool_reply()

123