| /linux/tools/testing/selftests/mm/ |
| H A D | charge_reserved_hugetlb.sh | 170 local reserve="$9" 196 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 218 elif [[ "$reserve" != "-n" ]]; then 229 "$cgroup" "$path" "$method" "$private" "$reserve" 232 if [[ "$reserve" != "-n" ]]; then 288 local reserve="${10}" 306 "$reserve" 336 local reserve="${15}" 360 "$expect_failure" "$reserve" 377 "$expect_failure" "$reserve" [all...] |
| H A D | write_hugetlb_memory.sh | 14 reserve=$9 23 "$private" "$want_sleep" "$reserve"
|
| /linux/fs/btrfs/ |
| H A D | block-rsv.c | 18 * currently reserved for this block reserve. 24 * -> Reserve 62 * to make our extent tree updates. This block reserve acts as an overflow 63 * buffer in case our delayed refs reserve does not reserve enough space to 79 * reservation. We use the transaction items and pre-reserve space for every 85 * the most dynamic block reserve in the system, we will try to refill this 86 * block reserve first with any excess returned by any other block reserve. 89 * This is the fallback block reserve to make us try to reserve space if we 92 * content to just reserve space from the space_info on demand. 96 * allocate a block reserve, set it to some size, and then truncate bytes [all …]
|
| /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 | 216 * Reserve AG metadata blocks. ENOSPC here does not mean there in xfs_growfs_data_private() 358 * Reserve the requested number of blocks if available. Otherwise return 383 * retry if we end up trying to reserve more space than is available. in xfs_reserve_blocks() 410 * If the request is larger than the current reservation, reserve the in xfs_reserve_blocks() 411 * blocks before we update the reserve counters. Sample m_free and in xfs_reserve_blocks() 415 * fdblocks to stash in the reserve pool. This is a classic TOCTOU in xfs_reserve_blocks() 417 * m_sb_lock. Set the reserve size even if there's not enough free in xfs_reserve_blocks() 419 * reserve when it can. in xfs_reserve_blocks() 429 * here - we don't want to reserve the extra reserve blocks in xfs_reserve_blocks() 430 * 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/arch/um/kernel/ |
| H A D | physmem.c | 65 unsigned long reserve = reserve_end - start; in setup_physmem() local 66 unsigned long map_size = len - reserve; in setup_physmem() 69 if (len <= reserve) { in setup_physmem() 71 reserve, len); in setup_physmem() 77 err = os_map_memory((void *) reserve_end, physmem_fd, reserve, in setup_physmem() 94 memblock_reserve(__pa(start), reserve); in setup_physmem()
|
| /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/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/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/drivers/md/bcache/ |
| H A D | alloc.c | 300 /* Prios/gens are actually the most important reserve */ in bch_allocator_push() 376 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait) in bch_bucket_alloc() argument 389 fifo_pop(&ca->free[reserve], r)) in bch_bucket_alloc() 393 trace_bcache_alloc_fail(ca, reserve); in bch_bucket_alloc() 409 !fifo_pop(&ca->free[reserve], r)); in bch_bucket_alloc() 416 trace_bcache_alloc(ca, reserve); in bch_bucket_alloc() 439 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc() 476 int __bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in __bch_bucket_alloc_set() argument 491 b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set() 504 int bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in bch_bucket_alloc_set() argument [all …]
|
| /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/gpu/drm/tests/ |
| H A D | drm_mm_test.c | 50 "Expected to find no holes (after reserve), found %lu instead\n", count); in assert_no_holes() 169 KUNIT_FAIL(test, "failed to reserve whole drm_mm\n"); in drm_test_mm_init() 205 "failed to reserve node[0] {start=%lld, size=%lld)\n", in drm_test_mm_debug() 211 "failed to reserve node[0] {start=%lld, size=%lld)\n", in drm_test_mm_debug() 300 KUNIT_FAIL(test, "Could not reserve low node\n"); in drm_test_mm_once() 308 KUNIT_FAIL(test, "Could not reserve low node\n"); in drm_test_mm_once()
|
| /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/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/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/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()
|
| H A D | nv40.c | 164 /* PRAMIN aperture maps over the end of vram, reserve enough space in nv40_instmem_oneinit() 183 /* 0x00000-0x10000: reserve for probable vbios image */ in nv40_instmem_oneinit() 189 /* 0x10000-0x18000: reserve for RAMHT */ in nv40_instmem_oneinit() 194 /* 0x18000-0x18200: reserve for RAMRO in nv40_instmem_oneinit() 202 /* 0x20000-0x21000: reserve for RAMFC in nv40_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/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/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()
|