Home
last modified time | relevance | path

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

12345678910>>...58

/Linux-v6.1/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh159 local reserve="$9"
185 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
207 elif [[ "$reserve" != "-n" ]]; then
218 "$cgroup" "$path" "$method" "$private" "$reserve"
221 if [[ "$reserve" != "-n" ]]; then
277 local reserve="${10}"
295 "$reserve"
325 local reserve="${15}"
349 "$expect_failure" "$reserve"
366 "$expect_failure" "$reserve"
[all …]
Dwrite_to_hugetlbfs.c75 int reserve = 1; in main() local
114 reserve = 0; in main()
159 if (!reserve) in main()
162 printf("RESERVE mapping.\n"); in main()
174 (reserve ? 0 : MAP_NORESERVE), in main()
188 (reserve ? 0 : MAP_NORESERVE), in main()
Dwrite_hugetlb_memory.sh14 reserve=$9
23 "$private" "$want_sleep" "$reserve"
/Linux-v6.1/arch/arm/mach-omap2/
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-v6.1/fs/btrfs/
Dblock-rsv.c17 * currently reserved for this block reserve.
23 * -> Reserve
61 * to make our extent tree updates. This block reserve acts as an overflow
62 * buffer in case our delayed refs reserve does not reserve enough space to
78 * reservation. We use the transaction items and pre-reserve space for every
84 * the most dynamic block reserve in the system, we will try to refill this
85 * block reserve first with any excess returned by any other block reserve.
88 * This is the fallback block reserve to make us try to reserve space if we
91 * content to just reserve space from the space_info on demand.
95 * allocate a block reserve, set it to some size, and then truncate bytes
[all …]
Ddelalloc-space.c22 * -> Reserve
78 * necessary, either by attempting to reserve more space, or freeing up excess
88 * -> reserve
151 /* Use new btrfs_qgroup_reserve_data to reserve precious data space. */ in btrfs_check_data_free_space()
339 * over-reserve slightly, and clean up the mess when we are done. in btrfs_delalloc_reserve_metadata()
411 * When we reserve space we increase outstanding_extents for the extents we may
435 * btrfs_delalloc_reserve_space - reserve data and metadata space for
445 * - reserve space in data space info for num bytes
446 * and reserve precious corresponding qgroup space
449 * - reserve space for metadata space, based on the number of outstanding
[all …]
Dblock-rsv.h30 /* Block reserve type, one of BTRFS_BLOCK_RSV_* */
38 * reserve.
96 * Fast path to check if the reserve is full, may be carefully used outside of
/Linux-v6.1/drivers/scsi/
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-v6.1/arch/powerpc/platforms/pseries/
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-v6.1/fs/xfs/
Dxfs_fsops.c209 * Reserve AG metadata blocks. ENOSPC here does not mean there in xfs_growfs_data_private()
360 * Reserve the requested number of blocks if available. Otherwise return
399 * retry if we end up trying to reserve more space than is available. in xfs_reserve_blocks()
426 * If the request is larger than the current reservation, reserve the in xfs_reserve_blocks()
427 * blocks before we update the reserve counters. Sample m_fdblocks and in xfs_reserve_blocks()
431 * fdblocks to stash in the reserve pool. This is a classic TOCTOU in xfs_reserve_blocks()
433 * m_sb_lock. Set the reserve size even if there's not enough free in xfs_reserve_blocks()
435 * reserve when it can. in xfs_reserve_blocks()
445 * here - we don't want to reserve the extra reserve blocks in xfs_reserve_blocks()
446 * from the reserve. in xfs_reserve_blocks()
[all …]
/Linux-v6.1/arch/x86/include/asm/trace/
Dirq_vectors.h271 bool reserve),
273 TP_ARGS(irq, is_managed, can_reserve, reserve),
279 __field( bool, reserve )
286 __entry->reserve = reserve;
289 TP_printk("irq=%u is_managed=%d can_reserve=%d reserve=%d",
291 __entry->reserve)
297 bool can_reserve, bool reserve), \
298 TP_ARGS(irq, is_managed, can_reserve, reserve), NULL, NULL); \
/Linux-v6.1/tools/testing/selftests/bpf/benchs/
Drun_bench_ringbufs.sh32 header "Ringbuf back-to-back, reserve+commit vs output"
33 summarize "reserve" "$($RUN_BENCH --rb-b2b rb-custom)"
36 header "Ringbuf sampled, reserve+commit vs output"
37 summarize "reserve-sampled" "$($RUN_BENCH --rb-sampled rb-custom)"
/Linux-v6.1/arch/x86/kernel/
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-v6.1/arch/powerpc/include/asm/
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-v6.1/drivers/char/agp/
Dfrontend.c801 struct agp_region reserve; in agpioc_reserve_wrap() local
806 if (copy_from_user(&reserve, arg, sizeof(struct agp_region))) in agpioc_reserve_wrap()
809 if ((unsigned) reserve.seg_count >= ~0U/sizeof(struct agp_segment)) in agpioc_reserve_wrap()
812 client = agp_find_client_by_pid(reserve.pid); in agpioc_reserve_wrap()
814 if (reserve.seg_count == 0) { in agpioc_reserve_wrap()
816 client_priv = agp_find_private(reserve.pid); in agpioc_reserve_wrap()
826 return agp_remove_client(reserve.pid); in agpioc_reserve_wrap()
830 if (reserve.seg_count >= 16384) in agpioc_reserve_wrap()
833 segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count), in agpioc_reserve_wrap()
839 if (copy_from_user(segment, (void __user *) reserve.seg_list, in agpioc_reserve_wrap()
[all …]
/Linux-v6.1/Documentation/mm/
Dhugetlbfs_reserv.rst21 'reserve' huge pages at mmap() time to ensure that huge pages would be
23 describe how huge page reserve processing is done in the v4.10 kernel.
40 Reserve Map
41 A reserve map is described by the structure::
52 There is one reserve map for each huge page mapping in the system.
92 Specifically, vma->vm_private_data. This reserve map is created at the
240 The routine vma_commit_reservation() is then called to adjust the reserve
244 in the reserve map already existed so no change is made. However, if there
248 It is possible that the reserve map could have been changed between the call
255 a race is detected, the subpool and global reserve counts are adjusted to
[all …]
/Linux-v6.1/arch/um/kernel/
Dphysmem.c82 unsigned long reserve = reserve_end - start; in setup_physmem() local
83 long map_size = len - reserve; in setup_physmem()
88 reserve, len); in setup_physmem()
94 err = os_map_memory((void *) reserve_end, physmem_fd, reserve, in setup_physmem()
112 memblock_reserve(__pa(start), reserve); in setup_physmem()
/Linux-v6.1/include/drm/ttm/
Dttm_execbuf_util.h55 * @ticket: ww_acquire_ctx from reserve call
74 * Tries to reserve bos pointed to by the list entries for validation.
79 * reserve the same buffers in reverse order, all threads except one will
105 * @ticket: ww_acquire_ctx from reserve call
/Linux-v6.1/include/linux/
Drelay.h98 * NOTE: the client can reserve bytes at the beginning of the new
232 * relay_reserve - reserve slot in channel buffer
234 * @length: number of bytes to reserve
261 * subbuf_start_reserve - reserve bytes at the start of a sub-buffer
263 * @length: number of bytes to reserve
265 * Helper function used to reserve bytes at the beginning of
/Linux-v6.1/drivers/md/bcache/
Dalloc.c306 /* Prios/gens are actually the most important reserve */ in bch_allocator_push()
392 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait) in bch_bucket_alloc() argument
405 fifo_pop(&ca->free[reserve], r)) in bch_bucket_alloc()
409 trace_bcache_alloc_fail(ca, reserve); in bch_bucket_alloc()
421 !fifo_pop(&ca->free[reserve], r)); in bch_bucket_alloc()
428 trace_bcache_alloc(ca, reserve); in bch_bucket_alloc()
451 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc()
488 int __bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in __bch_bucket_alloc_set() argument
503 b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set()
520 int bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in bch_bucket_alloc_set() argument
[all …]
/Linux-v6.1/drivers/dax/
Dpmem.c39 /* reserve the metadata area, device-dax will reserve the data */ in __dax_pmem_probe()
45 dev_warn(dev, "could not reserve metadata\n"); in __dax_pmem_probe()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c164 /* PRAMIN aperture maps over the end of VRAM, reserve it */ in nv04_instmem_oneinit()
171 /* 0x00000-0x10000: reserve for probable vbios image */ in nv04_instmem_oneinit()
177 /* 0x10000-0x18000: reserve for RAMHT */ in nv04_instmem_oneinit()
182 /* 0x18000-0x18800: reserve for RAMFC (enough for 32 nv30 channels) */ in nv04_instmem_oneinit()
188 /* 0x18800-0x18a00: reserve for RAMRO */ in nv04_instmem_oneinit()
/Linux-v6.1/drivers/target/
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()
426 case RESERVE: in core_scsi3_pr_seq_non_holder()
905 pr_debug("SPC-3 PR [%s] Service Action: APTPL RESERVE created" in core_scsi3_aptpl_reserve()
910 pr_debug("SPC-3 PR [%s] RESERVE Node: %s%s\n", in core_scsi3_aptpl_reserve()
1241 * type, then a PERSISTENT RESERVE OUT command with REGISTER in core_scsi3_check_implicit_release()
[all …]
/Linux-v6.1/drivers/input/joystick/
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-v6.1/tools/testing/selftests/bpf/verifier/
Dringbuf.c4 /* reserve 8 byte ringbuf memory */
36 /* reserve 8 byte ringbuf memory */
69 /* reserve 8 byte ringbuf memory */

12345678910>>...58