Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/libxfs/
H 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 …]
/linux-6.15/fs/xfs/
H 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()
421 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag()
H 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()
356 sort(iter->recs, iter->rec_count, sizeof(iter->recs[0]), in xfs_zone_gc_query()
397 irec = &iter->recs[iter->rec_idx]; in xfs_zone_gc_iter_next()
430 struct xfs_rmap_irec *irec = &iter->recs[iter->rec_idx]; in xfs_zone_gc_iter_advance()
H A Dxfs_fsmap.c1309 struct fsmap *recs; in xfs_ioc_getfsmap() local
1331 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1332 if (!recs) { in xfs_ioc_getfsmap()
1335 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1336 if (!recs) in xfs_ioc_getfsmap()
1358 error = xfs_getfsmap(ip->i_mount, &xhead, recs); in xfs_ioc_getfsmap()
1389 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1396 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1428 kvfree(recs); in xfs_ioc_getfsmap()
/linux-6.15/block/partitions/
H A Dldm.c1344 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1370 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks()
1371 if (recs == 1) { in ldm_get_vblks()
1374 } else if (recs > 1) { in ldm_get_vblks()
/linux-6.15/drivers/infiniband/core/
H A Dsa_query.c873 struct sa_path_rec recs[RDMA_PRIMARY_PATH_MAX_REC_NUM]; in ib_nl_process_good_resolve_rsp() local
926 rec_data->path_rec, &recs[num_prs]); in ib_nl_process_good_resolve_rsp()
927 recs[num_prs].flags = rec_data->flags; in ib_nl_process_good_resolve_rsp()
928 recs[num_prs].rec_type = SA_PATH_REC_TYPE_IB; in ib_nl_process_good_resolve_rsp()
929 sa_path_set_dmac_zero(&recs[num_prs]); in ib_nl_process_good_resolve_rsp()
938 path_query->callback(status, recs, num_prs, in ib_nl_process_good_resolve_rsp()
/linux-6.15/tools/lib/bpf/
H A Dlinker.c81 void *recs; member
218 free(sec->func_info.recs); in bpf_linker__free()
219 free(sec->line_info.recs); in bpf_linker__free()
220 free(sec->core_relo_info.recs); in bpf_linker__free()
2615 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
2618 ext_data->recs = tmp; in add_btf_ext_rec()
2960 memcpy(cur, sec_data->recs, sz); in emit_btf_ext_data()