[go: nahoru, domu]

Searched refs:obd (Results 1 - 25 of 58) sorted by relevance

123

/drivers/staging/lustre/lustre/obdclass/
H A Dobd_config.c331 * Create a new obd device and set the type, name and uuid. If successful,
336 struct obd_device *obd = NULL; local
361 obd = class_newdev(typename, name);
362 if (IS_ERR(obd)) {
364 rc = PTR_ERR(obd);
365 obd = NULL;
370 LASSERTF(obd != NULL, "Cannot get obd device %s of type %s\n",
372 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC,
373 "obd
451 class_setup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
583 class_detach(struct obd_device *obd, struct lustre_cfg *lcfg) argument
611 class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
710 class_incref(struct obd_device *obd, const char *scope, const void *source) argument
722 class_decref(struct obd_device *obd, const char *scope, const void *source) argument
772 class_add_conn(struct obd_device *obd, struct lustre_cfg *lcfg) argument
807 class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) argument
1100 struct obd_device *obd; local
1721 class_manual_cleanup(struct obd_device *obd) argument
[all...]
H A Dgenops.c72 struct obd_device *obd; local
74 OBD_SLAB_ALLOC_PTR_GFP(obd, obd_device_cachep, GFP_NOFS);
75 if (obd != NULL) {
76 obd->obd_magic = OBD_DEVICE_MAGIC;
78 return obd;
81 static void obd_device_free(struct obd_device *obd) argument
83 LASSERT(obd != NULL);
84 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "obd %p obd_magic %08x != %08x\n",
85 obd, ob
306 struct obd_device *obd = class_num2obd(i); local
358 class_release_dev(struct obd_device *obd) argument
388 struct obd_device *obd = class_num2obd(i); local
423 struct obd_device *obd = class_num2obd(i); local
456 struct obd_device *obd = NULL; local
486 struct obd_device *obd = class_num2obd(index); local
503 struct obd_device *obd = class_num2obd(i); local
535 struct obd_device *obd = class_num2obd(i); local
573 struct obd_device *obd = class_num2obd(i); local
596 struct obd_device *obd; local
723 struct obd_device *obd = export->exp_obd; local
733 struct obd_device *obd = exp->exp_obd; local
742 struct obd_device *obd = class_conn2obd(conn); local
752 struct obd_device *obd = exp->exp_obd; local
816 class_new_export(struct obd_device *obd, struct obd_uuid *cluuid) argument
1008 class_new_import(struct obd_device *obd) argument
1109 class_connect(struct lustre_handle *conn, struct obd_device *obd, struct obd_uuid *cluuid) argument
1133 struct obd_device *obd = exp->exp_obd; local
1275 class_disconnect_exports(struct obd_device *obd) argument
1299 class_disconnect_stale_exports(struct obd_device *obd, int (*test_export)(struct obd_export *)) argument
1394 obd_export_evict_by_nid(struct obd_device *obd, const char *nid) argument
1443 obd_export_evict_by_uuid(struct obd_device *obd, const char *uuid) argument
1520 dump_exports(struct obd_device *obd, int locks) argument
1539 obd_exports_barrier(struct obd_device *obd) argument
[all...]
H A Dllog_obd.c44 /* helper functions for calling the llog obd methods */
45 static struct llog_ctxt* llog_new_ctxt(struct obd_device *obd) argument
53 ctxt->loc_obd = obd;
75 struct obd_device *obd; local
86 obd = ctxt->loc_obd;
87 spin_lock(&obd->obd_dev_lock);
89 spin_unlock(&obd->obd_dev_lock);
91 /* obd->obd_starting is needed for the case of cleanup
92 * in error case while obd is starting up. */
93 LASSERTF(obd
145 llog_setup(const struct lu_env *env, struct obd_device *obd, struct obd_llog_group *olg, int index, struct obd_device *disk_obd, struct llog_operations *op) argument
[all...]
H A Dlprocfs_status.c438 struct obd_device *obd = data; local
440 LASSERT(obd != NULL);
441 return seq_printf(m, "%s\n", obd->obd_uuid.uuid);
456 struct obd_device *obd = data; local
458 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs,
469 struct obd_device *obd = data; local
471 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs,
489 struct obd_device *obd = data; local
491 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs,
509 struct obd_device *obd local
529 struct obd_device *obd = data; local
543 struct obd_device *obd = data; local
556 struct obd_device *obd = data; local
575 struct obd_device *obd = data; local
680 struct obd_device *obd = (struct obd_device *)data; local
822 struct obd_device *obd = (struct obd_device *)data; local
862 struct obd_device *obd = (struct obd_device *)data; local
908 struct obd_device *obd = data; local
923 struct obd_device *obd = data; local
939 lprocfs_obd_setup(struct obd_device *obd, struct lprocfs_vars *list) argument
960 lprocfs_obd_cleanup(struct obd_device *obd) argument
1000 lprocfs_free_per_client_stats(struct obd_device *obd) argument
1378 lprocfs_alloc_obd_stats(struct obd_device *obd, unsigned num_private_stats) argument
1417 lprocfs_free_obd_stats(struct obd_device *obd) argument
1468 lprocfs_alloc_md_stats(struct obd_device *obd, unsigned num_private_stats) argument
1506 lprocfs_free_md_stats(struct obd_device *obd) argument
1558 struct obd_device *obd = stats->nid_obd; local
1594 struct obd_device *obd = stats->nid_obd; local
1637 struct obd_device *obd = (struct obd_device *)data; local
1658 struct obd_device *obd = NULL; local
[all...]
H A Dclass_obd.c209 struct obd_device *obd = NULL; local
352 obd = class_num2obd(index);
353 if (!obd) {
358 if (obd->obd_stopping)
360 else if (obd->obd_set_up)
362 else if (obd->obd_attached)
368 (int)index, status, obd->obd_type->typ_name,
369 obd->obd_name, obd->obd_uuid.uuid,
370 atomic_read(&obd
667 struct obd_device *obd = class_num2obd(i); local
[all...]
H A Dobd_mount.c48 #include "../include/obd.h"
148 /**************** obd start *******************/
182 * obd type-specific methods.
188 CDEBUG(D_MOUNT, "Starting obd %s (typ=%s)\n", obdname, type);
205 /** Set up a mgc obd to process startup logs
207 * \param sb [in] super block of the mgc obd
215 struct obd_device *obd; local
273 obd = class_name2obd(mgcname);
274 if (obd && !obd
484 struct obd_device *obd; local
[all...]
/drivers/staging/lustre/lustre/include/
H A Dobd_class.h43 #include "obd.h"
82 void class_release_dev(struct obd_device *obd);
101 int obd_export_evict_by_nid(struct obd_device *obd, const char *nid);
102 int obd_export_evict_by_uuid(struct obd_device *obd, const char *uuid);
109 void obd_exports_barrier(struct obd_device *obd);
127 int class_setup(struct obd_device *obd, struct lustre_cfg *lcfg);
128 int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg);
129 int class_detach(struct obd_device *obd, struct lustre_cfg *lcfg);
130 struct obd_device *class_incref(struct obd_device *obd,
132 void class_decref(struct obd_device *obd,
300 exp_flags_from_obd(struct obd_device *obd) argument
554 obd_setup(struct obd_device *obd, struct lustre_cfg *cfg) argument
590 obd_precleanup(struct obd_device *obd, enum obd_cleanup_stage cleanup_stage) argument
617 obd_cleanup(struct obd_device *obd) argument
643 obd_cleanup_client_import(struct obd_device *obd) argument
665 obd_process_config(struct obd_device *obd, int datalen, void *data) argument
885 struct obd_device *obd = imp->imp_obd; local
898 struct obd_device *obd = imp->imp_obd; local
925 obd_connect(const struct lu_env *env, struct obd_export **exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *data, void *localdata) argument
946 obd_reconnect(const struct lu_env *env, struct obd_export *exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *d, void *localdata) argument
979 obd_fid_init(struct obd_device *obd, struct obd_export *exp, enum lu_cli_type type) argument
991 obd_fid_fini(struct obd_device *obd) argument
1015 obd_pool_new(struct obd_device *obd, char *poolname) argument
1026 obd_pool_del(struct obd_device *obd, char *poolname) argument
1037 obd_pool_add(struct obd_device *obd, char *poolname, char *ostname) argument
1048 obd_pool_rem(struct obd_device *obd, char *poolname, char *ostname) argument
1059 obd_getref(struct obd_device *obd) argument
1067 obd_putref(struct obd_device *obd) argument
1102 struct obd_device *obd; local
1160 struct obd_device *obd = exp->exp_obd; local
1261 obd_import_event(struct obd_device *obd, struct obd_import *imp, enum obd_import_event event) argument
1275 obd_notify(struct obd_device *obd, struct obd_device *watched, enum obd_notify_event ev, void *data) argument
1354 obd_health_check(const struct lu_env *env, struct obd_device *obd) argument
1380 obd_register_observer(struct obd_device *obd, struct obd_device *observer) argument
[all...]
/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c80 struct obd_device *obd; local
105 obd = class_exp2obd(tgt->ltd_exp);
106 if (obd == NULL) {
112 obd->obd_name, obd->obd_uuid.uuid, obd->obd_minor, obd,
113 obd->obd_type->typ_name, i);
114 LASSERT(strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) == 0);
117 CDEBUG(D_INFO, "OBD %p already %sactive!\n", obd,
138 lmv_notify(struct obd_device *obd, struct obd_device *watched, enum obd_notify_event ev, void *data) argument
197 lmv_connect(const struct lu_env *env, struct obd_export **exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *data, void *localdata) argument
263 lmv_set_timeouts(struct obd_device *obd) argument
289 struct obd_device *obd = exp->exp_obd; local
338 lmv_connect_mdc(struct obd_device *obd, struct lmv_tgt_desc *tgt) argument
451 lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp, __u32 index, int gen) argument
547 lmv_check_connect(struct obd_device *obd) argument
614 lmv_disconnect_mdc(struct obd_device *obd, struct lmv_tgt_desc *tgt) argument
660 struct obd_device *obd = class_exp2obd(exp); local
1214 lmv_placement_policy(struct obd_device *obd, struct md_op_data *op_data, u32 *mds) argument
1291 struct obd_device *obd = class_exp2obd(exp); local
1315 lmv_setup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
1375 lmv_cleanup(struct obd_device *obd) argument
1393 lmv_process_config(struct obd_device *obd, u32 len, void *buf) argument
1434 struct obd_device *obd = class_exp2obd(exp); local
1488 struct obd_device *obd = exp->exp_obd; local
1505 struct obd_device *obd = exp->exp_obd; local
1530 struct obd_device *obd = exp->exp_obd; local
1553 struct obd_device *obd = exp->exp_obd; local
1578 struct obd_device *obd = exp->exp_obd; local
1606 struct obd_device *obd = exp->exp_obd; local
1637 struct obd_device *obd = exp->exp_obd; local
1675 struct obd_device *obd = exp->exp_obd; local
1715 struct obd_device *obd = exp->exp_obd; local
1739 struct obd_device *obd = exp->exp_obd; local
1799 struct obd_device *obd = exp->exp_obd; local
1833 struct obd_device *obd = exp->exp_obd; local
1893 struct obd_device *obd = exp->exp_obd; local
1929 struct obd_device *obd = exp->exp_obd; local
1969 struct obd_device *obd = exp->exp_obd; local
2037 struct obd_device *obd = exp->exp_obd; local
2063 struct obd_device *obd = exp->exp_obd; local
2186 struct obd_device *obd = exp->exp_obd; local
2226 struct obd_device *obd = exp->exp_obd; local
2310 lmv_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) argument
2334 struct obd_device *obd; local
2400 struct obd_device *obd; local
2436 struct obd_device *obd = class_exp2obd(exp); local
2484 struct obd_device *obd = class_exp2obd(exp); local
2538 struct obd_device *obd = exp->exp_obd; local
2574 struct obd_device *obd = exp->exp_obd; local
2613 struct obd_device *obd = exp->exp_obd; local
2625 struct obd_device *obd = exp->exp_obd; local
2639 struct obd_device *obd = exp->exp_obd; local
2655 struct obd_device *obd = exp->exp_obd; local
2675 struct obd_device *obd = exp->exp_obd; local
2705 struct obd_device *obd = exp->exp_obd; local
2725 struct obd_device *obd = exp->exp_obd; local
2750 struct obd_device *obd = class_exp2obd(exp); local
2797 struct obd_device *obd = class_exp2obd(exp); local
[all...]
H A Dlmv_intent.c61 struct obd_device *obd = exp->exp_obd; local
62 struct lmv_obd *lmv = &obd->u.lmv;
165 struct obd_device *obd = exp->exp_obd; local
166 struct lmv_obd *lmv = &obd->u.lmv;
248 struct obd_device *obd = exp->exp_obd; local
249 struct lmv_obd *lmv = &obd->u.lmv;
298 struct obd_device *obd = exp->exp_obd; local
308 rc = lmv_check_connect(obd);
/drivers/staging/lustre/lustre/obdclass/linux/
H A Dlinux-module.c168 /* opening /dev/obd */
175 /* closing /dev/obd */
182 /* to control /dev/obd */
239 struct obd_device *obd; local
241 obd = class_num2obd(i);
242 if (obd == NULL || !obd->obd_attached || !obd->obd_set_up)
245 LASSERT(obd->obd_magic == OBD_DEVICE_MAGIC);
246 if (obd
358 struct obd_device *obd = class_num2obd((int)index); local
[all...]
/drivers/staging/lustre/lustre/ptlrpc/
H A Dpinger.c75 int ptlrpc_obd_ping(struct obd_device *obd) argument
80 req = ptlrpc_prep_ping(obd->u.cli.cl_import);
511 * If there are no obd attached to the timeout event
562 struct obd_device *obd; local
566 /* eventually the new obd will call here again. */
571 obd = class_exp2obd(exp);
572 if (list_empty(&obd->obd_evict_list)) {
573 class_incref(obd, "evictor", obd);
574 list_add(&obd
584 struct obd_device *obd; local
[all...]
H A Dlproc_ptlrpc.c40 #include "../include/obd.h"
1167 void ptlrpc_lprocfs_unregister_obd(struct obd_device *obd) argument
1169 if (obd->obd_svc_procroot)
1170 lprocfs_remove(&obd->obd_svc_procroot);
1172 if (obd->obd_svc_stats)
1173 lprocfs_free_stats(&obd->obd_svc_stats);
1183 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
1209 class_incref(obd, __func__, current);
1212 obd_export_evict_by_nid(obd, tmpbuf + 4);
1214 obd_export_evict_by_uuid(obd, tmpbu
1231 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
1259 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
1324 struct obd_device *obd = m->private; local
1339 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
[all...]
/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c189 struct config_llog_data *do_config_log_add(struct obd_device *obd, argument
218 cld->cld_mgcexp = class_export_get(obd->obd_self_export);
222 cld->cld_cfg.cfg_obdname = obd->obd_name;
237 rc = mgc_process_log(obd, cld);
245 static struct config_llog_data *config_recover_log_add(struct obd_device *obd, argument
275 cld = do_config_log_add(obd, logname, CONFIG_T_RECOVER, &lcfg, sb);
279 static struct config_llog_data *config_params_log_add(struct obd_device *obd, argument
287 cld = do_config_log_add(obd, PARAMS_FILENAME, CONFIG_T_PARAMS,
298 static int config_log_add(struct obd_device *obd, char *logname, argument
327 sptlrpc_cld = do_config_log_add(obd, seclognam
454 struct obd_device *obd = data; local
630 mgc_llog_init(const struct lu_env *env, struct obd_device *obd) argument
651 mgc_llog_fini(const struct lu_env *env, struct obd_device *obd) argument
663 mgc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) argument
693 mgc_cleanup(struct obd_device *obd) argument
710 mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
1054 mgc_import_event(struct obd_device *obd, struct obd_import *imp, enum obd_import_event event) argument
1150 struct obd_device *obd; local
1303 mgc_process_recover_log(struct obd_device *obd, struct config_llog_data *cld) argument
1609 mgc_process_config(struct obd_device *obd, u32 len, void *buf) argument
[all...]
/drivers/staging/lustre/lustre/lov/
H A Dlov_internal.h191 int qos_add_tgt(struct obd_device *obd, __u32 index);
192 int qos_del_tgt(struct obd_device *obd, struct lov_tgt_desc *tgt);
197 void qos_statfs_update(struct obd_device *obd, __u64 max_age, int wait);
222 int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo,
226 int lov_fini_statfs(struct obd_device *obd, struct obd_statfs *osfs,
238 int lov_connect_obd(struct obd_device *obd, __u32 index, int activate,
240 int lov_setup(struct obd_device *obd, struct lustre_cfg *lcfg);
241 int lov_process_config_base(struct obd_device *obd, struct lustre_cfg *lcfg,
243 int lov_del_target(struct obd_device *obd, __u32 index,
291 int lov_pool_new(struct obd_device *obd, cha
[all...]
H A Dlov_obd.c65 static void lov_getref(struct obd_device *obd) argument
67 struct lov_obd *lov = &obd->u.lov;
76 static void __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt);
78 static void lov_putref(struct obd_device *obd) argument
80 struct lov_obd *lov = &obd->u.lov;
108 __lov_del_obd(obd, tgt);
115 static int lov_set_osc_active(struct obd_device *obd, struct obd_uuid *uuid,
117 static int lov_notify(struct obd_device *obd, struct obd_device *watched,
122 int lov_connect_obd(struct obd_device *obd, __u32 index, int activate, argument
125 struct lov_obd *lov = &obd
216 lov_connect(const struct lu_env *env, struct obd_export **exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *data, void *localdata) argument
270 lov_disconnect_obd(struct obd_device *obd, struct lov_tgt_desc *tgt) argument
316 struct obd_device *obd = class_exp2obd(exp); local
355 lov_set_osc_active(struct obd_device *obd, struct obd_uuid *uuid, enum obd_notify_event ev) argument
437 lov_notify(struct obd_device *obd, struct obd_device *watched, enum obd_notify_event ev, void *data) argument
518 lov_add_target(struct obd_device *obd, struct obd_uuid *uuidp, __u32 index, int gen, int active) argument
654 lov_del_target(struct obd_device *obd, __u32 index, struct obd_uuid *uuidp, int gen) argument
700 __lov_del_obd(struct obd_device *obd, struct lov_tgt_desc *tgt) argument
769 lov_setup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
848 lov_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) argument
871 lov_cleanup(struct obd_device *obd) argument
917 lov_process_config_base(struct obd_device *obd, struct lustre_cfg *lcfg, __u32 *indexp, int *genp) argument
1341 struct obd_device *obd = class_exp2obd(exp); local
2194 lov_quotactl(struct obd_device *obd, struct obd_export *exp, struct obd_quotactl *oqctl) argument
2255 lov_quotacheck(struct obd_device *obd, struct obd_export *exp, struct obd_quotactl *oqctl) argument
[all...]
H A Dlov_pool.c49 #include "../include/obd.h"
424 int lov_pool_new(struct obd_device *obd, char *poolname) argument
430 lov = &(obd->u.lov);
441 new_pool->pool_lobd = obd;
472 spin_lock(&obd->obd_dev_lock);
475 spin_unlock(&obd->obd_dev_lock);
491 spin_lock(&obd->obd_dev_lock);
494 spin_unlock(&obd->obd_dev_lock);
505 int lov_pool_del(struct obd_device *obd, char *poolname) argument
510 lov = &(obd
535 lov_pool_add(struct obd_device *obd, char *poolname, char *ostname) argument
582 lov_pool_remove(struct obd_device *obd, char *poolname, char *ostname) argument
[all...]
H A Dlov_dev.c397 struct obd_device *obd = dev->ld_obd; local
404 obd_getref(obd);
406 tgt = obd->u.lov.lov_tgts[index];
433 obd_putref(obd);
440 struct obd_device *obd = d->ld_obd; local
446 obd_getref(obd);
463 obd_putref(obd);
478 struct obd_device *obd; local
494 obd = class_name2obd(lustre_cfg_string(cfg, 0));
495 LASSERT(obd !
[all...]
/drivers/staging/lustre/lustre/osc/
H A Dlproc_osc.c239 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
240 struct client_obd *cli = &obd->u.cli;
244 if (obd == NULL)
259 LPROCFS_CLIMP_CHECK(obd);
262 LPROCFS_CLIMP_EXIT(obd);
284 struct obd_device *obd = m->private; local
286 if (obd == NULL)
289 obd->u.cli.cl_grant_shrink_interval);
295 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
298 if (obd
316 struct obd_device *obd = m->private; local
328 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
346 struct obd_device *obd = m->private; local
368 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
399 struct obd_device *obd = m->private; local
407 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
425 struct obd_device *obd = m->private; local
434 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
444 struct obd_device *obd = m->private; local
453 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; local
463 struct obd_device *obd = m->private; local
[all...]
H A Dosc_dev.c217 struct obd_device *obd; local
230 obd = class_name2obd(lustre_cfg_string(cfg, 0));
231 LASSERT(obd != NULL);
232 rc = osc_setup(obd, cfg);
237 od->od_exp = obd->obd_self_export;
H A Dosc_internal.h129 int osc_process_config_base(struct obd_device *obd, struct lustre_cfg *cfg);
136 int osc_cleanup(struct obd_device *obd);
137 int osc_setup(struct obd_device *obd, struct lustre_cfg *lcfg);
197 int osc_quota_setup(struct obd_device *obd);
198 int osc_quota_cleanup(struct obd_device *obd);
H A Dosc_request.c100 int osc_cleanup(struct obd_device *obd);
1002 * cli_brw_size(obd->u.cli.cl_import->imp_obd->obd_self_export)
2133 struct obd_device *obd = class_exp2obd(exp); local
2137 rc = ldlm_resource_iterate(obd->obd_namespace, &res_id, replace, data);
2257 struct obd_device *obd = exp->exp_obd; local
2293 mode = ldlm_lock_match(obd->obd_namespace, *flags | match_lvb, res_id,
2398 struct obd_device *obd = exp->exp_obd; local
2417 rc = ldlm_lock_match(obd->obd_namespace, lflags,
2485 struct obd_device *obd = class_exp2obd(exp); local
2496 req = ptlrpc_request_alloc(obd
2527 struct obd_device *obd = class_exp2obd(exp); local
2653 struct obd_device *obd = exp->exp_obd; local
2886 struct obd_device *obd = exp->exp_obd; local
2998 osc_reconnect(const struct lu_env *env, struct obd_export *exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *data, void *localdata) argument
3026 struct obd_device *obd = class_exp2obd(exp); local
3052 osc_import_event(struct obd_device *obd, struct obd_import *imp, enum obd_import_event event) argument
3161 osc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) argument
3218 osc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) argument
3259 osc_cleanup(struct obd_device *obd) argument
3284 osc_process_config_base(struct obd_device *obd, struct lustre_cfg *lcfg) argument
3303 osc_process_config(struct obd_device *obd, u32 len, void *buf) argument
[all...]
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_lib.c47 #include "../include/obd.h"
492 struct obd_device *obd, struct obd_uuid *cluuid,
495 struct client_obd *cli = &obd->u.cli;
508 rc = class_connect(&conn, obd, cluuid);
515 LASSERT(obd->obd_namespace);
559 struct obd_device *obd = class_exp2obd(exp); local
564 if (!obd) {
570 cli = &obd->u.cli;
574 CDEBUG(D_INFO, "disconnect %s - %d\n", obd->obd_name,
579 obd
490 client_connect_import(const struct lu_env *env, struct obd_export **exp, struct obd_device *obd, struct obd_uuid *cluuid, struct obd_connect_data *data, void *localdata) argument
636 struct obd_device *obd; local
[all...]
H A Dldlm_pool.c308 * Sets current SLV into obd accessible via ldlm_pl2ns(pl)->ns_obd.
312 struct obd_device *obd; local
315 * Set new SLV in obd field for using it later without accessing the
318 * that namespace is still alive. We know only that obd is alive as
321 obd = ldlm_pl2ns(pl)->ns_obd;
322 LASSERT(obd != NULL);
323 write_lock(&obd->obd_pool_lock);
324 obd->obd_pool_slv = pl->pl_server_lock_volume;
325 write_unlock(&obd->obd_pool_lock);
354 * Make sure that pool informed obd o
435 struct obd_device *obd; local
453 struct obd_device *obd; local
[all...]
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_request.c61 static int mdc_cleanup(struct obd_device *obd);
861 struct obd_device *obd = class_exp2obd(exp); local
876 obd->obd_name, PFID(&op_data->op_fid1), rc);
923 obd->u.cli.cl_default_mds_easize);
925 obd->u.cli.cl_default_mds_cookiesize);
929 mdc_get_rpc_lock(obd->u.cli.cl_close_lock, NULL);
931 mdc_put_rpc_lock(obd->u.cli.cl_close_lock, NULL);
980 struct obd_device *obd = class_exp2obd(exp); local
1013 mdc_get_rpc_lock(obd->u.cli.cl_close_lock, NULL);
1015 mdc_put_rpc_lock(obd
1134 struct obd_device *obd = class_exp2obd(exp); local
1650 mdc_ioc_changelog_send(struct obd_device *obd, struct ioc_changelog *icc) argument
1830 struct obd_device *obd = exp->exp_obd; local
2297 mdc_import_event(struct obd_device *obd, struct obd_import *imp, enum obd_import_event event) argument
2397 mdc_llog_init(struct obd_device *obd) argument
2415 mdc_llog_finish(struct obd_device *obd) argument
2424 mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg) argument
2483 struct obd_device *obd = exp->exp_obd; local
2501 mdc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) argument
2521 mdc_cleanup(struct obd_device *obd) argument
2533 mdc_process_config(struct obd_device *obd, u32 len, void *buf) argument
[all...]
H A Dmdc_reint.c110 struct obd_device *obd = exp->exp_obd; local
144 rpc_lock = obd->u.cli.cl_rpc_lock;
322 struct obd_device *obd = class_exp2obd(exp); local
359 obd->u.cli.cl_default_mds_easize);
361 obd->u.cli.cl_default_mds_cookiesize);
366 rc = mdc_reint(req, obd->u.cli.cl_rpc_lock, LUSTRE_IMP_FULL);
376 struct obd_device *obd = exp->exp_obd; local
410 rc = mdc_reint(req, obd->u.cli.cl_rpc_lock, LUSTRE_IMP_FULL);
423 struct obd_device *obd = exp->exp_obd; local
472 obd
[all...]

Completed in 891 milliseconds

123