Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_ail.c58 xfs_log_item_t *lip; in xfs_trans_ail_tail() local
61 lip = xfs_ail_min(ailp); in xfs_trans_ail_tail()
62 if (lip == NULL) { in xfs_trans_ail_tail()
65 lsn = lip->li_lsn; in xfs_trans_ail_tail()
93 xfs_log_item_t *lip; in xfs_trans_ail_push() local
95 lip = xfs_ail_min(ailp); in xfs_trans_ail_push()
96 if (lip && !XFS_FORCED_SHUTDOWN(ailp->xa_mount)) { in xfs_trans_ail_push()
136 struct xfs_log_item *lip) in xfs_trans_ail_cursor_set() argument
138 if (lip) in xfs_trans_ail_cursor_set()
139 cur->item = xfs_ail_next(ailp, lip); in xfs_trans_ail_cursor_set()
[all …]
Dxfs_trans_item.c46 xfs_trans_add_item(xfs_trans_t *tp, xfs_log_item_t *lip) in xfs_trans_add_item() argument
85 lidp->lid_item = lip; in xfs_trans_add_item()
88 lip->li_desc = lidp; in xfs_trans_add_item()
89 lip->li_mountp = tp->t_mountp; in xfs_trans_add_item()
90 lip->li_ailp = tp->t_mountp->m_ail; in xfs_trans_add_item()
127 lidp->lid_item = lip; in xfs_trans_add_item()
130 lip->li_desc = lidp; in xfs_trans_add_item()
131 lip->li_mountp = tp->t_mountp; in xfs_trans_add_item()
132 lip->li_ailp = tp->t_mountp->m_ail; in xfs_trans_add_item()
190 xfs_trans_find_item(xfs_trans_t *tp, xfs_log_item_t *lip) in xfs_trans_find_item() argument
[all …]
Dxfs_buf_item.c139 STATIC void xfs_buf_do_callbacks(xfs_buf_t *bp, xfs_log_item_t *lip);
699 xfs_log_item_t *lip; in xfs_buf_item_init() local
714 lip = XFS_BUF_FSPRIVATE(bp, xfs_log_item_t *); in xfs_buf_item_init()
715 if (lip->li_type == XFS_LI_BUF) { in xfs_buf_item_init()
925 xfs_log_item_t *lip) in xfs_buf_attach_iodone() argument
932 lip->li_cb = cb; in xfs_buf_attach_iodone()
935 lip->li_bio_list = head_lip->li_bio_list; in xfs_buf_attach_iodone()
936 head_lip->li_bio_list = lip; in xfs_buf_attach_iodone()
938 XFS_BUF_SET_FSPRIVATE(bp, lip); in xfs_buf_attach_iodone()
949 xfs_log_item_t *lip) in xfs_buf_do_callbacks() argument
[all …]
Dxfs_trans.c1147 xfs_log_item_t *lip; in xfs_trans_cancel() local
1177 lip = lidp->lid_item; in xfs_trans_cancel()
1179 ASSERT(!(lip->li_type == XFS_LI_EFD)); in xfs_trans_cancel()
1391 xfs_log_item_t *lip; in xfs_trans_chunk_committed() local
1403 lip = lidp->lid_item; in xfs_trans_chunk_committed()
1405 lip->li_flags |= XFS_LI_ABORTED; in xfs_trans_chunk_committed()
1412 item_lsn = IOP_COMMITTED(lip, lsn); in xfs_trans_chunk_committed()
1435 ailp = lip->li_ailp; in xfs_trans_chunk_committed()
1437 if (XFS_LSN_CMP(item_lsn, lip->li_lsn) > 0) { in xfs_trans_chunk_committed()
1445 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_chunk_committed()
[all …]
Dxfs_trans_priv.h89 struct xfs_log_item *lip, xfs_lsn_t lsn)
92 struct xfs_log_item *lip)
Dxfs_iget.c539 xfs_log_item_t *lip = &ip->i_itemp->ili_item; in xfs_ireclaim() local
540 struct xfs_ail *ailp = lip->li_ailp; in xfs_ireclaim()
542 ASSERT(((lip->li_flags & XFS_LI_IN_AIL) == 0) || in xfs_ireclaim()
544 if (lip->li_flags & XFS_LI_IN_AIL) { in xfs_ireclaim()
546 if (lip->li_flags & XFS_LI_IN_AIL) in xfs_ireclaim()
547 xfs_trans_ail_delete(ailp, lip); in xfs_ireclaim()
Dxfs_log_recover.c2715 xfs_log_item_t *lip; in xlog_recover_do_efd_trans() local
2736 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_do_efd_trans()
2737 while (lip != NULL) { in xlog_recover_do_efd_trans()
2738 if (lip->li_type == XFS_LI_EFI) { in xlog_recover_do_efd_trans()
2739 efip = (xfs_efi_log_item_t *)lip; in xlog_recover_do_efd_trans()
2745 xfs_trans_ail_delete(ailp, lip); in xlog_recover_do_efd_trans()
2751 lip = xfs_trans_ail_cursor_next(ailp, &cur); in xlog_recover_do_efd_trans()
3059 xfs_log_item_t *lip; in xlog_recover_process_efis() local
3067 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_process_efis()
3068 while (lip != NULL) { in xlog_recover_process_efis()
[all …]
Dxfs_trans_buf.c513 xfs_log_item_t *lip; in xfs_trans_brelse() local
527 lip = XFS_BUF_FSPRIVATE(bp, xfs_log_item_t *); in xfs_trans_brelse()
528 if (lip->li_type == XFS_LI_BUF) { in xfs_trans_brelse()
531 lip); in xfs_trans_brelse()
Dxfs_inode.c1973 xfs_log_item_t *lip; in xfs_ifree_cluster() local
2070 lip = XFS_BUF_FSPRIVATE(bp, xfs_log_item_t *); in xfs_ifree_cluster()
2071 while (lip) { in xfs_ifree_cluster()
2072 if (lip->li_type == XFS_LI_INODE) { in xfs_ifree_cluster()
2073 iip = (xfs_inode_log_item_t *)lip; in xfs_ifree_cluster()
2075 lip->li_cb = (void(*)(xfs_buf_t*,xfs_log_item_t*)) xfs_istale_done; in xfs_ifree_cluster()
2082 lip = lip->li_bio_list; in xfs_ifree_cluster()
Dxfs_bmap.c6180 xfs_log_item_t *lip; in xfs_bmap_get_bp() local
6189 lip = lidp->lid_item; in xfs_bmap_get_bp()
6190 if (lip->li_type != XFS_LI_BUF) in xfs_bmap_get_bp()
6193 bip = (xfs_buf_log_item_t *)lip; in xfs_bmap_get_bp()