Home
last modified time | relevance | path

Searched refs:reserve (Results 1 - 25 of 266) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dcharge_reserved_hugetlb.sh156 local reserve="$9"
182 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
204 elif [[ "$reserve" != "-n" ]]; then
215 "$cgroup" "$path" "$method" "$private" "$reserve"
218 if [[ "$reserve" != "-n" ]]; then
274 local reserve="${10}"
292 "$reserve"
322 local reserve="${15}"
346 "$expect_failure" "$reserve"
363 "$expect_failure" "$reserve"
[all...]
H A Dwrite_to_hugetlbfs.c75 int reserve = 1; in main() local
114 reserve = 0; in main()
159 if (!reserve) in main()
174 (reserve ? 0 : MAP_NORESERVE), in main()
188 (reserve ? 0 : MAP_NORESERVE), in main()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A 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...]
H A Dwrite_to_hugetlbfs.c75 int reserve = 1; in main() local
114 reserve = 0; in main()
159 if (!reserve) in main()
174 (reserve ? 0 : MAP_NORESERVE), in main()
188 (reserve ? 0 : MAP_NORESERVE), in main()
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dboard-generic.c57 .reserve = omap_reserve,
74 .reserve = omap_reserve,
120 .reserve = rx51_reserve,
138 .reserve = omap_reserve,
155 .reserve = omap_reserve,
172 .reserve = omap_reserve,
188 .reserve = omap_reserve,
207 .reserve = omap_reserve,
224 .reserve = omap_reserve,
242 .reserve
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/trace/
H A 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); \
/kernel/linux/linux-6.6/arch/x86/include/asm/trace/
H A 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); \
/kernel/linux/linux-5.10/arch/um/kernel/
H A 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() local
/kernel/linux/linux-6.6/arch/um/kernel/
H A 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() local
/kernel/linux/linux-5.10/drivers/char/agp/
H A Dfrontend.c799 struct agp_region reserve; in agpioc_reserve_wrap() local
804 if (copy_from_user(&reserve, arg, sizeof(struct agp_region))) in agpioc_reserve_wrap()
807 if ((unsigned) reserve.seg_count >= ~0U/sizeof(struct agp_segment)) in agpioc_reserve_wrap()
810 client = agp_find_client_by_pid(reserve.pid); in agpioc_reserve_wrap()
812 if (reserve.seg_count == 0) { in agpioc_reserve_wrap()
814 client_priv = agp_find_private(reserve.pid); in agpioc_reserve_wrap()
824 return agp_remove_client(reserve.pid); in agpioc_reserve_wrap()
828 if (reserve.seg_count >= 16384) in agpioc_reserve_wrap()
831 segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count), in agpioc_reserve_wrap()
837 if (copy_from_user(segment, (void __user *) reserve in agpioc_reserve_wrap()
[all...]
/kernel/linux/linux-6.6/drivers/char/agp/
H A 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 in agpioc_reserve_wrap()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dvio.c79 * @reserve: pool of memory from which devices reserve entitlement, incl. spare
92 struct vio_cmo_pool reserve; member
152 /* Determine the amount of free entitlement available in reserve */ in vio_cmo_alloc()
182 * the reserve pool is used to reduce device entitlement, the excess
183 * pool is used to increase the reserve pool toward the desired entitlement
209 /* Spare is a subset of the reserve pool, replenish it first. */ in vio_cmo_dealloc()
213 * Replenish the spare in the reserve pool from the excess pool. in vio_cmo_dealloc()
214 * This moves entitlement into the reserve pool. in vio_cmo_dealloc()
219 vio_cmo.reserve in vio_cmo_dealloc()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinconf-generic.c302 unsigned reserve, strings_count; in pinconf_generic_dt_subnode_to_map() local
338 reserve = 0; in pinconf_generic_dt_subnode_to_map()
340 reserve++; in pinconf_generic_dt_subnode_to_map()
342 reserve++; in pinconf_generic_dt_subnode_to_map()
344 reserve *= strings_count; in pinconf_generic_dt_subnode_to_map()
347 num_maps, reserve); in pinconf_generic_dt_subnode_to_map()
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinconf-generic.c304 unsigned reserve, strings_count; in pinconf_generic_dt_subnode_to_map() local
340 reserve = 0; in pinconf_generic_dt_subnode_to_map()
342 reserve++; in pinconf_generic_dt_subnode_to_map()
344 reserve++; in pinconf_generic_dt_subnode_to_map()
346 reserve *= strings_count; in pinconf_generic_dt_subnode_to_map()
349 num_maps, reserve); in pinconf_generic_dt_subnode_to_map()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A 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()
489 int __bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in __bch_bucket_alloc_set() argument
504 b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set()
521 int bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in bch_bucket_alloc_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_v11_0_7_pptable.h135 uint8_t reserve[3]; //Zero filled field reserved for future use member
165 uint8_t reserve[3]; //Zero filled field reserved for future use member
188 uint16_t reserve[8]; //Zero filled field reserved for future use member
H A Dsmu_v11_0_pptable.h106 uint8_t reserve[3]; //Zero filled field reserved for future use member
132 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
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
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
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_pptable.h106 uint8_t reserve[3]; //Zero filled field reserved for future use member
131 uint8_t reserve[3]; //Zero filled field reserved for future use member
155 uint16_t reserve[6]; //Zero filled field reserved for future use member
/kernel/linux/linux-5.10/fs/jffs2/
H A Dcompr_rubin.c34 unsigned int reserve; member
49 unsigned reserve) in init_pushpull()
54 pp->reserve = reserve; in init_pushpull()
59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit()
47 init_pushpull(struct pushpull *pp, char *buf, unsigned buflen, unsigned ofs, unsigned reserve) init_pushpull() argument
/kernel/linux/linux-6.6/fs/jffs2/
H A Dcompr_rubin.c34 unsigned int reserve; member
49 unsigned reserve) in init_pushpull()
54 pp->reserve = reserve; in init_pushpull()
59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit()
47 init_pushpull(struct pushpull *pp, char *buf, unsigned buflen, unsigned ofs, unsigned reserve) init_pushpull() argument

Completed in 16 milliseconds

1234567891011