Searched defs:llh (Results 1 - 6 of 6) sorted by relevance

/drivers/staging/lustre/lustre/lov/
H A Dlov_internal.h146 static inline void lov_llh_put(struct lov_lock_handles *llh) argument
148 CDEBUG(D_INFO, "PUTting llh %p : new refcount %d\n", llh,
149 atomic_read(&llh->llh_refcount) - 1);
150 LASSERT(atomic_read(&llh->llh_refcount) > 0 &&
151 atomic_read(&llh->llh_refcount) < 0x5a5a);
152 if (atomic_dec_and_test(&llh->llh_refcount)) {
153 class_handle_unhash(&llh->llh_handle);
156 if (atomic_read(&llh->llh_refcount))
159 OBD_FREE_RCU(llh, sizeo
[all...]
/drivers/staging/lustre/lustre/obdclass/
H A Dllog_cat.c67 struct llog_log_hdr *llh; local
71 llh = cathandle->lgh_hdr;
72 bitmap_size = LLOG_BITMAP_SIZE(llh);
77 if (llh->llh_cat_idx == index) {
105 llh->llh_count++;
106 if (ext2_set_bit(index, llh->llh_bitmap)) {
115 llh->llh_tail.lrt_index = index;
220 struct llog_log_hdr *llh = loghandle->lgh_hdr; local
225 llh = loghandle->lgh_hdr;
226 if (loghandle->lgh_obj != NULL && llh !
275 struct llog_log_hdr *llh; local
295 struct llog_log_hdr *llh; local
535 struct llog_handle *llh; local
582 struct llog_log_hdr *llh = cat_llh->lgh_hdr; local
631 struct llog_handle *llh; local
661 struct llog_log_hdr *llh = cat_llh->lgh_hdr; local
697 struct llog_log_hdr *llh = cathandle->lgh_hdr; local
760 struct llog_log_hdr *llh; local
802 llog_cat_init_and_process(const struct lu_env *env, struct llog_handle *llh) argument
[all...]
H A Dllog_swab.c239 struct llog_log_hdr *llh = (struct llog_log_hdr *)rec; local
241 __swab64s(&llh->llh_timestamp);
242 __swab32s(&llh->llh_count);
243 __swab32s(&llh->llh_bitmap_offset);
244 __swab32s(&llh->llh_flags);
245 __swab32s(&llh->llh_size);
246 __swab32s(&llh->llh_cat_idx);
247 tail = &llh->llh_tail;
H A Dllog.c112 struct llog_log_hdr *llh = loghandle->lgh_hdr; local
124 if (!ext2_clear_bit(index, llh->llh_bitmap)) {
130 llh->llh_count--;
132 if ((llh->llh_flags & LLOG_F_ZAP_WHEN_EMPTY) &&
133 (llh->llh_count == 1) &&
149 rc = llog_write(env, loghandle, &llh->llh_hdr, NULL, 0, NULL, 0);
161 ext2_set_bit(index, llh->llh_bitmap);
162 llh->llh_count++;
184 struct llog_log_hdr *llh = handle->lgh_hdr; local
187 llh
205 struct llog_log_hdr *llh; local
275 struct llog_log_hdr *llh = loghandle->lgh_hdr; local
482 struct llog_log_hdr *llh = loghandle->lgh_hdr; local
910 struct llog_handle *llh; local
933 llog_copy_handler(const struct lu_env *env, struct llog_handle *llh, struct llog_rec_hdr *rec, void *data) argument
948 struct llog_handle *llh, *bllh; local
[all...]
H A Dobd_config.c1584 struct llog_handle *llh; local
1589 rc = llog_open(env, ctxt, &llh, NULL, name, LLOG_OPEN_EXISTS);
1593 rc = llog_init_handle(env, llh, LLOG_F_IS_PLAIN, NULL);
1608 rc = llog_process(env, llh, callback, cfg, &cd);
1616 llog_close(env, llh);
1696 struct llog_handle *llh; local
1701 rc = llog_open(env, ctxt, &llh, NULL, name, LLOG_OPEN_EXISTS);
1705 rc = llog_init_handle(env, llh, LLOG_F_IS_PLAIN, NULL);
1709 rc = llog_process(env, llh, class_config_dump_handler, cfg, NULL);
1711 llog_close(env, llh);
[all...]
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_request.c1551 static int changelog_kkuc_cb(const struct lu_env *env, struct llog_handle *llh, argument
1597 struct llog_handle *llh = NULL; local
1616 rc = llog_open(NULL, ctxt, &llh, NULL, CHANGELOG_CATALOG,
1623 rc = llog_init_handle(NULL, llh, LLOG_F_IS_CAT, NULL);
1629 rc = llog_cat_process(NULL, llh, changelog_kkuc_cb, cs, 0, 0);
1640 if (llh)
1641 llog_cat_close(NULL, llh);

Completed in 164 milliseconds