Home
last modified time | relevance | path

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

/linux/lib/
H A Dscatterlist.c620 unsigned int nent, nalloc; in sgl_alloc_order() local
627 nalloc = nent; in sgl_alloc_order()
630 if (nalloc + 1 < nalloc) in sgl_alloc_order()
632 nalloc++; in sgl_alloc_order()
634 sgl = kmalloc_objs(struct scatterlist, nalloc, gfp & ~GFP_DMA); in sgl_alloc_order()
638 sg_init_table(sgl, nalloc); in sgl_alloc_order()
/linux/drivers/md/
H A Draid10.c147 int nalloc, nalloc_rp; in r10buf_pool_alloc() local
156 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
158 nalloc = 2; /* recovery */ in r10buf_pool_alloc()
162 nalloc_rp = nalloc; in r10buf_pool_alloc()
164 nalloc_rp = nalloc * 2; in r10buf_pool_alloc()
172 for (j = nalloc ; j-- ; ) { in r10buf_pool_alloc()
190 for (j = 0; j < nalloc; j++) { in r10buf_pool_alloc()
196 rp_repl = &rps[nalloc + j]; in r10buf_pool_alloc()
225 for ( ; j < nalloc; j++) { in r10buf_pool_alloc()
3048 int nalloc; in raid10_alloc_init_r10buf() local
[all …]
/linux/fs/gfs2/
H A Dquota.c919 unsigned int nalloc = 0, blocks; in do_sync() local
946 nalloc++; in do_sync()
960 reserved = 1 + (nalloc * (data_blocks + ind_blocks)); in do_sync()
966 if (nalloc) in do_sync()
967 blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS; in do_sync()
/linux/fs/f2fs/
H A Drecovery.c52 s64 nalloc = percpu_counter_sum_positive(&sbi->alloc_valid_block_count); in f2fs_space_for_roll_forward() local
54 if (sbi->last_valid_block_count + nalloc > sbi->user_block_count) in f2fs_space_for_roll_forward()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.c340 bnad_rxq_refill_page(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_page() argument
356 while (nalloc--) { in bnad_rxq_refill_page()
414 bnad_rxq_refill_skb(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_skb() argument
428 while (nalloc--) { in bnad_rxq_refill_skb()