Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_iext_tree.c123 struct xfs_iext_rec recs[RECS_PER_LEAF]; member
142 return &cur->leaf->recs[cur->pos]; in cur_rec()
382 if (xfs_iext_rec_is_empty(&leaf->recs[i])) in xfs_iext_leaf_nr_entries()
566 new->recs[i] = leaf->recs[nr_keep + i]; in xfs_iext_split_leaf()
567 xfs_iext_rec_clear(&leaf->recs[nr_keep + i]); in xfs_iext_split_leaf()
667 cur->leaf->recs[i] = cur->leaf->recs[i - 1]; in xfs_iext_insert_raw()
825 leaf->prev->recs[nr_prev + i] = leaf->recs[i]; in xfs_iext_rebalance_leaf()
845 leaf->recs[nr_entries + i] = in xfs_iext_rebalance_leaf()
846 leaf->next->recs[i]; in xfs_iext_rebalance_leaf()
899 leaf->recs[i] = leaf->recs[i + 1]; in xfs_iext_remove()
[all …]
/fs/xfs/
A Dxfs_iwalk.c65 struct xfs_inobt_rec_incore *recs; member
150 ASSERT(iwag->recs == NULL); in xfs_iwalk_alloc()
155 iwag->recs = kmalloc(size, GFP_KERNEL | __GFP_RETRY_MAYFAIL); in xfs_iwalk_alloc()
156 if (iwag->recs == NULL) in xfs_iwalk_alloc()
167 kfree(iwag->recs); in xfs_iwalk_free()
168 iwag->recs = NULL; in xfs_iwalk_free()
183 struct xfs_inobt_rec_incore *irec = &iwag->recs[i]; in xfs_iwalk_ag_recs()
298 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag_start()
362 ASSERT(next_agino >= iwag->recs[iwag->nr_recs - 1].ir_startino + in xfs_iwalk_run_callbacks()
418 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag()
A Dxfs_zone_gc.c130 struct xfs_rmap_irec *recs; member
208 data->iter.recs = kcalloc(XFS_ZONE_GC_RECS, sizeof(*data->iter.recs), in xfs_zone_gc_data_alloc()
210 if (!data->iter.recs) in xfs_zone_gc_data_alloc()
238 kfree(data->iter.recs); in xfs_zone_gc_data_alloc()
253 kfree(data->iter.recs); in xfs_zone_gc_data_free()
284 iter->recs[iter->rec_count] = *irec; in xfs_zone_gc_query_cb()
351 sort(iter->recs, iter->rec_count, sizeof(iter->recs[0]), in xfs_zone_gc_query()
392 irec = &iter->recs[iter->rec_idx]; in xfs_zone_gc_iter_next()
425 struct xfs_rmap_irec *irec = &iter->recs[iter->rec_idx]; in xfs_zone_gc_iter_advance()
A Dxfs_fsmap.c1307 struct fsmap *recs; in xfs_ioc_getfsmap() local
1329 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1330 if (!recs) { in xfs_ioc_getfsmap()
1333 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1334 if (!recs) in xfs_ioc_getfsmap()
1356 error = xfs_getfsmap(ip->i_mount, &xhead, recs); in xfs_ioc_getfsmap()
1387 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1394 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1426 kvfree(recs); in xfs_ioc_getfsmap()

Completed in 15 milliseconds