Home
last modified time | relevance | path

Searched refs:block_sz (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c55 u8 block_sz; /* block size, only set once */ member
167 req->hmac_zlen || (req->processed != req->block_sz)) { in safexcel_context_control()
186 (req->processed != req->block_sz)) { in safexcel_context_control()
280 sreq->len = sreq->block_sz + in safexcel_handle_req_result()
282 sreq->processed = sreq->block_sz; in safexcel_handle_req_result()
828 (req->len == req->block_sz) && in safexcel_ahash_final()
838 memset(req->cache, 0, req->block_sz); in safexcel_ahash_final()
844 req->cache[req->block_sz-8] = (req->block_sz << 3) & in safexcel_ahash_final()
846 req->cache[req->block_sz-7] = (req->block_sz >> 5); in safexcel_ahash_final()
849 req->cache[req->block_sz-2] = (req->block_sz >> 5); in safexcel_ahash_final()
[all …]
/linux/net/hsr/
H A Dhsr_framereg.c193 size_t block_sz; in hsr_add_node() local
208 block_sz = hsr_seq_block_size(new_node); in hsr_add_node()
209 new_node->block_buf = kcalloc(HSR_MAX_SEQ_BLOCKS, block_sz, GFP_ATOMIC); in hsr_add_node()
336 size_t block_sz; in hsr_get_seq_block() local
346 block_sz = hsr_seq_block_size(node); in hsr_get_seq_block()
347 block = node->block_buf + node->next_block * block_sz; in hsr_get_seq_block()
350 memset(block, 0, block_sz); in hsr_get_seq_block()
820 size_t block_sz; in fill_last_seq_nrs() local
827 block_sz = hsr_seq_block_size(node); in fill_last_seq_nrs()
828 block = node->block_buf + block_off * block_sz; in fill_last_seq_nrs()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_warpdrive.c122 unsigned long stripe_sz, block_sz; in mpt3sas_init_warpdrive_properties() local
215 block_sz = le16_to_cpu(vol_pg0->BlockSize); in mpt3sas_init_warpdrive_properties()
216 block_exp = find_first_bit(&block_sz, 16); in mpt3sas_init_warpdrive_properties()
233 raid_device->block_sz = le16_to_cpu(vol_pg0->BlockSize); in mpt3sas_init_warpdrive_properties()
/linux/drivers/hwtracing/intel_th/
H A Dmsu.h56 u32 block_sz; member
95 return bdesc->block_sz * 64 - MSC_BDESC; in msc_block_sz()
H A Dmsu.c1242 bdesc->block_sz = sg->length / 64; in msc_buffer_relink()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhif.c680 dev->htc_cnxt->block_sz = dev->ar->mbox_info.block_size; in ath6kl_hif_setup()
683 if ((dev->htc_cnxt->block_sz & (dev->htc_cnxt->block_sz - 1)) != 0) { in ath6kl_hif_setup()
690 dev->htc_cnxt->block_mask = dev->htc_cnxt->block_sz - 1; in ath6kl_hif_setup()
693 dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr); in ath6kl_hif_setup()
H A Dhtc.h619 u32 block_sz; member
H A Dhtc_mbox.c2639 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()
/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c572 unsigned long block_sz; in dlpar_add_lmb() local
585 block_sz = memory_block_size_bytes(); in dlpar_add_lmb()
593 rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_MEMMAP_ON_MEMORY); in dlpar_add_lmb()
603 __remove_memory(lmb->base_addr, block_sz); in dlpar_add_lmb()