Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 188) sorted by relevance

12345678

/arch/powerpc/platforms/chrp/
Dnvram.c28 unsigned int done; in chrp_nvram_read() local
38 if ((rtas_call(rtas_token("nvram-fetch"), 3, 2, &done, addr, in chrp_nvram_read()
39 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_read()
50 unsigned int done; in chrp_nvram_write() local
60 if ((rtas_call(rtas_token("nvram-store"), 3, 2, &done, addr, in chrp_nvram_write()
61 __pa(nvram_buf), 1) != 0) || 1 != done) in chrp_nvram_write()
/arch/powerpc/crypto/
Dsha1.c46 unsigned int partial, done; in sha1_update() local
51 done = 0; in sha1_update()
58 done = -partial; in sha1_update()
59 memcpy(sctx->buffer + partial, data, done + 64); in sha1_update()
65 done += 64; in sha1_update()
66 src = data + done; in sha1_update()
67 } while (done + 63 < len); in sha1_update()
72 memcpy(sctx->buffer + partial, src, len - done); in sha1_update()
/arch/sparc/crypto/
Dsha1_glue.c43 unsigned int done = 0; in __sha1_sparc64_update() local
47 done = SHA1_BLOCK_SIZE - partial; in __sha1_sparc64_update()
48 memcpy(sctx->buffer + partial, data, done); in __sha1_sparc64_update()
51 if (len - done >= SHA1_BLOCK_SIZE) { in __sha1_sparc64_update()
52 const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; in __sha1_sparc64_update()
54 sha1_sparc64_transform(sctx->state, data + done, rounds); in __sha1_sparc64_update()
55 done += rounds * SHA1_BLOCK_SIZE; in __sha1_sparc64_update()
58 memcpy(sctx->buffer, data + done, len - done); in __sha1_sparc64_update()
Dmd5_glue.c48 unsigned int done = 0; in __md5_sparc64_update() local
52 done = MD5_HMAC_BLOCK_SIZE - partial; in __md5_sparc64_update()
53 memcpy((u8 *)sctx->block + partial, data, done); in __md5_sparc64_update()
56 if (len - done >= MD5_HMAC_BLOCK_SIZE) { in __md5_sparc64_update()
57 const unsigned int rounds = (len - done) / MD5_HMAC_BLOCK_SIZE; in __md5_sparc64_update()
59 md5_sparc64_transform(sctx->hash, data + done, rounds); in __md5_sparc64_update()
60 done += rounds * MD5_HMAC_BLOCK_SIZE; in __md5_sparc64_update()
63 memcpy(sctx->block, data + done, len - done); in __md5_sparc64_update()
Dsha256_glue.c64 unsigned int done = 0; in __sha256_sparc64_update() local
68 done = SHA256_BLOCK_SIZE - partial; in __sha256_sparc64_update()
69 memcpy(sctx->buf + partial, data, done); in __sha256_sparc64_update()
72 if (len - done >= SHA256_BLOCK_SIZE) { in __sha256_sparc64_update()
73 const unsigned int rounds = (len - done) / SHA256_BLOCK_SIZE; in __sha256_sparc64_update()
75 sha256_sparc64_transform(sctx->state, data + done, rounds); in __sha256_sparc64_update()
76 done += rounds * SHA256_BLOCK_SIZE; in __sha256_sparc64_update()
79 memcpy(sctx->buf, data + done, len - done); in __sha256_sparc64_update()
Dsha512_glue.c63 unsigned int done = 0; in __sha512_sparc64_update() local
68 done = SHA512_BLOCK_SIZE - partial; in __sha512_sparc64_update()
69 memcpy(sctx->buf + partial, data, done); in __sha512_sparc64_update()
72 if (len - done >= SHA512_BLOCK_SIZE) { in __sha512_sparc64_update()
73 const unsigned int rounds = (len - done) / SHA512_BLOCK_SIZE; in __sha512_sparc64_update()
75 sha512_sparc64_transform(sctx->state, data + done, rounds); in __sha512_sparc64_update()
76 done += rounds * SHA512_BLOCK_SIZE; in __sha512_sparc64_update()
79 memcpy(sctx->buf, data + done, len - done); in __sha512_sparc64_update()
/arch/powerpc/sysdev/
Dscom.c112 ssize_t done = 0; in scom_debug_read() local
131 if (!done) in scom_debug_read()
132 done = rc; in scom_debug_read()
137 done += 8; in scom_debug_read()
140 return done; in scom_debug_read()
149 ssize_t done = 0; in scom_debug_write() local
168 if (!done) in scom_debug_write()
169 done = rc; in scom_debug_write()
173 done += 8; in scom_debug_write()
176 return done; in scom_debug_write()
/arch/um/os-Linux/skas/
Dmem.c112 int done) in run_syscall_stub() argument
129 if (!done && ((((unsigned long) stack) & ~UM_KERN_PAGE_MASK) < in run_syscall_stub()
171 int phys_fd, unsigned long long offset, int done, void **data) in map() argument
179 data, done); in map()
185 int done, void **data) in unmap() argument
192 data, done); in unmap()
198 unsigned int prot, int done, void **data) in protect() argument
204 data, done); in protect()
/arch/mips/cavium-octeon/crypto/
Docteon-sha1.c96 unsigned int done; in __octeon_sha1_update() local
101 done = 0; in __octeon_sha1_update()
106 done = -partial; in __octeon_sha1_update()
108 done + SHA1_BLOCK_SIZE); in __octeon_sha1_update()
114 done += SHA1_BLOCK_SIZE; in __octeon_sha1_update()
115 src = data + done; in __octeon_sha1_update()
116 } while (done + SHA1_BLOCK_SIZE <= len); in __octeon_sha1_update()
120 memcpy(sctx->buffer + partial, src, len - done); in __octeon_sha1_update()
Docteon-sha256.c108 unsigned int done; in __octeon_sha256_update() local
113 done = 0; in __octeon_sha256_update()
118 done = -partial; in __octeon_sha256_update()
120 done + SHA256_BLOCK_SIZE); in __octeon_sha256_update()
126 done += SHA256_BLOCK_SIZE; in __octeon_sha256_update()
127 src = data + done; in __octeon_sha256_update()
128 } while (done + SHA256_BLOCK_SIZE <= len); in __octeon_sha256_update()
132 memcpy(sctx->buf + partial, src, len - done); in __octeon_sha256_update()
/arch/powerpc/kvm/
Dbook3s_pr_papr.c55 goto done; in kvmppc_h_pr_enter()
62 goto done; in kvmppc_h_pr_enter()
70 goto done; in kvmppc_h_pr_enter()
78 goto done; in kvmppc_h_pr_enter()
82 done: in kvmppc_h_pr_enter()
102 goto done; in kvmppc_h_pr_remove()
110 goto done; in kvmppc_h_pr_remove()
114 goto done; in kvmppc_h_pr_remove()
123 done: in kvmppc_h_pr_remove()
230 goto done; in kvmppc_h_pr_protect()
[all …]
/arch/powerpc/mm/
Dppc_mmu_32.c77 unsigned long tot, bl, done; in mmu_mapin_ram() local
96 done = (unsigned long)bat_addrs[2].limit - PAGE_OFFSET + 1; in mmu_mapin_ram()
97 if ((done < tot) && !bat_addrs[3].limit) { in mmu_mapin_ram()
99 tot -= done; in mmu_mapin_ram()
103 setbat(3, PAGE_OFFSET+done, done, bl, PAGE_KERNEL_X); in mmu_mapin_ram()
104 done = (unsigned long)bat_addrs[3].limit - PAGE_OFFSET + 1; in mmu_mapin_ram()
107 return done; in mmu_mapin_ram()
/arch/powerpc/platforms/pseries/
Dnvram.c49 int done; in pSeries_nvram_read() local
71 if ((rtas_call(nvram_fetch, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_read()
72 len) != 0) || len != done) { in pSeries_nvram_read()
93 int done; in pSeries_nvram_write() local
116 if ((rtas_call(nvram_store, 3, 2, &done, i, __pa(nvram_buf), in pSeries_nvram_write()
117 len) != 0) || len != done) { in pSeries_nvram_write()
/arch/arm/mach-imx/devices/
Ddevices.c39 goto done; in mxc_device_init()
43 done: in mxc_device_init()
/arch/um/kernel/skas/
Dclone.c40 goto done; in stub_clone_handler()
50 done: in stub_clone_handler()
/arch/x86/kernel/
Dtce_64.c118 goto done; in tce_table_setparms()
131 done: in tce_table_setparms()
150 goto done; in build_tce_table()
165 done: in build_tce_table()
/arch/s390/lib/
Duaccess.c354 size_t done, len, offset, len_str; in __strncpy_from_user() local
358 done = 0; in __strncpy_from_user()
361 len = min(size - done, PAGE_SIZE - offset); in __strncpy_from_user()
365 done += len_str; in __strncpy_from_user()
368 } while ((len_str == len) && (done < size)); in __strncpy_from_user()
369 return done; in __strncpy_from_user()
/arch/mn10300/mm/
Dcache-inv-icache.c96 goto done; in flush_icache_range()
106 goto done; in flush_icache_range()
126 done: in flush_icache_range()
Dcache-flush-icache.c120 goto done; in flush_icache_range()
131 goto done; in flush_icache_range()
152 done: in flush_icache_range()
Ddma-alloc.c37 goto done; in dma_alloc_coherent()
59 done: in dma_alloc_coherent()
/arch/x86/um/
Dstub_32.S18 jz done
45 done: label
Dstub_64.S18 jz done
45 done: label
/arch/powerpc/kernel/
Dreloc_32.S79 beq done
81 beq done
83 beq done
196 ble done
201 done: label
/arch/alpha/lib/
Dstrlen.S38 found: blbs $2, done # make aligned case fast
54 done: subq $0, $16, $0 label
/arch/x86/crypto/
Dglue_helper.c69 goto done; in __glue_ecb_crypt_128bit()
73 done: in __glue_ecb_crypt_128bit()
172 goto done; in __glue_cbc_decrypt_128bit()
180 goto done; in __glue_cbc_decrypt_128bit()
184 done: in __glue_cbc_decrypt_128bit()
266 goto done; in __glue_ctr_crypt_128bit()
270 done: in __glue_ctr_crypt_128bit()
334 goto done; in __glue_xts_crypt_128bit()
338 done: in __glue_xts_crypt_128bit()

12345678