| /linux-6.15/include/linux/ |
| H A D | huge_mm.h | 195 return fls_long(orders) - 1; in highest_order() 200 *orders &= ~BIT(prev); in next_order() 201 return highest_order(*orders); in next_order() 252 order = highest_order(orders); in thp_vma_suitable_orders() 254 while (orders) { in thp_vma_suitable_orders() 260 return orders; in thp_vma_suitable_orders() 266 unsigned long orders); 287 unsigned long orders) in thp_vma_allowable_orders() argument 299 orders &= mask; in thp_vma_allowable_orders() 300 if (!orders) in thp_vma_allowable_orders() [all …]
|
| H A D | folio_queue.h | 32 u8 orders[PAGEVEC_SIZE]; /* Order of each folio */ member 238 folioq->orders[slot] = folio_order(folio); in folioq_append() 260 folioq->orders[slot] = folio_order(folio); in folioq_append_mark() 291 return folioq->orders[slot]; in folioq_folio_order()
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | thp_settings.c | 203 unsigned long orders = thp_supported_orders(); in thp_read_settings() local 230 if (!((1 << i) & orders)) { in thp_read_settings() 255 unsigned long orders = thp_supported_orders(); in thp_write_settings() local 281 if (!((1 << i) & orders)) in thp_write_settings() 352 unsigned long orders = 0; in __thp_supported_orders() local 369 orders |= 1UL << i; in __thp_supported_orders() 372 return orders; in __thp_supported_orders()
|
| H A D | uffd-wp-mremap.c | 30 unsigned long orders; in detect_thp_sizes() local 38 orders = thp_supported_orders(); in detect_thp_sizes() 40 for (i = 0; orders && count < max; i++) { in detect_thp_sizes() 41 if (!(orders & (1UL << i))) in detect_thp_sizes() 43 orders &= ~(1UL << i); in detect_thp_sizes()
|
| H A D | cow.c | 52 unsigned long orders; in detect_thp_sizes() local 60 orders = 1UL << sz2ord(pmdsize); in detect_thp_sizes() 61 orders |= thp_supported_orders(); in detect_thp_sizes() 63 for (i = 0; orders && count < max; i++) { in detect_thp_sizes() 64 if (!(orders & (1UL << i))) in detect_thp_sizes() 66 orders &= ~(1UL << i); in detect_thp_sizes()
|
| /linux-6.15/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_pool_test.c | 250 pt = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_caching_match() 279 pt_pool = &pool->caching[pool_caching].orders[order]; in ttm_pool_alloc_caching_mismatch() 280 pt_tt = &pool->caching[tt_caching].orders[order]; in ttm_pool_alloc_caching_mismatch() 313 pt_pool = &pool->caching[caching].orders[order]; in ttm_pool_alloc_order_mismatch() 314 pt_tt = &pool->caching[caching].orders[0]; in ttm_pool_alloc_order_mismatch() 354 pt = &pool->caching[caching].orders[order]; in ttm_pool_free_dma_alloc() 385 pt = &pool->caching[caching].orders[order]; in ttm_pool_free_no_dma_alloc() 405 pt = &pool->caching[caching].orders[order]; in ttm_pool_fini_basic()
|
| H A D | ttm_device_test.c | 179 pt = pool->caching[i].orders[j]; in ttm_device_init_pools()
|
| /linux-6.15/drivers/dma-buf/heaps/ |
| H A D | system_heap.c | 54 static const unsigned int orders[] = {8, 4, 0}; variable 55 #define NUM_ORDERS ARRAY_SIZE(orders) 321 if (size < (PAGE_SIZE << orders[i])) in alloc_largest_available() 323 if (max_order < orders[i]) in alloc_largest_available() 326 page = alloc_pages(order_flags[i], orders[i]); in alloc_largest_available() 342 unsigned int max_order = orders[0]; in system_heap_allocate()
|
| /linux-6.15/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-6.15/include/drm/ttm/ |
| H A D | ttm_pool.h | 79 struct ttm_pool_type orders[NR_PAGE_ORDERS]; member
|
| /linux-6.15/drivers/gpu/drm/ttm/ |
| H A D | ttm_pool.c | 342 return &pool->caching[caching].orders[order]; in ttm_pool_select_type() 348 return &pool->caching[caching].orders[order]; in ttm_pool_select_type() 356 return &pool->caching[caching].orders[order]; in ttm_pool_select_type() 1083 if (pt != &pool->caching[i].orders[j]) in ttm_pool_init() 1121 if (pt != &pool->caching[i].orders[j]) in ttm_pool_fini() 1257 ttm_pool_debugfs_orders(pool->caching[i].orders, m); in ttm_pool_debugfs()
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-bayer.rst | 15 orders. See also `the Wikipedia article on Bayer filter
|
| H A D | field-order.rst | 80 If multiple field orders are possible the 81 driver must choose one of the possible field orders during
|
| /linux-6.15/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 | 232 The smp_store_release() macro orders any prior accesses against the 233 store, while the smp_load_acquire macro orders the load against any 273 smp_store_release(), but the rcu_dereference() macro orders the load only 310 The smp_wmb() macro orders prior stores against later stores, and the 311 smp_rmb() macro orders prior loads against later loads. Therefore, if
|
| /linux-6.15/mm/ |
| H A D | memory.c | 4294 while (orders) { in thp_swap_suitable_orders() 4301 return orders; in thp_swap_suitable_orders() 4338 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_swap_folio() 4342 if (!orders) in alloc_swap_folio() 4355 while (orders) { in alloc_swap_folio() 4366 while (orders) { in alloc_swap_folio() 4886 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in alloc_anon_folio() 4888 if (!orders) in alloc_anon_folio() 4901 while (orders) { in alloc_anon_folio() 4910 if (!orders) in alloc_anon_folio() [all …]
|
| H A D | huge_memory.c | 104 unsigned long orders) in __thp_vma_allowable_orders() argument 119 orders &= supported_orders; in __thp_vma_allowable_orders() 120 if (!orders) in __thp_vma_allowable_orders() 131 return in_pf ? orders : 0; in __thp_vma_allowable_orders() 152 while (orders) { in __thp_vma_allowable_orders() 159 if (!orders) in __thp_vma_allowable_orders() 188 return orders; in __thp_vma_allowable_orders() 191 return orders; in __thp_vma_allowable_orders() 208 return orders; in __thp_vma_allowable_orders() 773 unsigned long orders; in hugepage_init_sysfs() local [all …]
|
| H A D | shmem.c | 1803 unsigned long orders) in shmem_suitable_orders() argument 1811 orders = thp_vma_suitable_orders(vma, vmf->address, orders); in shmem_suitable_orders() 1812 if (!orders) in shmem_suitable_orders() 1817 order = highest_order(orders); in shmem_suitable_orders() 1818 while (orders) { in shmem_suitable_orders() 1835 return orders; in shmem_suitable_orders() 1840 unsigned long orders) in shmem_suitable_orders() argument 1872 orders = 0; in shmem_alloc_and_add_folio() 1874 if (orders > 0) { in shmem_alloc_and_add_folio() 2442 unsigned long orders = 0; in shmem_get_folio_gfp() local [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/media/ |
| H A D | video-interfaces.yaml | 213 line-orders: 226 An array of line orders of the CSI-2 C-PHY data lanes. The order of the 230 data-lanes property. If the line-orders property is omitted, the value
|
| /linux-6.15/drivers/media/v4l2-core/ |
| H A D | v4l2-fwnode.c | 271 static const char * const orders[] = { in v4l2_fwnode_endpoint_parse_csi2_bus() local 275 if (array[i] >= ARRAY_SIZE(orders)) { in v4l2_fwnode_endpoint_parse_csi2_bus() 285 orders[array[i]]); in v4l2_fwnode_endpoint_parse_csi2_bus()
|
| /linux-6.15/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-6.15/fs/netfs/ |
| H A D | rolling_buffer.c | 139 fq->orders[ix] = order; in rolling_buffer_load_from_ra()
|
| /linux-6.15/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-synology-ds116.dts | 53 * and takes single-character orders :
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 579 lower orders or small pages. 583 instead falls back to using huge pages with lower orders or 596 and instead falls back to using huge pages with lower orders or 601 falls back to using huge pages with lower orders or small pages 628 smaller orders. This can happen for a variety of reasons but a
|
| /linux-6.15/tools/virtio/virtio-trace/ |
| H A D | README | 9 - controlled by start/stop orders from a Host
|