Home
last modified time | relevance | path

Searched refs:lv (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_log_cil.c167 struct xfs_log_vec *lv = NULL; in xlog_cil_prepare_log_vecs() local
224 lv->lv_next = new_lv; in xlog_cil_prepare_log_vecs()
225 lv = new_lv; in xlog_cil_prepare_log_vecs()
239 struct xfs_log_vec *lv, in xfs_cil_prepare_item() argument
243 struct xfs_log_vec *old = lv->lv_item->li_lv; in xfs_cil_prepare_item()
247 ASSERT(!list_empty(&lv->lv_item->li_cil)); in xfs_cil_prepare_item()
250 *len += lv->lv_buf_len - old->lv_buf_len; in xfs_cil_prepare_item()
251 *diff_iovecs += lv->lv_niovecs - old->lv_niovecs; in xfs_cil_prepare_item()
256 ASSERT(!lv->lv_item->li_lv); in xfs_cil_prepare_item()
257 ASSERT(list_empty(&lv->lv_item->li_cil)); in xfs_cil_prepare_item()
[all …]
Dxfs_log.c1733 struct xfs_log_vec *lv; in xlog_write_calc_vec_length() local
1742 for (lv = log_vector; lv; lv = lv->lv_next) { in xlog_write_calc_vec_length()
1743 headers += lv->lv_niovecs; in xlog_write_calc_vec_length()
1745 for (i = 0; i < lv->lv_niovecs; i++) { in xlog_write_calc_vec_length()
1746 struct xfs_log_iovec *vecp = &lv->lv_iovecp[i]; in xlog_write_calc_vec_length()
1961 struct xfs_log_vec *lv; in xlog_write() local
1994 lv = log_vector; in xlog_write()
1995 vecp = lv->lv_iovecp; in xlog_write()
1996 while (lv && index < lv->lv_niovecs) { in xlog_write()
2016 while (lv && index < lv->lv_niovecs) { in xlog_write()
[all …]
Dxfs_trans.c1268 struct xfs_log_vec *lv; in xfs_trans_committed_bulk() local
1277 for (lv = log_vector; lv; lv = lv->lv_next ) { in xfs_trans_committed_bulk()
1278 struct xfs_log_item *lip = lv->lv_item; in xfs_trans_committed_bulk()
1318 log_items[i++] = lv->lv_item; in xfs_trans_committed_bulk()
Dxfs_trans_priv.h34 void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
/fs/jfs/
Djfs_dtree.c309 struct lv *lv; in lock_index() local
316 lv = &llck->lv[llck->index]; in lock_index()
322 lv->offset = ((index - 2) & 511) >> 1; in lock_index()
323 lv->length = 1; in lock_index()
343 struct lv *lv; in add_index() local
428 lv = &llck->lv[0]; in add_index()
430 lv->offset = 0; in add_index()
431 lv->length = 6; /* tlckDATA slot size is 16 bytes */ in add_index()
834 struct lv *lv; in dtInsert() local
891 lv = & dtlck->lv[0]; in dtInsert()
[all …]
Djfs_txnmgr.h162 struct lv { struct
181 struct lv lv[20]; /* 40: */ argument
197 struct lv header; /* 2: */
198 struct lv lwm; /* 2: low water mark */
199 struct lv hwm; /* 2: high water mark */
200 struct lv twm; /* 2: */
Djfs_imap.c618 struct lv *lv; in diWrite() local
709 lv = ilinelock->lv; in diWrite()
710 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite()
711 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite()
712 lv->length << L2XTSLOTSIZE); in diWrite()
745 lv = ilinelock->lv; in diWrite()
746 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite()
747 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite()
748 lv->length << L2XTSLOTSIZE); in diWrite()
769 lv = ilinelock->lv; in diWrite()
[all …]
Djfs_logmgr.c373 struct lv *lv; in lmWriteRecord() local
421 lv = linelock->lv; in lmWriteRecord()
422 for (i = 0; i < linelock->index; i++, lv++) { in lmWriteRecord()
423 if (lv->length == 0) in lmWriteRecord()
439 src = (u8 *) p + (lv->offset << l2linesize); in lmWriteRecord()
440 srclen = lv->length << l2linesize; in lmWriteRecord()
469 lvd->offset = cpu_to_le16(lv->offset); in lmWriteRecord()
470 lvd->length = cpu_to_le16(lv->length); in lmWriteRecord()
473 lv->offset, lv->length); in lmWriteRecord()
Dnamei.c1077 struct lv *lv; in jfs_rename() local
1250 lv = & dtlck->lv[0]; in jfs_rename()
1251 lv->offset = 0; in jfs_rename()
1252 lv->length = 1; in jfs_rename()
/fs/nfs/blocklayout/
Dblocklayoutdev.c238 struct layout_verification *lv) in verify_extent() argument
240 if (lv->mode == IOMODE_READ) { in verify_extent()
244 if (be->be_f_offset != lv->start) in verify_extent()
246 lv->start += be->be_length; in verify_extent()
251 if (be->be_f_offset != lv->start) in verify_extent()
253 if (lv->cowread > lv->start) in verify_extent()
255 lv->start += be->be_length; in verify_extent()
256 lv->inval = lv->start; in verify_extent()
259 if (be->be_f_offset != lv->start) in verify_extent()
261 lv->start += be->be_length; in verify_extent()
[all …]