Home
last modified time | relevance | path

Searched refs:charged (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh422 echo Memory charged to hugtlb=$hugetlb_difference
423 echo Memory charged to reservation=$reserved_difference
451 echo Memory charged to hugtlb=$hugetlb_difference
452 echo Memory charged to reservation=$reserved_difference
506 echo Memory charged to hugtlb1=$hugetlb_difference1
507 echo Memory charged to reservation1=$reserved_difference1
508 echo Memory charged to hugtlb2=$hugetlb_difference2
509 echo Memory charged to reservation2=$reserved_difference2
552 echo Memory charged to hugtlb1=$hugetlb_difference1
553 echo Memory charged to reservation1=$reserved_difference1
[all …]
Dhugetlb_reparenting_test.sh200 echo Assert memory charged correctly for parent use.
205 echo Assert memory charged correctly for child use.
230 echo Assert memory charged correctly for child only use.
/Linux-v5.15/mm/
Dmremap.c772 unsigned long charged = (new_len - old_len) >> PAGE_SHIFT; in vma_to_resize() local
773 if (security_vm_enough_memory_mm(mm, charged)) in vma_to_resize()
775 *p = charged; in vma_to_resize()
790 unsigned long charged = 0; in mremap_to() local
833 vma = vma_to_resize(addr, old_len, new_len, flags, &charged); in mremap_to()
869 vm_unacct_memory(charged); in mremap_to()
902 unsigned long charged = 0; in SYSCALL_DEFINE5() local
984 vma = vma_to_resize(addr, old_len, new_len, flags, &charged); in SYSCALL_DEFINE5()
1038 vm_unacct_memory(charged); in SYSCALL_DEFINE5()
Dmprotect.c415 unsigned long charged = 0; in mprotect_fixup() local
454 charged = nrpages; in mprotect_fixup()
455 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
515 vm_unacct_memory(charged); in mprotect_fixup()
Dmmap.c1724 unsigned long charged = 0; in mmap_region() local
1748 charged = len >> PAGE_SHIFT; in mmap_region()
1749 if (security_vm_enough_memory_mm(mm, charged)) in mmap_region()
1881 charged = 0; in mmap_region()
1887 if (charged) in mmap_region()
1888 vm_unacct_memory(charged); in mmap_region()
Dfilemap.c881 bool charged = false; in __add_to_page_cache_locked() local
895 charged = true; in __add_to_page_cache_locked()
942 if (charged) in __add_to_page_cache_locked()
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dmemcg_test.rst29 occurs. swap_cgroup is used only when a charged page is swapped-out.
34 a page/swp_entry may be charged (usage += PAGE_SIZE) at
53 Memcg pages are charged in two steps:
58 At try_charge(), there are no flags to say "this page is charged".
79 charged already.
99 Page Cache is charged at
124 It's charged when...
Dhugetlb.rst108 For shared HugeTLB memory, both HugeTLB reservation and page faults are charged
120 charged to it, the behavior is as follows:
122 - The fault charges are charged to the parent HugeTLB cgroup (reparented),
126 reservations charged to it, that cgroup persists as a zombie until all HugeTLB
128 the memory controller whose cgroups also persist as zombie until all charged
Drdma.rst64 a process from previously charged cgroup which is migrated to new cgroup,
Dmemory.rst182 charged is over its limit. If it is, then reclaim is invoked on the cgroup.
221 page will eventually get charged for it (once it is uncharged from
483 remain charged to it, the charge is dropped when the page is freed or
502 will be charged as a new owner of it.
518 charged file caches. Some out-of-use page caches may keep charged until
766 a page or a swap can be moved only when it is charged to the task's current
/Linux-v5.15/Documentation/power/
Dcharger-manager.rst32 While the battery is being charged and the system is in suspend-to-RAM,
111 For each battery charged independently from other batteries (if a series of
112 batteries are charged by a single charger, they are counted as one independent
131 poll this battery if and only if the battery is being charged.
136 charged. If the voltage drop is over fullbatt_vchkdrop_uV, Charger
145 charged and the battery voltage is equal to or greater than
Dpower_supply_class.rst25 typically expected feedback of battery charging/fully charged status and
90 are already charged or discharging, 'n/a' can be displayed (or
/Linux-v5.15/Documentation/admin-guide/sysctl/
Duser.rst24 The creation of per user per user namespace objects are charged to
28 The creation of objects is also charged to all of the users
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-power-twl403019 be taken that battery is not over-charged.
Drtc-cdev42 replaced or charged to be able to clear the status.
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst186 charged before strobing. LED flashes often require a cooldown period
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dtps65910.txt54 - ti,vmbch-threshold: (tps65911) main battery charged threshold
/Linux-v5.15/Documentation/accounting/
Dtaskstats-struct.rst155 * a tick is charged to a task's system time. So, at the end we
/Linux-v5.15/net/core/
Dsock.c2749 bool charged = true; in __sk_mem_raise_allocated() local
2752 !(charged = mem_cgroup_charge_skmem(sk->sk_memcg, amt, in __sk_mem_raise_allocated()
2809 if (memcg_charge && !charged) { in __sk_mem_raise_allocated()
2817 if (kind == SK_MEM_SEND || (kind == SK_MEM_RECV && charged)) in __sk_mem_raise_allocated()
2822 if (memcg_charge && charged) in __sk_mem_raise_allocated()
/Linux-v5.15/Documentation/admin-guide/mm/
Dpagemap.rst86 memory cgroup each page is charged to, indexed by PFN. Only available when
Dtranshuge.rst338 is incremented if a file huge page cannot be charged and instead
/Linux-v5.15/Documentation/admin-guide/
Dcgroup-v2.rst1534 A memory area is charged to the cgroup which instantiated it and stays
1535 charged to the cgroup until the area is released. Migrating a process
1540 To which cgroup the area will be charged is in-deterministic; however,
1848 normally, however they are "charged" to the originating group. If the
2316 A miscellaneous scalar resource is charged to the cgroup in which it is used
2317 first, and stays charged to that cgroup until that resource is freed. Migrating
/Linux-v5.15/Documentation/process/
D4.Coding.rst406 generally charged with the task of fixing any code within the kernel tree
/Linux-v5.15/Documentation/vm/
Dunevictable-lru.rst111 (2) On the other hand, if too many of the pages charged to the control group
/Linux-v5.15/Documentation/networking/
Dtimestamping.rst209 charged to the socket's receive budget (SO_RCVBUF) and delivers

12