Home
last modified time | relevance | path

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

12345678910>>...42

/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh175 local reserve="$9"
201 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
223 elif [[ "$reserve" != "-n" ]]; then
234 "$cgroup" "$path" "$method" "$private" "$reserve"
237 if [[ "$reserve" != "-n" ]]; then
293 local reserve="${10}"
311 "$reserve"
341 local reserve="${15}"
365 "$expect_failure" "$reserve"
382 "$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.c216 * 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 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/arch/um/kernel/
H A Dphysmem.c65 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 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/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/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.c300 /* 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/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
H A Dsmu_v11_0_pptable.h106 …uint8_t reserve[3]; //Zero filled field reserved for future … member
131 …uint8_t reserve[3]; //Zero filled field reserved for future … member
155 uint16_t reserve[6]; //Zero filled field reserved for future use member
H A Dsmu_v13_0_pptable.h108 …uint8_t reserve[3]; //Zero filled field reserved for future … member
133 …uint8_t reserve[3]; //Zero filled field reserved for future … member
157 uint16_t reserve[6]; //Zero filled field reserved for future use member
/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/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()
H A Dnv40.c164 /* 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/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/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()
/linux/drivers/mtd/ubi/
H A DKconfig47 To put it differently, if this value is 20, UBI will try to reserve
52 MTD partitions of the same size, UBI will reserve 40 eraseblocks when
77 into one PEB. UBI will reserve PEBs to hold two fastmaps.
/linux/fs/jffs2/
H A Dcompr_rubin.c34 unsigned int reserve; member
49 unsigned reserve) in init_pushpull() argument
54 pp->reserve = reserve; in init_pushpull()
59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit()

12345678910>>...42