Home
last modified time | relevance | path

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

123456789

/linux/tools/testing/selftests/vm/
A Dcharge_reserved_hugetlb.sh155 local reserve="$9"
273 local reserve="${10}"
291 "$reserve"
321 local reserve="${15}"
419 echo private=$private, populate=$populate, method=$method, reserve=$reserve
448 echo private=$private, populate=$populate, method=$method, reserve=$reserve
468 echo private=$private, populate=$populate, method=$method, reserve=$reserve
472 "$reserve"
485 echo private=$private, populate=$populate, method=$method, reserve=$reserve
501 echo private=$private, populate=$populate, method=$method, reserve=$reserve
[all …]
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()
A Dwrite_hugetlb_memory.sh14 reserve=$9
23 "$private" "$want_sleep" "$reserve"
/linux/arch/arm/mach-omap2/
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/x86/include/asm/trace/
A 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/arch/um/kernel/
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()
/linux/drivers/char/agp/
A Dfrontend.c799 struct agp_region reserve; in agpioc_reserve_wrap() local
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()
838 sizeof(struct agp_segment) * reserve.seg_count)) { in agpioc_reserve_wrap()
842 reserve.seg_list = segment; in agpioc_reserve_wrap()
846 client = agp_create_client(reserve.pid); in agpioc_reserve_wrap()
852 client_priv = agp_find_private(reserve.pid); in agpioc_reserve_wrap()
[all …]
/linux/drivers/md/bcache/
A 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/arch/powerpc/platforms/pseries/
A Dvio.c93 struct vio_cmo_pool reserve; member
220 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
252 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
294 vio_cmo.reserve.size += tmp; in vio_cmo_entitlement_update()
460 cmo->reserve.size = cmo->min; in vio_cmo_balance()
468 cmo->reserve.size += (viodev->cmo.entitled - in vio_cmo_balance()
786 vio_cmo.reserve.size += tmp; in vio_cmo_bus_probe()
919 vio_cmo.reserve.size = vio_cmo.spare; in vio_cmo_bus_init()
931 vio_cmo.min = vio_cmo.reserve.size; in vio_cmo_bus_init()
932 vio_cmo.desired = vio_cmo.reserve.size; in vio_cmo_bus_init()
[all …]
/linux/drivers/pinctrl/
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()
A 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()
/linux/drivers/gpu/drm/amd/pm/inc/
A Dsmu_v13_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
A 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
A 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
/linux/fs/jffs2/
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/nvdimm/
A 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()
/linux/Documentation/filesystems/
A Ddevpts.rst28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
34 ``sysctl kernel.pty.reserve``.
/linux/net/rose/
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/arch/arm/mach-shmobile/
A Dsetup-rcar-gen2.c208 .reserve = rcar_gen2_reserve,
224 .reserve = rcar_gen2_reserve,
/linux/drivers/scsi/
A Dsg.c1037 if (val != sfp->reserve.bufflen) { in sg_ioctl_common()
1044 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl_common()
1234 rsv_schp = &sfp->reserve; in sg_vma_fault()
1281 rsv_schp = &sfp->reserve; in sg_mmap()
2168 sfp->reserve.bufflen, in sg_add_sfp()
2169 sfp->reserve.k_use_sg)); in sg_add_sfp()
2194 if (sfp->reserve.bufflen > 0) { in sg_remove_sfp_usercontext()
2197 (int) sfp->reserve.bufflen, in sg_remove_sfp_usercontext()
2198 (int) sfp->reserve.k_use_sg)); in sg_remove_sfp_usercontext()
2199 sg_remove_scat(sfp, &sfp->reserve); in sg_remove_sfp_usercontext()
[all …]
/linux/drivers/pinctrl/tegra/
A Dpinctrl-tegra.c112 unsigned reserve; in tegra_pinctrl_dt_subnode_to_map() local
140 reserve = 0; in tegra_pinctrl_dt_subnode_to_map()
142 reserve++; in tegra_pinctrl_dt_subnode_to_map()
144 reserve++; in tegra_pinctrl_dt_subnode_to_map()
150 reserve *= ret; in tegra_pinctrl_dt_subnode_to_map()
153 num_maps, reserve); in tegra_pinctrl_dt_subnode_to_map()
/linux/drivers/net/ethernet/netronome/nfp/
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/Documentation/vm/
A Dhugetlbfs_reserv.rst21 'reserve' huge pages at mmap() time to ensure that huge pages would be
23 describe how huge page reserve processing is done in the v4.10 kernel.
41 A reserve map is described by the structure::
52 There is one reserve map for each huge page mapping in the system.
92 Specifically, vma->vm_private_data. This reserve map is created at the
240 The routine vma_commit_reservation() is then called to adjust the reserve
244 in the reserve map already existed so no change is made. However, if there
248 It is possible that the reserve map could have been changed between the call
255 a race is detected, the subpool and global reserve counts are adjusted to
280 on an error path where a global reserve count must be restored.
[all …]
/linux/drivers/pinctrl/samsung/
A Dpinctrl-samsung.c80 unsigned reserve) in reserve_map() argument
83 unsigned new_num = *num_maps + reserve; in reserve_map()
185 unsigned reserve; in samsung_dt_subnode_to_map() local
208 reserve = 0; in samsung_dt_subnode_to_map()
210 reserve++; in samsung_dt_subnode_to_map()
212 reserve++; in samsung_dt_subnode_to_map()
218 reserve *= ret; in samsung_dt_subnode_to_map()
220 ret = reserve_map(dev, map, reserved_maps, num_maps, reserve); in samsung_dt_subnode_to_map()
/linux/net/tipc/
A 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()

Completed in 50 milliseconds

123456789