lip 1976 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = sin->sin_addr.s_addr; lip 4013 drivers/infiniband/hw/cxgb4/cm.c req->le.u.ipv4.lip = laddr; lip 45 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c const struct in6_addr *lip) lip 54 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); lip 55 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); lip 60 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c const struct in6_addr *lip) lip 69 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); lip 70 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); lip 74 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6) lip 79 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c u32 *addr = (u32 *)lip; lip 91 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, lip 94 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, (char *)(&cte->addr.sin_addr), lip 118 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c lip, sizeof(struct in6_addr)); lip 119 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = clip6_get_mbox(dev, (const struct in6_addr *)lip); lip 131 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c memcpy((char *)(&ce->addr.sin_addr), lip, lip 138 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c (void *)lip); lip 147 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6) lip 152 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c u32 *addr = (u32 *)lip; lip 164 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, lip 167 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c ret = memcmp(lip, (char *)(&cte->addr.sin_addr), lip 187 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c clip6_release_mbox(dev, (const struct in6_addr *)lip); lip 41 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6); lip 42 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6); lip 1165 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h uint8_t lip[16]; /* local IP address (IPv4 in [3:0]) */ lip 649 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c memcpy(fwr->lip, f->fs.val.lip, sizeof(fwr->lip)); lip 650 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c memcpy(fwr->lipm, f->fs.mask.lip, sizeof(fwr->lipm)); lip 734 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c cxgb4_clip_release(f->dev, (const u32 *)&f->fs.val.lip, 1); lip 785 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c unsigned int lip = 0, lip_mask = 0; lip 810 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c for (i = 0; i < ARRAY_SIZE(fs->val.lip); i++) { lip 811 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c lip |= fs->val.lip[i]; lip 812 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c lip_mask |= fs->mask.lip[i]; lip 817 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (lip && !lip_mask) lip 818 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c memset(fs->mask.lip, ~0, sizeof(fs->mask.lip)); lip 821 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c memset(fs->mask.fip, ~0, sizeof(fs->mask.lip)); lip 891 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (is_inaddr_any(fs->val.lip, AF_INET6) || lip 892 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c !is_addr_all_mask(fs->mask.lip, AF_INET6)) lip 899 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (is_inaddr_any(fs->val.lip, AF_INET) || lip 900 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c !is_addr_all_mask(fs->mask.lip, AF_INET)) lip 1022 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c req->local_ip_hi = *(__be64 *)(&f->fs.val.lip); lip 1023 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c req->local_ip_lo = *(((__be64 *)&f->fs.val.lip) + 1); lip 1063 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c memcpy(&req->local_ip, f->fs.val.lip, 4); lip 1187 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c ret = cxgb4_clip_get(f->dev, (const u32 *)&f->fs.val.lip, 1); lip 1218 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c cxgb4_clip_release(f->dev, (const u32 *)&f->fs.val.lip, 1); lip 1380 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c ipv6_addr_type((const struct in6_addr *)fs->val.lip) != lip 1382 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c ret = cxgb4_clip_get(dev, (const u32 *)&fs->val.lip, 1); lip 1444 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c cxgb4_clip_release(f->dev, (const u32 *)&f->fs.val.lip, 1); lip 2512 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c f->fs.val.lip[i] = val[i]; lip 2513 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c f->fs.mask.lip[i] = ~0; lip 124 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); lip 126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.lip[0], &match.mask->dst, sizeof(match.mask->dst)); lip 139 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->val.lip[0], match.key->dst.s6_addr, lip 143 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c memcpy(&fs->mask.lip[0], match.mask->dst.s6_addr, lip 97 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->val.lip[0], &val, sizeof(u32)); lip 98 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->mask.lip[0], &mask, sizeof(u32)); lip 170 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->val.lip[0], &val, sizeof(u32)); lip 171 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->mask.lip[0], &mask, sizeof(u32)); lip 179 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->val.lip[4], &val, sizeof(u32)); lip 180 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->mask.lip[4], &mask, sizeof(u32)); lip 188 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->val.lip[8], &val, sizeof(u32)); lip 189 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->mask.lip[8], &mask, sizeof(u32)); lip 197 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->val.lip[12], &val, sizeof(u32)); lip 198 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h memcpy(&f->mask.lip[12], &mask, sizeof(u32)); lip 195 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 lip[16]; lip 227 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __u8 lip[16]; lip 552 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be32 lip; lip 392 drivers/s390/scsi/zfcp_fsf.h u64 lip; /* 0 */ lip 542 drivers/s390/scsi/zfcp_scsi.c fc_stats->lip_count = data->lip - old->lip; lip 573 drivers/s390/scsi/zfcp_scsi.c fc_stats->lip_count = data->lip; lip 232 fs/xfs/libxfs/xfs_bmap.c struct xfs_log_item *lip; lip 246 fs/xfs/libxfs/xfs_bmap.c list_for_each_entry(lip, &cur->bc_tp->t_items, li_trans) { lip 247 fs/xfs/libxfs/xfs_bmap.c struct xfs_buf_log_item *bip = (struct xfs_buf_log_item *)lip; lip 234 fs/xfs/libxfs/xfs_defer.c struct xfs_log_item *lip; lip 241 fs/xfs/libxfs/xfs_defer.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 242 fs/xfs/libxfs/xfs_defer.c switch (lip->li_type) { lip 244 fs/xfs/libxfs/xfs_defer.c bli = container_of(lip, struct xfs_buf_log_item, lip 256 fs/xfs/libxfs/xfs_defer.c ili = container_of(lip, struct xfs_inode_log_item, lip 29 fs/xfs/xfs_bmap_item.c static inline struct xfs_bui_log_item *BUI_ITEM(struct xfs_log_item *lip) lip 31 fs/xfs/xfs_bmap_item.c return container_of(lip, struct xfs_bui_log_item, bui_item); lip 62 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip, lip 66 fs/xfs/xfs_bmap_item.c struct xfs_bui_log_item *buip = BUI_ITEM(lip); lip 81 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip, lip 84 fs/xfs/xfs_bmap_item.c struct xfs_bui_log_item *buip = BUI_ITEM(lip); lip 107 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip, lip 110 fs/xfs/xfs_bmap_item.c struct xfs_bui_log_item *buip = BUI_ITEM(lip); lip 122 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip) lip 124 fs/xfs/xfs_bmap_item.c xfs_bui_release(BUI_ITEM(lip)); lip 155 fs/xfs/xfs_bmap_item.c static inline struct xfs_bud_log_item *BUD_ITEM(struct xfs_log_item *lip) lip 157 fs/xfs/xfs_bmap_item.c return container_of(lip, struct xfs_bud_log_item, bud_item); lip 162 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip, lip 179 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip, lip 182 fs/xfs/xfs_bmap_item.c struct xfs_bud_log_item *budp = BUD_ITEM(lip); lip 199 fs/xfs/xfs_bmap_item.c struct xfs_log_item *lip) lip 201 fs/xfs/xfs_bmap_item.c struct xfs_bud_log_item *budp = BUD_ITEM(lip); lip 23 fs/xfs/xfs_buf_item.c static inline struct xfs_buf_log_item *BUF_ITEM(struct xfs_log_item *lip) lip 25 fs/xfs/xfs_buf_item.c return container_of(lip, struct xfs_buf_log_item, bli_item); lip 120 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 124 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 297 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 300 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 331 fs/xfs/xfs_buf_item.c if (xfs_sb_version_hascrc(&lip->li_mountp->m_sb) || lip 333 fs/xfs/xfs_buf_item.c xfs_log_item_in_current_chkpt(lip))) lip 361 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip) lip 363 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 391 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 394 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 396 fs/xfs/xfs_buf_item.c struct xfs_ail *ailp = lip->li_ailp; lip 427 fs/xfs/xfs_buf_item.c if (!list_empty(&lip->li_trans)) lip 428 fs/xfs/xfs_buf_item.c xfs_trans_del_item(lip); lip 450 fs/xfs/xfs_buf_item.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_LOG_IO_ERROR); lip 492 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 495 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 543 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip = &bip->bli_item; lip 557 fs/xfs/xfs_buf_item.c aborted = test_bit(XFS_LI_ABORTED, &lip->li_flags) || lip 558 fs/xfs/xfs_buf_item.c XFS_FORCED_SHUTDOWN(lip->li_mountp); lip 570 fs/xfs/xfs_buf_item.c xfs_trans_ail_remove(lip, SHUTDOWN_LOG_IO_ERROR); lip 596 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip) lip 598 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 607 fs/xfs/xfs_buf_item.c &lip->li_flags); lip 642 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 645 fs/xfs/xfs_buf_item.c return xfs_buf_item_release(lip); lip 668 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip, lip 671 fs/xfs/xfs_buf_item.c struct xfs_buf_log_item *bip = BUF_ITEM(lip); lip 675 fs/xfs/xfs_buf_item.c if ((bip->bli_flags & XFS_BLI_INODE_ALLOC_BUF) && lip->li_lsn != 0) lip 676 fs/xfs/xfs_buf_item.c return lip->li_lsn; lip 981 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip) lip 985 fs/xfs/xfs_buf_item.c lip->li_cb = cb; lip 986 fs/xfs/xfs_buf_item.c list_add_tail(&lip->li_bio_list, &bp->b_li_list); lip 1010 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip; lip 1014 fs/xfs/xfs_buf_item.c lip = &blip->bli_item; lip 1015 fs/xfs/xfs_buf_item.c lip->li_cb(bp, lip); lip 1019 fs/xfs/xfs_buf_item.c lip = list_first_entry(&bp->b_li_list, struct xfs_log_item, lip 1028 fs/xfs/xfs_buf_item.c list_del_init(&lip->li_bio_list); lip 1029 fs/xfs/xfs_buf_item.c lip->li_cb(bp, lip); lip 1045 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip; lip 1056 fs/xfs/xfs_buf_item.c lip = list_first_entry(&bp->b_li_list, struct xfs_log_item, lip 1058 fs/xfs/xfs_buf_item.c ailp = lip->li_ailp; lip 1060 fs/xfs/xfs_buf_item.c list_for_each_entry(lip, &bp->b_li_list, li_bio_list) { lip 1061 fs/xfs/xfs_buf_item.c if (lip->li_ops->iop_error) lip 1062 fs/xfs/xfs_buf_item.c lip->li_ops->iop_error(lip, bp); lip 1072 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip; lip 1083 fs/xfs/xfs_buf_item.c lip = list_first_entry_or_null(&bp->b_li_list, struct xfs_log_item, lip 1085 fs/xfs/xfs_buf_item.c mp = lip ? lip->li_mountp : bip->bli_item.li_mountp; lip 1211 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip) lip 1213 fs/xfs/xfs_buf_item.c struct xfs_ail *ailp = lip->li_ailp; lip 1215 fs/xfs/xfs_buf_item.c ASSERT(BUF_ITEM(lip)->bli_buf == bp); lip 1229 fs/xfs/xfs_buf_item.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); lip 1230 fs/xfs/xfs_buf_item.c xfs_buf_item_free(BUF_ITEM(lip)); lip 1257 fs/xfs/xfs_buf_item.c struct xfs_log_item *lip; lip 1266 fs/xfs/xfs_buf_item.c list_for_each_entry(lip, &bp->b_li_list, li_bio_list) lip 1267 fs/xfs/xfs_buf_item.c xfs_clear_li_failed(lip); lip 1019 fs/xfs/xfs_dquot.c struct xfs_log_item *lip) lip 1021 fs/xfs/xfs_dquot.c xfs_dq_logitem_t *qip = (struct xfs_dq_logitem *)lip; lip 1023 fs/xfs/xfs_dquot.c struct xfs_ail *ailp = lip->li_ailp; lip 1033 fs/xfs/xfs_dquot.c if (test_bit(XFS_LI_IN_AIL, &lip->li_flags) && lip 1034 fs/xfs/xfs_dquot.c ((lip->li_lsn == qip->qli_flush_lsn) || lip 1035 fs/xfs/xfs_dquot.c test_bit(XFS_LI_FAILED, &lip->li_flags))) { lip 1039 fs/xfs/xfs_dquot.c if (lip->li_lsn == qip->qli_flush_lsn) { lip 1040 fs/xfs/xfs_dquot.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); lip 1046 fs/xfs/xfs_dquot.c xfs_clear_li_failed(lip); lip 1095 fs/xfs/xfs_dquot.c struct xfs_log_item *lip = &dqp->q_logitem.qli_item; lip 1098 fs/xfs/xfs_dquot.c xfs_trans_ail_remove(lip, SHUTDOWN_CORRUPT_INCORE); lip 21 fs/xfs/xfs_dquot_item.c static inline struct xfs_dq_logitem *DQUOT_ITEM(struct xfs_log_item *lip) lip 23 fs/xfs/xfs_dquot_item.c return container_of(lip, struct xfs_dq_logitem, qli_item); lip 31 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 45 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 48 fs/xfs/xfs_dquot_item.c struct xfs_dq_logitem *qlip = DQUOT_ITEM(lip); lip 71 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip) lip 73 fs/xfs/xfs_dquot_item.c struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; lip 87 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 90 fs/xfs/xfs_dquot_item.c struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; lip 126 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 129 fs/xfs/xfs_dquot_item.c ASSERT(!completion_done(&DQUOT_ITEM(lip)->qli_dquot->q_flush)); lip 130 fs/xfs/xfs_dquot_item.c xfs_set_li_failed(lip, bp); lip 135 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 137 fs/xfs/xfs_dquot_item.c __releases(&lip->li_ailp->ail_lock) lip 138 fs/xfs/xfs_dquot_item.c __acquires(&lip->li_ailp->ail_lock) lip 140 fs/xfs/xfs_dquot_item.c struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; lip 141 fs/xfs/xfs_dquot_item.c struct xfs_buf *bp = lip->li_buf; lip 152 fs/xfs/xfs_dquot_item.c if (test_bit(XFS_LI_FAILED, &lip->li_flags)) { lip 185 fs/xfs/xfs_dquot_item.c spin_unlock(&lip->li_ailp->ail_lock); lip 194 fs/xfs/xfs_dquot_item.c spin_lock(&lip->li_ailp->ail_lock); lip 202 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip) lip 204 fs/xfs/xfs_dquot_item.c struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; lip 219 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 222 fs/xfs/xfs_dquot_item.c return xfs_qm_dquot_logitem_release(lip); lip 254 fs/xfs/xfs_dquot_item.c static inline struct xfs_qoff_logitem *QOFF_ITEM(struct xfs_log_item *lip) lip 256 fs/xfs/xfs_dquot_item.c return container_of(lip, struct xfs_qoff_logitem, qql_item); lip 267 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 277 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 280 fs/xfs/xfs_dquot_item.c struct xfs_qoff_logitem *qflip = QOFF_ITEM(lip); lip 297 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 305 fs/xfs/xfs_dquot_item.c struct xfs_log_item *lip, lip 308 fs/xfs/xfs_dquot_item.c struct xfs_qoff_logitem *qfe = QOFF_ITEM(lip); lip 320 fs/xfs/xfs_dquot_item.c kmem_free(lip->li_lv_shadow); lip 29 fs/xfs/xfs_extfree_item.c static inline struct xfs_efi_log_item *EFI_ITEM(struct xfs_log_item *lip) lip 31 fs/xfs/xfs_extfree_item.c return container_of(lip, struct xfs_efi_log_item, efi_item); lip 78 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip, lip 83 fs/xfs/xfs_extfree_item.c *nbytes += xfs_efi_item_sizeof(EFI_ITEM(lip)); lip 95 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip, lip 98 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip = EFI_ITEM(lip); lip 123 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip, lip 126 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip = EFI_ITEM(lip); lip 137 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip) lip 139 fs/xfs/xfs_extfree_item.c xfs_efi_release(EFI_ITEM(lip)); lip 234 fs/xfs/xfs_extfree_item.c static inline struct xfs_efd_log_item *EFD_ITEM(struct xfs_log_item *lip) lip 236 fs/xfs/xfs_extfree_item.c return container_of(lip, struct xfs_efd_log_item, efd_item); lip 264 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip, lip 269 fs/xfs/xfs_extfree_item.c *nbytes += xfs_efd_item_sizeof(EFD_ITEM(lip)); lip 281 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip, lip 284 fs/xfs/xfs_extfree_item.c struct xfs_efd_log_item *efdp = EFD_ITEM(lip); lip 303 fs/xfs/xfs_extfree_item.c struct xfs_log_item *lip) lip 305 fs/xfs/xfs_extfree_item.c struct xfs_efd_log_item *efdp = EFD_ITEM(lip); lip 17 fs/xfs/xfs_icreate_item.c static inline struct xfs_icreate_item *ICR_ITEM(struct xfs_log_item *lip) lip 19 fs/xfs/xfs_icreate_item.c return container_of(lip, struct xfs_icreate_item, ic_item); lip 29 fs/xfs/xfs_icreate_item.c struct xfs_log_item *lip, lip 43 fs/xfs/xfs_icreate_item.c struct xfs_log_item *lip, lip 46 fs/xfs/xfs_icreate_item.c struct xfs_icreate_item *icp = ICR_ITEM(lip); lip 56 fs/xfs/xfs_icreate_item.c struct xfs_log_item *lip) lip 58 fs/xfs/xfs_icreate_item.c kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip)); lip 2532 fs/xfs/xfs_inode.c struct xfs_log_item *lip; lip 2589 fs/xfs/xfs_inode.c list_for_each_entry(lip, &bp->b_li_list, li_bio_list) { lip 2590 fs/xfs/xfs_inode.c if (lip->li_type == XFS_LI_INODE) { lip 2591 fs/xfs/xfs_inode.c iip = (xfs_inode_log_item_t *)lip; lip 2593 fs/xfs/xfs_inode.c lip->li_cb = xfs_istale_done; lip 25 fs/xfs/xfs_inode_item.c static inline struct xfs_inode_log_item *INODE_ITEM(struct xfs_log_item *lip) lip 27 fs/xfs/xfs_inode_item.c return container_of(lip, struct xfs_inode_log_item, ili_item); lip 118 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 122 fs/xfs/xfs_inode_item.c struct xfs_inode_log_item *iip = INODE_ITEM(lip); lip 389 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 392 fs/xfs/xfs_inode_item.c struct xfs_inode_log_item *iip = INODE_ITEM(lip); lip 438 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip) lip 440 fs/xfs/xfs_inode_item.c struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; lip 457 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 460 fs/xfs/xfs_inode_item.c struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; lip 478 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 481 fs/xfs/xfs_inode_item.c ASSERT(xfs_isiflocked(INODE_ITEM(lip)->ili_inode)); lip 482 fs/xfs/xfs_inode_item.c xfs_set_li_failed(lip, bp); lip 487 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 489 fs/xfs/xfs_inode_item.c __releases(&lip->li_ailp->ail_lock) lip 490 fs/xfs/xfs_inode_item.c __acquires(&lip->li_ailp->ail_lock) lip 492 fs/xfs/xfs_inode_item.c struct xfs_inode_log_item *iip = INODE_ITEM(lip); lip 494 fs/xfs/xfs_inode_item.c struct xfs_buf *bp = lip->li_buf; lip 505 fs/xfs/xfs_inode_item.c if (test_bit(XFS_LI_FAILED, &lip->li_flags)) { lip 549 fs/xfs/xfs_inode_item.c spin_unlock(&lip->li_ailp->ail_lock); lip 558 fs/xfs/xfs_inode_item.c spin_lock(&lip->li_ailp->ail_lock); lip 569 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip) lip 571 fs/xfs/xfs_inode_item.c struct xfs_inode_log_item *iip = INODE_ITEM(lip); lip 608 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 611 fs/xfs/xfs_inode_item.c struct xfs_inode_log_item *iip = INODE_ITEM(lip); lip 615 fs/xfs/xfs_inode_item.c xfs_inode_item_unpin(lip, 0); lip 623 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip, lip 626 fs/xfs/xfs_inode_item.c INODE_ITEM(lip)->ili_last_lsn = commit_lsn; lip 627 fs/xfs/xfs_inode_item.c return xfs_inode_item_release(lip); lip 688 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip) lip 692 fs/xfs/xfs_inode_item.c struct xfs_ail *ailp = lip->li_ailp; lip 701 fs/xfs/xfs_inode_item.c list_add_tail(&lip->li_bio_list, &tmp); lip 704 fs/xfs/xfs_inode_item.c if (lip->li_cb != xfs_iflush_done) lip 719 fs/xfs/xfs_inode_item.c iip = INODE_ITEM(lip); lip 720 fs/xfs/xfs_inode_item.c if ((iip->ili_logged && lip->li_lsn == iip->ili_flush_lsn) || lip 721 fs/xfs/xfs_inode_item.c test_bit(XFS_LI_FAILED, &lip->li_flags)) lip 815 fs/xfs/xfs_inode_item.c struct xfs_log_item *lip) lip 817 fs/xfs/xfs_inode_item.c xfs_iflush_abort(INODE_ITEM(lip)->ili_inode, true); lip 1140 fs/xfs/xfs_log.c struct xfs_log_item *lip; lip 1150 fs/xfs/xfs_log.c lip = xfs_ail_min(mp->m_ail); lip 1151 fs/xfs/xfs_log.c if (lip) lip 1152 fs/xfs/xfs_log.c tail_lsn = lip->li_lsn; lip 2069 fs/xfs/xfs_log.c struct xfs_log_item *lip; lip 2080 fs/xfs/xfs_log.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 2081 fs/xfs/xfs_log.c struct xfs_log_vec *lv = lip->li_lv; lip 2086 fs/xfs/xfs_log.c xfs_warn(mp, " type = 0x%x", lip->li_type); lip 2087 fs/xfs/xfs_log.c xfs_warn(mp, " flags = 0x%lx", lip->li_flags); lip 142 fs/xfs/xfs_log.h bool xfs_log_item_in_current_chkpt(struct xfs_log_item *lip); lip 129 fs/xfs/xfs_log_cil.c struct xfs_log_item *lip; lip 131 fs/xfs/xfs_log_cil.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 139 fs/xfs/xfs_log_cil.c if (!test_bit(XFS_LI_DIRTY, &lip->li_flags)) lip 143 fs/xfs/xfs_log_cil.c lip->li_ops->iop_size(lip, &niovecs, &nbytes); lip 177 fs/xfs/xfs_log_cil.c if (!lip->li_lv_shadow || lip 178 fs/xfs/xfs_log_cil.c buf_size > lip->li_lv_shadow->lv_size) { lip 187 fs/xfs/xfs_log_cil.c kmem_free(lip->li_lv_shadow); lip 192 fs/xfs/xfs_log_cil.c lv->lv_item = lip; lip 198 fs/xfs/xfs_log_cil.c lip->li_lv_shadow = lv; lip 201 fs/xfs/xfs_log_cil.c lv = lip->li_lv_shadow; lip 305 fs/xfs/xfs_log_cil.c struct xfs_log_item *lip; lip 314 fs/xfs/xfs_log_cil.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 321 fs/xfs/xfs_log_cil.c if (!test_bit(XFS_LI_DIRTY, &lip->li_flags)) lip 328 fs/xfs/xfs_log_cil.c shadow = lip->li_lv_shadow; lip 337 fs/xfs/xfs_log_cil.c old_lv = lip->li_lv; lip 338 fs/xfs/xfs_log_cil.c if (lip->li_lv && shadow->lv_size <= lip->li_lv->lv_size) { lip 340 fs/xfs/xfs_log_cil.c lv = lip->li_lv; lip 364 fs/xfs/xfs_log_cil.c lv->lv_item = lip; lip 367 fs/xfs/xfs_log_cil.c ASSERT(lip->li_lv == NULL); lip 373 fs/xfs/xfs_log_cil.c lip->li_ops->iop_format(lip, lv); lip 393 fs/xfs/xfs_log_cil.c struct xfs_log_item *lip; lip 466 fs/xfs/xfs_log_cil.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 469 fs/xfs/xfs_log_cil.c if (!test_bit(XFS_LI_DIRTY, &lip->li_flags)) lip 477 fs/xfs/xfs_log_cil.c if (!list_is_last(&lip->li_cil, &cil->xc_cil)) lip 478 fs/xfs/xfs_log_cil.c list_move_tail(&lip->li_cil, &cil->xc_cil); lip 1001 fs/xfs/xfs_log_cil.c struct xfs_log_item *lip, *next; lip 1036 fs/xfs/xfs_log_cil.c list_for_each_entry_safe(lip, next, &tp->t_items, li_trans) { lip 1037 fs/xfs/xfs_log_cil.c xfs_trans_del_item(lip); lip 1038 fs/xfs/xfs_log_cil.c if (lip->li_ops->iop_committing) lip 1039 fs/xfs/xfs_log_cil.c lip->li_ops->iop_committing(lip, xc_commit_lsn); lip 1153 fs/xfs/xfs_log_cil.c struct xfs_log_item *lip) lip 1157 fs/xfs/xfs_log_cil.c if (list_empty(&lip->li_cil)) lip 1160 fs/xfs/xfs_log_cil.c ctx = lip->li_mountp->m_log->l_cilp->xc_ctx; lip 1167 fs/xfs/xfs_log_cil.c if (XFS_LSN_CMP(lip->li_seq, ctx->sequence) != 0) lip 3386 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 3403 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 3404 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 3405 fs/xfs/xfs_log_recover.c if (lip->li_type == XFS_LI_EFI) { lip 3406 fs/xfs/xfs_log_recover.c efip = (xfs_efi_log_item_t *)lip; lip 3418 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 3482 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 3496 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 3497 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 3498 fs/xfs/xfs_log_recover.c if (lip->li_type == XFS_LI_RUI) { lip 3499 fs/xfs/xfs_log_recover.c ruip = (struct xfs_rui_log_item *)lip; lip 3511 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 3598 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 3613 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 3614 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 3615 fs/xfs/xfs_log_recover.c if (lip->li_type == XFS_LI_CUI) { lip 3616 fs/xfs/xfs_log_recover.c cuip = (struct xfs_cui_log_item *)lip; lip 3628 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 3717 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 3732 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 3733 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 3734 fs/xfs/xfs_log_recover.c if (lip->li_type == XFS_LI_BUI) { lip 3735 fs/xfs/xfs_log_recover.c buip = (struct xfs_bui_log_item *)lip; lip 3747 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 4571 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4579 fs/xfs/xfs_log_recover.c efip = container_of(lip, struct xfs_efi_log_item, efi_item); lip 4595 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4599 fs/xfs/xfs_log_recover.c efip = container_of(lip, struct xfs_efi_log_item, efi_item); lip 4611 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4619 fs/xfs/xfs_log_recover.c ruip = container_of(lip, struct xfs_rui_log_item, rui_item); lip 4635 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4639 fs/xfs/xfs_log_recover.c ruip = container_of(lip, struct xfs_rui_log_item, rui_item); lip 4651 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4659 fs/xfs/xfs_log_recover.c cuip = container_of(lip, struct xfs_cui_log_item, cui_item); lip 4675 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4679 fs/xfs/xfs_log_recover.c cuip = container_of(lip, struct xfs_cui_log_item, cui_item); lip 4691 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4699 fs/xfs/xfs_log_recover.c buip = container_of(lip, struct xfs_bui_log_item, bui_item); lip 4715 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip) lip 4719 fs/xfs/xfs_log_recover.c buip = container_of(lip, struct xfs_bui_log_item, bui_item); lip 4727 fs/xfs/xfs_log_recover.c static inline bool xlog_item_is_intent(struct xfs_log_item *lip) lip 4729 fs/xfs/xfs_log_recover.c switch (lip->li_type) { lip 4796 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 4818 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 4822 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 4827 fs/xfs/xfs_log_recover.c if (!xlog_item_is_intent(lip)) { lip 4829 fs/xfs/xfs_log_recover.c for (; lip; lip = xfs_trans_ail_cursor_next(ailp, &cur)) lip 4830 fs/xfs/xfs_log_recover.c ASSERT(!xlog_item_is_intent(lip)); lip 4840 fs/xfs/xfs_log_recover.c ASSERT(XFS_LSN_CMP(last_lsn, lip->li_lsn) >= 0); lip 4848 fs/xfs/xfs_log_recover.c switch (lip->li_type) { lip 4850 fs/xfs/xfs_log_recover.c error = xlog_recover_process_efi(log->l_mp, ailp, lip); lip 4853 fs/xfs/xfs_log_recover.c error = xlog_recover_process_rui(log->l_mp, ailp, lip); lip 4856 fs/xfs/xfs_log_recover.c error = xlog_recover_process_cui(parent_tp, ailp, lip); lip 4859 fs/xfs/xfs_log_recover.c error = xlog_recover_process_bui(parent_tp, ailp, lip); lip 4864 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 4884 fs/xfs/xfs_log_recover.c struct xfs_log_item *lip; lip 4890 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip 4891 fs/xfs/xfs_log_recover.c while (lip != NULL) { lip 4896 fs/xfs/xfs_log_recover.c if (!xlog_item_is_intent(lip)) { lip 4898 fs/xfs/xfs_log_recover.c for (; lip; lip = xfs_trans_ail_cursor_next(ailp, &cur)) lip 4899 fs/xfs/xfs_log_recover.c ASSERT(!xlog_item_is_intent(lip)); lip 4904 fs/xfs/xfs_log_recover.c switch (lip->li_type) { lip 4906 fs/xfs/xfs_log_recover.c xlog_recover_cancel_efi(log->l_mp, ailp, lip); lip 4909 fs/xfs/xfs_log_recover.c xlog_recover_cancel_rui(log->l_mp, ailp, lip); lip 4912 fs/xfs/xfs_log_recover.c xlog_recover_cancel_cui(log->l_mp, ailp, lip); lip 4915 fs/xfs/xfs_log_recover.c xlog_recover_cancel_bui(log->l_mp, ailp, lip); lip 4919 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 25 fs/xfs/xfs_refcount_item.c static inline struct xfs_cui_log_item *CUI_ITEM(struct xfs_log_item *lip) lip 27 fs/xfs/xfs_refcount_item.c return container_of(lip, struct xfs_cui_log_item, cui_item); lip 61 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip, lip 65 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); lip 80 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip, lip 83 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); lip 106 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip, lip 109 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); lip 121 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip) lip 123 fs/xfs/xfs_refcount_item.c xfs_cui_release(CUI_ITEM(lip)); lip 160 fs/xfs/xfs_refcount_item.c static inline struct xfs_cud_log_item *CUD_ITEM(struct xfs_log_item *lip) lip 162 fs/xfs/xfs_refcount_item.c return container_of(lip, struct xfs_cud_log_item, cud_item); lip 167 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip, lip 184 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip, lip 187 fs/xfs/xfs_refcount_item.c struct xfs_cud_log_item *cudp = CUD_ITEM(lip); lip 204 fs/xfs/xfs_refcount_item.c struct xfs_log_item *lip) lip 206 fs/xfs/xfs_refcount_item.c struct xfs_cud_log_item *cudp = CUD_ITEM(lip); lip 25 fs/xfs/xfs_rmap_item.c static inline struct xfs_rui_log_item *RUI_ITEM(struct xfs_log_item *lip) lip 27 fs/xfs/xfs_rmap_item.c return container_of(lip, struct xfs_rui_log_item, rui_item); lip 60 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip, lip 64 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); lip 79 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip, lip 82 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); lip 105 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip, lip 108 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); lip 120 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip) lip 122 fs/xfs/xfs_rmap_item.c xfs_rui_release(RUI_ITEM(lip)); lip 181 fs/xfs/xfs_rmap_item.c static inline struct xfs_rud_log_item *RUD_ITEM(struct xfs_log_item *lip) lip 183 fs/xfs/xfs_rmap_item.c return container_of(lip, struct xfs_rud_log_item, rud_item); lip 188 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip, lip 205 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip, lip 208 fs/xfs/xfs_rmap_item.c struct xfs_rud_log_item *rudp = RUD_ITEM(lip); lip 225 fs/xfs/xfs_rmap_item.c struct xfs_log_item *lip) lip 227 fs/xfs/xfs_rmap_item.c struct xfs_rud_log_item *rudp = RUD_ITEM(lip); lip 1016 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_log_item *lip), lip 1017 fs/xfs/xfs_trace.h TP_ARGS(lip), lip 1020 fs/xfs/xfs_trace.h __field(void *, lip) lip 1026 fs/xfs/xfs_trace.h __entry->dev = lip->li_mountp->m_super->s_dev; lip 1027 fs/xfs/xfs_trace.h __entry->lip = lip; lip 1028 fs/xfs/xfs_trace.h __entry->type = lip->li_type; lip 1029 fs/xfs/xfs_trace.h __entry->flags = lip->li_flags; lip 1030 fs/xfs/xfs_trace.h __entry->lsn = lip->li_lsn; lip 1034 fs/xfs/xfs_trace.h __entry->lip, lip 1060 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_log_item *lip), \ lip 1061 fs/xfs/xfs_trace.h TP_ARGS(lip)) lip 1068 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn), lip 1069 fs/xfs/xfs_trace.h TP_ARGS(lip, old_lsn, new_lsn), lip 1072 fs/xfs/xfs_trace.h __field(void *, lip) lip 1079 fs/xfs/xfs_trace.h __entry->dev = lip->li_mountp->m_super->s_dev; lip 1080 fs/xfs/xfs_trace.h __entry->lip = lip; lip 1081 fs/xfs/xfs_trace.h __entry->type = lip->li_type; lip 1082 fs/xfs/xfs_trace.h __entry->flags = lip->li_flags; lip 1088 fs/xfs/xfs_trace.h __entry->lip, lip 1097 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn), \ lip 1098 fs/xfs/xfs_trace.h TP_ARGS(lip, old_lsn, new_lsn)) lip 742 fs/xfs/xfs_trans.c struct xfs_log_item *lip) lip 744 fs/xfs/xfs_trans.c ASSERT(lip->li_mountp == tp->t_mountp); lip 745 fs/xfs/xfs_trans.c ASSERT(lip->li_ailp == tp->t_mountp->m_ail); lip 746 fs/xfs/xfs_trans.c ASSERT(list_empty(&lip->li_trans)); lip 747 fs/xfs/xfs_trans.c ASSERT(!test_bit(XFS_LI_DIRTY, &lip->li_flags)); lip 749 fs/xfs/xfs_trans.c list_add_tail(&lip->li_trans, &tp->t_items); lip 760 fs/xfs/xfs_trans.c struct xfs_log_item *lip) lip 762 fs/xfs/xfs_trans.c clear_bit(XFS_LI_DIRTY, &lip->li_flags); lip 763 fs/xfs/xfs_trans.c list_del_init(&lip->li_trans); lip 772 fs/xfs/xfs_trans.c struct xfs_log_item *lip, *next; lip 776 fs/xfs/xfs_trans.c list_for_each_entry_safe(lip, next, &tp->t_items, li_trans) { lip 777 fs/xfs/xfs_trans.c xfs_trans_del_item(lip); lip 779 fs/xfs/xfs_trans.c set_bit(XFS_LI_ABORTED, &lip->li_flags); lip 780 fs/xfs/xfs_trans.c if (lip->li_ops->iop_release) lip 781 fs/xfs/xfs_trans.c lip->li_ops->iop_release(lip); lip 800 fs/xfs/xfs_trans.c struct xfs_log_item *lip = log_items[i]; lip 802 fs/xfs/xfs_trans.c if (lip->li_ops->iop_unpin) lip 803 fs/xfs/xfs_trans.c lip->li_ops->iop_unpin(lip, 0); lip 846 fs/xfs/xfs_trans.c struct xfs_log_item *lip = lv->lv_item; lip 850 fs/xfs/xfs_trans.c set_bit(XFS_LI_ABORTED, &lip->li_flags); lip 852 fs/xfs/xfs_trans.c if (lip->li_ops->flags & XFS_ITEM_RELEASE_WHEN_COMMITTED) { lip 853 fs/xfs/xfs_trans.c lip->li_ops->iop_release(lip); lip 857 fs/xfs/xfs_trans.c if (lip->li_ops->iop_committed) lip 858 fs/xfs/xfs_trans.c item_lsn = lip->li_ops->iop_committed(lip, commit_lsn); lip 872 fs/xfs/xfs_trans.c if (lip->li_ops->iop_unpin) lip 873 fs/xfs/xfs_trans.c lip->li_ops->iop_unpin(lip, 1); lip 887 fs/xfs/xfs_trans.c if (XFS_LSN_CMP(item_lsn, lip->li_lsn) > 0) lip 888 fs/xfs/xfs_trans.c xfs_trans_ail_update(ailp, lip, item_lsn); lip 891 fs/xfs/xfs_trans.c if (lip->li_ops->iop_unpin) lip 892 fs/xfs/xfs_trans.c lip->li_ops->iop_unpin(lip, 0); lip 1053 fs/xfs/xfs_trans.c struct xfs_log_item *lip; lip 1055 fs/xfs/xfs_trans.c list_for_each_entry(lip, &tp->t_items, li_trans) lip 1056 fs/xfs/xfs_trans.c ASSERT(!(lip->li_type == XFS_LI_EFD)); lip 34 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 50 fs/xfs/xfs_trans_ail.c in_ail = test_bit(XFS_LI_IN_AIL, &lip->li_flags); lip 51 fs/xfs/xfs_trans_ail.c prev_lip = list_entry(lip->li_ail.prev, struct xfs_log_item, li_ail); lip 54 fs/xfs/xfs_trans_ail.c next_lip = list_entry(lip->li_ail.next, struct xfs_log_item, li_ail); lip 57 fs/xfs/xfs_trans_ail.c lsn = lip->li_lsn; lip 95 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 97 fs/xfs/xfs_trans_ail.c if (lip->li_ail.next == &ailp->ail_head) lip 100 fs/xfs/xfs_trans_ail.c return list_first_entry(&lip->li_ail, struct xfs_log_item, li_ail); lip 116 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 119 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); lip 120 fs/xfs/xfs_trans_ail.c if (lip) lip 121 fs/xfs/xfs_trans_ail.c lsn = lip->li_lsn; lip 135 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 138 fs/xfs/xfs_trans_ail.c lip = xfs_ail_max(ailp); lip 139 fs/xfs/xfs_trans_ail.c if (lip) lip 140 fs/xfs/xfs_trans_ail.c lsn = lip->li_lsn; lip 171 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip = cur->item; lip 173 fs/xfs/xfs_trans_ail.c if ((uintptr_t)lip & 1) lip 174 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); lip 175 fs/xfs/xfs_trans_ail.c if (lip) lip 176 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); lip 177 fs/xfs/xfs_trans_ail.c return lip; lip 203 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 208 fs/xfs/xfs_trans_ail.c if (cur->item == lip) lip 226 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 231 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); lip 235 fs/xfs/xfs_trans_ail.c list_for_each_entry(lip, &ailp->ail_head, li_ail) { lip 236 fs/xfs/xfs_trans_ail.c if (XFS_LSN_CMP(lip->li_lsn, lsn) >= 0) lip 242 fs/xfs/xfs_trans_ail.c if (lip) lip 243 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); lip 244 fs/xfs/xfs_trans_ail.c return lip; lip 252 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 254 fs/xfs/xfs_trans_ail.c list_for_each_entry_reverse(lip, &ailp->ail_head, li_ail) { lip 255 fs/xfs/xfs_trans_ail.c if (XFS_LSN_CMP(lip->li_lsn, lsn) <= 0) lip 256 fs/xfs/xfs_trans_ail.c return lip; lip 291 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 300 fs/xfs/xfs_trans_ail.c lip = cur ? cur->item : NULL; lip 301 fs/xfs/xfs_trans_ail.c if (!lip || (uintptr_t)lip & 1) lip 302 fs/xfs/xfs_trans_ail.c lip = __xfs_trans_ail_cursor_last(ailp, lsn); lip 320 fs/xfs/xfs_trans_ail.c if (lip) lip 321 fs/xfs/xfs_trans_ail.c list_splice(list, &lip->li_ail); lip 332 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 334 fs/xfs/xfs_trans_ail.c xfs_ail_check(ailp, lip); lip 335 fs/xfs/xfs_trans_ail.c list_del(&lip->li_ail); lip 336 fs/xfs/xfs_trans_ail.c xfs_trans_ail_cursor_clear(ailp, lip); lip 342 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 357 fs/xfs/xfs_trans_ail.c if (!lip->li_ops->iop_push) lip 359 fs/xfs/xfs_trans_ail.c return lip->li_ops->iop_push(lip, &ailp->ail_buf_list); lip 368 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 397 fs/xfs/xfs_trans_ail.c lip = xfs_trans_ail_cursor_first(ailp, &cur, ailp->ail_last_pushed_lsn); lip 398 fs/xfs/xfs_trans_ail.c if (!lip) { lip 410 fs/xfs/xfs_trans_ail.c lsn = lip->li_lsn; lip 411 fs/xfs/xfs_trans_ail.c while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) { lip 419 fs/xfs/xfs_trans_ail.c lock_result = xfsaild_push_item(ailp, lip); lip 423 fs/xfs/xfs_trans_ail.c trace_xfs_ail_push(lip); lip 441 fs/xfs/xfs_trans_ail.c trace_xfs_ail_flushing(lip); lip 449 fs/xfs/xfs_trans_ail.c trace_xfs_ail_pinned(lip); lip 456 fs/xfs/xfs_trans_ail.c trace_xfs_ail_locked(lip); lip 483 fs/xfs/xfs_trans_ail.c lip = xfs_trans_ail_cursor_next(ailp, &cur); lip 484 fs/xfs/xfs_trans_ail.c if (lip == NULL) lip 486 fs/xfs/xfs_trans_ail.c lsn = lip->li_lsn; lip 628 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 630 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); lip 631 fs/xfs/xfs_trans_ail.c if (!lip || XFS_FORCED_SHUTDOWN(ailp->ail_mount) || lip 666 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip; lip 670 fs/xfs/xfs_trans_ail.c while ((lip = xfs_ail_max(ailp)) != NULL) { lip 672 fs/xfs/xfs_trans_ail.c ailp->ail_target = lip->li_lsn; lip 722 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip = log_items[i]; lip 723 fs/xfs/xfs_trans_ail.c if (test_and_set_bit(XFS_LI_IN_AIL, &lip->li_flags)) { lip 725 fs/xfs/xfs_trans_ail.c if (XFS_LSN_CMP(lsn, lip->li_lsn) <= 0) lip 728 fs/xfs/xfs_trans_ail.c trace_xfs_ail_move(lip, lip->li_lsn, lsn); lip 729 fs/xfs/xfs_trans_ail.c xfs_ail_delete(ailp, lip); lip 730 fs/xfs/xfs_trans_ail.c if (mlip == lip) lip 733 fs/xfs/xfs_trans_ail.c trace_xfs_ail_insert(lip, 0, lsn); lip 735 fs/xfs/xfs_trans_ail.c lip->li_lsn = lsn; lip 736 fs/xfs/xfs_trans_ail.c list_add(&lip->li_ail, &tmp); lip 756 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip) lip 760 fs/xfs/xfs_trans_ail.c trace_xfs_ail_delete(lip, mlip->li_lsn, lip->li_lsn); lip 761 fs/xfs/xfs_trans_ail.c xfs_ail_delete(ailp, lip); lip 762 fs/xfs/xfs_trans_ail.c xfs_clear_li_failed(lip); lip 763 fs/xfs/xfs_trans_ail.c clear_bit(XFS_LI_IN_AIL, &lip->li_flags); lip 764 fs/xfs/xfs_trans_ail.c lip->li_lsn = 0; lip 766 fs/xfs/xfs_trans_ail.c return mlip == lip; lip 793 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip, lip 799 fs/xfs/xfs_trans_ail.c if (!test_bit(XFS_LI_IN_AIL, &lip->li_flags)) { lip 810 fs/xfs/xfs_trans_ail.c mlip_changed = xfs_ail_delete_one(ailp, lip); lip 29 fs/xfs/xfs_trans_buf.c struct xfs_log_item *lip; lip 37 fs/xfs/xfs_trans_buf.c list_for_each_entry(lip, &tp->t_items, li_trans) { lip 38 fs/xfs/xfs_trans_buf.c blip = (struct xfs_buf_log_item *)lip; lip 88 fs/xfs/xfs_trans_priv.h struct xfs_log_item *lip, lip 91 fs/xfs/xfs_trans_priv.h xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); lip 94 fs/xfs/xfs_trans_priv.h bool xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip); lip 95 fs/xfs/xfs_trans_priv.h void xfs_trans_ail_delete(struct xfs_ail *ailp, struct xfs_log_item *lip, lip 100 fs/xfs/xfs_trans_priv.h struct xfs_log_item *lip, lip 103 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp = lip->li_ailp; lip 107 fs/xfs/xfs_trans_priv.h if (test_bit(XFS_LI_IN_AIL, &lip->li_flags)) lip 108 fs/xfs/xfs_trans_priv.h xfs_trans_ail_delete(ailp, lip, shutdown_type); lip 155 fs/xfs/xfs_trans_priv.h struct xfs_log_item *lip) lip 157 fs/xfs/xfs_trans_priv.h struct xfs_buf *bp = lip->li_buf; lip 159 fs/xfs/xfs_trans_priv.h ASSERT(test_bit(XFS_LI_IN_AIL, &lip->li_flags)); lip 160 fs/xfs/xfs_trans_priv.h lockdep_assert_held(&lip->li_ailp->ail_lock); lip 162 fs/xfs/xfs_trans_priv.h if (test_and_clear_bit(XFS_LI_FAILED, &lip->li_flags)) { lip 163 fs/xfs/xfs_trans_priv.h lip->li_buf = NULL; lip 170 fs/xfs/xfs_trans_priv.h struct xfs_log_item *lip, lip 173 fs/xfs/xfs_trans_priv.h lockdep_assert_held(&lip->li_ailp->ail_lock); lip 175 fs/xfs/xfs_trans_priv.h if (!test_and_set_bit(XFS_LI_FAILED, &lip->li_flags)) { lip 177 fs/xfs/xfs_trans_priv.h lip->li_buf = bp; lip 424 net/l2tp/l2tp_ip.c DECLARE_SOCKADDR(struct sockaddr_l2tpip *, lip, msg->msg_name); lip 426 net/l2tp/l2tp_ip.c if (msg->msg_namelen < sizeof(*lip)) lip 429 net/l2tp/l2tp_ip.c if (lip->l2tp_family != AF_INET) { lip 431 net/l2tp/l2tp_ip.c if (lip->l2tp_family != AF_UNSPEC) lip 435 net/l2tp/l2tp_ip.c daddr = lip->l2tp_addr.s_addr;