Searched refs:to_alloc (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/fs/ntfs3/ |
D | bitmap.c | 63 size_t to_alloc, size_t *prev_tail, size_t *b_pos, in wnd_scan() argument 94 end = wpos + to_alloc - *prev_tail; in wnd_scan() 104 if (free_len >= to_alloc) in wnd_scan() 954 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, in wnd_find() argument 961 size_t to_alloc0 = to_alloc; in wnd_find() 980 if (to_alloc > wnd->extent_max) in wnd_find() 981 to_alloc = wnd->extent_max; in wnd_find() 1037 if (len >= to_alloc && hint + to_alloc <= max_alloc) { in wnd_find() 1043 if (len > to_alloc) in wnd_find() 1044 len = to_alloc; in wnd_find() [all …]
|
D | attrib.c | 891 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end; in attr_data_get_block() local 940 to_alloc = (clen + clst_per_frame - 1) & ~(clst_per_frame - 1); in attr_data_get_block() 942 if (vcn + to_alloc > asize) in attr_data_get_block() 943 to_alloc = asize - vcn; in attr_data_get_block() 983 to_alloc = (clen + clst_per_frame - 1) & in attr_data_get_block() 1007 sbi, run, vcn, hint + 1, to_alloc, NULL, 0, len, in attr_data_get_block()
|
D | file.c | 674 loff_t to_alloc = new_size - inode_get_bytes(inode); in ntfs_fallocate() local 676 if (to_alloc > 0 && in ntfs_fallocate() 677 (to_alloc >> sbi->cluster_bits) > in ntfs_fallocate()
|
D | ntfs_fs.h | 831 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
|
/Linux-v6.1/drivers/dax/ |
D | bus.c | 965 resource_size_t avail = dax_region_avail_size(dax_region), to_alloc; in dev_dax_resize() local 982 to_alloc = size - dev_size; in dev_dax_resize() 983 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize() 984 "resize of %pa misaligned\n", &to_alloc)) in dev_dax_resize() 995 return alloc_dev_dax_range(dev_dax, dax_region->res.start, to_alloc); in dev_dax_resize() 1003 alloc = min(res->start - dax_region->res.start, to_alloc); in dev_dax_resize() 1011 alloc = min(next->start - (res->end + 1), to_alloc); in dev_dax_resize() 1015 alloc = min(region_res->end - res->end, to_alloc); in dev_dax_resize() 1029 to_alloc -= alloc; in dev_dax_resize() 1030 if (to_alloc) in dev_dax_resize() [all …]
|
/Linux-v6.1/kernel/power/ |
D | snapshot.c | 1952 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() 2333 unsigned int to_alloc; in prepare_highmem_image() local 2341 to_alloc = count_free_highmem_pages(); in prepare_highmem_image() 2342 if (to_alloc > *nr_highmem_p) in prepare_highmem_image() 2343 to_alloc = *nr_highmem_p; in prepare_highmem_image() 2345 *nr_highmem_p = to_alloc; in prepare_highmem_image() [all …]
|
/Linux-v6.1/drivers/vfio/pci/mlx5/ |
D | main.c | 69 unsigned int to_alloc = npages; in mlx5vf_add_migration_pages() local 86 to_alloc -= filled; in mlx5vf_add_migration_pages() 97 to_fill = min_t(unsigned int, to_alloc, in mlx5vf_add_migration_pages() 99 } while (to_alloc > 0); in mlx5vf_add_migration_pages()
|
/Linux-v6.1/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 472 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()
|