Home
last modified time | relevance | path

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

/linux/lib/
A Dscatterlist.c604 unsigned int nent, nalloc; in sgl_alloc_order() local
611 nalloc = nent; in sgl_alloc_order()
614 if (nalloc + 1 < nalloc) in sgl_alloc_order()
616 nalloc++; in sgl_alloc_order()
618 sgl = kmalloc_array(nalloc, sizeof(struct scatterlist), in sgl_alloc_order()
623 sg_init_table(sgl, nalloc); in sgl_alloc_order()
/linux/drivers/md/
A Draid10.c122 int nalloc, nalloc_rp; in r10buf_pool_alloc() local
133 nalloc = 2; /* recovery */ in r10buf_pool_alloc()
137 nalloc_rp = nalloc; in r10buf_pool_alloc()
139 nalloc_rp = nalloc * 2; in r10buf_pool_alloc()
147 for (j = nalloc ; j-- ; ) { in r10buf_pool_alloc()
163 for (j = 0; j < nalloc; j++) { in r10buf_pool_alloc()
169 rp_repl = &rps[nalloc + j]; in r10buf_pool_alloc()
198 for ( ; j < nalloc; j++) { in r10buf_pool_alloc()
3122 int nalloc; in raid10_alloc_init_r10buf() local
3129 nalloc = 2; /* recovery */ in raid10_alloc_init_r10buf()
[all …]
/linux/fs/gfs2/
A Dquota.c883 unsigned int nalloc = 0, blocks; in do_sync() local
916 nalloc++; in do_sync()
930 reserved = 1 + (nalloc * (data_blocks + ind_blocks)); in do_sync()
936 if (nalloc) in do_sync()
937 blocks += gfs2_rg_blocks(ip, reserved) + nalloc * ind_blocks + RES_STATFS; in do_sync()
/linux/fs/f2fs/
A Drecovery.c54 s64 nalloc = percpu_counter_sum_positive(&sbi->alloc_valid_block_count); in f2fs_space_for_roll_forward() local
56 if (sbi->last_valid_block_count + nalloc > sbi->user_block_count) in f2fs_space_for_roll_forward()
/linux/drivers/net/ethernet/brocade/bna/
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()

Completed in 24 milliseconds