/lib/ |
H A D | memweight.c | 8 * @bytes: the size of the area 10 size_t memweight(const void *ptr, size_t bytes) argument 16 for (; bytes > 0 && ((unsigned long)bitmap) % sizeof(long); 17 bytes--, bitmap++) 20 longs = bytes / sizeof(long); 25 bytes -= longs * sizeof(long); 33 for (; bytes > 0; bytes--, bitmap++)
|
H A D | crc32.c | 115 /* And the last few bytes */ 228 * crc32_generic_shift - Append len 0 bytes to crc, in logarithmic time 230 * @len: The number of bytes. @crc is multiplied by x^(8*@len) 236 * as appending len bytes of zero to the data), in time proportional 346 /* 4096 random bytes */ 981 int bytes = 0; local 992 bytes += 2*test[i].length; 1021 pr_info("crc32c: self tests passed, processed %d bytes in %lld nsec\n", 1022 bytes, nsec); 1067 int bytes local [all...] |
H A D | random32.c | 91 * prandom_bytes_state - get the requested number of pseudo-random bytes 94 * @buf: where to copy the pseudo-random bytes to 95 * @bytes: the requested number of bytes 100 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) argument 104 while (bytes >= sizeof(u32)) { 107 bytes -= sizeof(u32); 110 if (bytes > 0) { 114 bytes--; 116 } while (bytes > 126 prandom_bytes(void *buf, size_t bytes) argument [all...] |
H A D | string.c | 107 * @count: The maximum number of bytes to copy 110 * @count bytes. 182 * @count: The maximum numbers of bytes to copy 262 * @count: The maximum number of bytes to compare 411 * @count: The maximum number of bytes to search 790 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) argument 792 while (bytes) { 796 bytes--; 805 * @bytes: The size of the area. 810 void *memchr_inv(const void *start, int c, size_t bytes) argument [all...] |
H A D | swiotlb.c | 145 unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT; local 159 bytes >> 20, vstart, vend - 1); 165 unsigned long i, bytes; local 167 bytes = nslabs << IO_TLB_SHIFT; 171 io_tlb_end = io_tlb_start + bytes; 216 unsigned long bytes; local 223 bytes = io_tlb_nslabs << IO_TLB_SHIFT; 226 vstart = memblock_virt_alloc_low_nopanic(PAGE_ALIGN(bytes), PAGE_SIZE); 245 unsigned long bytes, req_nslabs = io_tlb_nslabs; local 260 bytes 288 unsigned long i, bytes; local [all...] |
/lib/raid6/ |
H A D | mmx.c | 40 static void raid6_mmx1_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 55 for ( d = 0 ; d < bytes ; d += 8 ) { 87 static void raid6_mmx2_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 103 for ( d = 0 ; d < bytes ; d += 16 ) {
|
H A D | recov_avx2.c | 22 static void raid6_2data_recov_avx2(int disks, size_t bytes, int faila, argument 43 raid6_call.gen_syndrome(disks, bytes, ptrs); 61 while (bytes) { 134 bytes -= 64; 181 bytes -= 32; 192 static void raid6_datap_recov_avx2(int disks, size_t bytes, int faila, argument 208 raid6_call.gen_syndrome(disks, bytes, ptrs); 221 while (bytes) { 269 bytes -= 64; 299 bytes [all...] |
H A D | recov_ssse3.c | 20 static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, argument 43 raid6_call.gen_syndrome(disks, bytes, ptrs); 67 while (bytes) { 136 bytes -= 32; 183 bytes -= 16; 195 static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, argument 213 raid6_call.gen_syndrome(disks, bytes, ptrs); 226 while (bytes) { 281 bytes -= 32; 312 bytes [all...] |
H A D | sse1.c | 45 static void raid6_sse11_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 60 for ( d = 0 ; d < bytes ; d += 8 ) { 103 static void raid6_sse12_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 119 /* We uniformly assume a single prefetch covers at least 16 bytes */ 120 for ( d = 0 ; d < bytes ; d += 16 ) {
|
H A D | avx2.c | 42 static void raid6_avx21_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 57 for (d = 0; d < bytes; d += 32) { 100 static void raid6_avx22_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 115 /* We uniformly assume a single prefetch covers at least 32 bytes */ 116 for (d = 0; d < bytes; d += 64) { 163 static void raid6_avx24_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 186 for (d = 0; d < bytes; d += 128) {
|
H A D | recov.c | 25 static void raid6_2data_recov_intx1(int disks, size_t bytes, int faila, argument 46 raid6_call.gen_syndrome(disks, bytes, ptrs); 59 while ( bytes-- ) { 69 static void raid6_datap_recov_intx1(int disks, size_t bytes, int faila, argument 84 raid6_call.gen_syndrome(disks, bytes, ptrs); 94 while ( bytes-- ) { 113 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) argument 124 raid6_call.gen_syndrome(disks, bytes, ptrs); 133 raid6_datap_recov(disks, bytes, faila, ptrs); 136 raid6_2data_recov(disks, bytes, fail [all...] |
H A D | sse2.c | 41 static void raid6_sse21_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 56 for ( d = 0 ; d < bytes ; d += 16 ) { 101 static void raid6_sse22_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 117 /* We uniformly assume a single prefetch covers at least 32 bytes */ 118 for ( d = 0 ; d < bytes ; d += 32 ) { 165 static void raid6_sse24_gen_syndrome(int disks, size_t bytes, void **ptrs) argument 191 for ( d = 0 ; d < bytes ; d += 64 ) {
|