Home
last modified time | relevance | path

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

/linux-6.1.9/sound/isa/gus/
Dgus_mem.c31 struct snd_gf1_mem_block *pblock, *nblock; in snd_gf1_mem_xalloc() local
33 nblock = kmalloc(sizeof(struct snd_gf1_mem_block), GFP_KERNEL); in snd_gf1_mem_xalloc()
34 if (nblock == NULL) in snd_gf1_mem_xalloc()
36 *nblock = *block; in snd_gf1_mem_xalloc()
37 nblock->name = kstrdup(name, GFP_KERNEL); in snd_gf1_mem_xalloc()
38 if (!nblock->name) { in snd_gf1_mem_xalloc()
39 kfree(nblock); in snd_gf1_mem_xalloc()
45 if (pblock->ptr > nblock->ptr) { in snd_gf1_mem_xalloc()
46 nblock->prev = pblock->prev; in snd_gf1_mem_xalloc()
47 nblock->next = pblock; in snd_gf1_mem_xalloc()
[all …]
/linux-6.1.9/fs/nilfs2/
Drecovery.c95 sector_t start, unsigned long nblock) in nilfs_compute_checksum() argument
106 if (--nblock > 0) { in nilfs_compute_checksum()
117 } while (--nblock > 0); in nilfs_compute_checksum()
203 unsigned long nblock; in nilfs_validate_log() local
215 nblock = le32_to_cpu(sum->ss_nblocks); in nilfs_validate_log()
217 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) in nilfs_validate_log()
223 ((u64)nblock << nilfs->ns_blocksize_bits), in nilfs_validate_log()
224 bh_sum->b_blocknr, nblock)) in nilfs_validate_log()
/linux-6.1.9/fs/f2fs/
Ddir.c339 unsigned int nbucket, nblock; in find_in_level() local
347 nblock = bucket_blocks(level); in find_in_level()
351 end_block = bidx + nblock; in find_in_level()
714 unsigned int nbucket, nblock; in f2fs_add_regular_entry() local
744 nblock = bucket_blocks(level); in f2fs_add_regular_entry()
749 for (block = bidx; block <= (bidx + nblock - 1); block++) { in f2fs_add_regular_entry()
963 unsigned long nblock = dir_blocks(dir); in f2fs_empty_dir() local
968 for (bidx = 0; bidx < nblock; bidx++) { in f2fs_empty_dir()
/linux-6.1.9/fs/gfs2/
Drgrp.c1682 u64 nblock; in gfs2_reservation_check_and_update() local
1698 nblock = gfs2_next_unreserved_block(rbm->rgd, block, extlen, rs); in gfs2_reservation_check_and_update()
1699 if (nblock == block) { in gfs2_reservation_check_and_update()
1708 u64 len = nblock - block; in gfs2_reservation_check_and_update()