/linux-master/lib/raid6/ |
H A D | neon.h | 3 void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 5 unsigned long bytes, void **ptrs); 6 void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 8 unsigned long bytes, void **ptrs); 9 void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 11 unsigned long bytes, void **ptrs); 12 void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 14 unsigned long bytes, void **ptrs); 15 void __raid6_2data_recov_neon(int bytes, uint8_t *p, uint8_t *q, uint8_t *dp, 19 void __raid6_datap_recov_neon(int bytes, uint8_ [all...] |
/linux-master/fs/bcachefs/ |
H A D | varint.c | 18 * Returns: size in bytes of the encoded integer - at most 9 bytes 23 unsigned bytes = DIV_ROUND_UP(bits, 7); local 26 if (likely(bytes < 9)) { 27 v <<= bytes; local 28 v |= ~(~0 << (bytes - 1)); 30 memcpy(out, &v_le, bytes); 33 bytes = 9; 37 return bytes; 45 * Returns: size in bytes o 50 unsigned bytes = likely(in < end) local 63 v >>= bytes; local 84 unsigned bytes = DIV_ROUND_UP(bits, 7); local 87 v <<= bytes; local 115 unsigned bytes = ffz(*in) + 1; local 121 v >>= bytes; local [all...] |
/linux-master/lib/ |
H A D | memweight.c | 9 * @bytes: the size of the area 11 size_t memweight(const void *ptr, size_t bytes) argument 17 for (; bytes > 0 && ((unsigned long)bitmap) % sizeof(long); 18 bytes--, bitmap++) 21 longs = bytes / sizeof(long); 26 bytes -= longs * sizeof(long); 34 for (; bytes > 0; bytes--, bitmap++)
|
/linux-master/drivers/md/ |
H A D | dm-io-rewind.c | 14 unsigned int bytes) 18 iter->bi_size += bytes; 19 if (bytes <= iter->bi_bvec_done) { 20 iter->bi_bvec_done -= bytes; 24 bytes -= iter->bi_bvec_done; 27 while (idx >= 0 && bytes && bytes > bv[idx].bv_len) { 28 bytes -= bv[idx].bv_len; 32 if (WARN_ONCE(idx < 0 && bytes, 34 iter->bi_size -= bytes; 12 dm_bvec_iter_rewind(const struct bio_vec *bv, struct bvec_iter *iter, unsigned int bytes) argument 60 unsigned int bytes = bio_integrity_bytes(bi, bytes_done >> 9); local 94 dm_bio_crypt_rewind(struct bio *bio, unsigned int bytes) argument 104 dm_bio_crypt_rewind(struct bio *bio, unsigned int bytes) argument 110 dm_bio_rewind_iter(const struct bio *bio, struct bvec_iter *iter, unsigned int bytes) argument 132 dm_bio_rewind(struct bio *bio, unsigned int bytes) argument [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_compat.h | 32 However on a big-endian host, copy 4 bytes at a time, 40 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) argument 50 /* write input bytes, 4 bytes at a time */ 51 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) { 62 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument 72 /* read input bytes, 4 bytes at a time */ 73 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) { 85 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) argument 92 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) argument [all...] |
/linux-master/arch/s390/lib/ |
H A D | xor.c | 14 static void xor_xc_2(unsigned long bytes, unsigned long * __restrict p1, argument 32 : : "d" (bytes), "a" (p1), "a" (p2) 36 static void xor_xc_3(unsigned long bytes, unsigned long * __restrict p1, argument 59 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) 63 static void xor_xc_4(unsigned long bytes, unsigned long * __restrict p1, argument 91 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) 95 static void xor_xc_5(unsigned long bytes, unsigned long * __restrict p1, argument 128 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4),
|
/linux-master/arch/powerpc/lib/ |
H A D | xor_vmx.h | 9 void __xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1, 11 void __xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1, 14 void __xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1, 18 void __xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1,
|
/linux-master/arch/loongarch/lib/ |
H A D | xor_simd.h | 13 void __xor_lsx_2(unsigned long bytes, unsigned long * __restrict p1, 15 void __xor_lsx_3(unsigned long bytes, unsigned long * __restrict p1, 17 void __xor_lsx_4(unsigned long bytes, unsigned long * __restrict p1, 20 void __xor_lsx_5(unsigned long bytes, unsigned long * __restrict p1, 26 void __xor_lasx_2(unsigned long bytes, unsigned long * __restrict p1, 28 void __xor_lasx_3(unsigned long bytes, unsigned long * __restrict p1, 30 void __xor_lasx_4(unsigned long bytes, unsigned long * __restrict p1, 33 void __xor_lasx_5(unsigned long bytes, unsigned long * __restrict p1,
|
/linux-master/arch/loongarch/include/asm/ |
H A D | xor_simd.h | 9 void xor_lsx_2(unsigned long bytes, unsigned long * __restrict p1, 11 void xor_lsx_3(unsigned long bytes, unsigned long * __restrict p1, 13 void xor_lsx_4(unsigned long bytes, unsigned long * __restrict p1, 16 void xor_lsx_5(unsigned long bytes, unsigned long * __restrict p1, 22 void xor_lasx_2(unsigned long bytes, unsigned long * __restrict p1, 24 void xor_lasx_3(unsigned long bytes, unsigned long * __restrict p1, 26 void xor_lasx_4(unsigned long bytes, unsigned long * __restrict p1, 29 void xor_lasx_5(unsigned long bytes, unsigned long * __restrict p1,
|
/linux-master/tools/testing/selftests/kselftest/ |
H A D | prefix.pl | 16 my $bytes = sysread(STDIN, $char, 1); 17 exit 0 if ($bytes == 0);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | xor_altivec.h | 6 void xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1, 8 void xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1, 11 void xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1, 15 void xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1,
|
H A D | cacheflush.h | 73 unsigned long bytes = l1_dcache_bytes(); local 74 void *addr = (void *)(start & ~(bytes - 1)); 75 unsigned long size = stop - (unsigned long)addr + (bytes - 1); 81 for (i = 0; i < size >> shift; i++, addr += bytes) 95 unsigned long bytes = l1_dcache_bytes(); local 96 void *addr = (void *)(start & ~(bytes - 1)); 97 unsigned long size = stop - (unsigned long)addr + (bytes - 1); 100 for (i = 0; i < size >> shift; i++, addr += bytes) 114 unsigned long bytes = l1_dcache_bytes(); local 115 void *addr = (void *)(start & ~(bytes [all...] |
/linux-master/tools/include/tools/ |
H A D | libc_compat.h | 13 size_t bytes; local 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) 17 return realloc(ptr, bytes);
|
/linux-master/drivers/staging/media/atomisp/include/hmm/ |
H A D | hmm.h | 39 ia_css_ptr hmm_alloc(size_t bytes); 40 ia_css_ptr hmm_create_from_vmalloc_buf(size_t bytes, void *vmalloc_addr); 43 int hmm_load(ia_css_ptr virt, void *data, unsigned int bytes); 44 int hmm_store(ia_css_ptr virt, const void *data, unsigned int bytes); 45 int hmm_set(ia_css_ptr virt, int c, unsigned int bytes); 46 int hmm_flush(ia_css_ptr virt, unsigned int bytes);
|
/linux-master/include/sound/ |
H A D | pcm-indirect.h | 22 unsigned int sw_io; /* Current software pointer in bytes */ 28 struct snd_pcm_indirect *rec, size_t bytes); 55 unsigned int bytes = qsize - rec->hw_ready; local 56 if (rec->sw_ready < (int)bytes) 57 bytes = rec->sw_ready; 58 if (hw_to_end < bytes) 59 bytes = hw_to_end; 60 if (sw_to_end < bytes) 61 bytes = sw_to_end; 62 if (! bytes) 85 int bytes = ptr - rec->hw_io; local 128 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 159 int bytes = ptr - rec->hw_io; local [all...] |
/linux-master/arch/csky/mm/ |
H A D | syscache.c | 11 unsigned long, bytes, 18 (unsigned long)addr + bytes); 25 (unsigned long)addr + bytes);
|
/linux-master/include/linux/ |
H A D | task_io_accounting_ops.h | 11 static inline void task_io_account_read(size_t bytes) argument 13 current->ioac.read_bytes += bytes; 17 * We approximate number of blocks, because we account bytes only. 18 * A 'block' is 512 bytes 25 static inline void task_io_account_write(size_t bytes) argument 27 current->ioac.write_bytes += bytes; 31 * We approximate number of blocks, because we account bytes only. 32 * A 'block' is 512 bytes 39 static inline void task_io_account_cancelled_write(size_t bytes) argument 41 current->ioac.cancelled_write_bytes += bytes; 59 task_io_account_read(size_t bytes) argument 68 task_io_account_write(size_t bytes) argument 77 task_io_account_cancelled_write(size_t bytes) argument [all...] |
/linux-master/fs/qnx4/ |
H A D | bitmap.c | 31 int bytes = min(size - total, QNX4_BLOCK_SIZE); local 37 total_free += bytes * BITS_PER_BYTE - 38 memweight(bh->b_data, bytes); 40 total += bytes;
|
/linux-master/drivers/nvmem/ |
H A D | stm32-bsec-optee-ta.h | 33 * @bytes: number of bytes to read 39 void *buf, size_t bytes); 47 * @bytes: number of bytes to write 53 unsigned int offset, void *buf, size_t bytes); 68 size_t bytes) 76 size_t bytes) 66 stm32_bsec_optee_ta_read(struct tee_context *ctx, unsigned int offset, void *buf, size_t bytes) argument 73 stm32_bsec_optee_ta_write(struct tee_context *ctx, unsigned int lower, unsigned int offset, void *buf, size_t bytes) argument
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 36 ssize_t bytes = 0; local 70 bytes += sprintf(buf + bytes, 73 bytes += sprintf(buf + bytes, 93 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, 96 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, 100 return bytes; 107 ssize_t bytes = 0; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_eeprom.h | 31 u16 bytes); 35 u16 bytes);
|
/linux-master/arch/sparc/include/asm/ |
H A D | xor_64.h | 15 void xor_vis_2(unsigned long bytes, unsigned long * __restrict p1, 17 void xor_vis_3(unsigned long bytes, unsigned long * __restrict p1, 20 void xor_vis_4(unsigned long bytes, unsigned long * __restrict p1, 24 void xor_vis_5(unsigned long bytes, unsigned long * __restrict p1, 40 void xor_niagara_2(unsigned long bytes, unsigned long * __restrict p1, 42 void xor_niagara_3(unsigned long bytes, unsigned long * __restrict p1, 45 void xor_niagara_4(unsigned long bytes, unsigned long * __restrict p1, 49 void xor_niagara_5(unsigned long bytes, unsigned long * __restrict p1,
|
H A D | xor_32.h | 16 sparc_2(unsigned long bytes, unsigned long * __restrict p1, argument 19 int lines = bytes / (sizeof (long)) / 8; 54 sparc_3(unsigned long bytes, unsigned long * __restrict p1, argument 58 int lines = bytes / (sizeof (long)) / 8; 106 sparc_4(unsigned long bytes, unsigned long * __restrict p1, argument 111 int lines = bytes / (sizeof (long)) / 8; 172 sparc_5(unsigned long bytes, unsigned long * __restrict p1, argument 178 int lines = bytes / (sizeof (long)) / 8;
|
/linux-master/arch/arm64/include/asm/ |
H A D | xor.h | 19 xor_neon_2(unsigned long bytes, unsigned long * __restrict p1, argument 23 xor_block_inner_neon.do_2(bytes, p1, p2); 28 xor_neon_3(unsigned long bytes, unsigned long * __restrict p1, argument 33 xor_block_inner_neon.do_3(bytes, p1, p2, p3); 38 xor_neon_4(unsigned long bytes, unsigned long * __restrict p1, argument 44 xor_block_inner_neon.do_4(bytes, p1, p2, p3, p4); 49 xor_neon_5(unsigned long bytes, unsigned long * __restrict p1, argument 56 xor_block_inner_neon.do_5(bytes, p1, p2, p3, p4, p5);
|
/linux-master/arch/alpha/include/asm/ |
H A D | xor.h | 9 xor_alpha_2(unsigned long bytes, unsigned long * __restrict p1, 12 xor_alpha_3(unsigned long bytes, unsigned long * __restrict p1, 16 xor_alpha_4(unsigned long bytes, unsigned long * __restrict p1, 21 xor_alpha_5(unsigned long bytes, unsigned long * __restrict p1, 28 xor_alpha_prefetch_2(unsigned long bytes, unsigned long * __restrict p1, 31 xor_alpha_prefetch_3(unsigned long bytes, unsigned long * __restrict p1, 35 xor_alpha_prefetch_4(unsigned long bytes, unsigned long * __restrict p1, 40 xor_alpha_prefetch_5(unsigned long bytes, unsigned long * __restrict p1,
|