Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/xfs/
Dxfs_trans_ail.c35 struct xfs_log_item *lip) in xfs_ail_check() argument
52 in_ail = test_bit(XFS_LI_IN_AIL, &lip->li_flags); in xfs_ail_check()
53 prev_lip = list_entry(lip->li_ail.prev, struct xfs_log_item, li_ail); in xfs_ail_check()
56 next_lip = list_entry(lip->li_ail.next, struct xfs_log_item, li_ail); in xfs_ail_check()
59 lsn = lip->li_lsn; in xfs_ail_check()
97 struct xfs_log_item *lip) in xfs_ail_next() argument
99 if (lip->li_ail.next == &ailp->ail_head) in xfs_ail_next()
102 return list_first_entry(&lip->li_ail, struct xfs_log_item, li_ail); in xfs_ail_next()
117 struct xfs_log_item *lip = xfs_ail_min(ailp); in __xfs_ail_min_lsn() local
119 if (lip) in __xfs_ail_min_lsn()
[all …]
Dxfs_dquot_item.c21 static inline struct xfs_dq_logitem *DQUOT_ITEM(struct xfs_log_item *lip) in DQUOT_ITEM() argument
23 return container_of(lip, struct xfs_dq_logitem, qli_item); in DQUOT_ITEM()
31 struct xfs_log_item *lip, in xfs_qm_dquot_logitem_size() argument
45 struct xfs_log_item *lip, in xfs_qm_dquot_logitem_format() argument
49 struct xfs_dq_logitem *qlip = DQUOT_ITEM(lip); in xfs_qm_dquot_logitem_format()
73 struct xfs_log_item *lip) in xfs_qm_dquot_logitem_pin() argument
75 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; in xfs_qm_dquot_logitem_pin()
89 struct xfs_log_item *lip, in xfs_qm_dquot_logitem_unpin() argument
92 struct xfs_dquot *dqp = DQUOT_ITEM(lip)->qli_dquot; in xfs_qm_dquot_logitem_unpin()
120 struct xfs_log_item *lip, in xfs_qm_dquot_logitem_push() argument
[all …]
Dxfs_trans_priv.h90 struct xfs_log_item *lip, in xfs_trans_ail_update() argument
93 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update()
96 void xfs_trans_ail_insert(struct xfs_ail *ailp, struct xfs_log_item *lip,
99 xfs_lsn_t xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
102 void xfs_trans_ail_delete(struct xfs_log_item *lip, int shutdown_type);
146 struct xfs_log_item *lip) in xfs_clear_li_failed() argument
148 struct xfs_buf *bp = lip->li_buf; in xfs_clear_li_failed()
150 ASSERT(test_bit(XFS_LI_IN_AIL, &lip->li_flags)); in xfs_clear_li_failed()
151 lockdep_assert_held(&lip->li_ailp->ail_lock); in xfs_clear_li_failed()
153 if (test_and_clear_bit(XFS_LI_FAILED, &lip->li_flags)) { in xfs_clear_li_failed()
[all …]
Dxfs_inode_item.c27 static inline struct xfs_inode_log_item *INODE_ITEM(struct xfs_log_item *lip) in INODE_ITEM() argument
29 return container_of(lip, struct xfs_inode_log_item, ili_item); in INODE_ITEM()
34 struct xfs_log_item *lip) in xfs_inode_item_sort() argument
36 return INODE_ITEM(lip)->ili_inode->i_ino; in xfs_inode_item_sort()
72 struct xfs_log_item *lip) in xfs_inode_item_precommit() argument
74 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_precommit()
281 struct xfs_log_item *lip, in xfs_inode_item_size() argument
285 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_size()
600 struct xfs_log_item *lip, in xfs_inode_item_format() argument
603 struct xfs_inode_log_item *iip = INODE_ITEM(lip); in xfs_inode_item_format()
[all …]
Dxfs_iunlink_item.c23 static inline struct xfs_iunlink_item *IUL_ITEM(struct xfs_log_item *lip) in IUL_ITEM() argument
25 return container_of(lip, struct xfs_iunlink_item, item); in IUL_ITEM()
30 struct xfs_log_item *lip) in xfs_iunlink_item_release() argument
32 struct xfs_iunlink_item *iup = IUL_ITEM(lip); in xfs_iunlink_item_release()
35 kmem_cache_free(xfs_iunlink_cache, IUL_ITEM(lip)); in xfs_iunlink_item_release()
41 struct xfs_log_item *lip) in xfs_iunlink_item_sort() argument
43 return IUL_ITEM(lip)->ip->i_ino; in xfs_iunlink_item_sort()
111 struct xfs_log_item *lip) in xfs_iunlink_item_precommit() argument
113 struct xfs_iunlink_item *iup = IUL_ITEM(lip); in xfs_iunlink_item_precommit()
117 list_del(&lip->li_trans); in xfs_iunlink_item_precommit()
[all …]
Dxfs_trans.c677 struct xfs_log_item *lip) in xfs_trans_add_item() argument
679 ASSERT(lip->li_log == tp->t_mountp->m_log); in xfs_trans_add_item()
680 ASSERT(lip->li_ailp == tp->t_mountp->m_ail); in xfs_trans_add_item()
681 ASSERT(list_empty(&lip->li_trans)); in xfs_trans_add_item()
682 ASSERT(!test_bit(XFS_LI_DIRTY, &lip->li_flags)); in xfs_trans_add_item()
684 list_add_tail(&lip->li_trans, &tp->t_items); in xfs_trans_add_item()
695 struct xfs_log_item *lip) in xfs_trans_del_item() argument
697 clear_bit(XFS_LI_DIRTY, &lip->li_flags); in xfs_trans_del_item()
698 list_del_init(&lip->li_trans); in xfs_trans_del_item()
707 struct xfs_log_item *lip, *next; in xfs_trans_free_items() local
[all …]
Dxfs_log_cil.c72 struct xfs_log_item *lip) in xlog_item_in_current_chkpt() argument
82 return lip->li_seq == READ_ONCE(cil->xc_current_sequence); in xlog_item_in_current_chkpt()
87 struct xfs_log_item *lip) in xfs_log_item_in_current_chkpt() argument
89 return xlog_item_in_current_chkpt(lip->li_log->l_cilp, lip); in xfs_log_item_in_current_chkpt()
278 struct xfs_log_item *lip; in xlog_cil_alloc_shadow_bufs() local
280 list_for_each_entry(lip, &tp->t_items, li_trans) { in xlog_cil_alloc_shadow_bufs()
288 if (!test_bit(XFS_LI_DIRTY, &lip->li_flags)) in xlog_cil_alloc_shadow_bufs()
292 lip->li_ops->iop_size(lip, &niovecs, &nbytes); in xlog_cil_alloc_shadow_bufs()
333 if (!lip->li_lv_shadow || in xlog_cil_alloc_shadow_bufs()
334 buf_size > lip->li_lv_shadow->lv_size) { in xlog_cil_alloc_shadow_bufs()
[all …]
Dxfs_buf_item.c29 static inline struct xfs_buf_log_item *BUF_ITEM(struct xfs_log_item *lip) in BUF_ITEM() argument
31 return container_of(lip, struct xfs_buf_log_item, bli_item); in BUF_ITEM()
189 struct xfs_log_item *lip, in xfs_buf_item_size() argument
193 struct xfs_buf_log_item *bip = BUF_ITEM(lip); in xfs_buf_item_size()
398 struct xfs_log_item *lip, in xfs_buf_item_format() argument
401 struct xfs_buf_log_item *bip = BUF_ITEM(lip); in xfs_buf_item_format()
432 if (xfs_has_v3inodes(lip->li_log->l_mp) || in xfs_buf_item_format()
434 xfs_log_item_in_current_chkpt(lip))) in xfs_buf_item_format()
470 struct xfs_log_item *lip) in xfs_buf_item_pin() argument
472 struct xfs_buf_log_item *bip = BUF_ITEM(lip); in xfs_buf_item_pin()
[all …]
Dxfs_bmap_item.c34 static inline struct xfs_bui_log_item *BUI_ITEM(struct xfs_log_item *lip) in BUI_ITEM() argument
36 return container_of(lip, struct xfs_bui_log_item, bui_item); in BUI_ITEM()
69 struct xfs_log_item *lip, in xfs_bui_item_size() argument
73 struct xfs_bui_log_item *buip = BUI_ITEM(lip); in xfs_bui_item_size()
88 struct xfs_log_item *lip, in xfs_bui_item_format() argument
91 struct xfs_bui_log_item *buip = BUI_ITEM(lip); in xfs_bui_item_format()
114 struct xfs_log_item *lip, in xfs_bui_item_unpin() argument
117 struct xfs_bui_log_item *buip = BUI_ITEM(lip); in xfs_bui_item_unpin()
129 struct xfs_log_item *lip) in xfs_bui_item_release() argument
131 xfs_bui_release(BUI_ITEM(lip)); in xfs_bui_item_release()
[all …]
Dxfs_refcount_item.c30 static inline struct xfs_cui_log_item *CUI_ITEM(struct xfs_log_item *lip) in CUI_ITEM() argument
32 return container_of(lip, struct xfs_cui_log_item, cui_item); in CUI_ITEM()
68 struct xfs_log_item *lip, in xfs_cui_item_size() argument
72 struct xfs_cui_log_item *cuip = CUI_ITEM(lip); in xfs_cui_item_size()
87 struct xfs_log_item *lip, in xfs_cui_item_format() argument
90 struct xfs_cui_log_item *cuip = CUI_ITEM(lip); in xfs_cui_item_format()
113 struct xfs_log_item *lip, in xfs_cui_item_unpin() argument
116 struct xfs_cui_log_item *cuip = CUI_ITEM(lip); in xfs_cui_item_unpin()
128 struct xfs_log_item *lip) in xfs_cui_item_release() argument
130 xfs_cui_release(CUI_ITEM(lip)); in xfs_cui_item_release()
[all …]
Dxfs_rmap_item.c30 static inline struct xfs_rui_log_item *RUI_ITEM(struct xfs_log_item *lip) in RUI_ITEM() argument
32 return container_of(lip, struct xfs_rui_log_item, rui_item); in RUI_ITEM()
67 struct xfs_log_item *lip, in xfs_rui_item_size() argument
71 struct xfs_rui_log_item *ruip = RUI_ITEM(lip); in xfs_rui_item_size()
86 struct xfs_log_item *lip, in xfs_rui_item_format() argument
89 struct xfs_rui_log_item *ruip = RUI_ITEM(lip); in xfs_rui_item_format()
112 struct xfs_log_item *lip, in xfs_rui_item_unpin() argument
115 struct xfs_rui_log_item *ruip = RUI_ITEM(lip); in xfs_rui_item_unpin()
127 struct xfs_log_item *lip) in xfs_rui_item_release() argument
129 xfs_rui_release(RUI_ITEM(lip)); in xfs_rui_item_release()
[all …]
Dxfs_attr_item.c39 static inline struct xfs_attri_log_item *ATTRI_ITEM(struct xfs_log_item *lip) in ATTRI_ITEM() argument
41 return container_of(lip, struct xfs_attri_log_item, attri_item); in ATTRI_ITEM()
139 struct xfs_log_item *lip, in xfs_attri_item_size() argument
143 struct xfs_attri_log_item *attrip = ATTRI_ITEM(lip); in xfs_attri_item_size()
164 struct xfs_log_item *lip, in xfs_attri_item_format() argument
167 struct xfs_attri_log_item *attrip = ATTRI_ITEM(lip); in xfs_attri_item_format()
206 struct xfs_log_item *lip, in xfs_attri_item_unpin() argument
209 xfs_attri_release(ATTRI_ITEM(lip)); in xfs_attri_item_unpin()
215 struct xfs_log_item *lip) in xfs_attri_item_release() argument
217 xfs_attri_release(ATTRI_ITEM(lip)); in xfs_attri_item_release()
[all …]
Dxfs_extfree_item.c34 static inline struct xfs_efi_log_item *EFI_ITEM(struct xfs_log_item *lip) in EFI_ITEM() argument
36 return container_of(lip, struct xfs_efi_log_item, efi_item); in EFI_ITEM()
71 struct xfs_log_item *lip, in xfs_efi_item_size() argument
75 struct xfs_efi_log_item *efip = EFI_ITEM(lip); in xfs_efi_item_size()
90 struct xfs_log_item *lip, in xfs_efi_item_format() argument
93 struct xfs_efi_log_item *efip = EFI_ITEM(lip); in xfs_efi_item_format()
118 struct xfs_log_item *lip, in xfs_efi_item_unpin() argument
121 struct xfs_efi_log_item *efip = EFI_ITEM(lip); in xfs_efi_item_unpin()
132 struct xfs_log_item *lip) in xfs_efi_item_release() argument
134 xfs_efi_release(EFI_ITEM(lip)); in xfs_efi_item_release()
[all …]
Dxfs_trans.h75 uint64_t (*iop_sort)(struct xfs_log_item *lip);
76 int (*iop_precommit)(struct xfs_trans *tp, struct xfs_log_item *lip);
77 void (*iop_committing)(struct xfs_log_item *lip, xfs_csn_t seq);
81 int (*iop_recover)(struct xfs_log_item *lip,
101 xlog_item_is_intent(struct xfs_log_item *lip) in xlog_item_is_intent() argument
103 return lip->li_ops->flags & XFS_ITEM_INTENT; in xlog_item_is_intent()
107 xlog_item_is_intent_done(struct xfs_log_item *lip) in xlog_item_is_intent_done() argument
109 return lip->li_ops->flags & XFS_ITEM_INTENT_DONE; in xlog_item_is_intent_done()
252 struct xfs_log_item *lip, in xfs_trans_item_relog() argument
255 return lip->li_ops->iop_relog(lip, tp); in xfs_trans_item_relog()
Dxfs_icreate_item.c25 static inline struct xfs_icreate_item *ICR_ITEM(struct xfs_log_item *lip) in ICR_ITEM() argument
27 return container_of(lip, struct xfs_icreate_item, ic_item); in ICR_ITEM()
37 struct xfs_log_item *lip, in xfs_icreate_item_size() argument
51 struct xfs_log_item *lip, in xfs_icreate_item_format() argument
54 struct xfs_icreate_item *icp = ICR_ITEM(lip); in xfs_icreate_item_format()
64 struct xfs_log_item *lip) in xfs_icreate_item_release() argument
66 kmem_free(ICR_ITEM(lip)->ic_item.li_lv_shadow); in xfs_icreate_item_release()
67 kmem_cache_free(xfs_icreate_cache, ICR_ITEM(lip)); in xfs_icreate_item_release()
Dxfs_dquot.c1106 struct xfs_log_item *lip) in xfs_qm_dqflush_done() argument
1108 struct xfs_dq_logitem *qip = (struct xfs_dq_logitem *)lip; in xfs_qm_dqflush_done()
1110 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done()
1121 if (test_bit(XFS_LI_IN_AIL, &lip->li_flags) && in xfs_qm_dqflush_done()
1122 ((lip->li_lsn == qip->qli_flush_lsn) || in xfs_qm_dqflush_done()
1123 test_bit(XFS_LI_FAILED, &lip->li_flags))) { in xfs_qm_dqflush_done()
1126 xfs_clear_li_failed(lip); in xfs_qm_dqflush_done()
1127 if (lip->li_lsn == qip->qli_flush_lsn) { in xfs_qm_dqflush_done()
1129 tail_lsn = xfs_ail_delete_one(ailp, lip); in xfs_qm_dqflush_done()
1146 struct xfs_log_item *lip, *n; in xfs_buf_dquot_iodone() local
[all …]
Dxfs_log_recover.c1731 struct xfs_log_item *lip; in xlog_recover_release_intent() local
1735 for (lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip != NULL; in xlog_recover_release_intent()
1736 lip = xfs_trans_ail_cursor_next(ailp, &cur)) { in xlog_recover_release_intent()
1737 if (lip->li_type != intent_type) in xlog_recover_release_intent()
1739 if (!lip->li_ops->iop_match(lip, intent_id)) in xlog_recover_release_intent()
1743 lip->li_ops->iop_release(lip); in xlog_recover_release_intent()
2540 struct xfs_log_item *lip; in xlog_recover_process_intents() local
2552 for (lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_process_intents()
2553 lip != NULL; in xlog_recover_process_intents()
2554 lip = xfs_trans_ail_cursor_next(ailp, &cur)) { in xlog_recover_process_intents()
[all …]
Dxfs_trans_buf.c29 struct xfs_log_item *lip; in xfs_trans_buf_item_match() local
37 list_for_each_entry(lip, &tp->t_items, li_trans) { in xfs_trans_buf_item_match()
38 blip = (struct xfs_buf_log_item *)lip; in xfs_trans_buf_item_match()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c45 const struct in6_addr *lip) in clip6_get_mbox() argument
54 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_get_mbox()
55 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_get_mbox()
60 const struct in6_addr *lip) in clip6_release_mbox() argument
69 *(__be64 *)&c.ip_hi = *(__be64 *)(lip->s6_addr); in clip6_release_mbox()
70 *(__be64 *)&c.ip_lo = *(__be64 *)(lip->s6_addr + 8); in clip6_release_mbox()
74 int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6) in cxgb4_clip_get() argument
79 u32 *addr = (u32 *)lip; in cxgb4_clip_get()
91 ret = memcmp(lip, cte->addr6.sin6_addr.s6_addr, in cxgb4_clip_get()
94 ret = memcmp(lip, (char *)(&cte->addr.sin_addr), in cxgb4_clip_get()
[all …]
Dcxgb4_tc_u32_parse.h97 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
98 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
170 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip0()
171 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip0()
179 memcpy(&f->val.lip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip1()
180 memcpy(&f->mask.lip[4], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip1()
188 memcpy(&f->val.lip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip2()
189 memcpy(&f->mask.lip[8], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip2()
197 memcpy(&f->val.lip[12], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip3()
198 memcpy(&f->mask.lip[12], &mask, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip3()
Dclip_tbl.h41 int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6);
42 void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6);
Dcxgb4_filter.c905 memcpy(fwr->lip, f->fs.val.lip, sizeof(fwr->lip)); in set_filter_wr()
906 memcpy(fwr->lipm, f->fs.mask.lip, sizeof(fwr->lipm)); in set_filter_wr()
997 cxgb4_clip_release(f->dev, (const u32 *)&f->fs.val.lip, 1); in clear_filter()
1058 unsigned int lip = 0, lip_mask = 0; in fill_default_mask() local
1089 for (i = 0; i < ARRAY_SIZE(fs->val.lip); i++) { in fill_default_mask()
1090 lip |= fs->val.lip[i]; in fill_default_mask()
1091 lip_mask |= fs->mask.lip[i]; in fill_default_mask()
1096 if (lip && !lip_mask) in fill_default_mask()
1097 memset(fs->mask.lip, ~0, sizeof(fs->mask.lip)); in fill_default_mask()
1100 memset(fs->mask.fip, ~0, sizeof(fs->mask.lip)); in fill_default_mask()
[all …]
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_defer.c206 struct xfs_log_item *lip; in xfs_defer_create_intent() local
211 lip = ops->create_intent(tp, &dfp->dfp_work, dfp->dfp_count, sort); in xfs_defer_create_intent()
212 if (!lip) in xfs_defer_create_intent()
214 if (IS_ERR(lip)) in xfs_defer_create_intent()
215 return PTR_ERR(lip); in xfs_defer_create_intent()
217 dfp->dfp_intent = lip; in xfs_defer_create_intent()
288 struct xfs_log_item *lip; in xfs_defer_save_resources() local
292 list_for_each_entry(lip, &tp->t_items, li_trans) { in xfs_defer_save_resources()
293 switch (lip->li_type) { in xfs_defer_save_resources()
295 bli = container_of(lip, struct xfs_buf_log_item, in xfs_defer_save_resources()
[all …]
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh611 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2\
625 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\
649 ip netns exec "$ns1" ./pm_nl_ctl csf lip dead:beef:2::1 lid 23 rip\
663 ip netns exec "$ns1" ./pm_nl_ctl dsf lip dead:beef:2::1 lport "$sport" rip\
688 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport\
702 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\
727 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\
740 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\
764 ip netns exec "$ns2" ./pm_nl_ctl csf lip dead:beef:2::2 lid 23 rip\
779 ip netns exec "$ns2" ./pm_nl_ctl dsf lip dead:beef:2::2 lport "$sport" rip\
[all …]
/linux-6.6.21/net/l2tp/
Dl2tp_ip.c415 DECLARE_SOCKADDR(struct sockaddr_l2tpip *, lip, msg->msg_name); in l2tp_ip_sendmsg()
418 if (msg->msg_namelen < sizeof(*lip)) in l2tp_ip_sendmsg()
421 if (lip->l2tp_family != AF_INET) { in l2tp_ip_sendmsg()
423 if (lip->l2tp_family != AF_UNSPEC) in l2tp_ip_sendmsg()
427 daddr = lip->l2tp_addr.s_addr; in l2tp_ip_sendmsg()

12