Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/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.c1513 struct fsmap *recs; in xfs_ioc_getfsmap() local
1535 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1536 if (!recs) { in xfs_ioc_getfsmap()
1539 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL); in xfs_ioc_getfsmap()
1540 if (!recs) in xfs_ioc_getfsmap()
1562 error = xfs_getfsmap(ip->i_mount, &xhead, recs); in xfs_ioc_getfsmap()
1593 if (copy_to_user(user_recs, recs, in xfs_ioc_getfsmap()
1600 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1632 kmem_free(recs); in xfs_ioc_getfsmap()
/Linux-v6.1/block/partitions/
Dldm.c1346 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local
1372 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks()
1373 if (recs == 1) { in ldm_get_vblks()
1376 } else if (recs > 1) { in ldm_get_vblks()
/Linux-v6.1/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()
/Linux-v6.1/tools/lib/bpf/
Dlinker.c75 void *recs; member
207 free(sec->func_info.recs); in bpf_linker__free()
208 free(sec->line_info.recs); in bpf_linker__free()
209 free(sec->core_relo_info.recs); in bpf_linker__free()
2414 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
2417 ext_data->recs = tmp; in add_btf_ext_rec()
2746 memcpy(cur, sec_data->recs, sz); in emit_btf_ext_data()