Searched refs:bytes (Results 1 - 25 of 1490) sorted by relevance

1234567891011>>

/linux-master/lib/
H A Dmemweight.c9 * @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/scsi/lpfc/
H A Dlpfc_compat.h32 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 Dxor.c14 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 Dxor_vmx.h9 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,
H A Dxor_vmx_glue.c15 void xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1, argument
20 __xor_altivec_2(bytes, p1, p2);
26 void xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1, argument
32 __xor_altivec_3(bytes, p1, p2, p3);
38 void xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1, argument
45 __xor_altivec_4(bytes, p1, p2, p3, p4);
51 void xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1, argument
59 __xor_altivec_5(bytes, p1, p2, p3, p4, p5);
/linux-master/tools/testing/selftests/kselftest/
H A Dprefix.pl16 my $bytes = sysread(STDIN, $char, 1);
17 exit 0 if ($bytes == 0);
/linux-master/arch/powerpc/include/asm/
H A Dxor_altivec.h6 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 Dcacheflush.h67 unsigned long bytes = l1_dcache_bytes(); local
68 void *addr = (void *)(start & ~(bytes - 1));
69 unsigned long size = stop - (unsigned long)addr + (bytes - 1);
75 for (i = 0; i < size >> shift; i++, addr += bytes)
89 unsigned long bytes = l1_dcache_bytes(); local
90 void *addr = (void *)(start & ~(bytes - 1));
91 unsigned long size = stop - (unsigned long)addr + (bytes - 1);
94 for (i = 0; i < size >> shift; i++, addr += bytes)
108 unsigned long bytes = l1_dcache_bytes(); local
109 void *addr = (void *)(start & ~(bytes
[all...]
/linux-master/tools/include/tools/
H A Dlibc_compat.h13 size_t bytes; local
15 if (unlikely(check_mul_overflow(nmemb, size, &bytes)))
17 return realloc(ptr, bytes);
/linux-master/include/sound/
H A Dpcm-indirect.h22 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
123 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local
154 int bytes = ptr - rec->hw_io; local
[all...]
/linux-master/arch/csky/mm/
H A Dsyscache.c11 unsigned long, bytes,
18 (unsigned long)addr + bytes);
25 (unsigned long)addr + bytes);
/linux-master/include/linux/
H A Dtask_io_accounting_ops.h11 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 Dbitmap.c31 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/arch/ia64/include/asm/
H A Dxor.h7 extern void xor_ia64_2(unsigned long bytes, unsigned long * __restrict p1,
9 extern void xor_ia64_3(unsigned long bytes, unsigned long * __restrict p1,
12 extern void xor_ia64_4(unsigned long bytes, unsigned long * __restrict p1,
16 extern void xor_ia64_5(unsigned long bytes, unsigned long * __restrict p1,
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c62 ssize_t bytes = 0; local
96 bytes += sprintf(buf + bytes,
99 bytes += sprintf(buf + bytes,
119 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr,
122 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr,
126 return bytes;
133 ssize_t bytes = 0; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_eeprom.h31 u16 bytes);
35 u16 bytes);
/linux-master/arch/sparc/include/asm/
H A Dxor_64.h15 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 Dxor_32.h16 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 Dxor.h19 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 Dxor.h9 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,
/linux-master/lib/crypto/
H A Dlibchacha.c16 unsigned int bytes, int nrounds)
21 while (bytes >= CHACHA_BLOCK_SIZE) {
24 bytes -= CHACHA_BLOCK_SIZE;
28 if (bytes) {
30 crypto_xor_cpy(dst, src, stream, bytes);
15 chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) argument
/linux-master/arch/x86/crypto/
H A Dchacha_glue.c49 unsigned int bytes, int nrounds)
53 while (bytes >= CHACHA_BLOCK_SIZE * 8) {
54 chacha_8block_xor_avx512vl(state, dst, src, bytes,
56 bytes -= CHACHA_BLOCK_SIZE * 8;
61 if (bytes > CHACHA_BLOCK_SIZE * 4) {
62 chacha_8block_xor_avx512vl(state, dst, src, bytes,
64 state[12] += chacha_advance(bytes, 8);
67 if (bytes > CHACHA_BLOCK_SIZE * 2) {
68 chacha_4block_xor_avx512vl(state, dst, src, bytes,
70 state[12] += chacha_advance(bytes,
48 chacha_dosimd(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) argument
142 chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) argument
[all...]
/linux-master/drivers/rtc/
H A Drtc-dm355evm.c23 * counter bytes atomically: the count may increment in the middle
29 u8 bytes[4]; member in union:evm_time
41 * Read LSB(0) to MSB(3) bytes. Defend against the counter
48 if (tries && time.bytes[0] == status)
50 time.bytes[0] = status;
55 if (tries && time.bytes[1] == status)
57 time.bytes[1] = status;
62 if (tries && time.bytes[2] == status)
64 time.bytes[2] = status;
69 if (tries && time.bytes[
[all...]
/linux-master/tools/include/linux/
H A Doverflow.h79 * Returns: number of bytes needed to represent the array or SIZE_MAX on
84 size_t bytes; local
86 if (check_mul_overflow(a, b, &bytes))
89 return bytes;
101 * Returns: number of bytes needed to represent the array or SIZE_MAX on
106 size_t bytes; local
108 if (check_mul_overflow(a, b, &bytes))
110 if (check_mul_overflow(bytes, c, &bytes))
113 return bytes;
118 size_t bytes; local
[all...]
/linux-master/fs/btrfs/
H A Dspace-info.h11 u64 total_bytes; /* total bytes in the space,
13 u64 bytes_used; /* total bytes used,
15 u64 bytes_pinned; /* total bytes pinned, will be freed when the
17 u64 bytes_reserved; /* total bytes the allocator has reserved for
19 u64 bytes_may_use; /* number of bytes that may be used for
21 u64 bytes_readonly; /* total bytes that are read only */
22 u64 bytes_zone_unusable; /* total bytes that are unusable until
48 u64 disk_used; /* total bytes used on disk */
49 u64 disk_total; /* total bytes on disk, takes mirrors into
81 u64 bytes; member in struct:reserve_ticket
[all...]

Completed in 203 milliseconds

1234567891011>>