Searched refs:to_alloc (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ntfs3/ |
| H A 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() 976 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, in wnd_find() argument 983 size_t to_alloc0 = to_alloc; in wnd_find() 1001 if (to_alloc > wnd->extent_max) in wnd_find() 1002 to_alloc = wnd->extent_max; in wnd_find() 1058 if (len >= to_alloc && hint + to_alloc <= max_alloc) { in wnd_find() 1064 if (len > to_alloc) in wnd_find() 1065 len = to_alloc; in wnd_find() [all …]
|
| H A D | attrib.c | 1004 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0; in attr_data_get_block_locked() local 1127 to_alloc = clen; in attr_data_get_block_locked() 1138 to_alloc = ((vcn0 + clen + clst_per_frame - 1) & cmask) - vcn; in attr_data_get_block_locked() 1179 if (vcn + to_alloc > asize) in attr_data_get_block_locked() 1180 to_alloc = asize - vcn; in attr_data_get_block_locked() 1184 if (!ntfs_check_free_space(sbi, to_alloc, 0, true)) { in attr_data_get_block_locked() 1195 if (!run_add_entry(run_da, vcn, SPARSE_LCN, to_alloc, false)) { in attr_data_get_block_locked() 1203 *len = to_alloc; in attr_data_get_block_locked() 1222 err = attr_allocate_clusters(sbi, run, run_da, vcn, hint + 1, to_alloc, in attr_data_get_block_locked()
|
| H A D | file.c | 637 loff_t to_alloc = new_size - inode_get_bytes(inode); in ntfs_fallocate() local 639 if (to_alloc > 0 && in ntfs_fallocate() 640 (to_alloc >> cluster_bits) > in ntfs_fallocate()
|
| H A D | ntfs_fs.h | 946 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
|
| /linux/io_uring/ |
| H A D | zcrx.c | 1261 netmem_ref *netmems, unsigned to_alloc) in io_zcrx_ring_refill() argument 1274 while (allocated < to_alloc - 1 && zcrx_rq_iter_next(&it, rq, &rqe)) { in io_zcrx_ring_refill() 1301 netmem_ref *netmems, unsigned to_alloc) in io_zcrx_refill_slow() argument 1308 while (allocated < to_alloc) { in io_zcrx_refill_slow() 1376 unsigned to_alloc = PP_ALLOC_CACHE_REFILL; in io_pp_zc_alloc_netmems() local 1383 allocated = io_zcrx_ring_refill(pp, ifq, netmems, to_alloc); in io_pp_zc_alloc_netmems() 1387 allocated = io_zcrx_refill_slow(pp, ifq, netmems, to_alloc); in io_pp_zc_alloc_netmems()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H 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()
|