Home
last modified time | relevance | path

Searched refs:recs (Results 1 – 4 of 4) sorted by relevance

/fs/xfs/libxfs/
Dxfs_iext_tree.c123 struct xfs_iext_rec recs[RECS_PER_LEAF]; member
142 return &cur->leaf->recs[cur->pos]; in cur_rec()
219 if (xfs_iext_rec_is_empty(&cur->leaf->recs[i])) in xfs_iext_last()
382 if (xfs_iext_rec_is_empty(&leaf->recs[i])) in xfs_iext_leaf_nr_entries()
394 return leaf->recs[n].lo & XFS_IEXT_STARTOFF_MASK; in xfs_iext_leaf_key()
559 new->recs[i] = leaf->recs[nr_keep + i]; in xfs_iext_split_leaf()
560 xfs_iext_rec_clear(&leaf->recs[nr_keep + i]); in xfs_iext_split_leaf()
661 cur->leaf->recs[i] = cur->leaf->recs[i - 1]; in xfs_iext_insert()
808 leaf->prev->recs[nr_prev + i] = leaf->recs[i]; in xfs_iext_rebalance_leaf()
828 leaf->recs[nr_entries + i] = in xfs_iext_rebalance_leaf()
[all …]
/fs/xfs/
Dxfs_iwalk.c64 struct xfs_inobt_rec_incore *recs; member
158 ASSERT(iwag->recs == NULL); in xfs_iwalk_alloc()
163 iwag->recs = kmem_alloc(size, KM_MAYFAIL); in xfs_iwalk_alloc()
164 if (iwag->recs == NULL) in xfs_iwalk_alloc()
175 kmem_free(iwag->recs); in xfs_iwalk_free()
176 iwag->recs = NULL; in xfs_iwalk_free()
192 struct xfs_inobt_rec_incore *irec = &iwag->recs[i]; in xfs_iwalk_ag_recs()
305 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag_start()
368 irec = &iwag->recs[iwag->nr_recs - 1]; in xfs_iwalk_run_callbacks()
428 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag()
Dxfs_ioctl.c1583 struct fsmap *recs; in xfs_ioc_getfsmap() local
1605 recs = kvzalloc(count * sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1606 if (!recs) { in xfs_ioc_getfsmap()
1609 recs = kvzalloc(count * sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1610 if (!recs) in xfs_ioc_getfsmap()
1632 error = xfs_getfsmap(ip->i_mount, &xhead, recs); in xfs_ioc_getfsmap()
1663 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1670 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1702 kmem_free(recs); in xfs_ioc_getfsmap()
/fs/ntfs/
Daops.c124 unsigned int i, recs; in ntfs_end_buffer_async_read() local
128 recs = PAGE_SIZE / rec_size; in ntfs_end_buffer_async_read()
130 BUG_ON(!recs); in ntfs_end_buffer_async_read()
132 for (i = 0; i < recs; i++) in ntfs_end_buffer_async_read()