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

/linux-master/fs/xfs/libxfs/
H A Dxfs_iext_tree.c123 struct xfs_iext_rec recs[RECS_PER_LEAF]; member in struct:xfs_iext_leaf
142 return &cur->leaf->recs[cur->pos];
219 if (xfs_iext_rec_is_empty(&cur->leaf->recs[i]))
382 if (xfs_iext_rec_is_empty(&leaf->recs[i]))
394 return leaf->recs[n].lo & XFS_IEXT_STARTOFF_MASK;
566 new->recs[i] = leaf->recs[nr_keep + i];
567 xfs_iext_rec_clear(&leaf->recs[nr_keep + i]);
667 cur->leaf->recs[i] = cur->leaf->recs[
[all...]
/linux-master/fs/xfs/
H A Dxfs_iwalk.c65 struct xfs_inobt_rec_incore *recs; member in struct:xfs_iwalk_ag
67 /* Number of entries allocated for the @recs array. */
70 /* Number of entries in the @recs array that are in use. */
151 ASSERT(iwag->recs == NULL);
156 iwag->recs = kmalloc(size, GFP_KERNEL | __GFP_RETRY_MAYFAIL);
157 if (iwag->recs == NULL)
168 kfree(iwag->recs);
169 iwag->recs = NULL;
185 struct xfs_inobt_rec_incore *irec = &iwag->recs[i];
299 irec = &iwag->recs[iwa
[all...]
H A Dxfs_ioctl.c1520 struct fsmap *recs; local
1542 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL);
1543 if (!recs) {
1546 recs = kvcalloc(count, sizeof(struct fsmap), GFP_KERNEL);
1547 if (!recs)
1569 error = xfs_getfsmap(ip->i_mount, &xhead, recs);
1600 if (copy_to_user(user_recs, recs,
1607 last_rec = &recs[xhead.fmh_entries - 1];
1639 kvfree(recs);
/linux-master/block/partitions/
H A Dldm.c1346 int size, perbuf, skip, finish, s, v, recs; local
1372 recs = get_unaligned_be16(data + 0x0E); /* Number of records */
1373 if (recs == 1) {
1376 } else if (recs > 1) {
/linux-master/tools/lib/bpf/
H A Dlinker.c75 void *recs; member in struct:btf_ext_sec_data
207 free(sec->func_info.recs);
208 free(sec->line_info.recs);
209 free(sec->core_relo_info.recs);
2438 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz);
2441 ext_data->recs = tmp;
2770 memcpy(cur, sec_data->recs, sz);
/linux-master/drivers/infiniband/core/
H A Dsa_query.c873 struct sa_path_rec recs[RDMA_PRIMARY_PATH_MAX_REC_NUM]; local
926 rec_data->path_rec, &recs[num_prs]);
927 recs[num_prs].flags = rec_data->flags;
928 recs[num_prs].rec_type = SA_PATH_REC_TYPE_IB;
929 sa_path_set_dmac_zero(&recs[num_prs]);
938 path_query->callback(status, recs, num_prs,

Completed in 147 milliseconds