/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 161 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 D | write_hugetlb_memory.sh | 14 reserve=$9 23 "$private" "$want_sleep" "$reserve"
|
/linux/arch/arm/mach-omap2/ |
H A D | board-generic.c | 56 .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 D | vio.c | 81 * @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 D | constants.c | 44 "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 D | xfs_fsops.c | 226 * 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 D | irq_vectors.h | 270 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 D | run_bench_ringbufs.sh | 34 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 D | memblock.yaml | 18 - reserve-mem-v1 22 $ref: reserve-mem.yaml# 35 compatible = "reserve-mem-v1";
|
H A D | reserve-mem.yaml | 17 - reserve-mem-v1 37 compatible = "reserve-mem-v1";
|
/linux/Documentation/mm/ |
H A D | hugetlbfs_reserv.rst | 19 '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 D | ebda.c | 27 * 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 D | xfs_zones.h | 8 * 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 D | kdump.h | 9 /* 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 D | relay.h | 112 * 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 D | ttm_execbuf_util.h | 57 * @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 D | alloc.c | 304 /* 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 D | drm_mm_test.c | 49 "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 D | smu_v14_0_2_pptable.h | 126 …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 D | target_core_pr.c | 131 * 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 D | walkera0701.c | 13 #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 D | Kconfig | 19 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 D | nv04.c | 207 /* 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 D | nlattr.c | 891 * __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 D | verifier_ringbuf.c | 20 /* 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()
|