Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dscatterlist.c484 unsigned int nent, nalloc; in sgl_alloc_order() local
491 nalloc = nent; in sgl_alloc_order()
494 if (nalloc + 1 < nalloc) in sgl_alloc_order()
496 nalloc++; in sgl_alloc_order()
498 sgl = kmalloc_array(nalloc, sizeof(struct scatterlist), in sgl_alloc_order()
503 sg_init_table(sgl, nalloc); in sgl_alloc_order()
/Linux-v4.19/fs/f2fs/
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-v4.19/drivers/md/
Draid10.c160 int nalloc, nalloc_rp; in r10buf_pool_alloc() local
169 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
171 nalloc = 2; /* recovery */ in r10buf_pool_alloc()
175 nalloc_rp = nalloc; in r10buf_pool_alloc()
177 nalloc_rp = nalloc * 2; in r10buf_pool_alloc()
185 for (j = nalloc ; j-- ; ) { in r10buf_pool_alloc()
201 for (j = 0; j < nalloc; j++) { in r10buf_pool_alloc()
207 rp_repl = &rps[nalloc + j]; in r10buf_pool_alloc()
236 for ( ; j < nalloc; j++) { in r10buf_pool_alloc()
2841 int nalloc; in raid10_alloc_init_r10buf() local
[all …]
/Linux-v4.19/fs/gfs2/
Dquota.c879 unsigned int nalloc = 0, blocks; in do_sync() local
910 nalloc++; in do_sync()
924 reserved = 1 + (nalloc * (data_blocks + ind_blocks)); in do_sync()
930 if (nalloc) in do_sync()
931 blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS; in do_sync()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad.c347 bnad_rxq_refill_page(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_page() argument
363 while (nalloc--) { in bnad_rxq_refill_page()
421 bnad_rxq_refill_skb(struct bnad *bnad, struct bna_rcb *rcb, u32 nalloc) in bnad_rxq_refill_skb() argument
435 while (nalloc--) { in bnad_rxq_refill_skb()