Home
last modified time | relevance | path

Searched refs:to_alloc (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/fs/ntfs3/
A Dbitmap.c104 if (free_len >= to_alloc) in wnd_scan()
991 size_t to_alloc0 = to_alloc; in wnd_find()
1066 if (len >= to_alloc && hint + to_alloc <= max_alloc) { in wnd_find()
1072 if (len > to_alloc) in wnd_find()
1073 len = to_alloc; in wnd_find()
1077 to_alloc = len; in wnd_find()
1097 to_alloc = e->count.key; in wnd_find()
1099 to_alloc = e->count.key; in wnd_find()
1221 wzbit, to_alloc, in wnd_find()
1309 to_alloc = b_len; in wnd_find()
[all …]
A Dfile.c576 loff_t to_alloc = new_size - inode_get_bytes(inode); in ntfs_fallocate() local
578 if (to_alloc > 0 && in ntfs_fallocate()
579 (to_alloc >> sbi->cluster_bits) > in ntfs_fallocate()
A Dattrib.c893 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0, alen; in attr_data_get_block() local
990 to_alloc = clen; in attr_data_get_block()
1001 to_alloc = ((vcn0 + clen + clst_per_frame - 1) & cmask) - vcn; in attr_data_get_block()
1023 if (vcn + to_alloc > asize) in attr_data_get_block()
1024 to_alloc = asize - vcn; in attr_data_get_block()
1040 err = attr_allocate_clusters(sbi, run, vcn, hint + 1, to_alloc, NULL, in attr_data_get_block()
A Dntfs_fs.h841 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
/linux-6.3-rc2/drivers/dax/
A Dbus.c996 to_alloc = size - dev_size; in dev_dax_resize()
997 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize()
998 "resize of %pa misaligned\n", &to_alloc)) in dev_dax_resize()
1025 alloc = min(next->start - (res->end + 1), to_alloc); in dev_dax_resize()
1029 alloc = min(region_res->end - res->end, to_alloc); in dev_dax_resize()
1043 to_alloc -= alloc; in dev_dax_resize()
1044 if (to_alloc) in dev_dax_resize()
1115 size_t to_alloc; in mapping_store() local
1131 to_alloc = range_len(&r); in mapping_store()
1132 if (alloc_is_aligned(dev_dax, to_alloc)) in mapping_store()
[all …]
/linux-6.3-rc2/kernel/power/
A Dsnapshot.c1952 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local
1954 if (to_alloc > nr_highmem) in alloc_highmem_pages()
1955 to_alloc = nr_highmem; in alloc_highmem_pages()
1957 nr_highmem -= to_alloc; in alloc_highmem_pages()
1958 while (to_alloc-- > 0) { in alloc_highmem_pages()
2337 unsigned int to_alloc; in prepare_highmem_image() local
2345 to_alloc = count_free_highmem_pages(); in prepare_highmem_image()
2346 if (to_alloc > *nr_highmem_p) in prepare_highmem_image()
2347 to_alloc = *nr_highmem_p; in prepare_highmem_image()
2349 *nr_highmem_p = to_alloc; in prepare_highmem_image()
[all …]
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dmain.c69 unsigned int to_alloc = npages; in mlx5vf_add_migration_pages() local
87 to_alloc -= filled; in mlx5vf_add_migration_pages()
98 to_fill = min_t(unsigned int, to_alloc, in mlx5vf_add_migration_pages()
100 } while (to_alloc > 0); in mlx5vf_add_migration_pages()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbnad.c472 u32 to_alloc; in bnad_rxq_post() local
474 to_alloc = BNA_QE_FREE_CNT(rcb, rcb->q_depth); in bnad_rxq_post()
475 if (!(to_alloc >> BNAD_RXQ_REFILL_THRESHOLD_SHIFT)) in bnad_rxq_post()
479 bnad_rxq_refill_skb(bnad, rcb, to_alloc); in bnad_rxq_post()
481 bnad_rxq_refill_page(bnad, rcb, to_alloc); in bnad_rxq_post()

Completed in 29 milliseconds