Home
last modified time | relevance | path

Searched defs:obd (Results 1 – 51 of 51) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dgenops.c71 struct obd_device *obd; in obd_device_alloc() local
80 static void obd_device_free(struct obd_device *obd) in obd_device_free()
305 struct obd_device *obd = class_num2obd(i); in class_newdev() local
357 void class_release_dev(struct obd_device *obd) in class_release_dev()
387 struct obd_device *obd = class_num2obd(i); in class_name2dev() local
422 struct obd_device *obd = class_num2obd(i); in class_uuid2dev() local
455 struct obd_device *obd = NULL; in class_num2obd() local
485 struct obd_device *obd = class_num2obd(index); in get_devices_count() local
502 struct obd_device *obd = class_num2obd(i); in class_obd_list() local
534 struct obd_device *obd = class_num2obd(i); in class_find_client_obd() local
[all …]
Dlprocfs_status.c442 struct obd_device *obd = data; in lprocfs_rd_uuid() local
462 struct obd_device *obd = data; in lprocfs_rd_blksize() local
476 struct obd_device *obd = data; in lprocfs_rd_kbytestotal() local
497 struct obd_device *obd = data; in lprocfs_rd_kbytesfree() local
518 struct obd_device *obd = data; in lprocfs_rd_kbytesavail() local
539 struct obd_device *obd = data; in lprocfs_rd_filestotal() local
553 struct obd_device *obd = data; in lprocfs_rd_filesfree() local
567 struct obd_device *obd = data; in lprocfs_rd_server_uuid() local
587 struct obd_device *obd = data; in lprocfs_rd_conn_uuid() local
692 struct obd_device *obd = (struct obd_device *)data; in lprocfs_rd_import() local
[all …]
Dllog_obd.c45 static struct llog_ctxt *llog_new_ctxt(struct obd_device *obd) in llog_new_ctxt()
75 struct obd_device *obd; in __llog_ctxt_put() local
145 int llog_setup(const struct lu_env *env, struct obd_device *obd, in llog_setup()
Dobd_config.c336 struct obd_device *obd = NULL; in class_attach() local
451 int class_setup(struct obd_device *obd, struct lustre_cfg *lcfg) in class_setup()
583 int class_detach(struct obd_device *obd, struct lustre_cfg *lcfg) in class_detach()
611 int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg) in class_cleanup()
710 struct obd_device *class_incref(struct obd_device *obd, in class_incref()
722 void class_decref(struct obd_device *obd, const char *scope, const void *source) in class_decref()
772 int class_add_conn(struct obd_device *obd, struct lustre_cfg *lcfg) in class_add_conn()
807 int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) in class_del_conn()
1100 struct obd_device *obd; in class_process_config() local
1718 int class_manual_cleanup(struct obd_device *obd) in class_manual_cleanup()
Dclass_obd.c207 struct obd_device *obd = NULL; in class_handle_ioctl() local
662 struct obd_device *obd = class_num2obd(i); in cleanup_obdclass() local
667 OBP(obd, detach)(obd); in cleanup_obdclass() local
Dobd_mount.c208 struct obd_device *obd; in lustre_start_mgc() local
479 struct obd_device *obd; in lustre_stop_mgc() local
Dllog.c944 int llog_backup(const struct lu_env *env, struct obd_device *obd, in llog_backup()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c80 struct obd_device *obd; in lmv_set_mdc_active() local
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()
263 static void lmv_set_timeouts(struct obd_device *obd) in lmv_set_timeouts()
289 struct obd_device *obd = exp->exp_obd; in lmv_init_ea_size() local
338 static int lmv_connect_mdc(struct obd_device *obd, struct lmv_tgt_desc *tgt) in lmv_connect_mdc()
450 static int lmv_add_target(struct obd_device *obd, struct obd_uuid *uuidp, in lmv_add_target()
546 int lmv_check_connect(struct obd_device *obd) in lmv_check_connect()
612 static int lmv_disconnect_mdc(struct obd_device *obd, struct lmv_tgt_desc *tgt) in lmv_disconnect_mdc()
658 struct obd_device *obd = class_exp2obd(exp); in lmv_disconnect() local
[all …]
Dlmv_intent.c61 struct obd_device *obd = exp->exp_obd; in lmv_intent_remote() local
165 struct obd_device *obd = exp->exp_obd; in lmv_intent_open() local
248 struct obd_device *obd = exp->exp_obd; in lmv_intent_lookup() local
298 struct obd_device *obd = exp->exp_obd; in lmv_intent_lock() local
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c242 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in osc_cur_grant_bytes_seq_write() local
287 struct obd_device *obd = m->private; in osc_grant_shrink_interval_seq_show() local
299 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in osc_grant_shrink_interval_seq_write() local
320 struct obd_device *obd = m->private; in osc_checksum_seq_show() local
333 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in osc_checksum_seq_write() local
351 struct obd_device *obd = m->private; in osc_checksum_type_seq_show() local
374 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in osc_checksum_type_seq_write() local
405 struct obd_device *obd = m->private; in osc_resend_count_seq_show() local
415 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in osc_resend_count_seq_write() local
433 struct obd_device *obd = m->private; in osc_contention_seconds_seq_show() local
[all …]
Dosc_request.c2131 struct obd_device *obd = class_exp2obd(exp); in osc_find_cbdata() local
2255 struct obd_device *obd = exp->exp_obd; in osc_enqueue_base() local
2396 struct obd_device *obd = exp->exp_obd; in osc_match_base() local
2483 struct obd_device *obd = class_exp2obd(exp); in osc_statfs_async() local
2525 struct obd_device *obd = class_exp2obd(exp); in osc_statfs() local
2651 struct obd_device *obd = exp->exp_obd; in osc_iocontrol() local
2884 struct obd_device *obd = exp->exp_obd; in osc_set_info_async() local
2997 struct obd_export *exp, struct obd_device *obd, in osc_reconnect()
3024 struct obd_device *obd = class_exp2obd(exp); in osc_disconnect() local
3050 static int osc_import_event(struct obd_device *obd, in osc_import_event()
[all …]
Dosc_quota.c205 int osc_quota_setup(struct obd_device *obd) in osc_quota_setup()
233 int osc_quota_cleanup(struct obd_device *obd) in osc_quota_cleanup()
Dosc_dev.c217 struct obd_device *obd; in osc_device_alloc() local
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h301 static inline enum obd_option exp_flags_from_obd(struct obd_device *obd) in exp_flags_from_obd()
336 static inline int obd_check_dev(struct obd_device *obd) in obd_check_dev()
346 static inline int obd_check_dev_active(struct obd_device *obd) in obd_check_dev_active()
416 #define OBD_COUNTER_INCREMENT(obd, op) argument
418 #define MD_COUNTER_INCREMENT(obd, op) argument
436 #define OBD_CHECK_MD_OP(obd, op, err) \ argument
465 #define OBD_CHECK_DT_OP(obd, op, err) \ argument
559 static inline int obd_setup(struct obd_device *obd, struct lustre_cfg *cfg) in obd_setup()
595 static inline int obd_precleanup(struct obd_device *obd, in obd_precleanup()
624 static inline int obd_cleanup(struct obd_device *obd) in obd_cleanup()
[all …]
Dlustre_log.h427 static inline struct llog_ctxt *llog_get_context(struct obd_device *obd, in llog_get_context()
438 static inline int llog_ctxt_null(struct obd_device *obd, int index) in llog_ctxt_null()
Dlprocfs_status.h673 #define LPROCFS_CLIMP_CHECK(obd) do { \ argument
681 #define LPROCFS_CLIMP_EXIT(obd) \ argument
887 static inline void lprocfs_free_per_client_stats(struct obd_device *obd) in lprocfs_free_per_client_stats()
Dlustre_net.h2955 static inline void ptlrpc_lprocfs_register_obd(struct obd_device *obd) {} in ptlrpc_lprocfs_register_obd()
2956 static inline void ptlrpc_lprocfs_unregister_obd(struct obd_device *obd) {} in ptlrpc_lprocfs_unregister_obd()
Dobd.h441 #define obd2cli_tgt(obd) ((char *)(obd)->u.cli.cl_target_uuid.uuid) argument
1490 static inline int cli_brw_size(struct obd_device *obd) in cli_brw_size()
/linux-4.1.27/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()
279 static struct config_llog_data *config_params_log_add(struct obd_device *obd, in config_params_log_add()
298 static int config_log_add(struct obd_device *obd, char *logname, in config_log_add()
454 struct obd_device *obd = data; in lprocfs_mgc_rd_ir_state() local
644 static int mgc_llog_init(const struct lu_env *env, struct obd_device *obd) in mgc_llog_init()
665 static int mgc_llog_fini(const struct lu_env *env, struct obd_device *obd) in mgc_llog_fini()
677 static int mgc_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage) in mgc_precleanup()
709 static int mgc_cleanup(struct obd_device *obd) in mgc_cleanup()
723 static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) in mgc_setup()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c65 static void lov_getref(struct obd_device *obd) in lov_getref()
78 static void lov_putref(struct obd_device *obd) in lov_putref()
122 int lov_connect_obd(struct obd_device *obd, __u32 index, int activate, in lov_connect_obd()
216 struct obd_export **exp, struct obd_device *obd, in lov_connect()
269 static int lov_disconnect_obd(struct obd_device *obd, struct lov_tgt_desc *tgt) in lov_disconnect_obd()
315 struct obd_device *obd = class_exp2obd(exp); in lov_disconnect() local
354 static int lov_set_osc_active(struct obd_device *obd, struct obd_uuid *uuid, in lov_set_osc_active()
436 static int lov_notify(struct obd_device *obd, struct obd_device *watched, in lov_notify()
517 static int lov_add_target(struct obd_device *obd, struct obd_uuid *uuidp, in lov_add_target()
653 int lov_del_target(struct obd_device *obd, __u32 index, in lov_del_target()
[all …]
Dlov_pool.c424 int lov_pool_new(struct obd_device *obd, char *poolname) in lov_pool_new()
505 int lov_pool_del(struct obd_device *obd, char *poolname) in lov_pool_del()
535 int lov_pool_add(struct obd_device *obd, char *poolname, char *ostname) in lov_pool_add()
582 int lov_pool_remove(struct obd_device *obd, char *poolname, char *ostname) in lov_pool_remove()
Dlov_dev.c397 struct obd_device *obd = dev->ld_obd; in lov_cl_add_target() local
440 struct obd_device *obd = d->ld_obd; in lov_process_config() local
478 struct obd_device *obd; in lov_device_alloc() local
Dlov_pack.c134 struct obd_device *obd = class_exp2obd(exp); in lov_packmd() local
357 struct obd_device *obd = class_exp2obd(exp); in lov_unpackmd() local
Dlov_request.c569 int lov_fini_statfs(struct obd_device *obd, struct obd_statfs *osfs, in lov_fini_statfs()
712 int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo, in lov_prep_statfs_set()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c110 struct obd_device *obd = exp->exp_obd; in mdc_setattr() local
322 struct obd_device *obd = class_exp2obd(exp); in mdc_unlink() local
376 struct obd_device *obd = exp->exp_obd; in mdc_link() local
423 struct obd_device *obd = exp->exp_obd; in mdc_rename() local
Dmdc_request.c864 struct obd_device *obd = class_exp2obd(exp); in mdc_close() local
983 struct obd_device *obd = class_exp2obd(exp); in mdc_done_writing() local
1137 struct obd_device *obd = class_exp2obd(exp); in mdc_statfs() local
1653 static int mdc_ioc_changelog_send(struct obd_device *obd, in mdc_ioc_changelog_send()
1833 struct obd_device *obd = exp->exp_obd; in mdc_iocontrol() local
2300 static int mdc_import_event(struct obd_device *obd, struct obd_import *imp, in mdc_import_event()
2400 static int mdc_llog_init(struct obd_device *obd) in mdc_llog_init()
2418 static void mdc_llog_finish(struct obd_device *obd) in mdc_llog_finish()
2427 static int mdc_setup(struct obd_device *obd, struct lustre_cfg *cfg) in mdc_setup()
2486 struct obd_device *obd = exp->exp_obd; in mdc_init_ea_size() local
[all …]
Dlproc_mdc.c90 struct obd_device *obd = in mdc_kuc_write() local
Dmdc_locks.c178 struct obd_device *obd = class_exp2obd(exp); in mdc_cancel_unused() local
504 struct obd_device *obd = class_exp2obd(exp); in mdc_intent_layout_pack() local
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c492 struct obd_device *obd, struct obd_uuid *cluuid, in client_connect_import()
559 struct obd_device *obd = class_exp2obd(exp); in client_disconnect_export() local
637 struct obd_device *obd; in target_pack_pool_reply() local
Dldlm_pool.c310 struct obd_device *obd; in ldlm_srv_pool_push_slv() local
433 struct obd_device *obd; in ldlm_srv_pool_setup() local
451 struct obd_device *obd; in ldlm_cli_pool_pop_slv() local
Dldlm_request.c95 struct obd_device *obd; in ldlm_expired_completion_wait() local
224 struct obd_device *obd; in ldlm_completion_ast() local
1258 struct obd_device *obd; in ldlm_cli_update_pool() local
Dldlm_flock.c587 struct obd_device *obd; in ldlm_flock_completion_ast() local
Dldlm_lockd.c486 struct obd_device *obd = req->rq_export->exp_obd; in ldlm_handle_setinfo() local
Dldlm_resource.c562 struct ldlm_namespace *ldlm_namespace_new(struct obd_device *obd, char *name, in ldlm_namespace_new()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c1174 void ptlrpc_lprocfs_unregister_obd(struct obd_device *obd) in ptlrpc_lprocfs_unregister_obd()
1190 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in lprocfs_wr_evict_client() local
1238 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in lprocfs_wr_ping() local
1266 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in lprocfs_wr_import() local
1329 struct obd_device *obd = m->private; in lprocfs_rd_pinger_recov() local
1343 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; in lprocfs_wr_pinger_recov() local
Dpinger.c75 int ptlrpc_obd_ping(struct obd_device *obd) in ptlrpc_obd_ping()
556 struct obd_device *obd; in ping_evictor_wake() local
578 struct obd_device *obd; in ping_evictor_main() local
Drecover.c268 struct obd_device *obd = imp->imp_obd; in ptlrpc_set_import_active() local
Dimport.c391 struct obd_device *obd = imp->imp_obd; in ptlrpc_activate_import() local
634 struct obd_device *obd = imp->imp_obd; in ptlrpc_connect_import() local
Dsec_config.c72 enum lustre_sec_part sptlrpc_target_sec_part(struct obd_device *obd) in sptlrpc_target_sec_part()
861 void sptlrpc_conf_client_adapt(struct obd_device *obd) in sptlrpc_conf_client_adapt()
Dniobuf.c496 struct obd_device *obd = request->rq_import->imp_obd; in ptl_send_rpc() local
Dsec_null.c84 struct obd_device *obd = req->rq_import->imp_obd; in null_ctx_sign() local
Dsec.c1926 void sptlrpc_target_update_exp_flavor(struct obd_device *obd, in sptlrpc_target_update_exp_flavor()
Dclient.c1207 struct obd_device *obd = req->rq_import->imp_obd; in after_reply() local
Dservice.c1103 struct obd_device *obd = req->rq_export->exp_obd; in ptlrpc_check_req() local
/linux-4.1.27/drivers/staging/lustre/lustre/fid/
Dfid_request.c501 int client_fid_init(struct obd_device *obd, in client_fid_init()
534 int client_fid_fini(struct obd_device *obd) in client_fid_fini()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c245 struct obd_device *obd; in obd_proc_health_seq_show() local
368 struct obd_device *obd = class_num2obd((int)index); in obd_device_list_seq_show() local
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_lib.c157 struct obd_device *obd; in client_common_fill_super() local
1012 struct obd_device *obd; in ll_put_super() local
1930 struct obd_device *obd; in ll_umount_begin() local
2276 struct obd_device *obd; in ll_get_obd_name() local
Dlproc_llite.c970 struct obd_device *obd; in lprocfs_register_mountpoint() local
Dfile.c134 struct obd_device *obd = class_exp2obd(exp); in ll_close_inode_openhandle() local
Dllite_internal.h1030 struct obd_device *obd = sbi->ll_md_exp->exp_obd; in sbi2mdc() local
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c115 static inline struct echo_device *obd2echo_dev(const struct obd_device *obd) in obd2echo_dev()
697 struct obd_device *obd = NULL; /* to keep compiler happy */ in echo_device_alloc() local
1754 struct obd_device *obd = class_exp2obd(exp); in echo_client_brw_ioctl() local
1857 struct obd_device *obd = exp->exp_obd; in echo_client_iocontrol() local