Home
last modified time | relevance | path

Searched refs:to_fill (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c601 unsigned long to_fill = 8 - pbuf->carry_bytes; in seg_pio_copy_mid() local
603 unsigned long extra = to_align - to_fill; in seg_pio_copy_mid()
607 read_extra_bytes(pbuf, from, to_fill); in seg_pio_copy_mid()
608 from += to_fill; in seg_pio_copy_mid()
609 nbytes -= to_fill; in seg_pio_copy_mid()
/linux-6.15/drivers/vfio/pci/virtio/
H A Dmigrate.c70 unsigned int to_fill; in virtiovf_add_migration_pages() local
74 to_fill = min_t(unsigned int, npages, PAGE_SIZE / sizeof(*page_list)); in virtiovf_add_migration_pages()
75 page_list = kvcalloc(to_fill, sizeof(*page_list), GFP_KERNEL_ACCOUNT); in virtiovf_add_migration_pages()
80 filled = alloc_pages_bulk(GFP_KERNEL_ACCOUNT, to_fill, in virtiovf_add_migration_pages()
96 to_fill = min_t(unsigned int, to_alloc, in virtiovf_add_migration_pages()
/linux-6.15/drivers/md/
H A Draid5.h286 int to_fill, compute, req_compute, non_overwrite; member
H A Draid5.c4653 s->to_fill++; in analyse_stripe()
4965 if (s.to_fill && !test_bit(STRIPE_BIOFILL_RUN, &sh->state)) { in handle_stripe()
/linux-6.15/drivers/vfio/pci/mlx5/
H A Dcmd.c424 unsigned int to_fill; in mlx5vf_add_migration_pages() local
428 to_fill = min_t(unsigned int, npages, PAGE_SIZE / sizeof(*page_list)); in mlx5vf_add_migration_pages()
429 page_list = kvzalloc(to_fill * sizeof(*page_list), GFP_KERNEL_ACCOUNT); in mlx5vf_add_migration_pages()
434 filled = alloc_pages_bulk(GFP_KERNEL_ACCOUNT, to_fill, in mlx5vf_add_migration_pages()
451 to_fill = min_t(unsigned int, to_alloc, in mlx5vf_add_migration_pages()