Searched refs:recs (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ras_eeprom.c | 467 struct eeprom_table_record *recs = kcalloc(1, sizeof(*recs), GFP_KERNEL); 469 if (!recs) 473 recs[i].address = 0xdeadbeef; 474 recs[i].retired_page = i; 477 if (!amdgpu_ras_eeprom_process_recods(control, recs, true, 1)) { 479 memset(recs, 0, sizeof(*recs) * 1); 483 if (!amdgpu_ras_eeprom_process_recods(control, recs, false, 1)) { 486 recs[i].address, recs[i].retired_page);
|
| /Linux-v5.4/fs/xfs/ |
| D | xfs_iwalk.c | 59 struct xfs_inobt_rec_incore *recs; member 150 ASSERT(iwag->recs == NULL); in xfs_iwalk_alloc() 155 iwag->recs = kmem_alloc(size, KM_MAYFAIL); in xfs_iwalk_alloc() 156 if (iwag->recs == NULL) in xfs_iwalk_alloc() 167 kmem_free(iwag->recs); in xfs_iwalk_free() 168 iwag->recs = NULL; in xfs_iwalk_free() 185 struct xfs_inobt_rec_incore *irec = &iwag->recs[i]; in xfs_iwalk_ag_recs() 297 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag_start() 356 irec = &iwag->recs[iwag->nr_recs - 1]; in xfs_iwalk_run_callbacks() 404 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_iext_tree.c | 123 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-v5.4/block/partitions/ |
| D | ldm.c | 1355 int size, perbuf, skip, finish, s, v, recs; in ldm_get_vblks() local 1381 recs = get_unaligned_be16(data + 0x0E); /* Number of records */ in ldm_get_vblks() 1382 if (recs == 1) { in ldm_get_vblks() 1385 } else if (recs > 1) { in ldm_get_vblks()
|
| /Linux-v5.4/fs/ntfs/ |
| D | aops.c | 126 unsigned int i, recs; in ntfs_end_buffer_async_read() local 130 recs = PAGE_SIZE / rec_size; in ntfs_end_buffer_async_read() 132 BUG_ON(!recs); in ntfs_end_buffer_async_read() 134 for (i = 0; i < recs; i++) in ntfs_end_buffer_async_read()
|