Home
last modified time | relevance | path

Searched refs:nalloc (Results 1 – 4 of 4) sorted by relevance

/linux/lib/
H A Dscatterlist.c618 unsigned int nent, nalloc; in sgl_alloc_order() local
625 nalloc = nent; in sgl_alloc_order()
628 if (nalloc + 1 < nalloc) in sgl_alloc_order()
630 nalloc++; in sgl_alloc_order()
632 sgl = kmalloc_array(nalloc, sizeof(struct scatterlist), in sgl_alloc_order()
637 sg_init_table(sgl, nalloc); in sgl_alloc_order()
/linux/drivers/md/
H A Draid10.c136 int nalloc, nalloc_rp; in r10buf_pool_alloc() local
145 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
147 nalloc = 2; /* recovery */ in r10buf_pool_alloc()
151 nalloc_rp = nalloc; in r10buf_pool_alloc()
153 nalloc_rp = nalloc * 2; in r10buf_pool_alloc()
161 for (j = nalloc ; j-- ; ) { in r10buf_pool_alloc()
179 for (j = 0; j < nalloc; j++) { in r10buf_pool_alloc()
185 rp_repl = &rps[nalloc + j]; in r10buf_pool_alloc()
214 for ( ; j < nalloc; j++) { in r10buf_pool_alloc()
3081 int nalloc; in raid10_alloc_init_r10buf() local
[all …]
/linux/fs/gfs2/
H A Dquota.c904 unsigned int nalloc = 0, blocks; in do_sync() local
931 nalloc++; in do_sync()
945 reserved = 1 + (nalloc * (data_blocks + ind_blocks)); in do_sync()
951 if (nalloc) in do_sync()
952 blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS; in do_sync()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.c339 bnad_rxq_refill_page(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_page() argument
355 while (nalloc--) { in bnad_rxq_refill_page()
413 bnad_rxq_refill_skb(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_skb() argument
427 while (nalloc--) { in bnad_rxq_refill_skb()