Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh437 echo Memory charged to hugtlb=$hugetlb_difference
438 echo Memory charged to reservation=$reserved_difference
442 "Reserved memory charged to hugetlb cgroup."
445 "Reserved memory charged to hugetlb cgroup."
450 "Reserved memory not charged to reservation usage."
453 "Reserved memory not charged to reservation usage."
466 echo Memory charged to hugtlb=$hugetlb_difference
467 echo Memory charged to reservation=$reserved_difference
470 "Reserved memory charged to hugetlb cgroup."
473 "Reserved memory not charged t
[all...]
H A Dhugetlb_reparenting_test.sh194 echo Assert memory charged correctly for parent use.
199 echo Assert memory charged correctly for child use.
222 echo Assert memory charged correctly for child only use.
/linux/Documentation/admin-guide/cgroup-v1/
H A 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...
H A Drdma.rst64 a process from previously charged cgroup which is migrated to new cgroup,
/linux/mm/
H A Dmremap.c71 unsigned long charged; /* If VM_ACCOUNT, # pages to account. */ member
978 unsigned long charged; in vrm_calc_charge() local
988 charged = vrm->new_len >> PAGE_SHIFT; in vrm_calc_charge()
990 charged = vrm->delta >> PAGE_SHIFT; in vrm_calc_charge()
994 if (security_vm_enough_memory_mm(current->mm, charged)) in vrm_calc_charge()
997 vrm->charged = charged; in vrm_calc_charge()
1010 vm_unacct_memory(vrm->charged); in vrm_uncharge()
1011 vrm->charged = 0; in vrm_uncharge()
H A Dmprotect.c703 unsigned long charged = 0; in mprotect_fixup() local
746 charged = nrpages; in mprotect_fixup()
747 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
794 vm_unacct_memory(charged); in mprotect_fixup()
H A Dvma.c29 unsigned long charged; member
2430 map->charged = map->pglen; in __mmap_setup()
2431 map->charged -= vms->nr_accounted; in __mmap_setup()
2432 if (map->charged) { in __mmap_setup()
2433 error = security_vm_enough_memory_mm(map->mm, map->charged); in __mmap_setup()
2781 if (map.charged) in __mmap_region()
2782 vm_unacct_memory(map.charged); in __mmap_region()
3268 unsigned long charged = vma_pages(vma); in insert_vm_struct() local
3275 security_vm_enough_memory_mm(mm, charged)) in insert_vm_struct()
3297 vm_unacct_memory(charged); in insert_vm_struct()
/linux/Documentation/admin-guide/sysctl/
H A 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/Documentation/ABI/testing/
H A Dsysfs-class-power-twl403019 be taken that battery is not over-charged.
H A Drtc-cdev42 replaced or charged to be able to clear the status.
/linux/net/core/
H A Dsock.c1032 bool charged; in sock_reserve_memory() local
1044 charged = mem_cgroup_sk_charge(sk, pages, in sock_reserve_memory()
1046 if (!charged) in sock_reserve_memory()
3288 bool memcg_enabled = false, charged = false; in __sk_mem_raise_allocated() local
3299 charged = mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge()); in __sk_mem_raise_allocated()
3300 if (!charged) in __sk_mem_raise_allocated()
3376 if (memcg_enabled && !charged) in __sk_mem_raise_allocated()
3388 if (charged) in __sk_mem_raise_allocated()
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-uti260b.dts54 charged-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst536 allocated and charged to handle a page fault.
568 is incremented if a shmem huge page cannot be charged and instead
630 allocated and charged to handle a page fault.
678 is incremented if a shmem huge page cannot be charged and instead
H A Dpagemap.rst101 memory cgroup each page is charged to, indexed by PFN. Only available when
/linux/arch/x86/kvm/svm/
H A Dsev.c2074 bool charged = false; in sev_vm_move_enc_context_from() local
2102 charged = true; in sev_vm_move_enc_context_from()
2138 if (charged) in sev_vm_move_enc_context_from()
/linux/Documentation/mm/
H A Dunevictable-lru.rst115 (2) On the other hand, if too many of the pages charged to the control group