Searched refs:to_alloc (Results 1 – 4 of 4) sorted by relevance
| /drivers/dax/ |
| A D | bus.c | 1041 to_alloc = size - dev_size; in dev_dax_resize() 1042 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize() 1043 "resize of %pa misaligned\n", &to_alloc)) in dev_dax_resize() 1070 alloc = min(next->start - (res->end + 1), to_alloc); in dev_dax_resize() 1074 alloc = min(region_res->end - res->end, to_alloc); in dev_dax_resize() 1088 to_alloc -= alloc; in dev_dax_resize() 1089 if (to_alloc) in dev_dax_resize() 1170 size_t to_alloc; in mapping_store() local 1191 to_alloc = range_len(&r); in mapping_store() 1192 if (alloc_is_aligned(dev_dax, to_alloc)) in mapping_store() [all …]
|
| /drivers/gpu/drm/xe/tests/ |
| A D | xe_bo.c | 450 u64 ram, ram_and_swap, purgeable = 0, alloced, to_alloc, limit; in shrink_test_run_device() local 474 to_alloc = ram * 2; in shrink_test_run_device() 477 if (to_alloc > ram_and_swap) in shrink_test_run_device() 478 purgeable = to_alloc - ram_and_swap; in shrink_test_run_device() 483 for (alloced = 0; alloced < to_alloc; alloced += XE_BO_SHRINK_SIZE) { in shrink_test_run_device()
|
| /drivers/vfio/pci/virtio/ |
| A D | migrate.c | 67 unsigned int to_alloc = npages; in virtiovf_add_migration_pages() local 86 to_alloc -= filled; in virtiovf_add_migration_pages() 96 to_fill = min_t(unsigned int, to_alloc, in virtiovf_add_migration_pages() 98 } while (to_alloc > 0); in virtiovf_add_migration_pages()
|
| /drivers/net/ethernet/brocade/bna/ |
| A D | bnad.c | 473 u32 to_alloc; in bnad_rxq_post() local 475 to_alloc = BNA_QE_FREE_CNT(rcb, rcb->q_depth); in bnad_rxq_post() 476 if (!(to_alloc >> BNAD_RXQ_REFILL_THRESHOLD_SHIFT)) in bnad_rxq_post() 480 bnad_rxq_refill_skb(bnad, rcb, to_alloc); in bnad_rxq_post() 482 bnad_rxq_refill_page(bnad, rcb, to_alloc); in bnad_rxq_post()
|
Completed in 20 milliseconds