Home
last modified time | relevance | path

Searched refs:spare (Results 1 – 25 of 126) sorted by relevance

123456

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config.c399 u64 spare; in pf_get_spare_ggtt() local
405 spare = gt->sriov.pf.spare.ggtt_size; in pf_get_spare_ggtt()
406 spare = max_t(u64, spare, pf_get_min_spare_ggtt(gt)); in pf_get_spare_ggtt()
408 return spare; in pf_get_spare_ggtt()
421 gt->sriov.pf.spare.ggtt_size = size; in pf_set_spare_ggtt()
670 u64 spare = pf_get_spare_ggtt(gt); in pf_get_max_ggtt() local
673 max_hole = xe_ggtt_largest_hole(ggtt, alignment, &spare); in pf_get_max_ggtt()
676 max_hole / SZ_1K, spare / SZ_1K); in pf_get_max_ggtt()
677 return max_hole > spare ? max_hole - spare : 0; in pf_get_max_ggtt()
818 u32 spare; in pf_get_spare_ctxs() local
[all …]
H A Dxe_guc_db_mgr.c115 unsigned int count, unsigned int spare) in dbm_reserve_chunk_locked() argument
128 if (spare) { in dbm_reserve_chunk_locked()
130 if (used + count + spare > dbm->count) in dbm_reserve_chunk_locked()
200 unsigned int count, unsigned int spare) in xe_guc_db_mgr_reserve_range() argument
205 ret = dbm_reserve_chunk_locked(dbm, count, spare); in xe_guc_db_mgr_reserve_range()
/linux/tools/testing/selftests/namespaces/
H A Dlistns_test.c30 .spare = 0, in TEST()
66 .spare = 0, in TEST()
127 .spare = 0, in TEST()
180 .spare = 0, in TEST()
213 .spare = 0, in TEST()
336 .spare = 0, in TEST()
456 .spare = 0, in TEST()
488 .spare = 0, in TEST()
637 .spare = 0, in TEST()
660 req.spare = 1; in TEST()
[all …]
H A Dstress_test.c39 .spare = 0, in TEST()
95 .spare = 0, in TEST()
217 .spare = 0, in TEST()
280 .spare = 0, in TEST()
348 .spare = 0, in TEST()
487 .spare = 0, in TEST()
566 .spare = 0, in TEST()
H A Dlistns_permissions_test.c31 .spare = 0, in TEST()
139 .spare = 0, in TEST()
310 .spare = 0, in TEST()
389 .spare = 0, in TEST()
521 req.spare = 0; in TEST()
612 req.spare = 0; in TEST()
691 .spare = 0, in TEST()
H A Dlistns_efault_test.c82 .spare = 0, in TEST()
195 .spare = 0, in TEST()
224 .spare = 0, in TEST()
288 .spare = 0, in TEST()
436 .spare = 0, in TEST()
H A Dcred_change_test.c38 .spare = 0, in TEST()
175 .spare = 0, in TEST()
291 .spare = 0, in TEST()
410 .spare = 0, in TEST()
580 .spare = 0, in TEST()
714 .spare = 0, in TEST()
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c96 size_t spare; member
159 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc()
212 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc()
222 vio_cmo.spare += tmp; in vio_cmo_dealloc()
237 vio_cmo.spare += tmp; in vio_cmo_dealloc()
292 if (vio_cmo.spare < VIO_CMO_MIN_ENT) { in vio_cmo_entitlement_update()
293 tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); in vio_cmo_entitlement_update()
294 vio_cmo.spare += tmp; in vio_cmo_entitlement_update()
402 cmo->spare = min_t(size_t, VIO_CMO_MIN_ENT, (cmo->entitled - cmo->min)); in vio_cmo_balance()
403 cmo->min += cmo->spare; in vio_cmo_balance()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp153c-lxa-fairytux2.dtsi290 /* spare dmas for other usage */
302 /* spare dmas for other usage */
314 /* spare dmas for other usage */
326 /* spare dmas for other usage */
346 /* spare dmas for other usage */
359 /* spare dmas for other usage */
H A Dstm32mp15xc-lxa-tac.dtsi371 /* spare dmas for other usage */
426 /* spare dmas for other usage */
438 /* spare dmas for other usage */
450 /* spare dmas for other usage */
467 /* spare dmas for other usage */
481 /* spare dmas for other usage */
/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c323 u32 fmt, spare, i; in mtk_nfc_hw_runtime_config() local
328 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config()
365 spare >>= 1; in mtk_nfc_hw_runtime_config()
368 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config()
373 dev_err(nfc->dev, "invalid spare size %d\n", spare); in mtk_nfc_hw_runtime_config()
945 u32 spare = mtk_nand->spare_per_sector; in mtk_nfc_read_subpage() local
958 column = start * (chip->ecc.size + spare); in mtk_nfc_read_subpage()
960 len = sectors * chip->ecc.size + (raw ? sectors * spare : 0); in mtk_nfc_read_subpage()
1198 const u8 *spare = nfc->caps->spare_size; in mtk_nfc_set_spare_per_sector() local
1211 if (*sps >= spare[i] && spare[i] >= spare[closest_spare]) { in mtk_nfc_set_spare_per_sector()
[all …]
/linux/crypto/async_tx/
H A Dasync_pq.c299 size_t len, enum sum_check_flags *pqres, struct page *spare, in async_syndrome_val() argument
390 BUG_ON(!spare || !scribble); in async_syndrome_val()
403 tx = async_xor_offs(spare, s_off, in async_syndrome_val()
407 s = page_address(spare) + s_off; in async_syndrome_val()
413 Q(blocks, disks) = spare; in async_syndrome_val()
420 s = page_address(spare) + s_off; in async_syndrome_val()
H A Draid6test.c24 static struct page *spare; variable
115 disks, bytes, &result, spare, 0, &submit); in raid6_dual_recov()
162 spare = data[disks+2]; in test()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu11_driver_if_vangogh.h150 uint8_t spare[2]; member
173 uint16_t spare; member
202 uint16_t spare; member
H A Dsmu13_driver_if_v13_0_5.h91 uint16_t spare; member
124 uint8_t spare[3]; member
H A Dsmu13_driver_if_yellow_carp.h136 uint8_t spare[3]; member
164 uint16_t spare; member
H A Dsmu12_driver_if.h130 uint8_t spare[2]; member
198 uint16_t spare; member
H A Dsmu13_driver_if_v13_0_4.h137 uint8_t spare[3]; member
165 uint16_t spare; //[centi] member
/linux/drivers/soc/tegra/fuse/
H A Dfuse.h23 unsigned int spare; member
74 u32 __init tegra_fuse_read_spare(unsigned int spare);
/linux/Documentation/driver-api/
H A Dmtdnand.rst431 Most NAND chips mark the bad blocks at a defined position in the spare
434 mark each time when the blocks are accessed by reading the spare area of
547 marked and identified by a pattern which is stored in the spare area
550 the pattern has to be stored in len and the offset in the spare area
578 is stored in 4 consecutive bytes in the spare area of the device. The
604 filesystem data in the spare area,
645 The eccpos array holds the byte offsets in the spare area where the
650 The oobfree array defines the areas in the spare area which can be
661 spare area buffer along with the data buffer. The spare area buffer size
662 is (number of pages) \* (size of spare area). For reads the buffer size
[all …]
/linux/Documentation/edac/
H A Dmemory_repair.rst29 feature that fixes a failing memory location by replacing it with a spare row
56 rank memory-sparing mode, one memory rank serves as a spare for other ranks on
59 The spare rank is held in reserve and not used as active memory until
64 the content of a failing rank of DIMMs is copied to the spare rank. The
65 failing rank is then taken offline and the spare rank placed online for use as
/linux/mm/
H A Dslub.c405 SHEAF_PREFILL_FAST, /* Sheaf prefill grabbed the spare sheaf */
406 SHEAF_PREFILL_SLOW, /* Sheaf prefill found no spare sheaf */
408 SHEAF_RETURN_FAST, /* Sheaf return reattached spare sheaf */
409 SHEAF_RETURN_SLOW, /* Sheaf return could not reattach spare */
488 struct slab_sheaf *spare; /* empty or full, may be NULL */ member
2734 * necessary when flushing cpu's sheaves (both spare and main) during cpu
2804 struct slab_sheaf *spare, *rcu_free; in pcs_flush_all() local
2809 spare = pcs->spare; in pcs_flush_all()
2810 pcs->spare in pcs_flush_all()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_smu.h145 uint8_t spare[3]; member
173 uint16_t spare; member
/linux/rust/kernel/alloc/
H A Dkvec.rs364 let spare = self.spare_capacity_mut(); in push_within_capacity_unchecked() localVariable
367 unsafe { spare.get_unchecked_mut(0) }.write(v); in push_within_capacity_unchecked()
747 let spare = self.spare_capacity_mut(); in extend_with() localVariable
749 for item in spare.iter_mut().take(n - 1) { in extend_with()
754 spare[n - 1].write(value); in extend_with()
/linux/tools/include/uapi/linux/
H A Dcoredump.h73 __u32 spare; member

123456