Searched refs:blk (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/lib/ |
D | rheap.c | 47 rh_block_t *block, *blk; in grow() local 73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow() 74 fixup(blks, blke, delta, &blk->list); in grow() 91 blk = block + info->max_blocks - new_blocks; in grow() 92 for (i = 0; i < new_blocks; i++, blk++) in grow() 93 list_add(&blk->list, &info->empty_list); in grow() 123 rh_block_t *blk; in get_slot() local 133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot() 134 list_del_init(&blk->list); in get_slot() 138 blk->start = 0; in get_slot() [all …]
|
/arch/x86/mm/ |
D | numa.c | 154 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 155 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 156 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 172 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 173 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from() 258 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() 271 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() 274 struct numa_memblk *bj = &mi->blk[j]; in numa_cleanup_meminfo() 304 struct numa_memblk *bk = &mi->blk[k]; in numa_cleanup_meminfo() 323 for (i = mi->nr_blks; i < ARRAY_SIZE(mi->blk); i++) { in numa_cleanup_meminfo() [all …]
|
D | numa_emulation.c | 26 if (mi->blk[i].nid == nid) in emu_find_memblk_by_nid() 49 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk() 50 struct numa_memblk *pb = &pi->blk[phys_blk]; in emu_setup_memblk() 120 node_set(pi->blk[i].nid, physnode_mask); in split_nodes_interleave() 137 start = pi->blk[phys_blk].start; in split_nodes_interleave() 138 limit = pi->blk[phys_blk].end; in split_nodes_interleave() 235 node_set(pi->blk[i].nid, physnode_mask); in split_nodes_size_interleave() 252 start = pi->blk[phys_blk].start; in split_nodes_size_interleave() 253 limit = pi->blk[phys_blk].end; in split_nodes_size_interleave()
|
D | numa_internal.h | 15 struct numa_memblk blk[NR_NODE_MEMBLKS]; member
|
/arch/arm/mach-ixp4xx/ |
D | ixp4xx_npe.c | 511 } *blk; in npe_load_firmware() local 615 for (i = 0, blk = image->blocks; i < blocks; i++, blk++) { in npe_load_firmware() 616 if (blk->offset > image->size - sizeof(struct dl_codeblock) / 4 in npe_load_firmware() 617 || blk->offset < table_end) { in npe_load_firmware() 619 "firmware block #%i\n", blk->offset, i); in npe_load_firmware() 623 cb = (struct dl_codeblock*)&image->data[blk->offset]; in npe_load_firmware() 624 if (blk->type == FW_BLOCK_TYPE_INSTR) { in npe_load_firmware() 628 } else if (blk->type == FW_BLOCK_TYPE_DATA) { in npe_load_firmware() 634 "type 0x%X\n", i, blk->type); in npe_load_firmware() 637 if (blk->offset + sizeof(*cb) / 4 + cb->size > image->size) { in npe_load_firmware() [all …]
|
/arch/mips/alchemy/common/ |
D | vss.c | 17 #define VSS_ADDR(blk) (KSEG1ADDR(AU1300_VSS_PHYS_ADDR) + (blk * 0x0c)) argument
|
/arch/s390/crypto/ |
D | aes_s390.c | 44 struct crypto_blkcipher *blk; member 239 sctx->fallback.blk->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_blk() 240 sctx->fallback.blk->base.crt_flags |= (tfm->crt_flags & in setkey_fallback_blk() 243 ret = crypto_blkcipher_setkey(sctx->fallback.blk, key, len); in setkey_fallback_blk() 246 tfm->crt_flags |= (sctx->fallback.blk->base.crt_flags & in setkey_fallback_blk() 261 desc->tfm = sctx->fallback.blk; in fallback_blk_dec() 278 desc->tfm = sctx->fallback.blk; in fallback_blk_enc() 371 sctx->fallback.blk = crypto_alloc_blkcipher(name, 0, in fallback_init_blk() 374 if (IS_ERR(sctx->fallback.blk)) { in fallback_init_blk() 377 return PTR_ERR(sctx->fallback.blk); in fallback_init_blk() [all …]
|