Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 28) sorted by relevance

12

/arch/m68k/emu/
Dnfblock.c41 static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, in nfhd_get_capacity() argument
44 return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor, blocks, in nfhd_get_capacity()
56 u32 blocks, bsize; member
85 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
97 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument
103 blocks, bsize); in nfhd_init_one()
115 dev->blocks = blocks; in nfhd_init_one()
136 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
155 u32 blocks, bsize; in nfhd_init() local
169 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init()
[all …]
/arch/arm/crypto/
Daesbs-glue.c33 asmlinkage void bsaes_ctr32_encrypt_blocks(u8 const in[], u8 out[], u32 blocks,
116 u32 blocks = walk.nbytes / AES_BLOCK_SIZE; in aesbs_cbc_encrypt() local
127 } while (--blocks); in aesbs_cbc_encrypt()
138 } while (--blocks); in aesbs_cbc_encrypt()
164 u32 blocks = walk.nbytes / AES_BLOCK_SIZE; in aesbs_cbc_decrypt() local
172 memcpy(bk[blocks & 1], src, AES_BLOCK_SIZE); in aesbs_cbc_decrypt()
178 iv = bk[blocks & 1]; in aesbs_cbc_decrypt()
184 } while (--blocks); in aesbs_cbc_decrypt()
209 u32 blocks; in aesbs_ctr_encrypt() local
215 while ((blocks = walk.nbytes / AES_BLOCK_SIZE)) { in aesbs_ctr_encrypt()
[all …]
/arch/arm/mach-ixp4xx/
Dixp4xx_npe.c519 struct dl_block blocks[0]; in npe_load_firmware() member
529 int i, j, err, data_size, instr_size, blocks, table_end; in npe_load_firmware() local
600 for (blocks = 0; blocks * sizeof(struct dl_block) / 4 < image->size; in npe_load_firmware()
601 blocks++) in npe_load_firmware()
602 if (image->blocks[blocks].type == FW_BLOCK_TYPE_EOF) in npe_load_firmware()
604 if (blocks * sizeof(struct dl_block) / 4 >= image->size) { in npe_load_firmware()
611 print_npe(KERN_DEBUG, npe, "%i firmware blocks found\n", blocks); in npe_load_firmware()
614 table_end = blocks * sizeof(struct dl_block) / 4 + 1 /* EOF marker */; in npe_load_firmware()
615 for (i = 0, blk = image->blocks; i < blocks; i++, blk++) { in npe_load_firmware()
/arch/cris/boot/rescue/
Dhead_v32.S19 ;; Start clocks for used blocks.
/arch/powerpc/kernel/
Drtas_flash.c96 struct flash_block blocks[FLASH_BLOCKS_PER_NODE]; member
158 if (f->blocks[i].data == NULL) { in flash_list_valid()
161 block_size = f->blocks[i].length; in flash_list_valid()
186 kmem_cache_free(flash_block_cache, f->blocks[i].data); in free_flash_list()
330 fl->blocks[next_free].data = p; in rtas_flash_write()
331 fl->blocks[next_free].length = count; in rtas_flash_write()
599 f->blocks[i].data = (char *)virt_to_abs(f->blocks[i].data); in rtas_flash_firmware()
600 image_size += f->blocks[i].length; in rtas_flash_firmware()
/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c62 struct threshold_block *blocks; member
506 if (per_cpu(threshold_banks, cpu)[bank]->blocks) { in allocate_threshold_blocks()
508 &per_cpu(threshold_banks, cpu)[bank]->blocks->miscj); in allocate_threshold_blocks()
510 per_cpu(threshold_banks, cpu)[bank]->blocks = b; in allocate_threshold_blocks()
674 list_for_each_entry_safe(pos, tmp, &head->blocks->miscj, miscj) { in deallocate_threshold_block()
680 kfree(per_cpu(threshold_banks, cpu)[bank]->blocks); in deallocate_threshold_block()
681 per_cpu(threshold_banks, cpu)[bank]->blocks = NULL; in deallocate_threshold_block()
694 if (!b->blocks) in threshold_remove_bank()
701 if (shared_bank[bank] && b->blocks->cpu != cpu) { in threshold_remove_bank()
/arch/cris/boot/compressed/
Dhead_v32.S23 ;; Start clocks for used blocks.
/arch/mips/cavium-octeon/
DKconfig40 This selects the size of CVMSEG LM, which is in cache blocks. The
41 legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
/arch/um/os-Linux/
Dfile.c283 long blocks; in os_file_size() local
292 if (ioctl(fd, BLKGETSIZE, &blocks) < 0) { in os_file_size()
299 *size_out = ((long long) blocks) * 512; in os_file_size()
/arch/arm/mach-ux500/
Dboard-mop500-stuib.c59 .blocks = STMPE_BLOCK_KEYPAD,
/arch/c6x/
DKconfig111 blocks into "zones", where each zone is a power of two number of
114 blocks of physically contiguous memory, then you may need to
/arch/sh/mm/
DKconfig35 blocks into "zones", where each zone is a power of two number of
38 blocks of physically contiguous memory, then you may need to
118 support for these blocks by binding them to nodes and allowing
/arch/arm/boot/compressed/
Dhead-shark.S24 __ofw_data: .long 0 @ the number of memory blocks
/arch/arm/plat-samsung/
DKconfig281 Support for exporting the PWM timer blocks via the pwm device
325 will generate CRCs of all blocks of memory, and store them before
326 going to sleep. The blocks are then checked on resume for any
/arch/arm/plat-s3c24xx/
DKconfig80 peripheral blocks.
/arch/parisc/hpux/
Dfs.c169 tmp.st_blocks = stat->blocks; in cp_hpux_stat()
/arch/arm/kernel/
Dsys_oabi-compat.c131 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64()
/arch/x86/crypto/
Daesni-intel_asm.S236 # start AES for num_initial_blocks blocks
309 # apply GHASH on num_initial_blocks blocks
474 # start AES for num_initial_blocks blocks
546 # apply GHASH on num_initial_blocks blocks
1301 # Decrypt first few blocks
1563 # Encrypt first few blocks
1590 # Main loop - Encrypt remaining blocks
1619 movdqu (%arg3,%r11,1), %xmm1 # receive the last <16 byte blocks
/arch/m68k/q40/
DREADME19 When something blocks interrupts (HD) it will lose some of them, so far
/arch/x86/ia32/
Dsys_ia32.c93 __put_user(stat->blocks, &ubuf->st_blocks)) in cp_stat64()
/arch/sparc/kernel/
Dsys_sparc32.c150 err |= put_user(stat->blocks, &statbuf->st_blocks); in cp_compat_stat64()
/arch/s390/kernel/
Dcompat_linux.c545 tmp.st_blocks = (u32)stat->blocks; in cp_stat64()
/arch/sh/lib/
Dmemcpy-sh4.S444 ! Copy the cache line aligned blocks
/arch/powerpc/
DKconfig537 blocks into "zones", where each zone is a power of two number of
540 blocks of physically contiguous memory, then you may need to
/arch/arm/mach-imx/
DKconfig487 Bad Block Table to know what blocks are bad instead of scanning the

12