Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 198) sorted by relevance

12345678

/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_to_hugetlbfs.c77 int reserve = 1; in main() local
116 reserve = 0; in main()
161 if (!reserve) in main()
176 (reserve ? 0 : MAP_NORESERVE), in main()
190 (reserve ? 0 : MAP_NORESERVE), in main()
H A Dwrite_hugetlb_memory.sh14 reserve=$9
23 "$private" "$want_sleep" "$reserve"
/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/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/drivers/pinctrl/
H A Dpinconf-generic.c370 int reserve; in pinconf_generic_dt_node_to_map_pinmux() local
396 reserve = 1; in pinconf_generic_dt_node_to_map_pinmux()
398 reserve++; in pinconf_generic_dt_node_to_map_pinmux()
401 num_maps, reserve); in pinconf_generic_dt_node_to_map_pinmux()
438 unsigned int reserve, strings_count; in pinconf_generic_dt_subnode_to_map() local
474 reserve = 0; in pinconf_generic_dt_subnode_to_map()
476 reserve++; in pinconf_generic_dt_subnode_to_map()
478 reserve++; in pinconf_generic_dt_subnode_to_map()
480 reserve *= strings_count; in pinconf_generic_dt_subnode_to_map()
483 num_maps, reserve); in pinconf_generic_dt_subnode_to_map()
[all...]
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v14_0_2_pptable.h126 uint8_t reserve[3]; // Zero filled field reserved for future use member
165 uint8_t reserve[143]; // Zero filled field reserved for future use member
184 uint8_t reserve[3]; member
198 uint32_t reserve[8]; member
H A Dsmu_v13_0_pptable.h108 uint8_t reserve[3]; //Zero filled field reserved for future use member
133 uint8_t reserve[3]; //Zero filled field reserved for future use member
157 uint16_t reserve[6]; //Zero filled field reserved for future use member
H A Dsmu_v11_0_7_pptable.h136 uint8_t reserve[3]; //Zero filled field reserved for future use member
166 uint8_t reserve[3]; //Zero filled field reserved for future use member
189 uint16_t reserve[8]; //Zero filled field reserved for future use member
/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/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 in vio_cmo_dealloc()
[all...]
/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()
/linux/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_v13_0_0_pptable.h145 uint8_t reserve[3]; //Zero filled field reserved for future use member
189 uint32_t reserve[45]; member
/linux/Documentation/filesystems/
H A Ddevpts.rst28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
34 ``sysctl kernel.pty.reserve``.
/linux/net/rose/
H A Drose_subr.c107 int reserve; in rose_write_internal() local
109 reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1; in rose_write_internal()
124 skb = alloc_skb(reserve + len + maxfaclen, GFP_ATOMIC); in rose_write_internal()
131 skb_reserve(skb, reserve); in rose_write_internal()
/linux/Documentation/core-api/kho/
H A Dfdt.rst70 compatible = "reserve-mem-v1";
76 compatible = "reserve-mem-v1";
/linux/arch/arm/mach-realtek/
H A Drtd1195.c37 .reserve = rtd1195_reserve,
/linux/drivers/scsi/
H A Dsg.c130 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */
148 Sg_scatter_hold reserve; /* buffer held for this file descriptor */ member
157 char res_in_use; /* 1 -> 'reserve' array in use */
739 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
741 return -ENOMEM; /* MMAP_IO size must fit in reserve buffer */ in sg_new_write()
749 return -EBUSY; /* reserve buffer already being used */ in sg_new_write()
1027 if (val != sfp->reserve.bufflen) { in sg_ioctl_common()
1034 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl_common()
1040 val = min_t(int, sfp->reserve.bufflen, in sg_ioctl_common()
1225 rsv_schp = &sfp->reserve; in sg_vma_fault()
[all...]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm_mbox.c154 int reserve, i, cnt; in nfp_ccm_mbox_copy_in() local
182 reserve = nfp_ccm_mbox_maxlen(skb) - len; in nfp_ccm_mbox_copy_in()
183 if (reserve > 0) { in nfp_ccm_mbox_copy_in()
186 reserve); in nfp_ccm_mbox_copy_in()
187 off += 4 + reserve; in nfp_ccm_mbox_copy_in()
/linux/rust/kernel/alloc/
H A Dkvec.rs313 self.reserve(1, flags)?; in push()
314 // SAFETY: The call to `reserve` was successful, so the capacity is at least one greater in push()
491 v.reserve(capacity, flags)?; in with_capacity()
502 /// v.reserve(1, GFP_KERNEL)?;
599 /// v.reserve(10, GFP_KERNEL)?;
603 /// v.reserve(10, GFP_KERNEL)?;
609 pub fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve() function
731 self.reserve(n, flags)?; in extend_with()
743 // - `self.len() + n < self.capacity()` due to the call to reserve above, in extend_with()
766 self.reserve(othe in extend_from_slice()
[all...]
/linux/include/uapi/linux/
H A Dum_timetravel.h245 char reserve[128]; /* reserved for future usage */ member
/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.
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
279 reserve coun
[all...]
/linux/arch/x86/include/asm/
H A Dirqdomain.h48 struct irq_data *irq_data, bool reserve);
/linux/arch/arm/boot/dts/st/
H A Dste-db9500.dtsi27 * be too careful, so reserve this memory anyway.
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.c115 unsigned reserve; in tegra_pinctrl_dt_subnode_to_map() local
143 reserve = 0; in tegra_pinctrl_dt_subnode_to_map()
145 reserve++; in tegra_pinctrl_dt_subnode_to_map()
147 reserve++; in tegra_pinctrl_dt_subnode_to_map()
153 reserve *= ret; in tegra_pinctrl_dt_subnode_to_map()
156 num_maps, reserve); in tegra_pinctrl_dt_subnode_to_map()

12345678