int lprocfs_exp_print_uuid_seq(cfs_hash_t *hs, cfs_hash_bd_t *bd, struct hlist_node *hnode, void *cb_data) { struct obd_export *exp = cfs_hash_object(hs, hnode); struct seq_file *m = cb_data; if (exp->exp_nid_stats) seq_printf(m, "%s\n", obd_uuid2str(&exp->exp_client_uuid)); return 0; }
static int lprocfs_exp_print_nodemap_seq(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *cb_data) { struct seq_file *m = cb_data; struct obd_export *exp = cfs_hash_object(hs, hnode); struct lu_nodemap *nodemap = exp->exp_target_data.ted_nodemap; if (nodemap != NULL) seq_printf(m, "%s\n", nodemap->nm_name); return 0; }
int lprocfs_exp_print_hash_seq(cfs_hash_t *hs, cfs_hash_bd_t *bd, struct hlist_node *hnode, void *cb_data) { struct seq_file *m = cb_data; struct obd_export *exp = cfs_hash_object(hs, hnode); if (exp->exp_lock_hash != NULL) { cfs_hash_debug_header(m); cfs_hash_debug_str(hs, m); } return 0; }
int lprocfs_exp_print_replydata_seq(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *cb_data) { struct obd_export *exp = cfs_hash_object(hs, hnode); struct seq_file *m = cb_data; struct tg_export_data *ted = &exp->exp_target_data; seq_printf(m, "reply_cnt: %d\n" "reply_max: %d\n" "reply_released_by_xid: %d\n" "reply_released_by_tag: %d\n\n", ted->ted_reply_cnt, ted->ted_reply_max, ted->ted_release_xid, ted->ted_release_tag); return 0; }