/arch/s390/lib/ |
D | uaccess_pt.c | 150 unsigned long offset, done, size, kaddr; in __user_copy_pt() local 153 done = 0; in __user_copy_pt() 162 size = min(n - done, PAGE_SIZE - offset); in __user_copy_pt() 165 from = kptr + done; in __user_copy_pt() 168 to = kptr + done; in __user_copy_pt() 171 done += size; in __user_copy_pt() 173 } while (done < n); in __user_copy_pt() 175 return n - done; in __user_copy_pt() 179 return n - done; in __user_copy_pt() 231 long done, size, ret; in clear_user_pt() local [all …]
|
D | uaccess_mvcos.c | 165 size_t done, len, offset, len_str; in strnlen_user_mvcos() local 168 done = 0; in strnlen_user_mvcos() 172 len = min(count - done, len); in strnlen_user_mvcos() 176 done += len_str; in strnlen_user_mvcos() 178 } while ((len_str == len) && (done < count)); in strnlen_user_mvcos() 179 return done + 1; in strnlen_user_mvcos() 185 size_t done, len, offset, len_str; in strncpy_from_user_mvcos() local 189 done = 0; in strncpy_from_user_mvcos() 192 len = min(count - done, PAGE_SIZE - offset); in strncpy_from_user_mvcos() 196 done += len_str; in strncpy_from_user_mvcos() [all …]
|
D | uaccess_std.c | 211 size_t done, len, offset, len_str; in strncpy_from_user_std() local 215 done = 0; in strncpy_from_user_std() 218 len = min(count - done, PAGE_SIZE - offset); in strncpy_from_user_std() 222 done += len_str; in strncpy_from_user_std() 225 } while ((len_str == len) && (done < count)); in strncpy_from_user_std() 226 return done; in strncpy_from_user_std()
|
/arch/powerpc/platforms/chrp/ |
D | nvram.c | 28 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/arm/crypto/ |
D | sha1_glue.c | 48 unsigned int done = 0; in __sha1_update() local 53 done = SHA1_BLOCK_SIZE - partial; in __sha1_update() 54 memcpy(sctx->buffer + partial, data, done); in __sha1_update() 58 if (len - done >= SHA1_BLOCK_SIZE) { in __sha1_update() 59 const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; in __sha1_update() 60 sha1_block_data_order(sctx->state, data + done, rounds); in __sha1_update() 61 done += rounds * SHA1_BLOCK_SIZE; in __sha1_update() 64 memcpy(sctx->buffer, data + done, len - done); in __sha1_update()
|
D | sha1_neon_glue.c | 53 unsigned int done = 0; in __sha1_neon_update() local 58 done = SHA1_BLOCK_SIZE - partial; in __sha1_neon_update() 59 memcpy(sctx->buffer + partial, data, done); in __sha1_neon_update() 63 if (len - done >= SHA1_BLOCK_SIZE) { in __sha1_neon_update() 64 const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; in __sha1_neon_update() 66 sha1_transform_neon(sctx->state, data + done, rounds); in __sha1_neon_update() 67 done += rounds * SHA1_BLOCK_SIZE; in __sha1_neon_update() 70 memcpy(sctx->buffer, data + done, len - done); in __sha1_neon_update()
|
D | sha256_neon_glue.c | 35 unsigned int done = 0; in __sha256_neon_update() local 40 done = SHA256_BLOCK_SIZE - partial; in __sha256_neon_update() 41 memcpy(sctx->buf + partial, data, done); in __sha256_neon_update() 45 if (len - done >= SHA256_BLOCK_SIZE) { in __sha256_neon_update() 46 const unsigned int rounds = (len - done) / SHA256_BLOCK_SIZE; in __sha256_neon_update() 48 sha256_block_data_order_neon(sctx->state, data + done, rounds); in __sha256_neon_update() 49 done += rounds * SHA256_BLOCK_SIZE; in __sha256_neon_update() 52 memcpy(sctx->buf, data + done, len - done); in __sha256_neon_update()
|
D | sha256_glue.c | 74 unsigned int done = 0; in __sha256_update() local 79 done = SHA256_BLOCK_SIZE - partial; in __sha256_update() 80 memcpy(sctx->buf + partial, data, done); in __sha256_update() 84 if (len - done >= SHA256_BLOCK_SIZE) { in __sha256_update() 85 const unsigned int rounds = (len - done) / SHA256_BLOCK_SIZE; in __sha256_update() 87 sha256_block_data_order(sctx->state, data + done, rounds); in __sha256_update() 88 done += rounds * SHA256_BLOCK_SIZE; in __sha256_update() 91 memcpy(sctx->buf, data + done, len - done); in __sha256_update()
|
D | sha512_neon_glue.c | 100 unsigned int done = 0; in __sha512_neon_update() local 107 done = SHA512_BLOCK_SIZE - partial; in __sha512_neon_update() 108 memcpy(sctx->buf + partial, data, done); in __sha512_neon_update() 112 if (len - done >= SHA512_BLOCK_SIZE) { in __sha512_neon_update() 113 const unsigned int rounds = (len - done) / SHA512_BLOCK_SIZE; in __sha512_neon_update() 115 sha512_transform_neon(sctx->state, data + done, sha512_k, in __sha512_neon_update() 118 done += rounds * SHA512_BLOCK_SIZE; in __sha512_neon_update() 121 memcpy(sctx->buf, data + done, len - done); in __sha512_neon_update()
|
/arch/powerpc/crypto/ |
D | sha1.c | 46 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/ |
D | sha1_glue.c | 43 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()
|
D | md5_glue.c | 48 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()
|
D | sha512_glue.c | 63 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()
|
D | sha256_glue.c | 64 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()
|
/arch/x86/crypto/ |
D | sha1_ssse3_glue.c | 61 unsigned int done = 0; in __sha1_ssse3_update() local 66 done = SHA1_BLOCK_SIZE - partial; in __sha1_ssse3_update() 67 memcpy(sctx->buffer + partial, data, done); in __sha1_ssse3_update() 71 if (len - done >= SHA1_BLOCK_SIZE) { in __sha1_ssse3_update() 72 const unsigned int rounds = (len - done) / SHA1_BLOCK_SIZE; in __sha1_ssse3_update() 74 sha1_transform_asm(sctx->state, data + done, rounds); in __sha1_ssse3_update() 75 done += rounds * SHA1_BLOCK_SIZE; in __sha1_ssse3_update() 78 memcpy(sctx->buffer, data + done, len - done); in __sha1_ssse3_update()
|
D | sha512_ssse3_glue.c | 79 unsigned int done = 0; in __sha512_ssse3_update() local 86 done = SHA512_BLOCK_SIZE - partial; in __sha512_ssse3_update() 87 memcpy(sctx->buf + partial, data, done); in __sha512_ssse3_update() 91 if (len - done >= SHA512_BLOCK_SIZE) { in __sha512_ssse3_update() 92 const unsigned int rounds = (len - done) / SHA512_BLOCK_SIZE; in __sha512_ssse3_update() 94 sha512_transform_asm(data + done, sctx->state, (u64) rounds); in __sha512_ssse3_update() 96 done += rounds * SHA512_BLOCK_SIZE; in __sha512_ssse3_update() 99 memcpy(sctx->buf, data + done, len - done); in __sha512_ssse3_update()
|
D | sha256_ssse3_glue.c | 80 unsigned int done = 0; in __sha256_ssse3_update() local 85 done = SHA256_BLOCK_SIZE - partial; in __sha256_ssse3_update() 86 memcpy(sctx->buf + partial, data, done); in __sha256_ssse3_update() 90 if (len - done >= SHA256_BLOCK_SIZE) { in __sha256_ssse3_update() 91 const unsigned int rounds = (len - done) / SHA256_BLOCK_SIZE; in __sha256_ssse3_update() 93 sha256_transform_asm(data + done, sctx->state, (u64) rounds); in __sha256_ssse3_update() 95 done += rounds * SHA256_BLOCK_SIZE; in __sha256_ssse3_update() 98 memcpy(sctx->buf, data + done, len - done); in __sha256_ssse3_update()
|
/arch/powerpc/mm/ |
D | ppc_mmu_32.c | 77 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/um/os-Linux/skas/ |
D | mem.c | 119 int done) in run_syscall_stub() argument 136 if (!done && ((((unsigned long) stack) & ~UM_KERN_PAGE_MASK) < in run_syscall_stub() 178 int phys_fd, unsigned long long offset, int done, void **data) in map() argument 211 data, done); in map() 218 int done, void **data) in unmap() argument 245 data, done); in unmap() 252 unsigned int prot, int done, void **data) in protect() argument 279 data, done); in protect()
|
/arch/arm/mach-imx/devices/ |
D | devices.c | 41 goto done; in mxc_device_init() 45 done: in mxc_device_init()
|
/arch/x86/kernel/ |
D | tce_64.c | 118 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/um/kernel/skas/ |
D | clone.c | 44 goto done; in stub_clone_handler() 54 done: in stub_clone_handler()
|
/arch/mn10300/mm/ |
D | cache-inv-icache.c | 96 goto done; in flush_icache_range() 106 goto done; in flush_icache_range() 126 done: in flush_icache_range()
|
/arch/x86/um/ |
D | stub_32.S | 19 jz done 46 done: label
|
/arch/arm/mach-imx/ |
D | cpuidle-imx6q.c | 34 goto done; in imx6q_enter_wait() 39 done: in imx6q_enter_wait()
|