Searched refs:loghandle (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | llog_cat.c | 63 struct llog_handle *loghandle, in llog_cat_new_log() argument 85 rc = llog_create(env, loghandle, th); in llog_cat_new_log() 91 loghandle->lgh_ctxt->loc_obd->obd_name, rc); in llog_cat_new_log() 95 rc = llog_init_handle(env, loghandle, in llog_cat_new_log() 104 spin_lock(&loghandle->lgh_hdr_lock); in llog_cat_new_log() 109 spin_unlock(&loghandle->lgh_hdr_lock); in llog_cat_new_log() 112 spin_unlock(&loghandle->lgh_hdr_lock); in llog_cat_new_log() 119 DOSTID"\n", POSTID(&loghandle->lgh_id.lgl_oi), in llog_cat_new_log() 120 loghandle->lgh_id.lgl_ogen, index, in llog_cat_new_log() 126 rec.lid_id = loghandle->lgh_id; in llog_cat_new_log() [all …]
|
D | llog.c | 61 struct llog_handle *loghandle; in llog_alloc_handle() local 63 OBD_ALLOC_PTR(loghandle); in llog_alloc_handle() 64 if (loghandle == NULL) in llog_alloc_handle() 67 init_rwsem(&loghandle->lgh_lock); in llog_alloc_handle() 68 spin_lock_init(&loghandle->lgh_hdr_lock); in llog_alloc_handle() 69 INIT_LIST_HEAD(&loghandle->u.phd.phd_entry); in llog_alloc_handle() 70 atomic_set(&loghandle->lgh_refcount, 1); in llog_alloc_handle() 72 return loghandle; in llog_alloc_handle() 78 static void llog_free_handle(struct llog_handle *loghandle) in llog_free_handle() argument 80 LASSERT(loghandle != NULL); in llog_free_handle() [all …]
|
D | llog_internal.h | 85 void llog_handle_get(struct llog_handle *loghandle); 86 void llog_handle_put(struct llog_handle *loghandle); 94 struct llog_handle *loghandle, 97 struct llog_handle *loghandle, int index);
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | llog_client.c | 146 struct llog_handle *loghandle) in llog_client_destroy() argument 153 LLOG_CLIENT_ENTRY(loghandle->lgh_ctxt, imp); in llog_client_destroy() 163 body->lgd_logid = loghandle->lgh_id; in llog_client_destroy() 164 body->lgd_llh_flags = loghandle->lgh_hdr->llh_flags; in llog_client_destroy() 175 LLOG_CLIENT_EXIT(loghandle->lgh_ctxt, imp); in llog_client_destroy() 181 struct llog_handle *loghandle, in llog_client_next_block() argument 191 LLOG_CLIENT_ENTRY(loghandle->lgh_ctxt, imp); in llog_client_next_block() 201 body->lgd_logid = loghandle->lgh_id; in llog_client_next_block() 202 body->lgd_ctxt_idx = loghandle->lgh_ctxt->loc_idx - 1; in llog_client_next_block() 203 body->lgd_llh_flags = loghandle->lgh_hdr->llh_flags; in llog_client_next_block() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_log.h | 122 int llog_process(const struct lu_env *env, struct llog_handle *loghandle, 125 struct llog_handle *loghandle, 128 struct llog_handle *loghandle, llog_cb_t cb, 130 int llog_cancel_rec(const struct lu_env *env, struct llog_handle *loghandle, 268 struct llog_handle *loghandle, 340 static inline int llog_handle2ops(struct llog_handle *loghandle, in llog_handle2ops() argument 343 if (loghandle == NULL || loghandle->lgh_logops == NULL) in llog_handle2ops() 346 *lop = loghandle->lgh_logops; in llog_handle2ops() 355 static inline int llog_get_size(struct llog_handle *loghandle) in llog_get_size() argument 357 if (loghandle && loghandle->lgh_hdr) in llog_get_size() [all …]
|