Home
last modified time | relevance | path

Searched refs:entrylen (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/crypto/
Dahash.c45 unsigned int nbytes = min(walk->entrylen, in hash_walk_next()
58 walk->entrylen -= nbytes; in hash_walk_next()
70 walk->entrylen = sg->length; in hash_walk_new_entry()
72 if (walk->entrylen > walk->total) in hash_walk_new_entry()
73 walk->entrylen = walk->total; in hash_walk_new_entry()
74 walk->total -= walk->entrylen; in hash_walk_new_entry()
85 if (walk->entrylen && (walk->offset & alignmask) && !err) { in crypto_hash_walk_done()
89 nbytes = min(walk->entrylen, in crypto_hash_walk_done()
92 walk->entrylen -= nbytes; in crypto_hash_walk_done()
104 if (walk->entrylen) { in crypto_hash_walk_done()
[all …]
/Linux-v5.10/include/crypto/internal/
Dhash.h24 unsigned int entrylen; member
68 return !(walk->entrylen | walk->total); in crypto_hash_walk_last()
/Linux-v5.10/drivers/md/
Ddm-log-writes.c212 size_t entrylen, void *data, size_t datalen, in write_metadata() argument
241 memcpy(ptr, entry, entrylen); in write_metadata()
243 memcpy(ptr + entrylen, data, datalen); in write_metadata()
244 memset(ptr + entrylen + datalen, 0, in write_metadata()
245 lc->sectorsize - entrylen - datalen); in write_metadata()
264 size_t entrylen, void *data, size_t datalen, in write_inline_data() argument
/Linux-v5.10/drivers/crypto/nx/
Dnx-842-pseries.c172 unsigned long entrylen; in nx842_build_scatterlist() local
180 entrylen = min_t(int, len, in nx842_build_scatterlist()
182 entry->len = cpu_to_be64(entrylen); in nx842_build_scatterlist()
184 len -= entrylen; in nx842_build_scatterlist()
185 buf += entrylen; in nx842_build_scatterlist()
/Linux-v5.10/scripts/dtc/
Dchecks.c738 int addr_cells, size_cells, entrylen; in check_reg_format() local
754 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
756 if (!entrylen || (prop->val.len % entrylen) != 0) in check_reg_format()
767 int c_addr_cells, p_addr_cells, c_size_cells, p_size_cells, entrylen; in check_ranges_format() local
784 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
797 } else if ((prop->val.len % entrylen) != 0) { in check_ranges_format()
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.c705 uint8_t version, headerlen, entrylen, num_entries; in parse_bit_A_tbl_entry() local
728 entrylen = bios->data[load_table_ptr + 2]; in parse_bit_A_tbl_entry()
731 if (headerlen != 4 || entrylen != 4 || num_entries != 2) { in parse_bit_A_tbl_entry()