Home
last modified time | relevance | path

Searched refs:iip (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_inode_item.c32 struct xfs_inode_log_item *iip, in xfs_inode_item_data_fork_size() argument
36 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size()
40 if ((iip->ili_fields & XFS_ILOG_DEXT) && in xfs_inode_item_data_fork_size()
49 if ((iip->ili_fields & XFS_ILOG_DBROOT) && in xfs_inode_item_data_fork_size()
56 if ((iip->ili_fields & XFS_ILOG_DDATA) && in xfs_inode_item_data_fork_size()
73 struct xfs_inode_log_item *iip, in xfs_inode_item_attr_fork_size() argument
77 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size()
81 if ((iip->ili_fields & XFS_ILOG_AEXT) && in xfs_inode_item_attr_fork_size()
90 if ((iip->ili_fields & XFS_ILOG_ABROOT) && in xfs_inode_item_attr_fork_size()
97 if ((iip->ili_fields & XFS_ILOG_ADATA) && in xfs_inode_item_attr_fork_size()
[all …]
Dxfs_trans_inode.c33 xfs_inode_log_item_t *iip; in xfs_trans_ijoin() local
38 iip = ip->i_itemp; in xfs_trans_ijoin()
40 ASSERT(iip->ili_lock_flags == 0); in xfs_trans_ijoin()
41 iip->ili_lock_flags = lock_flags; in xfs_trans_ijoin()
47 xfs_trans_add_item(tp, &iip->ili_item); in xfs_trans_ijoin()
Dxfs_inode.c2212 xfs_inode_log_item_t *iip; in xfs_ifree_cluster() local
2273 iip = (xfs_inode_log_item_t *)lip; in xfs_ifree_cluster()
2274 ASSERT(iip->ili_logged == 1); in xfs_ifree_cluster()
2277 &iip->ili_flush_lsn, in xfs_ifree_cluster()
2278 &iip->ili_item.li_lsn); in xfs_ifree_cluster()
2279 xfs_iflags_set(iip->ili_inode, XFS_ISTALE); in xfs_ifree_cluster()
2358 iip = ip->i_itemp; in xfs_ifree_cluster()
2359 if (!iip || xfs_inode_clean(ip)) { in xfs_ifree_cluster()
2366 iip->ili_last_fields = iip->ili_fields; in xfs_ifree_cluster()
2367 iip->ili_fields = 0; in xfs_ifree_cluster()
[all …]
/linux-4.19.296/fs/ubifs/
Dlpt.c501 ubifs_add_lpt_dirt(c, np->nbranch[nnode->iip].lnum, in ubifs_add_nnode_dirt()
519 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt()
561 struct ubifs_nnode *parent, int iip) in calc_nnode_num_from_parent() argument
569 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()
586 struct ubifs_nnode *parent, int iip) in calc_pnode_num_from_parent() argument
596 num |= iip; in calc_pnode_num_from_parent()
1098 struct ubifs_nnode *parent, int iip) in validate_nnode() argument
1103 int num = calc_nnode_num_from_parent(c, parent, iip); in validate_nnode()
1142 struct ubifs_nnode *parent, int iip) in validate_pnode() argument
1147 int num = calc_pnode_num_from_parent(c, parent, iip); in validate_pnode()
[all …]
Dtnc_misc.c45 int level, iip, level_search = 0; in ubifs_tnc_levelorder_next() local
61 iip = znode->iip; in ubifs_tnc_levelorder_next()
69 while (znode->parent != zr && iip >= znode->parent->child_cnt) { in ubifs_tnc_levelorder_next()
71 iip = znode->iip; in ubifs_tnc_levelorder_next()
75 iip >= znode->parent->child_cnt)) { in ubifs_tnc_levelorder_next()
88 iip = -1; in ubifs_tnc_levelorder_next()
94 zn = ubifs_tnc_find_child(znode->parent, iip + 1); in ubifs_tnc_levelorder_next()
97 iip = znode->parent->child_cnt; in ubifs_tnc_levelorder_next()
110 iip = znode->iip; in ubifs_tnc_levelorder_next()
216 zn = ubifs_tnc_find_child(znode->parent, znode->iip + 1); in ubifs_tnc_postorder_next()
[all …]
Dlpt_commit.c82 for (i = cnode->iip + 1; i < UBIFS_LPT_FANOUT; i++) { in next_dirty_cnode()
264 cnode->parent->nbranch[cnode->iip].lnum = lnum; in layout_cnodes()
265 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
568 int iip; in next_pnode_to_dirty() local
572 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
573 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
574 return ubifs_get_pnode(c, nnode, iip); in next_pnode_to_dirty()
579 iip = nnode->iip + 1; in next_pnode_to_dirty()
583 for (; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
584 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
[all …]
Dcommit.c511 int iip; member
568 int first = 1, iip; in dbg_check_old_index() local
589 iip = 0; in dbg_check_old_index()
604 i->iip = iip; in dbg_check_old_index()
680 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index()
681 iip = iip + 1; in dbg_check_old_index()
685 iip = i->iip; in dbg_check_old_index()
689 iip = 0; in dbg_check_old_index()
696 br = ubifs_idx_branch(c, idx, iip); in dbg_check_old_index()
701 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index()
[all …]
Dtnc.c135 zbr = &znode->parent->zbranch[znode->iip]; in insert_old_idx_znode()
160 zbr = &znode->parent->zbranch[znode->iip]; in ins_clr_old_idx_znode()
663 nn = znode->iip + 1; in tnc_next()
707 nn = znode->iip - 1; in tnc_prev()
1159 n = znode->iip; in dirty_cow_bottom_up()
2040 ubifs_assert(c, znode->iip == 0); in correct_parent_keys()
2049 if (!znode->parent || znode->iip) in correct_parent_keys()
2078 znode->zbranch[i].znode->iip = i; in insert_zbranch()
2081 zbr->znode->iip = n; in insert_zbranch()
2138 if (n == 0 && zp && znode->iip == 0) in tnc_insert()
[all …]
Dubifs.h555 int iip; member
574 int iip; member
612 int iip; member
776 int iip; member
1638 struct ubifs_znode *parent, int iip);
1712 struct ubifs_nnode *parent, int iip);
1714 struct ubifs_nnode *parent, int iip);
1715 int ubifs_read_nnode(struct ubifs_info *c, struct ubifs_nnode *parent, int iip);
Ddebug.c863 zbr = &znode->parent->zbranch[znode->iip]; in ubifs_dump_znode()
868 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip, in ubifs_dump_znode()
910 struct ubifs_nnode *parent, int iip) in ubifs_dump_pnode() argument
918 pnode->flags, iip, pnode->level, pnode->num); in ubifs_dump_pnode()
1284 if (znode->iip < 0 || znode->iip >= c->fanout) { in dbg_check_znode()
1334 if (znode->iip >= zp->child_cnt) { in dbg_check_znode()
1339 if (znode->iip != n) { in dbg_check_znode()
1342 &zp->zbranch[znode->iip].key)) { in dbg_check_znode()
1346 n = znode->iip; in dbg_check_znode()
1495 zbr = &znode->parent->zbranch[znode->iip]; in dbg_check_tnc()
[all …]
Dshrinker.c124 znode->parent->zbranch[znode->iip].znode = NULL; in shrink_tnc()
Dtnc_commit.c77 zbr = &zp->zbranch[znode->iip]; in make_idx_node()
488 i = znode->iip; in layout_in_empty_space()
629 int n = znode->iip + 1; in find_next_dirty()
Ddebug.h273 struct ubifs_nnode *parent, int iip);
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_inode_fork.c591 xfs_inode_log_item_t *iip, in xfs_iflush_fork() argument
604 if (!iip) in xfs_iflush_fork()
619 if ((iip->ili_fields & dataflag[whichfork]) && in xfs_iflush_fork()
629 !(iip->ili_fields & extflag[whichfork])); in xfs_iflush_fork()
630 if ((iip->ili_fields & extflag[whichfork]) && in xfs_iflush_fork()
639 if ((iip->ili_fields & brootflag[whichfork]) && in xfs_iflush_fork()
651 if (iip->ili_fields & XFS_ILOG_DEV) { in xfs_iflush_fork()