Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/arch/arm/mach-omap2/
Dboard-generic.c44 .reserve = omap_reserve,
61 .reserve = omap_reserve,
107 .reserve = rx51_reserve,
125 .reserve = omap_reserve,
142 .reserve = omap_reserve,
159 .reserve = omap_reserve,
175 .reserve = omap_reserve,
194 .reserve = omap_reserve,
211 .reserve = omap_reserve,
229 .reserve = omap_reserve,
[all …]
/Linux-v4.19/arch/x86/include/asm/trace/
Dirq_vectors.h286 bool reserve),
288 TP_ARGS(irq, is_managed, can_reserve, reserve),
294 __field( bool, reserve )
301 __entry->reserve = reserve;
306 __entry->reserve)
312 bool can_reserve, bool reserve), \
313 TP_ARGS(irq, is_managed, can_reserve, reserve), NULL, NULL); \
/Linux-v4.19/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-v4.19/drivers/pinctrl/
Dpinconf-generic.c299 unsigned reserve, strings_count; in pinconf_generic_dt_subnode_to_map() local
335 reserve = 0; in pinconf_generic_dt_subnode_to_map()
337 reserve++; in pinconf_generic_dt_subnode_to_map()
339 reserve++; in pinconf_generic_dt_subnode_to_map()
341 reserve *= strings_count; in pinconf_generic_dt_subnode_to_map()
344 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);
/Linux-v4.19/drivers/md/bcache/
Dalloc.c389 long bch_bucket_alloc(struct cache *ca, unsigned int reserve, bool wait) in bch_bucket_alloc() argument
397 fifo_pop(&ca->free[reserve], r)) in bch_bucket_alloc()
401 trace_bcache_alloc_fail(ca, reserve); in bch_bucket_alloc()
413 !fifo_pop(&ca->free[reserve], r)); in bch_bucket_alloc()
420 trace_bcache_alloc(ca, reserve); in bch_bucket_alloc()
443 if (reserve <= RESERVE_PRIO) { in bch_bucket_alloc()
481 int __bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in __bch_bucket_alloc_set() argument
495 long b = bch_bucket_alloc(ca, reserve, wait); in __bch_bucket_alloc_set()
514 int bch_bucket_alloc_set(struct cache_set *c, unsigned int reserve, in bch_bucket_alloc_set() argument
520 ret = __bch_bucket_alloc_set(c, reserve, k, n, wait); in bch_bucket_alloc_set()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dvio.c95 struct vio_cmo_pool reserve; member
222 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
250 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
251 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
254 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
296 vio_cmo.reserve.size += tmp; in vio_cmo_entitlement_update()
462 cmo->reserve.size = cmo->min; in vio_cmo_balance()
470 cmo->reserve.size += (viodev->cmo.entitled - in vio_cmo_balance()
476 cmo->excess.size = cmo->entitled - cmo->reserve.size; in vio_cmo_balance()
683 vio_cmo.reserve.size -= viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
[all …]
/Linux-v4.19/arch/um/kernel/
Dphysmem.c82 unsigned long reserve = reserve_end - start; in setup_physmem() local
84 unsigned long delta = (len - reserve) >> PAGE_SHIFT; in setup_physmem()
118 len - bootmap_size - reserve); in setup_physmem()
/Linux-v4.19/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-v4.19/drivers/bluetooth/
Dbtwilink.c130 .reserve = 8,
137 .reserve = 8,
144 .reserve = 8,
/Linux-v4.19/mm/
Dbootmem.c371 int reserve, int flags) in mark_bootmem_node() argument
376 bdata - bootmem_node_data, start, end, reserve, flags); in mark_bootmem_node()
384 if (reserve) in mark_bootmem_node()
392 int reserve, int flags) in mark_bootmem() argument
410 err = mark_bootmem_node(bdata, pos, max, reserve, flags); in mark_bootmem()
411 if (reserve && err) { in mark_bootmem()
/Linux-v4.19/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c190 .reserve = rcar_gen2_reserve,
204 .reserve = rcar_gen2_reserve,
/Linux-v4.19/Documentation/filesystems/
Ddevpts.txt21 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
25 This feature was added in kernel 3.4 together with sysctl kernel.pty.reserve.
/Linux-v4.19/drivers/pinctrl/tegra/
Dpinctrl-tegra.c118 unsigned reserve; in tegra_pinctrl_dt_subnode_to_map() local
146 reserve = 0; in tegra_pinctrl_dt_subnode_to_map()
148 reserve++; in tegra_pinctrl_dt_subnode_to_map()
150 reserve++; in tegra_pinctrl_dt_subnode_to_map()
156 reserve *= ret; in tegra_pinctrl_dt_subnode_to_map()
159 num_maps, reserve); in tegra_pinctrl_dt_subnode_to_map()
Dpinctrl-tegra-xusb.c164 unsigned int i, reserve = 0, num_configs = 0; in tegra_xusb_padctl_parse_subnode() local
197 reserve++; in tegra_xusb_padctl_parse_subnode()
200 reserve++; in tegra_xusb_padctl_parse_subnode()
206 reserve *= err; in tegra_xusb_padctl_parse_subnode()
209 num_maps, reserve); in tegra_xusb_padctl_parse_subnode()
/Linux-v4.19/net/tipc/
Dbearer.h237 static inline bool tipc_mtu_bad(struct net_device *dev, unsigned int reserve) in tipc_mtu_bad() argument
239 if (dev->mtu >= TIPC_MIN_BEARER_MTU + reserve) in tipc_mtu_bad()
/Linux-v4.19/drivers/gpu/drm/selftests/
Ddrm_mm_selftests.h12 selftest(reserve, igt_reserve)
/Linux-v4.19/drivers/scsi/
Dsg.c148 Sg_scatter_hold reserve; /* buffer held for this file descriptor */ member
752 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
1034 if (val != sfp->reserve.bufflen) { in sg_ioctl()
1041 sg_remove_scat(sfp, &sfp->reserve); in sg_ioctl()
1047 val = min_t(int, sfp->reserve.bufflen, in sg_ioctl()
1234 rsv_schp = &sfp->reserve; in sg_vma_fault()
1281 rsv_schp = &sfp->reserve; in sg_mmap()
1714 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_start_req()
2013 Sg_scatter_hold *schp = &sfp->reserve; in sg_build_reserve()
2032 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_link_reserve()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dirqdomain.h47 struct irq_data *irq_data, bool reserve);
/Linux-v4.19/drivers/pinctrl/samsung/
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-v4.19/Documentation/vm/
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
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 on an error path where a global reserve count must be restored.
[all …]
/Linux-v4.19/drivers/mtd/ubi/
DKconfig46 To put it differently, if this value is 20, UBI will try to reserve
51 MTD partitions of the same size, UBI will reserve 40 eraseblocks when
76 into one PEB. UBI will reserve PEBs to hold two fastmaps.
/Linux-v4.19/arch/arm/include/asm/mach/
Darch.h55 void (*reserve)(void);/* reserve mem blocks */ member
/Linux-v4.19/include/linux/
Dmemremap.h22 const unsigned long reserve; member

12345678