Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh152 local reserve="$9"
178 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
200 elif [[ "$reserve" != "-n" ]]; then
211 "$cgroup" "$path" "$method" "$private" "$reserve"
214 if [[ "$reserve" != "-n" ]]; then
270 local reserve="${10}"
288 "$reserve"
318 local reserve="${15}"
342 "$expect_failure" "$reserve"
359 "$expect_failure" "$reserve"
[all …]
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()
Dwrite_hugetlb_memory.sh14 reserve=$9
23 "$private" "$want_sleep" "$reserve"
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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;
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/
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()
/kernel/linux/linux-5.10/drivers/char/agp/
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.seg_list, in agpioc_reserve_wrap()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dalloc.c392 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
527 ret = __bch_bucket_alloc_set(c, reserve, k, wait); in bch_bucket_alloc_set()
/kernel/linux/linux-5.10/drivers/pinctrl/
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()
Dpinctrl-utils.c33 unsigned *num_maps, unsigned reserve) in pinctrl_utils_reserve_map() argument
36 unsigned new_num = *num_maps + reserve; in pinctrl_utils_reserve_map()
Dpinctrl-utils.h27 unsigned *num_maps, unsigned reserve);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dsmu_v11_0_pptable.h106 …uint8_t reserve[3]; //Zero filled field reserved for future … member
132 …uint8_t reserve[3]; //Zero filled field reserved for future … member
157 uint16_t reserve[6]; //Zero filled field reserved for future use member
Dsmu_v11_0_7_pptable.h135 …uint8_t reserve[3]; //Zero filled field reserved for future … member
165 …uint8_t reserve[3]; //Zero filled field reserved for future … member
188 uint16_t reserve[8]; //Zero filled field reserved for future use member
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c92 struct vio_cmo_pool reserve; member
219 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
247 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
248 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
251 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
293 vio_cmo.reserve.size += tmp; in vio_cmo_entitlement_update()
459 cmo->reserve.size = cmo->min; in vio_cmo_balance()
467 cmo->reserve.size += (viodev->cmo.entitled - in vio_cmo_balance()
473 cmo->excess.size = cmo->entitled - cmo->reserve.size; in vio_cmo_balance()
667 vio_cmo.reserve.size -= viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
[all …]
/kernel/liteos_a/kernel/extended/blackbox/
DKconfig23 int "The address of the reserve mem for blackbox in hex"
27 Define the address of the reserve mem for blackbox in hex.
/kernel/linux/linux-5.10/fs/jffs2/
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()
/kernel/linux/linux-5.10/Documentation/filesystems/
Ddevpts.rst28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
34 ``sysctl kernel.pty.reserve``.
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c208 .reserve = rcar_gen2_reserve,
224 .reserve = rcar_gen2_reserve,
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpfn_devs.c666 unsigned long reserve = nd_info_block_reserve() >> PAGE_SHIFT; in init_altmap_reserve() local
669 reserve += base_pfn - SUBSECTION_ALIGN_DOWN(base_pfn); in init_altmap_reserve()
670 return reserve; in init_altmap_reserve()
681 u32 reserve = nd_info_block_reserve(); in __nvdimm_setup_pfn() local
688 .reserve = init_altmap_reserve(base), in __nvdimm_setup_pfn()
698 if (offset < reserve) in __nvdimm_setup_pfn()
709 altmap->free = PHYS_PFN(offset - reserve); in __nvdimm_setup_pfn()
/kernel/linux/linux-5.10/net/rose/
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()
/kernel/linux/linux-5.10/arch/arm/mach-realtek/
Drtd1195.c37 .reserve = rtd1195_reserve,
/kernel/uniproton/src/om/include/
Dprt_cpup_external.h41 U16 reserve; member
/kernel/linux/linux-5.10/net/tipc/
Dbearer.h253 static inline bool tipc_mtu_bad(struct net_device *dev, unsigned int reserve) in tipc_mtu_bad() argument
255 if (dev->mtu >= TIPC_MIN_BEARER_MTU + reserve) in tipc_mtu_bad()
/kernel/linux/linux-5.10/drivers/scsi/
Dsg.c143 Sg_scatter_hold reserve; /* buffer held for this file descriptor */ member
743 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
1034 if (val != sfp->reserve.bufflen) { in sg_ioctl_common()
1041 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl_common()
1047 val = min_t(int, sfp->reserve.bufflen, in sg_ioctl_common()
1252 rsv_schp = &sfp->reserve; in sg_vma_fault()
1299 rsv_schp = &sfp->reserve; in sg_mmap()
1732 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_start_req()
2031 Sg_scatter_hold *schp = &sfp->reserve; in sg_build_reserve()
2050 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_link_reserve()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Ddrm_mm_selftests.h12 selftest(reserve, igt_reserve)

123456789