Home
last modified time | relevance | path

Searched refs:num_blocks (Results 1 – 25 of 106) sorted by relevance

12345

/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dcamellia_aesni_avx2_glue.c39 .num_blocks = CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS,
42 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
45 .num_blocks = 2,
48 .num_blocks = 1,
58 .num_blocks = CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS,
61 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
64 .num_blocks = 2,
67 .num_blocks = 1,
77 .num_blocks = CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS,
80 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
[all …]
H A Dserpent_avx2_glue.c44 .num_blocks = 16,
47 .num_blocks = 8,
50 .num_blocks = 1,
60 .num_blocks = 16,
63 .num_blocks = 8,
66 .num_blocks = 1,
76 .num_blocks = 16,
79 .num_blocks = 8,
82 .num_blocks = 1,
92 .num_blocks = 16,
[all …]
H A Dtwofish_avx_glue.c87 .num_blocks = TWOFISH_PARALLEL_BLOCKS,
90 .num_blocks = 3,
93 .num_blocks = 1,
103 .num_blocks = TWOFISH_PARALLEL_BLOCKS,
106 .num_blocks = 3,
109 .num_blocks = 1,
119 .num_blocks = TWOFISH_PARALLEL_BLOCKS,
122 .num_blocks = 1,
132 .num_blocks = TWOFISH_PARALLEL_BLOCKS,
135 .num_blocks = 3,
[all …]
H A Dcamellia_aesni_avx_glue.c59 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
62 .num_blocks = 2,
65 .num_blocks = 1,
75 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
78 .num_blocks = 2,
81 .num_blocks = 1,
91 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
94 .num_blocks = 1,
104 .num_blocks = CAMELLIA_AESNI_PARALLEL_BLOCKS,
107 .num_blocks = 2,
[all …]
H A Dglue_helper.c42 func_bytes = bsize * gctx->funcs[i].num_blocks; in glue_ecb_req_128bit()
113 unsigned int func_bytes, num_blocks; in glue_cbc_decrypt_req_128bit() local
126 num_blocks = gctx->funcs[i].num_blocks; in glue_cbc_decrypt_req_128bit()
127 func_bytes = bsize * num_blocks; in glue_cbc_decrypt_req_128bit()
134 src -= num_blocks - 1; in glue_cbc_decrypt_req_128bit()
135 dst -= num_blocks - 1; in glue_cbc_decrypt_req_128bit()
174 unsigned int func_bytes, num_blocks; in glue_ctr_req_128bit() local
184 num_blocks = gctx->funcs[i].num_blocks; in glue_ctr_req_128bit()
185 func_bytes = bsize * num_blocks; in glue_ctr_req_128bit()
195 src += num_blocks; in glue_ctr_req_128bit()
[all …]
H A Dcast6_avx_glue.c69 .num_blocks = CAST6_PARALLEL_BLOCKS,
72 .num_blocks = 1,
82 .num_blocks = CAST6_PARALLEL_BLOCKS,
85 .num_blocks = 1,
95 .num_blocks = CAST6_PARALLEL_BLOCKS,
98 .num_blocks = 1,
108 .num_blocks = CAST6_PARALLEL_BLOCKS,
111 .num_blocks = 1,
121 .num_blocks = CAST6_PARALLEL_BLOCKS,
124 .num_blocks = 1,
[all …]
H A Dserpent_avx_glue.c104 .num_blocks = SERPENT_PARALLEL_BLOCKS,
107 .num_blocks = 1,
117 .num_blocks = SERPENT_PARALLEL_BLOCKS,
120 .num_blocks = 1,
130 .num_blocks = SERPENT_PARALLEL_BLOCKS,
133 .num_blocks = 1,
143 .num_blocks = SERPENT_PARALLEL_BLOCKS,
146 .num_blocks = 1,
156 .num_blocks = SERPENT_PARALLEL_BLOCKS,
159 .num_blocks = 1,
[all …]
H A Dserpent_sse2_glue.c87 .num_blocks = SERPENT_PARALLEL_BLOCKS,
90 .num_blocks = 1,
100 .num_blocks = SERPENT_PARALLEL_BLOCKS,
103 .num_blocks = 1,
113 .num_blocks = SERPENT_PARALLEL_BLOCKS,
116 .num_blocks = 1,
126 .num_blocks = SERPENT_PARALLEL_BLOCKS,
129 .num_blocks = 1,
H A Dtwofish_glue_3way.c100 .num_blocks = 3,
103 .num_blocks = 1,
113 .num_blocks = 3,
116 .num_blocks = 1,
126 .num_blocks = 3,
129 .num_blocks = 1,
139 .num_blocks = 3,
142 .num_blocks = 1,
H A Dcamellia_glue.c1318 .num_blocks = 2,
1321 .num_blocks = 1,
1331 .num_blocks = 2,
1334 .num_blocks = 1,
1344 .num_blocks = 2,
1347 .num_blocks = 1,
1357 .num_blocks = 2,
1360 .num_blocks = 1,
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_memory_backend_dedicated.c44 u32 num_blocks; member
65 u32 num_blocks; in ump_block_allocator_create() local
68 num_blocks = usable_size / UMP_BLOCK_SIZE; in ump_block_allocator_create()
76 DBG_MSG(6, ("%u usable bytes which becomes %u blocks\n", usable_size, num_blocks)); in ump_block_allocator_create()
82 allocator->all_blocks = kmalloc(sizeof(block_info) * num_blocks, GFP_KERNEL); in ump_block_allocator_create()
87 allocator->num_blocks = num_blocks; in ump_block_allocator_create()
88 allocator->num_free = num_blocks; in ump_block_allocator_create()
92 for (i = 0; i < num_blocks; i++) { in ump_block_allocator_create()
129 …1, allocator->num_free != allocator->num_blocks, ("%u blocks still in use during shutdown\n", allo… in block_allocator_shutdown()
238 …BUG_ON((block < allocator->all_blocks) || (block > (allocator->all_blocks + allocator->num_blocks)… in block_allocator_release()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/
H A Dinit.c219 u32 num_blocks) in wl1251_hw_init_txq_fill() argument
226 (QOS_TX_HIGH_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
228 (QOS_TX_LOW_BE_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
232 (QOS_TX_HIGH_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
234 (QOS_TX_LOW_BK_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
238 (QOS_TX_HIGH_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
240 (QOS_TX_LOW_VI_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
244 (QOS_TX_HIGH_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
246 (QOS_TX_LOW_VO_DEF * num_blocks) / 100; in wl1251_hw_init_txq_fill()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c96 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc() local
148 num_blocks, align_mask); in mlx5_dm_sw_icm_alloc()
152 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
169 block_idx, num_blocks); in mlx5_dm_sw_icm_alloc()
185 u32 num_blocks = DIV_ROUND_UP_ULL(length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_dealloc() local
223 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_ref_drv.c26 …ndle ump_dd_handle_create_from_phys_blocks(ump_dd_physical_block *blocks, unsigned long num_blocks) in ump_dd_handle_create_from_phys_blocks() argument
34 for (i = 0; i < num_blocks; i++) { in ump_dd_handle_create_from_phys_blocks()
60 mem->block_array = _mali_osk_malloc(sizeof(ump_dd_physical_block) * num_blocks); in ump_dd_handle_create_from_phys_blocks()
67 _mali_osk_memcpy(mem->block_array, blocks, sizeof(ump_dd_physical_block) * num_blocks); in ump_dd_handle_create_from_phys_blocks()
72 mem->nr_blocks = num_blocks; in ump_dd_handle_create_from_phys_blocks()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Drtas_flash.c108 unsigned long num_blocks; member
172 for (i = 0; i < f->num_blocks; i++) { in flash_list_valid()
200 for (i = 0; i < f->num_blocks; i++) in free_flash_list()
336 next_free = fl->num_blocks; in rtas_flash_write()
359 fl->num_blocks++; in rtas_flash_write()
594 flist->num_blocks = 0; in rtas_flash_firmware()
609 for (i = 0; i < f->num_blocks; i++) { in rtas_flash_firmware()
621 f->num_blocks = (FLASH_BLOCK_LIST_VERSION << 56) | ((f->num_blocks+1)*16); in rtas_flash_firmware()
622 f->num_blocks = cpu_to_be64(f->num_blocks); in rtas_flash_firmware()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_block_alloc.c65 u32 num_blocks; in mali_mem_block_allocator_create() local
73 num_blocks = usable_size / MALI_BLOCK_SIZE; in mali_mem_block_allocator_create()
74 MALI_DEBUG_PRINT(4, ("which becomes %d blocks\n", num_blocks)); in mali_mem_block_allocator_create()
85 info->total_num = num_blocks; in mali_mem_block_allocator_create()
86 mali_blk_items = _mali_osk_calloc(1, sizeof(mali_block_item) * num_blocks); in mali_mem_block_allocator_create()
91 for (i = 0 ; i < num_blocks ; i++) { in mali_mem_block_allocator_create()
/OK3568_Linux_fs/kernel/tools/hv/
H A Dhv_kvp_daemon.c113 int num_blocks; member
181 int num_blocks = kvp_file_info[pool].num_blocks; in kvp_update_mem_state() local
196 ENTRIES_PER_BLOCK * num_blocks - records_read, in kvp_update_mem_state()
211 num_blocks++; in kvp_update_mem_state()
212 record = realloc(record, alloc_unit * num_blocks); in kvp_update_mem_state()
224 kvp_file_info[pool].num_blocks = num_blocks; in kvp_update_mem_state()
256 kvp_file_info[i].num_blocks = 1; in kvp_file_init()
316 int num_blocks; in kvp_key_add_or_modify() local
329 num_blocks = kvp_file_info[pool].num_blocks; in kvp_key_add_or_modify()
346 if (num_records == (ENTRIES_PER_BLOCK * num_blocks)) { in kvp_key_add_or_modify()
[all …]
/OK3568_Linux_fs/kernel/block/partitions/
H A Dsgi.c28 __be32 num_blocks; /* Size in logical blocks */ member
76 blocks = be32_to_cpu(p->num_blocks); in sgi_partition()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_security.c1018 uint num_blocks, payload_index; in aes_cipher() local
1074 num_blocks = plen / 16; in aes_cipher()
1083 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1103 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1114 pframe, pn_vector, num_blocks + 1); in aes_cipher()
1192 uint num_blocks, payload_index; in aes_decipher() local
1216 num_blocks = (plen - 8) / 16; in aes_decipher()
1246 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1257 pframe, pn_vector, num_blocks + 1); in aes_decipher()
1280 num_blocks = (plen - 8) / 16; in aes_decipher()
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dstmpe.c428 .num_blocks = ARRAY_SIZE(stmpe801_blocks),
440 .num_blocks = ARRAY_SIZE(stmpe801_blocks_noirq),
590 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
605 .num_blocks = ARRAY_SIZE(stmpe811_blocks),
661 .num_blocks = ARRAY_SIZE(stmpe1600_blocks),
825 .num_blocks = ARRAY_SIZE(stmpe1601_blocks),
934 .num_blocks = ARRAY_SIZE(stmpe1801_blocks),
1040 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1054 .num_blocks = ARRAY_SIZE(stmpe24xx_blocks),
1310 for (i = 0; i < variant->num_blocks; i++) { in stmpe_devices_init()
/OK3568_Linux_fs/kernel/fs/befs/
H A Dsuper.c36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks); in befs_load_sb()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c570 u32 num_blocks, offset, i; in rsi_sdio_load_data_master_write() local
575 num_blocks = instructions_sz / block_size; in rsi_sdio_load_data_master_write()
579 instructions_sz, num_blocks); in rsi_sdio_load_data_master_write()
592 for (offset = 0, i = 0; i < num_blocks; i++, offset += block_size) { in rsi_sdio_load_data_master_write()
768 u32 num_blocks, address, length; in rsi_sdio_host_intf_write_pkt() local
776 num_blocks = len / block_size; in rsi_sdio_host_intf_write_pkt()
779 num_blocks++; in rsi_sdio_host_intf_write_pkt()
781 address = (num_blocks * block_size | (queueno << 12)); in rsi_sdio_host_intf_write_pkt()
782 length = num_blocks * block_size; in rsi_sdio_host_intf_write_pkt()
/OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/
H A Dfwio.c53 int ret, block, num_blocks; in cw1200_load_firmware_cw1200() local
173 num_blocks = (firmware->size - 1) / DOWNLOAD_BLOCK_SIZE + 1; in cw1200_load_firmware_cw1200()
180 for (block = 0; block < num_blocks; block++) { in cw1200_load_firmware_cw1200()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_security.c1299 num_blocks, payload_index; in aes_cipher() local
1382 num_blocks = plen / 16; in aes_cipher()
1394 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1420 for (i = 0; i < num_blocks; i++) { in aes_cipher()
1445 num_blocks+1, in aes_cipher()
1540 num_blocks, payload_index; in aes_decipher() local
1571 num_blocks = (plen-8) / 16; /* plen including LLC, payload_length and mic) */ in aes_decipher()
1611 for (i = 0; i < num_blocks; i++) { in aes_decipher()
1633 num_blocks+1, in aes_decipher()
1687 num_blocks = (plen-8) / 16; in aes_decipher()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Drepository.c581 unsigned int dev_index, u64 *num_blocks) in ps3_repository_read_stor_dev_num_blocks() argument
587 0, num_blocks, NULL); in ps3_repository_read_stor_dev_num_blocks()
646 u64 *num_blocks, unsigned int *num_regions) in ps3_repository_read_stor_dev_info() argument
660 num_blocks); in ps3_repository_read_stor_dev_info()
1238 u64 port, blk_size, num_blocks; in dump_stor_dev_info() local
1244 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions); in dump_stor_dev_info()
1255 port, blk_size, num_blocks, num_regions); in dump_stor_dev_info()

12345