Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 230) sorted by relevance

12345678910

/linux/fs/ext4/
A Dindirect.c550 if (!partial) { in ext4_ind_map_blocks()
629 offsets + (partial - chain), partial); in ext4_ind_map_blocks()
660 partial--; in ext4_ind_map_blocks()
802 if (!partial) in ext4_find_shared()
808 if (!partial->key && *partial->p) in ext4_find_shared()
832 partial--; in ext4_find_shared()
1168 partial->p+1, (chain+n-1) - partial); in ext4_ind_truncate()
1178 partial--; in ext4_ind_truncate()
1282 partial->p+1, (chain+n-1) - partial); in ext4_ind_remove_space()
1295 partial--; in ext4_ind_remove_space()
[all …]
/linux/fs/minix/
A Ditree_common.c158 Indirect *partial; in get_block() local
169 if (!partial) { in get_block()
182 partial--; in get_block()
197 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
210 partial--; in get_block()
238 if (!partial) in find_shared()
240 if (!partial->key && *partial->p) { in find_shared()
257 partial--; in find_shared()
260 return partial; in find_shared()
336 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()
[all …]
/linux/include/crypto/
A Dsm3_base.h48 if (unlikely((partial + len) >= SM3_BLOCK_SIZE)) { in sm3_base_do_update()
51 if (partial) { in sm3_base_do_update()
52 int p = SM3_BLOCK_SIZE - partial; in sm3_base_do_update()
54 memcpy(sctx->buffer + partial, data, p); in sm3_base_do_update()
68 partial = 0; in sm3_base_do_update()
71 memcpy(sctx->buffer + partial, data, len); in sm3_base_do_update()
84 sctx->buffer[partial++] = 0x80; in sm3_base_do_finalize()
85 if (partial > bit_offset) { in sm3_base_do_finalize()
86 memset(sctx->buffer + partial, 0x0, SM3_BLOCK_SIZE - partial); in sm3_base_do_finalize()
87 partial = 0; in sm3_base_do_finalize()
[all …]
A Dsha1_base.h45 if (unlikely((partial + len) >= SHA1_BLOCK_SIZE)) { in sha1_base_do_update()
48 if (partial) { in sha1_base_do_update()
49 int p = SHA1_BLOCK_SIZE - partial; in sha1_base_do_update()
51 memcpy(sctx->buffer + partial, data, p); in sha1_base_do_update()
65 partial = 0; in sha1_base_do_update()
68 memcpy(sctx->buffer + partial, data, len); in sha1_base_do_update()
81 sctx->buffer[partial++] = 0x80; in sha1_base_do_finalize()
82 if (partial > bit_offset) { in sha1_base_do_finalize()
83 memset(sctx->buffer + partial, 0x0, SHA1_BLOCK_SIZE - partial); in sha1_base_do_finalize()
84 partial = 0; in sha1_base_do_finalize()
[all …]
A Dsha256_base.h48 if (unlikely((partial + len) >= SHA256_BLOCK_SIZE)) { in sha256_base_do_update()
51 if (partial) { in sha256_base_do_update()
52 int p = SHA256_BLOCK_SIZE - partial; in sha256_base_do_update()
54 memcpy(sctx->buf + partial, data, p); in sha256_base_do_update()
68 partial = 0; in sha256_base_do_update()
71 memcpy(sctx->buf + partial, data, len); in sha256_base_do_update()
84 sctx->buf[partial++] = 0x80; in sha256_base_do_finalize()
85 if (partial > bit_offset) { in sha256_base_do_finalize()
86 memset(sctx->buf + partial, 0x0, SHA256_BLOCK_SIZE - partial); in sha256_base_do_finalize()
87 partial = 0; in sha256_base_do_finalize()
[all …]
A Dsha512_base.h68 if (unlikely((partial + len) >= SHA512_BLOCK_SIZE)) { in sha512_base_do_update()
71 if (partial) { in sha512_base_do_update()
72 int p = SHA512_BLOCK_SIZE - partial; in sha512_base_do_update()
74 memcpy(sctx->buf + partial, data, p); in sha512_base_do_update()
88 partial = 0; in sha512_base_do_update()
91 memcpy(sctx->buf + partial, data, len); in sha512_base_do_update()
104 sctx->buf[partial++] = 0x80; in sha512_base_do_finalize()
105 if (partial > bit_offset) { in sha512_base_do_finalize()
106 memset(sctx->buf + partial, 0x0, SHA512_BLOCK_SIZE - partial); in sha512_base_do_finalize()
107 partial = 0; in sha512_base_do_finalize()
[all …]
/linux/fs/sysv/
A Ditree.c209 Indirect *partial; in get_block() local
222 if (!partial) { in get_block()
236 partial--; in get_block()
251 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
264 partial--; in get_block()
292 if (!partial) in find_shared()
298 if (!partial->key && *partial->p) { in find_shared()
320 partial--; in find_shared()
323 return partial; in find_shared()
405 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
[all …]
/linux/drivers/crypto/
A Dpadlock-sha.c284 unsigned int partial, done; in padlock_sha1_update_nano() local
291 partial = sctx->count & 0x3f; in padlock_sha1_update_nano()
300 if (partial) { in padlock_sha1_update_nano()
301 done = -partial; in padlock_sha1_update_nano()
321 partial = 0; in padlock_sha1_update_nano()
340 padlen = (partial < 56) ? (56 - partial) : ((64+56) - partial); in padlock_sha1_final_nano()
368 unsigned int partial, done; in padlock_sha256_update_nano() local
384 if (partial) { in padlock_sha256_update_nano()
385 done = -partial; in padlock_sha256_update_nano()
405 partial = 0; in padlock_sha256_update_nano()
[all …]
/linux/arch/arm64/crypto/
A Dsha3-ce-glue.c43 if ((sctx->partial + len) >= sctx->rsiz) { in sha3_update()
46 if (sctx->partial) { in sha3_update()
47 int p = sctx->rsiz - sctx->partial; in sha3_update()
49 memcpy(sctx->buf + sctx->partial, data, p); in sha3_update()
56 sctx->partial = 0; in sha3_update()
75 memcpy(sctx->buf + sctx->partial, data, len); in sha3_update()
76 sctx->partial += len; in sha3_update()
91 sctx->buf[sctx->partial++] = 0x06; in sha3_final()
92 memset(sctx->buf + sctx->partial, 0, sctx->rsiz - sctx->partial); in sha3_final()
A Dghash-ce-glue.c119 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_update() local
123 if ((partial + len) >= GHASH_BLOCK_SIZE) { in ghash_update()
127 if (partial) { in ghash_update()
128 int p = GHASH_BLOCK_SIZE - partial; in ghash_update()
130 memcpy(ctx->buf + partial, src, p); in ghash_update()
142 partial ? ctx->buf : NULL, in ghash_update()
147 partial = 0; in ghash_update()
151 memcpy(ctx->buf + partial, src, len); in ghash_update()
158 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_final() local
160 if (partial) { in ghash_final()
[all …]
/linux/arch/powerpc/crypto/
A Dsha1.c40 unsigned int partial, done; in powerpc_sha1_update() local
43 partial = sctx->count & 0x3f; in powerpc_sha1_update()
48 if ((partial + len) > 63) { in powerpc_sha1_update()
50 if (partial) { in powerpc_sha1_update()
51 done = -partial; in powerpc_sha1_update()
52 memcpy(sctx->buffer + partial, data, done + 64); in powerpc_sha1_update()
62 partial = 0; in powerpc_sha1_update()
64 memcpy(sctx->buffer + partial, src, len - done); in powerpc_sha1_update()
/linux/fs/ext2/
A Dinode.c628 Indirect *partial; in ext2_get_blocks() local
646 if (!partial) { in ext2_get_blocks()
695 partial--; in ext2_get_blocks()
698 if (!partial) { in ext2_get_blocks()
731 offsets + (partial - chain), partial); in ext2_get_blocks()
772 partial--; in ext2_get_blocks()
1060 if (!partial) in ext2_find_shared()
1067 if (!partial->key && *partial->p) { in ext2_find_shared()
1090 partial--; in ext2_find_shared()
1093 return partial; in ext2_find_shared()
[all …]
/linux/arch/sparc/crypto/
A Dsha1_glue.c41 unsigned int len, unsigned int partial) in __sha1_sparc64_update() argument
46 if (partial) { in __sha1_sparc64_update()
47 done = SHA1_BLOCK_SIZE - partial; in __sha1_sparc64_update()
48 memcpy(sctx->buffer + partial, data, done); in __sha1_sparc64_update()
65 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_sparc64_update() local
68 if (partial + len < SHA1_BLOCK_SIZE) { in sha1_sparc64_update()
70 memcpy(sctx->buffer + partial, data, len); in sha1_sparc64_update()
72 __sha1_sparc64_update(sctx, data, len, partial); in sha1_sparc64_update()
A Dmd5_glue.c47 unsigned int len, unsigned int partial) in __md5_sparc64_update() argument
52 if (partial) { in __md5_sparc64_update()
53 done = MD5_HMAC_BLOCK_SIZE - partial; in __md5_sparc64_update()
54 memcpy((u8 *)sctx->block + partial, data, done); in __md5_sparc64_update()
71 unsigned int partial = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; in md5_sparc64_update() local
74 if (partial + len < MD5_HMAC_BLOCK_SIZE) { in md5_sparc64_update()
76 memcpy((u8 *)sctx->block + partial, data, len); in md5_sparc64_update()
78 __md5_sparc64_update(sctx, data, len, partial); in md5_sparc64_update()
A Dsha512_glue.c61 unsigned int len, unsigned int partial) in __sha512_sparc64_update() argument
67 if (partial) { in __sha512_sparc64_update()
68 done = SHA512_BLOCK_SIZE - partial; in __sha512_sparc64_update()
69 memcpy(sctx->buf + partial, data, done); in __sha512_sparc64_update()
86 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; in sha512_sparc64_update() local
89 if (partial + len < SHA512_BLOCK_SIZE) { in sha512_sparc64_update()
92 memcpy(sctx->buf + partial, data, len); in sha512_sparc64_update()
94 __sha512_sparc64_update(sctx, data, len, partial); in sha512_sparc64_update()
A Dsha256_glue.c62 unsigned int len, unsigned int partial) in __sha256_sparc64_update() argument
67 if (partial) { in __sha256_sparc64_update()
68 done = SHA256_BLOCK_SIZE - partial; in __sha256_sparc64_update()
69 memcpy(sctx->buf + partial, data, done); in __sha256_sparc64_update()
86 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; in sha256_sparc64_update() local
89 if (partial + len < SHA256_BLOCK_SIZE) { in sha256_sparc64_update()
91 memcpy(sctx->buf + partial, data, len); in sha256_sparc64_update()
93 __sha256_sparc64_update(sctx, data, len, partial); in sha256_sparc64_update()
/linux/drivers/usb/storage/
A Dfreecom.c227 unsigned int partial; in freecom_transport() local
266 FCM_STATUS_PACKET_LENGTH, &partial); in freecom_transport()
271 US_DEBUG(pdump(us, (void *)fst, partial)); in freecom_transport()
308 FCM_STATUS_PACKET_LENGTH, &partial); in freecom_transport()
314 US_DEBUG(pdump(us, (void *)fst, partial)); in freecom_transport()
317 if (partial != 4) in freecom_transport()
376 FCM_PACKET_LENGTH, &partial); in freecom_transport()
377 US_DEBUG(pdump(us, (void *)fst, partial)); in freecom_transport()
379 if (partial != 4 || result > USB_STOR_XFER_SHORT) in freecom_transport()
407 FCM_PACKET_LENGTH, &partial); in freecom_transport()
[all …]
/linux/arch/mips/cavium-octeon/crypto/
A Docteon-sha1.c91 unsigned int partial; in __octeon_sha1_update() local
95 partial = sctx->count % SHA1_BLOCK_SIZE; in __octeon_sha1_update()
100 if ((partial + len) >= SHA1_BLOCK_SIZE) { in __octeon_sha1_update()
101 if (partial) { in __octeon_sha1_update()
102 done = -partial; in __octeon_sha1_update()
103 memcpy(sctx->buffer + partial, data, in __octeon_sha1_update()
114 partial = 0; in __octeon_sha1_update()
116 memcpy(sctx->buffer + partial, src, len - done); in __octeon_sha1_update()
A Docteon-sha256.c103 unsigned int partial; in __octeon_sha256_update() local
107 partial = sctx->count % SHA256_BLOCK_SIZE; in __octeon_sha256_update()
112 if ((partial + len) >= SHA256_BLOCK_SIZE) { in __octeon_sha256_update()
113 if (partial) { in __octeon_sha256_update()
114 done = -partial; in __octeon_sha256_update()
115 memcpy(sctx->buf + partial, data, in __octeon_sha256_update()
126 partial = 0; in __octeon_sha256_update()
128 memcpy(sctx->buf + partial, src, len - done); in __octeon_sha256_update()
/linux/arch/arm/crypto/
A Dghash-ce-glue.c98 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_update() local
102 if ((partial + len) >= GHASH_BLOCK_SIZE) { in ghash_update()
106 if (partial) { in ghash_update()
107 int p = GHASH_BLOCK_SIZE - partial; in ghash_update()
109 memcpy(ctx->buf + partial, src, p); in ghash_update()
118 partial ? ctx->buf : NULL); in ghash_update()
120 partial = 0; in ghash_update()
123 memcpy(ctx->buf + partial, src, len); in ghash_update()
130 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_final() local
132 if (partial) { in ghash_final()
[all …]
/linux/crypto/
A Dsha3_generic.c168 sctx->partial = 0; in crypto_sha3_init()
185 if ((sctx->partial + len) > (sctx->rsiz - 1)) { in crypto_sha3_update()
186 if (sctx->partial) { in crypto_sha3_update()
187 done = -sctx->partial; in crypto_sha3_update()
188 memcpy(sctx->buf + sctx->partial, data, in crypto_sha3_update()
204 sctx->partial = 0; in crypto_sha3_update()
206 memcpy(sctx->buf + sctx->partial, src, len - done); in crypto_sha3_update()
207 sctx->partial += (len - done); in crypto_sha3_update()
216 unsigned int i, inlen = sctx->partial; in crypto_sha3_final()
/linux/arch/x86/include/asm/
A Dunwind.h72 bool *partial) in unwind_get_entry_regs() argument
77 if (partial) { in unwind_get_entry_regs()
79 *partial = !state->full_regs; in unwind_get_entry_regs()
81 *partial = false; in unwind_get_entry_regs()
89 bool *partial) in unwind_get_entry_regs() argument
/linux/lib/crypto/
A Dsha256.c124 unsigned int partial, done; in sha256_update() local
128 partial = sctx->count & 0x3f; in sha256_update()
133 if ((partial + len) > 63) { in sha256_update()
134 if (partial) { in sha256_update()
135 done = -partial; in sha256_update()
136 memcpy(sctx->buf + partial, data, done + 64); in sha256_update()
148 partial = 0; in sha256_update()
150 memcpy(sctx->buf + partial, src, len - done); in sha256_update()
/linux/drivers/crypto/stm32/
A Dstm32-crc32.c69 u32 partial; /* crc32c: partial in first 4 bytes of that struct */ member
137 ctx->partial = readl_relaxed(crc->regs + CRC_DR); in stm32_crc_init()
163 ctx->partial = crc32_le(ctx->partial, d8, length); in burst_update()
165 ctx->partial = __crc32c_le(ctx->partial, d8, length); in burst_update()
176 writel_relaxed(bitrev32(ctx->partial), crc->regs + CRC_INIT); in burst_update()
206 ctx->partial = readl_relaxed(crc->regs + CRC_DR); in burst_update()
249 ~ctx->partial : ctx->partial, out); in stm32_crc_final()
/linux/arch/x86/kernel/
A Ddumpstack.c161 bool partial, const char *log_lvl) in show_regs_if_on_stack() argument
172 if (!partial && on_stack(info, regs, sizeof(*regs))) { in show_regs_if_on_stack()
175 } else if (partial && on_stack(info, (void *)regs + IRET_FRAME_OFFSET, in show_regs_if_on_stack()
193 bool partial = false; in show_trace_log_lvl() local
199 regs = unwind_get_entry_regs(&state, &partial); in show_trace_log_lvl()
237 show_regs_if_on_stack(&stack_info, regs, partial, log_lvl); in show_trace_log_lvl()
296 regs = unwind_get_entry_regs(&state, &partial); in show_trace_log_lvl()
298 show_regs_if_on_stack(&stack_info, regs, partial, log_lvl); in show_trace_log_lvl()

Completed in 44 milliseconds

12345678910