Home
last modified time | relevance | path

Searched full:reserve (Results 1 – 25 of 1152) sorted by relevance

12345678910>>...47

/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh161 local reserve="$9"
187 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
209 elif [[ "$reserve" != "-n" ]]; then
220 "$cgroup" "$path" "$method" "$private" "$reserve"
223 if [[ "$reserve" != "-n" ]]; then
279 local reserve="${10}"
297 "$reserve"
327 local reserve="${15}"
351 "$expect_failure" "$reserve"
368 "$expect_failure" "$reserve"
[all …]
H A Dwrite_hugetlb_memory.sh14 reserve=$9
23 "$private" "$want_sleep" "$reserve"
/linux/arch/arm/mach-omap2/
H A Dboard-generic.c56 .reserve = omap_reserve,
73 .reserve = omap_reserve,
119 .reserve = rx51_reserve,
137 .reserve = omap_reserve,
154 .reserve = omap_reserve,
171 .reserve = omap_reserve,
187 .reserve = omap_reserve,
206 .reserve = omap_reserve,
223 .reserve = omap_reserve,
241 .reserve = omap_reserve,
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c81 * @reserve: pool of memory from which devices reserve entitlement, incl. spare
94 struct vio_cmo_pool reserve; member
154 /* Determine the amount of free entitlement available in reserve */ in vio_cmo_alloc()
184 * the reserve pool is used to reduce device entitlement, the excess
185 * pool is used to increase the reserve pool toward the desired entitlement
211 /* Spare is a subset of the reserve pool, replenish it first. */ in vio_cmo_dealloc()
215 * Replenish the spare in the reserve pool from the excess pool. in vio_cmo_dealloc()
216 * This moves entitlement into the reserve pool. in vio_cmo_dealloc()
221 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
229 * Replenish the spare in the reserve pool from the reserve pool. in vio_cmo_dealloc()
[all …]
/linux/drivers/scsi/
H A Dconstants.c44 "Reserve(6)",
68 "Reserve track", "Send OPC info", "Mode Select(10)",
69 /* 56-5b */ "Reserve(10)", "Release(10)", "Repair track", "Read master cue",
71 /* 5c-5f */ "Read buffer capacity", "Send cue sheet", "Persistent reserve in",
72 "Persistent reserve out",
160 {0x0, "Persistent reserve in, read keys"},
161 {0x1, "Persistent reserve in, read reservation"},
162 {0x2, "Persistent reserve in, report capabilities"},
163 {0x3, "Persistent reserve in, read full status"},
168 {0x0, "Persistent reserve out, register"},
[all …]
/linux/fs/xfs/
H A Dxfs_fsops.c226 * Reserve AG metadata blocks. ENOSPC here does not mean there in xfs_growfs_data_private()
368 * Reserve the requested number of blocks if available. Otherwise return
393 * retry if we end up trying to reserve more space than is available. in xfs_reserve_blocks()
420 * If the request is larger than the current reservation, reserve the in xfs_reserve_blocks()
421 * blocks before we update the reserve counters. Sample m_free and in xfs_reserve_blocks()
425 * fdblocks to stash in the reserve pool. This is a classic TOCTOU in xfs_reserve_blocks()
427 * m_sb_lock. Set the reserve size even if there's not enough free in xfs_reserve_blocks()
429 * reserve when it can. in xfs_reserve_blocks()
439 * here - we don't want to reserve the extra reserve blocks in xfs_reserve_blocks()
440 * from the reserve. in xfs_reserve_blocks()
[all …]
/linux/arch/x86/include/asm/trace/
H A Dirq_vectors.h270 bool reserve),
272 TP_ARGS(irq, is_managed, can_reserve, reserve),
278 __field( bool, reserve )
285 __entry->reserve = reserve;
288 TP_printk("irq=%u is_managed=%d can_reserve=%d reserve=%d",
290 __entry->reserve)
296 bool can_reserve, bool reserve), \
297 TP_ARGS(irq, is_managed, can_reserve, reserve), NULL, NULL); \
/linux/tools/testing/selftests/bpf/benchs/
H A Drun_bench_ringbufs.sh34 header "Ringbuf back-to-back, reserve+commit vs output"
35 summarize "reserve" "$($RUN_RB_BENCH --rb-b2b rb-custom)"
38 header "Ringbuf sampled, reserve+commit vs output"
39 summarize "reserve-sampled" "$($RUN_RB_BENCH --rb-sampled rb-custom)"
/linux/Documentation/core-api/kho/bindings/memblock/
H A Dmemblock.yaml18 - reserve-mem-v1
22 $ref: reserve-mem.yaml#
35 compatible = "reserve-mem-v1";
H A Dreserve-mem.yaml17 - reserve-mem-v1
37 compatible = "reserve-mem-v1";
/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst19 'reserve' huge pages at mmap() time to ensure that huge pages would be
21 describe how huge page reserve processing is done in the v4.10 kernel.
38 Reserve Map
39 A reserve map is described by the structure::
50 There is one reserve map for each huge page mapping in the system.
90 Specifically, vma->vm_private_data. This reserve map is created at the
239 The routine vma_commit_reservation() is then called to adjust the reserve
243 in the reserve map already existed so no change is made. However, if there
247 It is possible that the reserve map could have been changed between the call
254 a race is detected, the subpool and global reserve counts are adjusted to
[all …]
/linux/arch/x86/kernel/
H A Debda.c27 * to reserve the EBDA area in the 'RAM size' value ...
30 * chipset: reserve a page before VGA to prevent PCI prefetch
90 * then also reserve everything from the EBDA start address up to in reserve_bios_regions()
96 /* Reserve all memory between bios_start and the 1MB mark: */ in reserve_bios_regions()
/linux/fs/xfs/libxfs/
H A Dxfs_zones.h8 * In order to guarantee forward progress for GC we need to reserve at least
11 * To allow for slightly sloppy accounting for when we need to reserve the
12 * second zone, we actually reserve three as that is easier than doing fully
/linux/arch/powerpc/include/asm/
H A Dkdump.h9 /* How many bytes to reserve at zero for kdump. The reserve limit should
11 * Reserve to the end of the FWNMI area, see head_64.S */
/linux/include/linux/
H A Drelay.h112 * NOTE: the client can reserve bytes at the beginning of the new
243 * relay_reserve - reserve slot in channel buffer
245 * @length: number of bytes to reserve
272 * subbuf_start_reserve - reserve bytes at the start of a sub-buffer
274 * @length: number of bytes to reserve
276 * Helper function used to reserve bytes at the beginning of
/linux/include/drm/ttm/
H A Dttm_execbuf_util.h57 * @ticket: ww_acquire_ctx from reserve call
75 * Tries to reserve bos pointed to by the list entries for validation.
80 * reserve the same buffers in reverse order, all threads except one will
106 * @ticket: ww_acquire_ctx from reserve call
/linux/drivers/md/bcache/
H A Dalloc.c304 /* Prios/gens are actually the most important reserve */ in bch_allocator_push()
389 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait) in bch_bucket_alloc() argument
402 fifo_pop(&ca->free[reserve], r)) in bch_bucket_alloc()
406 trace_bcache_alloc_fail(ca, reserve); in bch_bucket_alloc()
418 !fifo_pop(&ca->free[reserve], r)); in bch_bucket_alloc()
425 trace_bcache_alloc(ca, reserve); in bch_bucket_alloc()
448 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc()
485 int __bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in __bch_bucket_alloc_set() argument
500 b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set()
513 int bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in bch_bucket_alloc_set() argument
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_mm_test.c49 "Expected to find no holes (after reserve), found %lu instead\n", count); in assert_no_holes()
168 KUNIT_FAIL(test, "failed to reserve whole drm_mm\n"); in drm_test_mm_init()
204 "failed to reserve node[0] {start=%lld, size=%lld)\n", in drm_test_mm_debug()
210 "failed to reserve node[0] {start=%lld, size=%lld)\n", in drm_test_mm_debug()
299 KUNIT_FAIL(test, "Could not reserve low node\n"); in drm_test_mm_once()
307 KUNIT_FAIL(test, "Could not reserve low node\n"); in drm_test_mm_once()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v14_0_2_pptable.h126 …uint8_t reserve[3]; // Zero filled field r… member
165 …uint8_t reserve[143]; // Zero filled field reserved for future u… member
184 uint8_t reserve[3]; member
198 uint32_t reserve[8]; member
/linux/drivers/target/
H A Dtarget_core_pr.c131 * From spc4r17 5.7.3 Exceptions to SPC-2 RESERVE and RELEASE in target_check_scsi2_reservation_conflict()
134 * A RESERVE(6) or RESERVE(10) command shall complete with GOOD in target_check_scsi2_reservation_conflict()
147 * In all other cases, a RESERVE(6) command, RESERVE(10) command, in target_check_scsi2_reservation_conflict()
168 * If a logical unit has executed a PERSISTENT RESERVE OUT in target_check_scsi2_reservation_conflict()
171 * initiator, all RESERVE commands and all RELEASE commands in target_check_scsi2_reservation_conflict()
181 pr_err("Received legacy SPC-2 RESERVE/RELEASE" in target_check_scsi2_reservation_conflict()
906 pr_debug("SPC-3 PR [%s] Service Action: APTPL RESERVE created" in core_scsi3_aptpl_reserve()
911 pr_debug("SPC-3 PR [%s] RESERVE Node: %s%s\n", in core_scsi3_aptpl_reserve()
1242 * type, then a PERSISTENT RESERVE OUT command with REGISTER in core_scsi3_check_implicit_release()
1536 * For a PERSISTENT RESERVE OUT specify initiator ports payload, in core_scsi3_decode_spec_i_port()
[all …]
/linux/drivers/input/joystick/
H A Dwalkera0701.c13 #define RESERVE 20000 macro
149 if (abs(pulse_time - SYNC_PULSE) < RESERVE) /* new frame sync */ in walkera0701_irq_handler()
152 if ((pulse_time > (ANALOG_MIN_PULSE - RESERVE) in walkera0701_irq_handler()
153 && (pulse_time < (ANALOG_MAX_PULSE + RESERVE)))) { in walkera0701_irq_handler()
154 pulse_time -= (ANALOG_MIN_PULSE - RESERVE); in walkera0701_irq_handler()
161 RESERVE + BIN1_PULSE - BIN0_PULSE) /* frame sync .. */ in walkera0701_irq_handler()
/linux/arch/arm/mach-qcom/
H A DKconfig19 bool "Reserve SMEM at the beginning of RAM"
21 Reserve 2MB at the beginning of the System RAM for shared mem.
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv04.c207 /* PRAMIN aperture maps over the end of VRAM, reserve it */ in nv04_instmem_oneinit()
214 /* 0x00000-0x10000: reserve for probable vbios image */ in nv04_instmem_oneinit()
220 /* 0x10000-0x18000: reserve for RAMHT */ in nv04_instmem_oneinit()
225 /* 0x18000-0x18800: reserve for RAMFC (enough for 32 nv30 channels) */ in nv04_instmem_oneinit()
231 /* 0x18800-0x18a00: reserve for RAMRO */ in nv04_instmem_oneinit()
/linux/lib/
H A Dnlattr.c891 * __nla_reserve - reserve room for attribute on the skb
892 * @skb: socket buffer to reserve room on
917 * __nla_reserve_64bit - reserve room for attribute on the skb and align it
918 * @skb: socket buffer to reserve room on
940 * __nla_reserve_nohdr - reserve room for attribute without header
941 * @skb: socket buffer to reserve room on
956 * nla_reserve - reserve room for attribute on the skb
957 * @skb: socket buffer to reserve room on
977 * nla_reserve_64bit - reserve room for attribute on the skb and align it
978 * @skb: socket buffer to reserve room on
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_ringbuf.c20 /* reserve 8 byte ringbuf memory */ \ in ringbuf_invalid_reservation_offset_1()
60 /* reserve 8 byte ringbuf memory */ \ in ringbuf_invalid_reservation_offset_2()
100 /* reserve 8 byte ringbuf memory */ \ in passing_rb_mem_to_helpers()

12345678910>>...47