Lines Matching refs:new
30 struct xfs_extent_busy *new; in xfs_extent_busy_insert() local
36 new = kmem_zalloc(sizeof(struct xfs_extent_busy), 0); in xfs_extent_busy_insert()
37 new->agno = agno; in xfs_extent_busy_insert()
38 new->bno = bno; in xfs_extent_busy_insert()
39 new->length = len; in xfs_extent_busy_insert()
40 INIT_LIST_HEAD(&new->list); in xfs_extent_busy_insert()
41 new->flags = flags; in xfs_extent_busy_insert()
46 pag = xfs_perag_get(tp->t_mountp, new->agno); in xfs_extent_busy_insert()
53 if (new->bno < busyp->bno) { in xfs_extent_busy_insert()
55 ASSERT(new->bno + new->length <= busyp->bno); in xfs_extent_busy_insert()
56 } else if (new->bno > busyp->bno) { in xfs_extent_busy_insert()
64 rb_link_node(&new->rb_node, parent, rbp); in xfs_extent_busy_insert()
65 rb_insert_color(&new->rb_node, &pag->pagb_tree); in xfs_extent_busy_insert()
67 list_add(&new->list, &tp->t_busy); in xfs_extent_busy_insert()