| /linux/tools/testing/selftests/mm/ |
| H A D | thp_settings.c | |
| H A D | uffd-wp-mremap.c | 36 unsigned long orders; in detect_thp_sizes() 44 orders = thp_supported_orders(); in detect_thp_sizes() 46 for (i = 0; orders && count < max; i++) { 47 if (!(orders & (1UL << i))) in mmap_aligned() 49 orders &= ~(1UL << i); in mmap_aligned() 25 unsigned long orders; detect_thp_sizes() local
|
| H A D | vm_util.c | 235 int pagemap_fd, int kpageflags_fd, int orders[], int nr_orders) in gather_folio_orders() argument 243 if (!orders) in gather_folio_orders() 265 orders[0]++; in gather_folio_orders() 300 orders[cur_order]++; in gather_folio_orders() 315 orders[cur_order]++; in gather_folio_orders() 377 int orders[MAX_NR_ORDERS], status; in check_large_folios() local 388 memset(orders, 0, sizeof(int) * MAX_NR_ORDERS); in check_large_folios() 400 kpageflags_fd, orders, MAX_NR_ORDERS); in check_large_folios() 404 if (orders[order] == nr_hpages) in check_large_folios()
|
| H A D | split_huge_page_test.c | 108 int pagemap_fd, int kpageflags_fd, int orders[], int nr_orders) in check_after_split_folio_orders() argument 126 if (vaddr_orders[i] != orders[i]) { in check_after_split_folio_orders() 128 orders[i], vaddr_orders[i]); in check_after_split_folio_orders()
|
| H A D | cow.c | 47 unsigned long orders; in detect_thp_sizes() local 55 orders = 1UL << sz2ord(pmdsize, pagesize); in detect_thp_sizes() 56 orders |= thp_supported_orders(); in detect_thp_sizes() 58 for (i = 0; orders && count < max; i++) { in detect_thp_sizes() 59 if (!(orders & (1UL << i))) in detect_thp_sizes() 61 orders &= ~(1UL << i); in detect_thp_sizes()
|
| H A D | vm_util.h | 99 int pagemap_fd, int kpageflags_fd, int orders[], int nr_orders);
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | white-hawk-csi-dsi.dtsi | 24 line-orders = <MEDIA_BUS_CSI2_CPHY_LINE_ORDER_ABC 47 line-orders = <MEDIA_BUS_CSI2_CPHY_LINE_ORDER_ABC
|
| /linux/mm/ |
| H A D | swap_state.c | 515 unsigned long orders, struct vm_fault *vmf, in swap_cache_alloc_folio() argument 523 order = highest_order(orders); in swap_cache_alloc_folio() 526 if (WARN_ON_ONCE(!orders || (1UL << order) > SWAPFILE_CLUSTER)) in swap_cache_alloc_folio() 538 order = next_order(&orders, order); in swap_cache_alloc_folio() 539 } while (orders); in swap_cache_alloc_folio() 683 struct folio *swapin_sync(swp_entry_t entry, gfp_t gfp, unsigned long orders, in swapin_sync() argument 693 folio = swap_cache_alloc_folio(entry, gfp, orders, vmf, mpol, ilx); in swapin_sync()
|
| H A D | swap.h | 316 unsigned long orders, struct vm_fault *vmf, 334 struct folio *swapin_sync(swp_entry_t entry, gfp_t flag, unsigned long orders, 415 swp_entry_t entry, gfp_t flag, unsigned long orders, in swapin_sync() argument
|
| H A D | memory.c | 4774 unsigned long orders) in thp_swap_suitable_orders() argument 4778 order = highest_order(orders); in thp_swap_suitable_orders() 4785 while (orders) { in thp_swap_suitable_orders() 4789 order = next_order(&orders, order); in thp_swap_suitable_orders() 4792 return orders; in thp_swap_suitable_orders() 4798 unsigned long orders; in thp_swapin_suitable_orders() local 4825 orders = thp_vma_allowable_orders(vma, vma->vm_flags, TVA_PAGEFAULT, in thp_swapin_suitable_orders() 4827 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in thp_swapin_suitable_orders() 4828 orders = thp_swap_suitable_orders(swp_offset(entry), in thp_swapin_suitable_orders() 4829 vmf->address, orders); in thp_swapin_suitable_orders() [all …]
|
| H A D | huge_memory.c | 185 unsigned long orders) in __thp_vma_allowable_orders() argument 200 orders &= supported_orders; in __thp_vma_allowable_orders() 201 if (!orders) in __thp_vma_allowable_orders() 212 return in_pf ? orders : 0; in __thp_vma_allowable_orders() 230 int order = highest_order(orders); in __thp_vma_allowable_orders() 233 while (orders) { in __thp_vma_allowable_orders() 237 order = next_order(&orders, order); in __thp_vma_allowable_orders() 240 if (!orders) in __thp_vma_allowable_orders() 250 return orders & shmem_allowable_huge_orders(file_inode(vma->vm_file), in __thp_vma_allowable_orders() 255 return vma_can_map_huge_file(vma, vm_flags, type) ? orders : 0; in __thp_vma_allowable_orders() [all …]
|
| H A D | shmem.c | 1882 unsigned long orders) in shmem_suitable_orders() argument 1890 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in shmem_suitable_orders() 1891 if (!orders) in shmem_suitable_orders() 1896 order = highest_order(orders); in shmem_suitable_orders() 1897 while (orders) { in shmem_suitable_orders() 1911 order = next_order(&orders, order); in shmem_suitable_orders() 1914 return orders; in shmem_suitable_orders() 1919 unsigned long orders) in shmem_suitable_orders() argument 1941 struct mm_struct *fault_mm, unsigned long orders) in shmem_alloc_and_add_folio() argument 1952 orders = 0; in shmem_alloc_and_add_folio() [all …]
|
| H A D | khugepaged.c | 571 unsigned long orders; in collapse_possible_orders() local 575 orders = THP_ORDERS_ALL_ANON; in collapse_possible_orders() 577 orders = BIT(HPAGE_PMD_ORDER); in collapse_possible_orders() 579 return thp_vma_allowable_orders(vma, vm_flags, tva_flags, orders); in collapse_possible_orders()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-bayer.rst | 16 orders. See also `the Wikipedia article on Bayer filter
|
| H A D | field-order.rst | 81 If multiple field orders are possible the 82 driver must choose one of the possible field orders during
|
| /linux/tools/memory-model/Documentation/ |
| H A D | glossary.txt | 29 a special operation that includes a load and which orders that 117 Fully Ordered: An operation such as smp_mb() that orders all of 120 that orders all of its CPU's prior accesses, itself, and 167 a special operation that includes a store and which orders that
|
| H A D | recipes.txt | 236 The smp_store_release() macro orders any prior accesses against the 237 store, while the smp_load_acquire macro orders the load against any 277 smp_store_release(), but the rcu_dereference() macro orders the load only 314 The smp_wmb() macro orders prior stores against later stores, and the 315 smp_rmb() macro orders prior loads against later loads. Therefore, if
|
| H A D | ordering.txt | 11 1. Barriers (also known as "fences"). A barrier orders some or 67 First, the smp_mb() full memory barrier orders all of the CPU's prior 115 synchronize_srcu() and so on. However, these primitives have orders
|
| /linux/Documentation/ |
| H A D | atomic_t.txt | 194 smp_mb__before_atomic() orders all earlier accesses against the RMW op 195 itself and all accesses following it, and smp_mb__after_atomic() orders all 226 a RELEASE because it orders preceding instructions against both the read
|
| /linux/fs/netfs/ |
| H A D | rolling_buffer.c | 156 fq->orders[slot] = order; in rolling_buffer_bulk_load_from_ra()
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 351 promotion to higher orders. The collapse will fail if any shared or 652 lower orders or small pages. 656 instead falls back to using huge pages with lower orders or 677 and instead falls back to using huge pages with lower orders or 682 falls back to using huge pages with lower orders or small pages 709 smaller orders. This can happen for a variety of reasons but a 740 max_ptes_swap threshold. For non-PMD orders this occurs if a mTHP range 745 max_ptes_shared threshold. For non-PMD orders this occurs if a mTHP range
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-synology-ds116.dts | 53 * and takes single-character orders :
|
| /linux/tools/virtio/virtio-trace/ |
| H A D | README | 9 - controlled by start/stop orders from a Host
|
| /linux/Documentation/core-api/ |
| H A D | genalloc.rst | 49 that state, so one of the first orders of business is usually to add memory
|
| /linux/tools/memory-model/ |
| H A D | lock.cat | 8 * Generate coherence orders and handle lock operations
|