Home
last modified time | relevance | path

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

12345678

/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()
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/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); \
/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/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/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()
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
526 ret = __bch_bucket_alloc_set(c, reserve, k, wait); in bch_bucket_alloc_set()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v11_0_pptable.h107 …uint8_t reserve[3]; //Zero filled field reserved for future … member
133 …uint8_t reserve[3]; //Zero filled field reserved for future … member
158 uint16_t reserve[6]; //Zero filled field reserved for future use member
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
Dsmu_v11_0_7_pptable.h136 …uint8_t reserve[3]; //Zero filled field reserved for future … member
166 …uint8_t reserve[3]; //Zero filled field reserved for future … member
189 uint16_t reserve[8]; //Zero filled field reserved for future use member
Dsmu_v13_0_7_pptable.h148 uint8_t reserve[3]; //Zero filled field reserved for future use member
194 uint32_t reserve[45]; member
/Linux-v6.1/drivers/pinctrl/
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()
Dpinctrl-utils.c20 unsigned *num_maps, unsigned reserve) in pinctrl_utils_reserve_map() argument
23 unsigned new_num = *num_maps + reserve; in pinctrl_utils_reserve_map()
Dpinctrl-utils.h14 unsigned *num_maps, unsigned reserve);
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dvio.c94 struct vio_cmo_pool reserve; member
221 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
249 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
250 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
253 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
295 vio_cmo.reserve.size += tmp; in vio_cmo_entitlement_update()
461 cmo->reserve.size = cmo->min; in vio_cmo_balance()
469 cmo->reserve.size += (viodev->cmo.entitled - in vio_cmo_balance()
475 cmo->excess.size = cmo->entitled - cmo->reserve.size; in vio_cmo_balance()
670 vio_cmo.reserve.size -= viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0_0_pptable.h148 uint8_t reserve[3]; //Zero filled field reserved for future use member
194 uint32_t reserve[45]; member
/Linux-v6.1/Documentation/filesystems/
Ddevpts.rst28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
34 ``sysctl kernel.pty.reserve``.
/Linux-v6.1/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c208 .reserve = rcar_gen2_reserve,
224 .reserve = rcar_gen2_reserve,
/Linux-v6.1/drivers/nvdimm/
Dpfn_devs.c668 unsigned long reserve = nd_info_block_reserve() >> PAGE_SHIFT; in init_altmap_reserve() local
671 reserve += base_pfn - SUBSECTION_ALIGN_DOWN(base_pfn); in init_altmap_reserve()
672 return reserve; in init_altmap_reserve()
683 u32 reserve = nd_info_block_reserve(); in __nvdimm_setup_pfn() local
690 .reserve = init_altmap_reserve(base), in __nvdimm_setup_pfn()
700 if (offset < reserve) in __nvdimm_setup_pfn()
711 altmap->free = PHYS_PFN(offset - reserve); in __nvdimm_setup_pfn()
/Linux-v6.1/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()
/Linux-v6.1/arch/arm/mach-realtek/
Drtd1195.c37 .reserve = rtd1195_reserve,
/Linux-v6.1/drivers/scsi/
Dsg.c148 Sg_scatter_hold reserve; /* buffer held for this file descriptor */ member
743 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
1031 if (val != sfp->reserve.bufflen) { in sg_ioctl_common()
1038 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl_common()
1044 val = min_t(int, sfp->reserve.bufflen, in sg_ioctl_common()
1228 rsv_schp = &sfp->reserve; in sg_vma_fault()
1275 rsv_schp = &sfp->reserve; in sg_mmap()
1726 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_start_req()
1995 Sg_scatter_hold *schp = &sfp->reserve; in sg_build_reserve()
2014 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_link_reserve()
[all …]
/Linux-v6.1/net/tipc/
Dbearer.h257 static inline bool tipc_mtu_bad(struct net_device *dev, unsigned int reserve) in tipc_mtu_bad() argument
259 if (dev->mtu >= TIPC_MIN_BEARER_MTU + reserve) in tipc_mtu_bad()

12345678