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

/linux-master/fs/ntfs3/
H A Dbitmap.c63 size_t to_alloc, size_t *prev_tail, size_t *b_pos,
94 end = wpos + to_alloc - *prev_tail;
104 if (free_len >= to_alloc)
987 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, argument
994 size_t to_alloc0 = to_alloc;
1012 if (to_alloc > wnd->extent_max)
1013 to_alloc = wnd->extent_max;
1069 if (len >= to_alloc && hint + to_alloc <= max_alloc) {
1075 if (len > to_alloc)
62 wnd_scan(const void *buf, size_t wbit, u32 wpos, u32 wend, size_t to_alloc, size_t *prev_tail, size_t *b_pos, size_t *b_len) argument
[all...]
H A Dfile.c583 loff_t to_alloc = new_size - inode_get_bytes(inode); local
585 if (to_alloc > 0 &&
586 (to_alloc >> cluster_bits) >
H A Dattrib.c892 CLST hint, svcn, to_alloc, evcn1, next_svcn, asize, end, vcn0, alen; local
996 to_alloc = clen;
1005 /* Get frame aligned vcn and to_alloc. */
1007 to_alloc = ((vcn0 + clen + clst_per_frame - 1) & cmask) - vcn;
1029 if (vcn + to_alloc > asize)
1030 to_alloc = asize - vcn;
1046 err = attr_allocate_clusters(sbi, run, vcn, hint + 1, to_alloc, NULL,
H A Dntfs_fs.h849 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
/linux-master/drivers/dax/
H A Dbus.c1053 resource_size_t avail = dax_region_avail_size(dax_region), to_alloc; local
1070 to_alloc = size - dev_size;
1071 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc),
1072 "resize of %pa misaligned\n", &to_alloc))
1083 return alloc_dev_dax_range(dev_dax, dax_region->res.start, to_alloc);
1091 alloc = min(res->start - dax_region->res.start, to_alloc);
1099 alloc = min(next->start - (res->end + 1), to_alloc);
1103 alloc = min(region_res->end - res->end, to_alloc);
1117 to_alloc -= alloc;
1118 if (to_alloc)
1199 size_t to_alloc; local
[all...]
/linux-master/kernel/power/
H A Dsnapshot.c2057 unsigned int to_alloc = count_free_highmem_pages(); local
2059 if (to_alloc > nr_highmem)
2060 to_alloc = nr_highmem;
2062 nr_highmem -= to_alloc;
2063 while (to_alloc-- > 0) {
2462 unsigned int to_alloc; local
2470 to_alloc = count_free_highmem_pages();
2471 if (to_alloc > *nr_highmem_p)
2472 to_alloc = *nr_highmem_p;
2474 *nr_highmem_p = to_alloc;
[all...]
/linux-master/drivers/vfio/pci/mlx5/
H A Dcmd.c421 unsigned int to_alloc = npages; local
439 to_alloc -= filled;
450 to_fill = min_t(unsigned int, to_alloc,
452 } while (to_alloc > 0);
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad.c472 u32 to_alloc; local
474 to_alloc = BNA_QE_FREE_CNT(rcb, rcb->q_depth);
475 if (!(to_alloc >> BNAD_RXQ_REFILL_THRESHOLD_SHIFT))
479 bnad_rxq_refill_skb(bnad, rcb, to_alloc);
481 bnad_rxq_refill_page(bnad, rcb, to_alloc);

Completed in 223 milliseconds