Searched refs:nblock (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/sound/isa/gus/ |
H A D | gus_mem.c | 45 struct snd_gf1_mem_block *pblock, *nblock; snd_gf1_mem_xalloc() local 47 nblock = kmalloc(sizeof(struct snd_gf1_mem_block), GFP_KERNEL); snd_gf1_mem_xalloc() 48 if (nblock == NULL) snd_gf1_mem_xalloc() 50 *nblock = *block; snd_gf1_mem_xalloc() 53 if (pblock->ptr > nblock->ptr) { snd_gf1_mem_xalloc() 54 nblock->prev = pblock->prev; snd_gf1_mem_xalloc() 55 nblock->next = pblock; snd_gf1_mem_xalloc() 56 pblock->prev = nblock; snd_gf1_mem_xalloc() 58 alloc->first = nblock; snd_gf1_mem_xalloc() 60 nblock->prev->next = nblock; snd_gf1_mem_xalloc() 66 nblock->next = NULL; snd_gf1_mem_xalloc() 68 nblock->prev = NULL; snd_gf1_mem_xalloc() 69 alloc->first = alloc->last = nblock; snd_gf1_mem_xalloc() 71 nblock->prev = alloc->last; snd_gf1_mem_xalloc() 72 alloc->last->next = nblock; snd_gf1_mem_xalloc() 73 alloc->last = nblock; snd_gf1_mem_xalloc() 75 return nblock; snd_gf1_mem_xalloc() 192 struct snd_gf1_mem_block block, *nblock; snd_gf1_mem_alloc() local 196 nblock = snd_gf1_mem_share(alloc, share_id); snd_gf1_mem_alloc() 197 if (nblock != NULL) { snd_gf1_mem_alloc() 198 if (size != (int)nblock->size) { snd_gf1_mem_alloc() 203 nblock->share++; snd_gf1_mem_alloc() 217 nblock = snd_gf1_mem_xalloc(alloc, &block); snd_gf1_mem_alloc() 219 return nblock; snd_gf1_mem_alloc() 275 struct snd_gf1_mem_block *block, *nblock; snd_gf1_mem_done() local 280 nblock = block->next; snd_gf1_mem_done() 282 block = nblock; snd_gf1_mem_done()
|
/linux-4.4.14/crypto/ |
H A D | pcrypt.c | 56 struct notifier_block nblock; member in struct:padata_pcrypt 370 pcrypt = container_of(self, struct padata_pcrypt, nblock); pcrypt_cpumask_change_notify() 430 pcrypt->nblock.notifier_call = pcrypt_cpumask_change_notify; pcrypt_init_padata() 431 ret = padata_register_cpumask_notifier(pcrypt->pinst, &pcrypt->nblock); pcrypt_init_padata() 444 padata_unregister_cpumask_notifier(pcrypt->pinst, &pcrypt->nblock); pcrypt_init_padata() 464 padata_unregister_cpumask_notifier(pcrypt->pinst, &pcrypt->nblock); pcrypt_fini_padata()
|
/linux-4.4.14/fs/f2fs/ |
H A D | dir.c | 165 unsigned int nbucket, nblock; find_in_level() local 178 nblock = bucket_blocks(level); find_in_level() 182 end_block = bidx + nblock; find_in_level() 524 unsigned int nbucket, nblock; __f2fs_add_link() local 569 nblock = bucket_blocks(level); __f2fs_add_link() 574 for (block = bidx; block <= (bidx + nblock - 1); block++) { __f2fs_add_link() 737 unsigned long nblock = dir_blocks(dir); f2fs_empty_dir() local 742 for (bidx = 0; bidx < nblock; bidx++) { f2fs_empty_dir()
|
/linux-4.4.14/fs/nilfs2/ |
H A D | recovery.c | 102 * @nblock: number of blocks to be checked 107 sector_t start, unsigned long nblock) nilfs_compute_checksum() 118 if (--nblock > 0) { nilfs_compute_checksum() 129 } while (--nblock > 0); nilfs_compute_checksum() 215 unsigned long nblock; nilfs_validate_log() local 227 nblock = le32_to_cpu(sum->ss_nblocks); nilfs_validate_log() 229 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) nilfs_validate_log() 235 ((u64)nblock << nilfs->ns_blocksize_bits), nilfs_validate_log() 236 bh_sum->b_blocknr, nblock)) nilfs_validate_log() 104 nilfs_compute_checksum(struct the_nilfs *nilfs, struct buffer_head *bhs, u32 *sum, unsigned long offset, u64 check_bytes, sector_t start, unsigned long nblock) nilfs_compute_checksum() argument
|
/linux-4.4.14/include/linux/ |
H A D | padata.h | 186 struct notifier_block *nblock); 188 struct notifier_block *nblock);
|
/linux-4.4.14/kernel/ |
H A D | padata.c | 536 * @nblock: A pointer to notifier block. 539 struct notifier_block *nblock) padata_register_cpumask_notifier() 542 nblock); padata_register_cpumask_notifier() 554 struct notifier_block *nblock) padata_unregister_cpumask_notifier() 558 nblock); padata_unregister_cpumask_notifier() 538 padata_register_cpumask_notifier(struct padata_instance *pinst, struct notifier_block *nblock) padata_register_cpumask_notifier() argument 553 padata_unregister_cpumask_notifier(struct padata_instance *pinst, struct notifier_block *nblock) padata_unregister_cpumask_notifier() argument
|
/linux-4.4.14/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 484 fprintf(stderr, "\nblock:%u with %upackets, expected " __v3_test_block_len() 494 fprintf(stderr, "\nblock %u: not in TP_STATUS_USER\n", block_num); __v3_test_block_header()
|
/linux-4.4.14/fs/gfs2/ |
H A D | rgrp.c | 1613 u64 nblock; gfs2_reservation_check_and_update() local 1630 nblock = gfs2_next_unreserved_block(rbm->rgd, block, extlen, ip); gfs2_reservation_check_and_update() 1631 if (nblock == block) { gfs2_reservation_check_and_update() 1640 nblock = block + extlen; gfs2_reservation_check_and_update() 1642 ret = gfs2_rbm_from_block(rbm, nblock); gfs2_reservation_check_and_update()
|
Completed in 325 milliseconds