/Linux-v5.10/tools/testing/selftests/vm/ |
D | charge_reserved_hugetlb.sh | 152 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 …]
|
D | write_to_hugetlbfs.c | 75 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()
|
D | write_hugetlb_memory.sh | 14 reserve=$9 23 "$private" "$want_sleep" "$reserve"
|
/Linux-v5.10/arch/arm/mach-omap2/ |
D | board-generic.c | 56 .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-v5.10/arch/x86/include/asm/trace/ |
D | irq_vectors.h | 271 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-v5.10/arch/um/kernel/ |
D | physmem.c | 82 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-v5.10/drivers/char/agp/ |
D | frontend.c | 799 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 …]
|
/Linux-v5.10/drivers/md/bcache/ |
D | alloc.c | 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 527 ret = __bch_bucket_alloc_set(c, reserve, k, wait); in bch_bucket_alloc_set()
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinconf-generic.c | 302 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()
|
D | pinctrl-utils.c | 33 unsigned *num_maps, unsigned reserve) in pinctrl_utils_reserve_map() argument 36 unsigned new_num = *num_maps + reserve; in pinctrl_utils_reserve_map()
|
D | pinctrl-utils.h | 27 unsigned *num_maps, unsigned reserve);
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/ |
D | smu_v11_0_pptable.h | 106 …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
|
D | smu_v11_0_7_pptable.h | 135 …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-v5.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 92 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 …]
|
/Linux-v5.10/fs/jffs2/ |
D | compr_rubin.c | 34 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-v5.10/Documentation/filesystems/ |
D | devpts.rst | 28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace 34 ``sysctl kernel.pty.reserve``.
|
/Linux-v5.10/arch/arm/mach-shmobile/ |
D | setup-rcar-gen2.c | 208 .reserve = rcar_gen2_reserve, 224 .reserve = rcar_gen2_reserve,
|
/Linux-v5.10/drivers/nvdimm/ |
D | pfn_devs.c | 666 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-v5.10/net/rose/ |
D | rose_subr.c | 107 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-v5.10/arch/arm/mach-realtek/ |
D | rtd1195.c | 37 .reserve = rtd1195_reserve,
|
/Linux-v5.10/net/tipc/ |
D | bearer.h | 253 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()
|
/Linux-v5.10/drivers/scsi/ |
D | sg.c | 143 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 …]
|
/Linux-v5.10/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 112 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-v5.10/drivers/gpu/drm/selftests/ |
D | drm_mm_selftests.h | 12 selftest(reserve, igt_reserve)
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/ |
D | ccm_mbox.c | 154 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()
|