Searched refs:bytes (Results 1 - 200 of 6112) sorted by relevance

1234567891011>>

/linux-4.1.27/arch/mips/mm/
H A Dpage-funcs.S25 * R4000 128 bytes S-cache: 0x058 bytes
26 * R4600 v1.7: 0x05c bytes
27 * R4600 v2.0: 0x060 bytes
28 * With prefetching, 16 word strides 0x120 bytes
40 * R4000 128 bytes S-cache: 0x11c bytes
41 * R4600 v1.7: 0x080 bytes
42 * R4600 v2.0: 0x07c bytes
43 * With prefetching, 16 word strides 0x540 bytes
/linux-4.1.27/include/sound/
H A Dpcm-indirect.h35 unsigned int sw_io; /* Current software pointer in bytes */
41 struct snd_pcm_indirect *rec, size_t bytes);
66 unsigned int bytes = qsize - rec->hw_ready; snd_pcm_indirect_playback_transfer() local
67 if (rec->sw_ready < (int)bytes) snd_pcm_indirect_playback_transfer()
68 bytes = rec->sw_ready; snd_pcm_indirect_playback_transfer()
69 if (hw_to_end < bytes) snd_pcm_indirect_playback_transfer()
70 bytes = hw_to_end; snd_pcm_indirect_playback_transfer()
71 if (sw_to_end < bytes) snd_pcm_indirect_playback_transfer()
72 bytes = sw_to_end; snd_pcm_indirect_playback_transfer()
73 if (! bytes) snd_pcm_indirect_playback_transfer()
75 copy(substream, rec, bytes); snd_pcm_indirect_playback_transfer()
76 rec->hw_data += bytes; snd_pcm_indirect_playback_transfer()
79 rec->sw_data += bytes; snd_pcm_indirect_playback_transfer()
82 rec->hw_ready += bytes; snd_pcm_indirect_playback_transfer()
83 rec->sw_ready -= bytes; snd_pcm_indirect_playback_transfer()
95 int bytes = ptr - rec->hw_io; snd_pcm_indirect_playback_pointer() local
96 if (bytes < 0) snd_pcm_indirect_playback_pointer()
97 bytes += rec->hw_buffer_size; snd_pcm_indirect_playback_pointer()
99 rec->hw_ready -= bytes; snd_pcm_indirect_playback_pointer()
100 rec->sw_io += bytes; snd_pcm_indirect_playback_pointer()
131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; snd_pcm_indirect_capture_transfer() local
132 if (rec->hw_ready < (int)bytes) snd_pcm_indirect_capture_transfer()
133 bytes = rec->hw_ready; snd_pcm_indirect_capture_transfer()
134 if (hw_to_end < bytes) snd_pcm_indirect_capture_transfer()
135 bytes = hw_to_end; snd_pcm_indirect_capture_transfer()
136 if (sw_to_end < bytes) snd_pcm_indirect_capture_transfer()
137 bytes = sw_to_end; snd_pcm_indirect_capture_transfer()
138 if (! bytes) snd_pcm_indirect_capture_transfer()
140 copy(substream, rec, bytes); snd_pcm_indirect_capture_transfer()
141 rec->hw_data += bytes; snd_pcm_indirect_capture_transfer()
144 rec->sw_data += bytes; snd_pcm_indirect_capture_transfer()
147 rec->hw_ready -= bytes; snd_pcm_indirect_capture_transfer()
148 rec->sw_ready += bytes; snd_pcm_indirect_capture_transfer()
161 int bytes = ptr - rec->hw_io; snd_pcm_indirect_capture_pointer() local
162 if (bytes < 0) snd_pcm_indirect_capture_pointer()
163 bytes += rec->hw_buffer_size; snd_pcm_indirect_capture_pointer()
165 rec->hw_ready += bytes; snd_pcm_indirect_capture_pointer()
169 rec->sw_io += bytes; snd_pcm_indirect_capture_pointer()
/linux-4.1.27/arch/x86/include/uapi/asm/
H A Da.out.h7 unsigned a_text; /* length of text, in bytes */
8 unsigned a_data; /* length of data, in bytes */
9 unsigned a_bss; /* length of uninitialized data area for file, in bytes */
10 unsigned a_syms; /* length of symbol table data in file, in bytes */
12 unsigned a_trsize; /* length of relocation info for text, in bytes */
13 unsigned a_drsize; /* length of relocation info for data, in bytes */
H A Dstatfs.h6 * add padding at the end to bring it to a multiple of 8 bytes, but
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Da.out.h7 unsigned a_text; /* length of text, in bytes */
8 unsigned a_data; /* length of data, in bytes */
9 unsigned a_bss; /* length of uninitialized data area for file, in bytes */
10 unsigned a_syms; /* length of symbol table data in file, in bytes */
12 unsigned a_trsize; /* length of relocation info for text, in bytes */
13 unsigned a_drsize; /* length of relocation info for data, in bytes */
/linux-4.1.27/include/linux/
H A Dtask_io_accounting_ops.h10 static inline void task_io_account_read(size_t bytes) task_io_account_read() argument
12 current->ioac.read_bytes += bytes; task_io_account_read()
16 * We approximate number of blocks, because we account bytes only.
17 * A 'block' is 512 bytes
24 static inline void task_io_account_write(size_t bytes) task_io_account_write() argument
26 current->ioac.write_bytes += bytes; task_io_account_write()
30 * We approximate number of blocks, because we account bytes only.
31 * A 'block' is 512 bytes
38 static inline void task_io_account_cancelled_write(size_t bytes) task_io_account_cancelled_write() argument
40 current->ioac.cancelled_write_bytes += bytes; task_io_account_cancelled_write()
58 static inline void task_io_account_read(size_t bytes) task_io_account_read() argument
67 static inline void task_io_account_write(size_t bytes) task_io_account_write() argument
76 static inline void task_io_account_cancelled_write(size_t bytes) task_io_account_cancelled_write() argument
H A Dccp.h129 * @key_len: length in bytes of key
131 * @iv_len: length in bytes of iv
134 * @src_len: length in bytes of data used for this operation
137 * @cmac_key_len: length in bytes of cmac_key
154 u32 key_len; /* In bytes */
157 u32 iv_len; /* In bytes */
160 u64 src_len; /* In bytes */
165 u32 cmac_key_len; /* In bytes */
172 * @CCP_XTS_AES_UNIT_SIZE_16: Unit size of 16 bytes
173 * @CCP_XTS_AES_UNIT_SIZE_512: Unit size of 512 bytes
174 * @CCP_XTS_AES_UNIT_SIZE_1024: Unit size of 1024 bytes
175 * @CCP_XTS_AES_UNIT_SIZE_2048: Unit size of 2048 bytes
176 * @CCP_XTS_AES_UNIT_SIZE_4096: Unit size of 4096 bytes
192 * @key_len: length in bytes of key
194 * @iv_len: length in bytes of iv
197 * @src_len: length in bytes of data used for this operation
211 u32 key_len; /* In bytes */
214 u32 iv_len; /* In bytes */
217 u64 src_len; /* In bytes */
244 * @ctx_len: length in bytes of hash value
246 * @src_len: length in bytes of data used for this operation
248 * @opad_len: length in bytes of data used for final HMAC operation
264 u32 ctx_len; /* In bytes */
267 u64 src_len; /* In bytes */
270 u32 opad_len; /* In bytes */
283 * @exp_len: length in bytes of exponent
285 * @mod_len: length in bytes of modulus
288 * @src_len: length in bytes of data used for this operation
297 u32 exp_len; /* In bytes */
300 u32 mod_len; /* In bytes */
303 u32 src_len; /* In bytes */
329 * @CCP_PASSTHRU_BYTESWAP_32BIT: swap bytes within 32-bit words
330 * @CCP_PASSTHRU_BYTESWAP_256BIT: swap bytes within 256-bit words
344 * @mask_len: length in bytes of mask
347 * @src_len: length in bytes of data used for this operation
359 u32 mask_len; /* In bytes */
362 u64 src_len; /* In bytes */
404 unsigned int operand_1_len; /* In bytes */
407 unsigned int operand_2_len; /* In bytes */
410 unsigned int result_len; /* In bytes */
422 unsigned int x_len; /* In bytes */
425 unsigned int y_len; /* In bytes */
446 unsigned int domain_a_len; /* In bytes */
449 unsigned int scalar_len; /* In bytes */
458 * @mod_len: length in bytes of modulus
472 u32 mod_len; /* In bytes */
H A Dtask_io_accounting.h13 /* bytes read */
15 /* bytes written */
25 * The number of bytes which this task has caused to be read from
31 * The number of bytes which this task has caused, or shall cause to be
H A Duio.h41 * Total number of bytes covered by an iovec.
76 struct iov_iter *i, unsigned long offset, size_t bytes);
77 void iov_iter_advance(struct iov_iter *i, size_t bytes);
78 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes);
79 int iov_iter_fault_in_multipages_readable(struct iov_iter *i, size_t bytes);
81 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
83 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
85 size_t copy_to_iter(void *addr, size_t bytes, struct iov_iter *i);
86 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
87 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
88 size_t iov_iter_zero(size_t bytes, struct iov_iter *);
148 size_t csum_and_copy_to_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
149 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
H A Dcciss_ioctl.h13 WORD buf_size; /* size in bytes of the buf */
22 DWORD buf_size; /* size in bytes of the buf */
H A Dipmi-fru.h28 uint8_t internal_use_off; /* multiple of 8 bytes */
29 uint8_t chassis_info_off; /* multiple of 8 bytes */
30 uint8_t board_area_off; /* multiple of 8 bytes */
31 uint8_t product_area_off; /* multiple of 8 bytes */
32 uint8_t multirecord_off; /* multiple of 8 bytes */
50 uint8_t area_len; /* multiple of 8 bytes */
64 * 0x00 pad to a multiple of 8 bytes - 1
82 /* we know for sure that the header is 8 bytes in size */ fru_get_board_area()
H A Dmsg.h23 unsigned long q_cbytes; /* current number of bytes on queue */
25 unsigned long q_qbytes; /* max number of bytes on queue */
H A Dqnx6_fs.h20 #define QNX6_SUPERBLOCK_SIZE 0x200 /* superblock always is 512 bytes */
23 #define QNX6_DIR_ENTRY_SIZE 0x20 /* dir entry size of 32 bytes */
24 #define QNX6_INODE_SIZE 0x80 /* each inode is 128 bytes */
59 * Each directory entry is maximum 32 bytes long.
H A Dserial.h27 * The size of the serial xmit buffer is 1 page, or 4096 bytes
/linux-4.1.27/lib/
H A Dmemweight.c8 * @bytes: the size of the area
10 size_t memweight(const void *ptr, size_t bytes) memweight() argument
16 for (; bytes > 0 && ((unsigned long)bitmap) % sizeof(long); memweight()
17 bytes--, bitmap++) memweight()
20 longs = bytes / sizeof(long); memweight()
25 bytes -= longs * sizeof(long); memweight()
33 for (; bytes > 0; bytes--, bitmap++) memweight()
H A Diov_iter.c138 static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t bytes, copy_page_to_iter_iovec() argument
146 if (unlikely(bytes > i->count)) copy_page_to_iter_iovec()
147 bytes = i->count; copy_page_to_iter_iovec()
149 if (unlikely(!bytes)) copy_page_to_iter_iovec()
152 wanted = bytes; copy_page_to_iter_iovec()
156 copy = min(bytes, iov->iov_len - skip); copy_page_to_iter_iovec()
167 bytes -= copy; copy_page_to_iter_iovec()
169 while (unlikely(!left && bytes)) { copy_page_to_iter_iovec()
172 copy = min(bytes, iov->iov_len); copy_page_to_iter_iovec()
177 bytes -= copy; copy_page_to_iter_iovec()
179 if (likely(!bytes)) { copy_page_to_iter_iovec()
186 copy = min(bytes, iov->iov_len - skip); copy_page_to_iter_iovec()
195 bytes -= copy; copy_page_to_iter_iovec()
196 while (unlikely(!left && bytes)) { copy_page_to_iter_iovec()
199 copy = min(bytes, iov->iov_len); copy_page_to_iter_iovec()
204 bytes -= copy; copy_page_to_iter_iovec()
212 i->count -= wanted - bytes; copy_page_to_iter_iovec()
216 return wanted - bytes; copy_page_to_iter_iovec()
219 static size_t copy_page_from_iter_iovec(struct page *page, size_t offset, size_t bytes, copy_page_from_iter_iovec() argument
227 if (unlikely(bytes > i->count)) copy_page_from_iter_iovec()
228 bytes = i->count; copy_page_from_iter_iovec()
230 if (unlikely(!bytes)) copy_page_from_iter_iovec()
233 wanted = bytes; copy_page_from_iter_iovec()
237 copy = min(bytes, iov->iov_len - skip); copy_page_from_iter_iovec()
248 bytes -= copy; copy_page_from_iter_iovec()
250 while (unlikely(!left && bytes)) { copy_page_from_iter_iovec()
253 copy = min(bytes, iov->iov_len); copy_page_from_iter_iovec()
258 bytes -= copy; copy_page_from_iter_iovec()
260 if (likely(!bytes)) { copy_page_from_iter_iovec()
267 copy = min(bytes, iov->iov_len - skip); copy_page_from_iter_iovec()
276 bytes -= copy; copy_page_from_iter_iovec()
277 while (unlikely(!left && bytes)) { copy_page_from_iter_iovec()
280 copy = min(bytes, iov->iov_len); copy_page_from_iter_iovec()
285 bytes -= copy; copy_page_from_iter_iovec()
293 i->count -= wanted - bytes; copy_page_from_iter_iovec()
297 return wanted - bytes; copy_page_from_iter_iovec()
302 * of bytes. Returns 0 on success, or non-zero if the memory could not be
309 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes) iov_iter_fault_in_readable() argument
313 bytes = min(bytes, i->iov->iov_len - i->iov_offset); iov_iter_fault_in_readable()
314 return fault_in_pages_readable(buf, bytes); iov_iter_fault_in_readable()
322 * bytes. For each iovec, fault in each page that constitutes the iovec.
327 int iov_iter_fault_in_multipages_readable(struct iov_iter *i, size_t bytes) iov_iter_fault_in_multipages_readable() argument
335 iterate_iovec(i, bytes, v, iov, skip, ({ iov_iter_fault_in_multipages_readable()
386 size_t copy_to_iter(void *addr, size_t bytes, struct iov_iter *i) copy_to_iter() argument
389 if (unlikely(bytes > i->count)) copy_to_iter()
390 bytes = i->count; copy_to_iter()
392 if (unlikely(!bytes)) copy_to_iter()
395 iterate_and_advance(i, bytes, v, copy_to_iter()
403 return bytes; copy_to_iter()
407 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter() argument
410 if (unlikely(bytes > i->count)) copy_from_iter()
411 bytes = i->count; copy_from_iter()
413 if (unlikely(!bytes)) copy_from_iter()
416 iterate_and_advance(i, bytes, v, copy_from_iter()
424 return bytes; copy_from_iter()
428 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter_nocache() argument
431 if (unlikely(bytes > i->count)) copy_from_iter_nocache()
432 bytes = i->count; copy_from_iter_nocache()
434 if (unlikely(!bytes)) copy_from_iter_nocache()
437 iterate_and_advance(i, bytes, v, copy_from_iter_nocache()
445 return bytes; copy_from_iter_nocache()
449 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes, copy_page_to_iter() argument
454 size_t wanted = copy_to_iter(kaddr + offset, bytes, i); copy_page_to_iter()
458 return copy_page_to_iter_iovec(page, offset, bytes, i); copy_page_to_iter()
462 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes, copy_page_from_iter() argument
467 size_t wanted = copy_from_iter(kaddr + offset, bytes, i); copy_page_from_iter()
471 return copy_page_from_iter_iovec(page, offset, bytes, i); copy_page_from_iter()
475 size_t iov_iter_zero(size_t bytes, struct iov_iter *i) iov_iter_zero() argument
477 if (unlikely(bytes > i->count)) iov_iter_zero()
478 bytes = i->count; iov_iter_zero()
480 if (unlikely(!bytes)) iov_iter_zero()
483 iterate_and_advance(i, bytes, v, iov_iter_zero()
489 return bytes; iov_iter_zero()
494 struct iov_iter *i, unsigned long offset, size_t bytes) iov_iter_copy_from_user_atomic()
497 iterate_all_kinds(i, bytes, v, iov_iter_copy_from_user_atomic()
505 return bytes; iov_iter_copy_from_user_atomic()
663 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, csum_and_copy_from_iter() argument
669 if (unlikely(bytes > i->count)) csum_and_copy_from_iter()
670 bytes = i->count; csum_and_copy_from_iter()
672 if (unlikely(!bytes)) csum_and_copy_from_iter()
676 iterate_and_advance(i, bytes, v, ({ csum_and_copy_from_iter()
703 return bytes; csum_and_copy_from_iter()
707 size_t csum_and_copy_to_iter(void *addr, size_t bytes, __wsum *csum, csum_and_copy_to_iter() argument
713 if (unlikely(bytes > i->count)) csum_and_copy_to_iter()
714 bytes = i->count; csum_and_copy_to_iter()
716 if (unlikely(!bytes)) csum_and_copy_to_iter()
720 iterate_and_advance(i, bytes, v, ({ csum_and_copy_to_iter()
747 return bytes; csum_and_copy_to_iter()
493 iov_iter_copy_from_user_atomic(struct page *page, struct iov_iter *i, unsigned long offset, size_t bytes) iov_iter_copy_from_user_atomic() argument
H A Drandom32.c91 * 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) prandom_bytes_state() argument
104 while (bytes >= sizeof(u32)) { prandom_bytes_state()
107 bytes -= sizeof(u32); prandom_bytes_state()
110 if (bytes > 0) { prandom_bytes_state()
114 bytes--; prandom_bytes_state()
116 } while (bytes > 0); prandom_bytes_state()
122 * prandom_bytes - get the requested number of pseudo-random bytes
123 * @buf: where to copy the pseudo-random bytes to
124 * @bytes: the requested number of bytes
126 void prandom_bytes(void *buf, size_t bytes) prandom_bytes() argument
130 prandom_bytes_state(state, buf, bytes); prandom_bytes()
252 /* Asking for random bytes might result in bytes getting __prandom_reseed()
257 * already waiting for bytes when the nonblocking pool __prandom_reseed()
H A Dhexdump.c80 * @len: number of bytes in the @buf
81 * @rowsize: number of bytes to print per line; must be 16 or 32
82 * @groupsize: number of bytes to print at a time (1, 2, 4, 8; default = 1)
88 * 16 or 32 bytes of input data converted to hex + ASCII output.
102 * The amount of bytes placed in the buffer without terminating NUL. If the
103 * output was truncated, then the return value is the number of bytes
213 * @rowsize: number of bytes to print per line; must be 16 or 32
214 * @groupsize: number of bytes to print at a time (1, 2, 4, 8; default = 1)
216 * @len: number of bytes in the @buf
224 * 16 or 32 bytes of input data converted to hex + ASCII output.
279 * @len: number of bytes in the @buf
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_compat.h30 However on a big-endian host, copy 4 bytes at a time,
38 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes) lpfc_memcpy_to_slim() argument
48 /* write input bytes, 4 bytes at a time */ lpfc_memcpy_to_slim()
49 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) { lpfc_memcpy_to_slim()
60 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) lpfc_memcpy_from_slim() argument
70 /* read input bytes, 4 bytes at a time */ lpfc_memcpy_from_slim()
71 for (four_bytes = bytes /4; four_bytes > 0; four_bytes--) { lpfc_memcpy_from_slim()
83 lpfc_memcpy_to_slim( void __iomem *dest, void *src, unsigned int bytes) lpfc_memcpy_to_slim() argument
85 /* convert bytes in argument list to word count for copy function */ lpfc_memcpy_to_slim()
86 __iowrite32_copy(dest, src, bytes / sizeof(uint32_t)); lpfc_memcpy_to_slim()
90 lpfc_memcpy_from_slim( void *dest, void __iomem *src, unsigned int bytes) lpfc_memcpy_from_slim() argument
93 memcpy_fromio( dest, src, bytes); lpfc_memcpy_from_slim()
/linux-4.1.27/arch/hexagon/mm/
H A Dcopy_user_template.S21 * W: width in bytes
32 p0 = cmp.gtu(bytes,#0)
38 p1 = cmp.gtu(bytes,#15)
45 loopcount = lsr(bytes,#3)
59 bytes -= asl(loopcount,#3)
71 p1 = cmp.gtu(bytes,#7)
76 loopcount = lsr(bytes,#2)
89 bytes -= asl(loopcount,#2)
97 p1 = cmp.gtu(bytes,#3)
102 loopcount = lsr(bytes,#1)
115 bytes -= asl(loopcount,#1)
120 p3=sp1loop0(.Loop1,bytes)
138 p0 = cmp.gtu(bytes,#0)
157 if (p0) bytes = add(bytes,#-1)
169 if (p0) bytes = add(bytes,#-2)
181 if (p0) bytes = add(bytes,#-4)
/linux-4.1.27/arch/alpha/lib/
H A Dev6-memcpy.S8 * - uses bcmpge to compare 8 bytes in parallel
67 ldq $1, 0($17) # L : get 8 bytes
84 wh64 ($7) # L1 : memory subsystem hint: 64 bytes at
86 ldq $6, 0($17) # L0 : bytes 0..7
90 ldq $4, 8($17) # L : bytes 8..15
91 ldq $5, 16($17) # L : bytes 16..23
95 ldq $3, 24($17) # L : bytes 24..31
100 addq $17, 32, $17 # E : src += 32 bytes
101 stq $6, 0($16) # L : bytes 0..7
105 stq $4, 8($16) # L : bytes 8..15
106 stq $5, 16($16) # L : bytes 16..23
110 stq $3, 24($16) # L : bytes 24..31
111 addq $16, 32, $16 # E : dest += 32 bytes
115 ldq $6, 0($17) # L : bytes 0..7
116 ldq $4, 8($17) # L : bytes 8..15
121 ldq $5, 16($17) # L : bytes 16..23
122 ldq $3, 24($17) # L : bytes 24..31
127 stq $6, -32($16) # L : bytes 0..7
128 stq $4, -24($16) # L : bytes 8..15
131 stq $5, -16($16) # L : bytes 16..23
132 stq $3, -8($16) # L : bytes 24..31
157 addq $18, 8, $18 # E : add back for trailing bytes
162 /* Trailing bytes */
201 ldq_u $3, 0($17) # L : seed (rotating load) of 8 bytes
208 bis $3, $1, $1 # E : merged bytes to store
H A Dclear_user.S8 * right "bytes left to zero" value (and that it is updated only _after_
22 * bytes left to copy in $0
86 and $1, 7, $2 # e1 : number of bytes in tail
96 addq $0, $4, $0 # .. e1 : bytes left -= 8 - misalignment
H A Dev6-clear_user.S8 * right "bytes left to zero" value (and that it is updated only _after_
22 * bytes left to copy in $0
69 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail
76 * Head is not aligned. Write (8 - $4) bytes to head of destination
86 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment
94 * $2 is number of trailing bytes (0..7) ($2 never used...)
128 * $0 is the number of bytes left
183 # zero to 16 quadwords left to store, plus any trailing bytes
189 beq $1, $trailbytes # U .. .. .. : U L U L : Only 0..7 bytes to go
202 # We have an unknown number of bytes left to go.
209 # $0 contains the number of bytes left to copy (0..31)
H A Dev6-copy_user.S11 * contains the right "bytes left to copy" value (and that it is updated
25 * bytes left to copy in $0
90 * If we fell through into here, we have a minimum of 33 - 7 bytes
91 * If we arrived via branch, we have a minimum of 32 bytes
95 bic $0,7,$4 # .. .. E .. : number bytes as a quadword loop
134 * A minimum of (33 - 7) bytes to do a quad at a time.
136 * $0 - number of bytes to be moved
137 * $4 - number of bytes to move as quadwords
149 * addresses differ by more than 32 bytes. In this particular case, a
150 * sparsity of registers further bounds this to be a minimum of 8 bytes.
208 * $0 - remaining number of bytes left to copy
/linux-4.1.27/sound/drivers/
H A Dpcm-indirect2.c139 unsigned int bytes) snd_pcm_indirect2_increase_min_periods()
143 rec->sw_io += bytes; snd_pcm_indirect2_increase_min_periods()
185 * the first zeros means, the last bytes were played. snd_pcm_indirect2_increase_min_periods()
195 if (bytes >= diff) snd_pcm_indirect2_increase_min_periods()
198 rec->sw_io += bytes; snd_pcm_indirect2_increase_min_periods()
205 rec->min_period_count += bytes; snd_pcm_indirect2_increase_min_periods()
255 * diff: obviously ALSA wrote that much bytes into the intermediate snd_pcm_indirect2_playback_transfer()
266 /* number of bytes "added" by ALSA increases the number of snd_pcm_indirect2_playback_transfer()
267 * bytes which are ready to "be transferred to HW"/"played" snd_pcm_indirect2_playback_transfer()
268 * Then, set rec->appl_ptr to not count bytes twice next time. snd_pcm_indirect2_playback_transfer()
274 unsigned int bytes; snd_pcm_indirect2_playback_transfer() local
295 bytes = zero(substream, rec); snd_pcm_indirect2_playback_transfer()
298 rec->zeros2hw += bytes; snd_pcm_indirect2_playback_transfer()
299 if (bytes < 64) snd_pcm_indirect2_playback_transfer()
300 rec->zero_sizes[bytes]++; snd_pcm_indirect2_playback_transfer()
305 bytes); snd_pcm_indirect2_playback_transfer()
308 bytes); snd_pcm_indirect2_playback_transfer()
312 /* sw_to_end: max. number of bytes that can be read/take from snd_pcm_indirect2_playback_transfer()
317 /* bytes: number of bytes we have available (for reading) */ snd_pcm_indirect2_playback_transfer()
318 unsigned int bytes = rec->sw_ready; snd_pcm_indirect2_playback_transfer() local
320 if (sw_to_end < bytes) snd_pcm_indirect2_playback_transfer()
321 bytes = sw_to_end; snd_pcm_indirect2_playback_transfer()
322 if (!bytes) snd_pcm_indirect2_playback_transfer()
330 /* copy bytes from intermediate buffer position sw_data to the snd_pcm_indirect2_playback_transfer()
331 * HW and return number of bytes actually written snd_pcm_indirect2_playback_transfer()
335 bytes = copy(substream, rec, bytes); snd_pcm_indirect2_playback_transfer()
336 rec->bytes2hw += bytes; snd_pcm_indirect2_playback_transfer()
339 if (bytes < 64) snd_pcm_indirect2_playback_transfer()
340 rec->byte_sizes[bytes]++; snd_pcm_indirect2_playback_transfer()
345 bytes); snd_pcm_indirect2_playback_transfer()
347 /* increase sw_data by the number of actually written bytes snd_pcm_indirect2_playback_transfer()
348 * (= number of taken bytes from intermediate buffer) snd_pcm_indirect2_playback_transfer()
350 rec->sw_data += bytes; snd_pcm_indirect2_playback_transfer()
359 bytes); snd_pcm_indirect2_playback_transfer()
361 /* we read bytes from intermediate buffer, so we need to say snd_pcm_indirect2_playback_transfer()
362 * that the number of bytes ready for transfer are decreased snd_pcm_indirect2_playback_transfer()
365 rec->sw_ready -= bytes; snd_pcm_indirect2_playback_transfer()
382 /* hardware played some bytes, so there is room again (in fifo) */ snd_pcm_indirect2_playback_interrupt()
435 unsigned int bytes; snd_pcm_indirect2_capture_transfer() local
456 bytes = null(substream, rec); snd_pcm_indirect2_capture_transfer()
459 rec->zeros2hw += bytes; snd_pcm_indirect2_capture_transfer()
460 if (bytes < 64) snd_pcm_indirect2_capture_transfer()
461 rec->zero_sizes[bytes]++; snd_pcm_indirect2_capture_transfer()
466 bytes); snd_pcm_indirect2_capture_transfer()
469 bytes); snd_pcm_indirect2_capture_transfer()
475 /* sw_to_end: max. number of bytes that we can write to the snd_pcm_indirect2_capture_transfer()
480 /* bytes: max. number of bytes, which may be copied to the snd_pcm_indirect2_capture_transfer()
483 size_t bytes = rec->sw_buffer_size - rec->sw_ready; snd_pcm_indirect2_capture_transfer() local
485 /* limit number of bytes (for transfer) by available room in snd_pcm_indirect2_capture_transfer()
488 if (sw_to_end < bytes) snd_pcm_indirect2_capture_transfer()
489 bytes = sw_to_end; snd_pcm_indirect2_capture_transfer()
490 if (!bytes) snd_pcm_indirect2_capture_transfer()
498 /* copy bytes from the intermediate buffer (position sw_data) snd_pcm_indirect2_capture_transfer()
499 * to the HW at most and return number of bytes actually copied snd_pcm_indirect2_capture_transfer()
503 bytes = copy(substream, rec, bytes); snd_pcm_indirect2_capture_transfer()
504 rec->bytes2hw += bytes; snd_pcm_indirect2_capture_transfer()
507 if (bytes < 64) snd_pcm_indirect2_capture_transfer()
508 rec->byte_sizes[bytes]++; snd_pcm_indirect2_capture_transfer()
513 bytes); snd_pcm_indirect2_capture_transfer()
515 /* increase sw_data by the number of actually copied bytes from snd_pcm_indirect2_capture_transfer()
518 rec->sw_data += bytes; snd_pcm_indirect2_capture_transfer()
523 bytes); snd_pcm_indirect2_capture_transfer()
525 /* number of bytes in the intermediate buffer, which haven't snd_pcm_indirect2_capture_transfer()
528 rec->sw_ready += bytes; snd_pcm_indirect2_capture_transfer()
545 /* hardware recorded some bytes, so there is something to read from the snd_pcm_indirect2_capture_interrupt()
136 snd_pcm_indirect2_increase_min_periods(struct snd_pcm_substream *substream, struct snd_pcm_indirect2 *rec, int isplay, int iscopy, unsigned int bytes) snd_pcm_indirect2_increase_min_periods() argument
H A Dpcm-indirect2.h37 * process of copying bytes from the
52 int min_period_count; /* counts bytes to count number of
66 * exception that sw_data is "behind" by the number if bytes ALSA wrote
74 * So we say: if sw_data is updated, that means bytes were copied to
76 * to be as much bytes which were played. So sw_io will stay behind
80 unsigned int sw_io; /* Current software pointer in bytes */
82 /* sw_ready: number of bytes ALSA copied to the intermediate buffer, so
83 * it represents the number of bytes which wait for transfer to the HW
117 size_t bytes);
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dcache.c16 * @bytes: number of bytes to flush
20 * @flush_addr to @flush_addr + @bytes are flushed
24 sn_flush_all_caches(long flush_addr, long bytes) sn_flush_all_caches() argument
32 flush_icache_range(addr, addr + bytes); sn_flush_all_caches()
38 flush_icache_range(addr, addr + bytes); sn_flush_all_caches()
/linux-4.1.27/fs/qnx4/
H A Dbitmap.c30 int bytes = min(size - total, QNX4_BLOCK_SIZE); qnx4_count_free_blocks() local
36 total_free += bytes * BITS_PER_BYTE - qnx4_count_free_blocks()
37 memweight(bh->b_data, bytes); qnx4_count_free_blocks()
39 total += bytes; qnx4_count_free_blocks()
/linux-4.1.27/arch/m68k/include/asm/
H A Dcache.h7 /* bytes per L1 cache line */
H A Didprom.h17 u8 id_cksum; /* Checksum - xor of the data bytes */
/linux-4.1.27/drivers/rtc/
H A Drtc-dm355evm.c27 * counter bytes atomically: the count may increment in the middle
33 u8 bytes[4]; member in union:evm_time
45 * Read LSB(0) to MSB(3) bytes. Defend against the counter dm355evm_rtc_read_time()
52 if (tries && time.bytes[0] == status) dm355evm_rtc_read_time()
54 time.bytes[0] = status; dm355evm_rtc_read_time()
59 if (tries && time.bytes[1] == status) dm355evm_rtc_read_time()
61 time.bytes[1] = status; dm355evm_rtc_read_time()
66 if (tries && time.bytes[2] == status) dm355evm_rtc_read_time()
68 time.bytes[2] = status; dm355evm_rtc_read_time()
73 if (tries && time.bytes[3] == status) dm355evm_rtc_read_time()
75 time.bytes[3] = status; dm355evm_rtc_read_time()
100 status = dm355evm_msp_write(time.bytes[0], DM355EVM_MSP_RTC_0); dm355evm_rtc_set_time()
104 status = dm355evm_msp_write(time.bytes[1], DM355EVM_MSP_RTC_1); dm355evm_rtc_set_time()
108 status = dm355evm_msp_write(time.bytes[2], DM355EVM_MSP_RTC_2); dm355evm_rtc_set_time()
112 status = dm355evm_msp_write(time.bytes[3], DM355EVM_MSP_RTC_3); dm355evm_rtc_set_time()
/linux-4.1.27/net/netfilter/
H A Dxt_connbytes.c16 MODULE_DESCRIPTION("Xtables: Number of packets/bytes per connection matching");
27 u_int64_t bytes = 0; connbytes_mt() local
59 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); connbytes_mt()
62 what = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); connbytes_mt()
65 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); connbytes_mt()
66 what += atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); connbytes_mt()
73 bytes = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes); connbytes_mt()
77 bytes = atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); connbytes_mt()
81 bytes = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].bytes) + connbytes_mt()
82 atomic64_read(&counters[IP_CT_DIR_REPLY].bytes); connbytes_mt()
88 what = div64_u64(bytes, pkts); connbytes_mt()
H A Dnft_counter.c22 u64 bytes; member in struct:nft_counter
33 priv->bytes += pkt->skb->len; nft_counter_eval()
42 u64 bytes; nft_counter_dump() local
47 bytes = priv->bytes; nft_counter_dump()
51 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(bytes))) nft_counter_dump()
75 priv->bytes = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_BYTES])); nft_counter_init()
H A Dxt_repldata.h19 unsigned int bytes = 0, hooknum = 0, i = 0; \
40 tbl->repl.hook_entry[hooknum] = bytes; \
41 tbl->repl.underflow[hooknum] = bytes; \
44 bytes += sizeof(struct type##_standard); \
/linux-4.1.27/arch/arm/include/asm/
H A Dxor.h50 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_arm4regs_2() argument
52 unsigned int lines = bytes / sizeof(unsigned long) / 4; xor_arm4regs_2()
70 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_arm4regs_3() argument
73 unsigned int lines = bytes / sizeof(unsigned long) / 4; xor_arm4regs_3()
92 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_arm4regs_4() argument
95 unsigned int lines = bytes / sizeof(unsigned long) / 2; xor_arm4regs_4()
111 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_arm4regs_5() argument
114 unsigned int lines = bytes / sizeof(unsigned long) / 2; xor_arm4regs_5()
152 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_neon_2() argument
155 xor_arm4regs_2(bytes, p1, p2); xor_neon_2()
158 xor_block_neon_inner.do_2(bytes, p1, p2); xor_neon_2()
164 xor_neon_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_neon_3() argument
168 xor_arm4regs_3(bytes, p1, p2, p3); xor_neon_3()
171 xor_block_neon_inner.do_3(bytes, p1, p2, p3); xor_neon_3()
177 xor_neon_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_neon_4() argument
181 xor_arm4regs_4(bytes, p1, p2, p3, p4); xor_neon_4()
184 xor_block_neon_inner.do_4(bytes, p1, p2, p3, p4); xor_neon_4()
190 xor_neon_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_neon_5() argument
194 xor_arm4regs_5(bytes, p1, p2, p3, p4, p5); xor_neon_5()
197 xor_block_neon_inner.do_5(bytes, p1, p2, p3, p4, p5); xor_neon_5()
H A Ducontext.h34 * these should be a multiple of eight bytes and aligned to eight
35 * bytes, to prevent unpredictable padding in the signal frame.
50 /* iwmmxt_area is 0x98 bytes long, preceded by 8 bytes of signature */
73 * 8 byte for magic and size, 264 byte for ufp, 12 bytes for ufp_exc,
74 * 4 bytes padding.
H A Dshmparam.h7 * every size/ways bytes.
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_iommu.c61 size_t bytes = sg->length + sg->offset; msm_iommu_map() local
63 VERB("map[%d]: %08x %08x(%zx)", i, iova, pa, bytes); msm_iommu_map()
65 ret = iommu_map(domain, da, pa, bytes, prot); msm_iommu_map()
69 da += bytes; msm_iommu_map()
78 size_t bytes = sg->length + sg->offset; msm_iommu_map() local
79 iommu_unmap(domain, da, bytes); msm_iommu_map()
80 da += bytes; msm_iommu_map()
95 size_t bytes = sg->length + sg->offset; msm_iommu_unmap() local
98 unmapped = iommu_unmap(domain, da, bytes); msm_iommu_unmap()
99 if (unmapped < bytes) msm_iommu_unmap()
102 VERB("unmap[%d]: %08x(%zx)", i, iova, bytes); msm_iommu_unmap()
104 BUG_ON(!PAGE_ALIGNED(bytes)); msm_iommu_unmap()
106 da += bytes; msm_iommu_unmap()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A DHal8188EPhyCfg.h122 /* 0x870~0x877[8 bytes] */
124 /* 0x8e0~0x8e7[8 bytes] */
126 /* 0x860~0x86f [16 bytes] */
128 /* 0x860~0x86f [16 bytes] */
130 /* 0x840~0x84f [16 bytes] */
132 /* 0x878~0x87f [8 bytes] */
134 /* 0x80c~0x80f [4 bytes] */
137 * 0x830~0x833, 0x838~0x83b [16 bytes] */
140 * 0x83c~0x83f [16 bytes] */
142 /* 0x858~0x85f [16 bytes] */
145 * 0xc68~0xc6b [16 bytes] */
148 * 0xc6c~0xc6f [16 bytes] */
151 * 0xc2c~0xc2f [16 bytes] */
155 * 0xc28~0xc2b [16 bytes] */
158 * 0xc98~0xc9b [16 bytes] */
161 * 0xc9c~0xc9f [16 bytes] */
163 /* 0x8a0~0x8af [16 bytes] */
235 #define SIC_ADDR_REG 0x1E8 /* 1b9~1ba, 2 bytes */
H A Drtl8188e_hal.h61 #define DRVINFO_SZ 4 /* unit is 8bytes */
69 #define MAX_PAGE_SIZE 4096 /* @ page : 4k bytes */
103 /* 22k = 22528 bytes = 176 pages (@page = 128 bytes) */
157 /* 9bytes + 1byt + 5bytes and pre 1byte. */
159 /* | 1byte|----8bytes----|1byte|--5bytes--| */
160 /* | | Reserved(14bytes) | */
162 /* PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */
177 /* 9bytes + 1byt + 5bytes and pre 1byte. */
179 /* | 2byte|----8bytes----|1byte|--7bytes--| 92D */
180 /* PG data exclude header, dummy 7 bytes frome CP test and reserved 1byte. */
186 #define EFUSE_BT_MAP_LEN 1024 /* 1k bytes */
247 /* 92C:256bytes, 88E:512bytes, we use union set (512bytes) */
/linux-4.1.27/sound/i2c/other/
H A Dpt2258.c48 unsigned char bytes[2]; snd_pt2258_reset() local
52 bytes[0] = PT2258_CMD_RESET; snd_pt2258_reset()
54 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) snd_pt2258_reset()
60 bytes[0] = PT2258_CMD_MUTE; snd_pt2258_reset()
62 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) snd_pt2258_reset()
69 bytes[0] = 0xd0; snd_pt2258_reset()
70 bytes[1] = 0xe0; snd_pt2258_reset()
72 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) snd_pt2258_reset()
111 unsigned char bytes[2]; pt2258_stereo_volume_put() local
122 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); pt2258_stereo_volume_put()
123 bytes[1] = pt2258_channel_code[2 * base + 1] | (val0 % 10); pt2258_stereo_volume_put()
125 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) pt2258_stereo_volume_put()
130 bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10); pt2258_stereo_volume_put()
131 bytes[1] = pt2258_channel_code[2 * base + 3] | (val1 % 10); pt2258_stereo_volume_put()
133 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) pt2258_stereo_volume_put()
160 unsigned char bytes[2]; pt2258_switch_put() local
168 bytes[0] = val ? PT2258_CMD_MUTE : PT2258_CMD_UNMUTE; pt2258_switch_put()
170 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) pt2258_switch_put()
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_sctp.h38 #define bytes(type) (sizeof(type) * 8) macro
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
H A Dxt_multiport.h14 /* Must fit inside union xt_matchinfo: 16 bytes */
/linux-4.1.27/arch/arm64/include/asm/
H A Dkgdb.h61 * general purpose registers size in bytes.
62 * pstate is only 4 bytes. subtract 4 bytes
75 * Number of bytes required for gdb_regs buffer.
76 * _GP_REGS: 8 bytes, _FP_REGS: 16 bytes and _EXTRA_REGS: 4 bytes each
/linux-4.1.27/arch/x86/lib/
H A Dmemcpy_32.c29 /* Handle more 16 bytes in loop */ memmove()
54 * We gobble 16 bytes forward in each loop. memmove()
120 * We gobble 16 bytes backward in each loop. memmove()
144 * Move data from 8 bytes to 15 bytes. memmove()
162 * Move data from 4 bytes to 7 bytes. memmove()
175 * Move data from 2 bytes to 3 bytes. memmove()
H A Dinsn.c29 /* Verify next sizeof(t) bytes can be on the same instruction */
56 * Instructions longer than MAX_INSN_SIZE (15 bytes) are invalid insn_init()
75 * insn_get_prefixes - scan x86 instruction prefix bytes
99 if (prefixes->bytes[i] == b) insn_get_prefixes()
104 prefixes->bytes[nb++] = b; insn_get_prefixes()
123 if (lb && lb != insn->prefixes.bytes[3]) { insn_get_prefixes()
124 if (unlikely(insn->prefixes.bytes[3])) { insn_get_prefixes()
126 b = insn->prefixes.bytes[3]; insn_get_prefixes()
128 if (prefixes->bytes[i] == lb) insn_get_prefixes()
129 prefixes->bytes[i] = b; insn_get_prefixes()
131 insn->prefixes.bytes[3] = lb; insn_get_prefixes()
163 insn->vex_prefix.bytes[0] = b; insn_get_prefixes()
164 insn->vex_prefix.bytes[1] = b2; insn_get_prefixes()
167 insn->vex_prefix.bytes[2] = b2; insn_get_prefixes()
179 insn->vex_prefix.bytes[2] = b2 & 0x7f; insn_get_prefixes()
199 * If necessary, first collects any preceding (prefix) bytes.
215 opcode->bytes[0] = op; insn_get_opcode()
233 opcode->bytes[opcode->nbytes++] = op; insn_get_opcode()
251 * ModRM byte, if any. If necessary, first collects the preceding bytes
358 * mod = 10 - displacement field is 4 bytes, or 2 bytes if insn_get_displacement()
363 * mod = 00, r/m = 110 - displacement field is 2 bytes insn_get_displacement()
367 * mod = 00, SIB base = 101 - displacement field is 4 bytes insn_get_displacement()
369 * field is 4 bytes insn_get_displacement()
512 * displacement bytes.
584 * immediates bytes.
/linux-4.1.27/fs/squashfs/
H A Dsymlink.c55 int bytes, copied; squashfs_symlink_readpage() local
63 * Skip index bytes into symlink metadata. squashfs_symlink_readpage()
66 bytes = squashfs_read_metadata(sb, NULL, &block, &offset, squashfs_symlink_readpage()
68 if (bytes < 0) { squashfs_symlink_readpage()
77 * Read length bytes from symlink metadata. Squashfs_read_metadata squashfs_symlink_readpage()
80 * squashfs_cache_get routine. As length bytes may overlap metadata squashfs_symlink_readpage()
83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { squashfs_symlink_readpage()
94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, squashfs_symlink_readpage()
95 length - bytes); squashfs_symlink_readpage()
96 if (copied == length - bytes) squashfs_symlink_readpage()
H A Dlz4_wrapper.c99 int avail, i, bytes = length, res; lz4_uncompress() local
103 avail = min(bytes, msblk->devblksize - offset); lz4_uncompress()
106 bytes -= avail; lz4_uncompress()
116 bytes = dest_len; lz4_uncompress()
120 if (bytes <= PAGE_CACHE_SIZE) { lz4_uncompress()
121 memcpy(data, buff, bytes); lz4_uncompress()
126 bytes -= PAGE_CACHE_SIZE; lz4_uncompress()
H A Dblock.c43 * bytes of the metadata block.
84 * filesystem), otherwise the length is obtained from the first two bytes of
97 int bytes, compressed, b = 0, k = 0, avail, i; squashfs_read_data() local
108 bytes = -offset; squashfs_read_data()
121 for (b = 0; bytes < length; b++, cur_index++) { squashfs_read_data()
125 bytes += msblk->devblksize; squashfs_read_data()
140 bytes = msblk->devblksize - offset; squashfs_read_data()
153 for (; bytes < length; b++) { squashfs_read_data()
157 bytes += msblk->devblksize; squashfs_read_data()
180 for (bytes = length; k < b; k++) { squashfs_read_data()
181 in = min(bytes, msblk->devblksize - offset); squashfs_read_data()
182 bytes -= in; squashfs_read_data()
H A Dlzo_wrapper.c84 int avail, i, bytes = length, res; lzo_uncompress() local
88 avail = min(bytes, msblk->devblksize - offset); lzo_uncompress()
91 bytes -= avail; lzo_uncompress()
101 res = bytes = (int)out_len; lzo_uncompress()
105 if (bytes <= PAGE_CACHE_SIZE) { lzo_uncompress()
106 memcpy(data, buff, bytes); lzo_uncompress()
111 bytes -= PAGE_CACHE_SIZE; lzo_uncompress()
H A Dfile_direct.c37 int i, n, pages, missing_pages, bytes, res = -ENOMEM; squashfs_readpage_block() local
98 /* Last page may have trailing bytes not filled */ squashfs_readpage_block()
99 bytes = res % PAGE_CACHE_SIZE; squashfs_readpage_block()
100 if (bytes) { squashfs_readpage_block()
102 memset(pageaddr + bytes, 0, PAGE_CACHE_SIZE - bytes); squashfs_readpage_block()
146 int bytes = buffer->length, res = buffer->error, n, offset = 0; squashfs_read_cache() local
155 for (n = 0; n < pages && bytes > 0; n++, squashfs_read_cache()
156 bytes -= PAGE_CACHE_SIZE, offset += PAGE_CACHE_SIZE) { squashfs_read_cache()
157 int avail = min_t(int, bytes, PAGE_CACHE_SIZE); squashfs_read_cache()
H A Dcache.c302 * Copy up to length bytes from cache entry to buffer starting at offset bytes
303 * into the cache entry. If there's not length bytes then copy the number of
304 * bytes available. In all cases return the number of bytes copied.
319 int bytes = min_t(int, entry->length - offset, squashfs_copy_data() local
322 if (bytes >= remaining) { squashfs_copy_data()
328 memcpy(buffer, buff, bytes); squashfs_copy_data()
329 buffer += bytes; squashfs_copy_data()
330 remaining -= bytes; squashfs_copy_data()
331 offset += bytes; squashfs_copy_data()
339 * Read length bytes from metadata position <block, offset> (block is the
342 * and length bytes may require reading more than one block.
348 int bytes, res = length; squashfs_read_metadata() local
363 bytes = squashfs_copy_data(buffer, entry, *offset, length); squashfs_read_metadata()
365 buffer += bytes; squashfs_read_metadata()
366 length -= bytes; squashfs_read_metadata()
367 *offset += bytes; squashfs_read_metadata()
414 * Read a filesystem table (uncompressed sequence of bytes) from disk
/linux-4.1.27/samples/bpf/
H A Dsockex2_user.c11 __u64 bytes; member in struct:pair
41 printf("ip %s bytes %lld packets %lld\n", main()
43 value.bytes, value.packets); main()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A DHal8723APhyCfg.h41 /* 0x870~0x877[8 bytes] */
43 /* 0x8e0~0x8e7[8 bytes] */
45 /* 0x860~0x86f [16 bytes] */
47 /* 0x860~0x86f [16 bytes] */
49 /* 0x840~0x84f [16 bytes] */
51 /* 0x878~0x87f [8 bytes] */
53 /* 0x80c~0x80f [4 bytes] */
55 /* 0x820~0x823, 0x828~0x82b, 0x830~0x833, 0x838~0x83b [16 bytes] */
57 /* 0x824~0x827, 0x82c~0x82f, 0x834~0x837, 0x83c~0x83f [16 bytes] */
59 /* 0x858~0x85f [16 bytes] */
61 /* 0xc50~0xc53, 0xc58~0xc5b, 0xc60~0xc63, 0xc68~0xc6b [16 bytes] */
63 /* 0xc54~0xc57, 0xc5c~0xc5f, 0xc64~0xc67, 0xc6c~0xc6f [16 bytes] */
65 /* 0xc14~0xc17, 0xc1c~0xc1f, 0xc24~0xc27, 0xc2c~0xc2f [16 bytes] */
67 /* 0xc10~0xc13, 0xc18~0xc1b, 0xc20~0xc23, 0xc28~0xc2b [16 bytes] */
69 /* 0xc80~0xc83, 0xc88~0xc8b, 0xc90~0xc93, 0xc98~0xc9b [16 bytes] */
71 /* 0xc84~0xc87, 0xc8c~0xc8f, 0xc94~0xc97, 0xc9c~0xc9f [16 bytes] */
73 /* 0x8a0~0x8af [16 bytes] */
/linux-4.1.27/include/uapi/linux/
H A Dgen_stats.h19 * @bytes: number of seen bytes
23 __u64 bytes; member in struct:gnet_stats_basic
27 __u64 bytes; member in struct:gnet_stats_basic_packed
H A Dbsg.h27 __u32 request_len; /* [i] in bytes */
33 __u32 max_response_len; /* [i] in bytes */
39 __u32 dout_xfer_len; /* [i] bytes to be transferred to device */
41 __u32 din_xfer_len; /* [i] bytes to be transferred from device */
56 __u32 response_len; /* [o] bytes of response actually written */
H A Dlimits.h7 #define ARG_MAX 131072 /* # bytes of args + environ for exec() */
13 #define PIPE_BUF 4096 /* # bytes in atomic write to a pipe */
H A Dif_arcnet.h63 __u8 payload[0]; /* space remaining in packet (504 bytes)*/
73 __u8 payload[0]; /* 507 bytes */
85 __u8 payload[0]; /* 493 bytes */
95 __u8 raw[0]; /* 507 bytes */
102 * Now, in the real arcnet hardware, the third and fourth bytes are the
110 offset[2]; /* offset bytes (some weird semantics) */
128 __u8 raw[0]; /* 508 bytes */
H A Dcoda_psdev.h15 u_short uc_inSize; /* Size is at most 5000 bytes */
H A Dhdlc.h15 #define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */
H A Dppp_defs.h92 __u32 ppp_ibytes; /* bytes received */
93 __u32 ppp_ioctects; /* bytes received not in error */
98 __u32 ppp_obytes; /* raw bytes sent */
99 __u32 ppp_ooctects; /* frame bytes sent */
117 __u32 unc_bytes; /* total uncompressed bytes */
119 __u32 comp_bytes; /* compressed bytes */
121 __u32 inc_bytes; /* incompressible bytes */
/linux-4.1.27/arch/powerpc/perf/
H A Dhv-24x7-catalog.h34 __be16 length; /* in bytes, must be a multiple of 16 */
38 __be16 event_group_record_offs; /* in bytes, must be 8 byte aligned */
39 __be16 event_group_record_len; /* in bytes */
41 /* in bytes, offset from event_group_record */
/linux-4.1.27/include/asm-generic/
H A Dcache.h4 * 32 bytes appears to be the most common cache line size,
H A Dxor.h19 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_8regs_2() argument
21 long lines = bytes / (sizeof (long)) / 8; xor_8regs_2()
38 xor_8regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_3() argument
41 long lines = bytes / (sizeof (long)) / 8; xor_8regs_3()
59 xor_8regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_4() argument
62 long lines = bytes / (sizeof (long)) / 8; xor_8regs_4()
81 xor_8regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_5() argument
84 long lines = bytes / (sizeof (long)) / 8; xor_8regs_5()
104 xor_32regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_32regs_2() argument
106 long lines = bytes / (sizeof (long)) / 8; xor_32regs_2()
140 xor_32regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_3() argument
143 long lines = bytes / (sizeof (long)) / 8; xor_32regs_3()
186 xor_32regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_4() argument
189 long lines = bytes / (sizeof (long)) / 8; xor_32regs_4()
241 xor_32regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_5() argument
244 long lines = bytes / (sizeof (long)) / 8; xor_32regs_5()
305 xor_8regs_p_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_8regs_p_2() argument
307 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_2()
331 xor_8regs_p_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_p_3() argument
334 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_3()
361 xor_8regs_p_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_p_4() argument
364 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_4()
395 xor_8regs_p_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_8regs_p_5() argument
398 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_5()
432 xor_32regs_p_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_32regs_p_2() argument
434 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_2()
477 xor_32regs_p_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_p_3() argument
480 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_3()
534 xor_32regs_p_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_p_4() argument
537 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_4()
602 xor_32regs_p_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_32regs_p_5() argument
605 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_5()
/linux-4.1.27/arch/tile/include/arch/
H A Dtrio_shm.h44 * 0 = 128 bytes
45 * 1 = 256 bytes
46 * 2 = 512 bytes
47 * 3 = 1024 bytes
48 * 4 = 1664 bytes
49 * 5 = 4096 bytes
50 * 6 = 10368 bytes
51 * 7 = 16384 bytes
58 * in 1st 8-bytes in buffer. For chained buffers, first 8-bytes of each
85 * Total number of bytes to move for this transaction. When SMOD=1,
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
H A Dsfpb.xml.h11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2014-12-05 15:34:49)
12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27)
13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20908 bytes, from 2014-12-08 16:13:00)
14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2357 bytes, from 2014-12-08 16:13:00)
15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 27208 bytes, from 2015-01-13 23:56:11)
16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43)
17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32)
18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2014-10-31 16:48:57)
19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12)
20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 26848 bytes, from 2015-01-13 23:55:57)
21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 8253 bytes, from 2014-12-08 16:13:00)
H A Dmmss_cc.xml.h11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2014-12-05 15:34:49)
12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27)
13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20908 bytes, from 2014-12-08 16:13:00)
14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2357 bytes, from 2014-12-08 16:13:00)
15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 27208 bytes, from 2015-01-13 23:56:11)
16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43)
17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32)
18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2014-10-31 16:48:57)
19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12)
20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 26848 bytes, from 2015-01-13 23:55:57)
21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 8253 bytes, from 2014-12-08 16:13:00)
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dqfprom.xml.h11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2014-12-05 15:34:49)
12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27)
13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20908 bytes, from 2014-12-08 16:13:00)
14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2357 bytes, from 2014-12-08 16:13:00)
15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 27208 bytes, from 2015-01-13 23:56:11)
16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43)
17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32)
18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2014-10-31 16:48:57)
19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12)
20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 26848 bytes, from 2015-01-13 23:55:57)
21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 8253 bytes, from 2014-12-08 16:13:00)
/linux-4.1.27/drivers/gpu/drm/msm/mdp/
H A Dmdp_common.xml.h11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2014-12-05 15:34:49)
12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27)
13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20908 bytes, from 2014-12-08 16:13:00)
14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2357 bytes, from 2014-12-08 16:13:00)
15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 27208 bytes, from 2015-01-13 23:56:11)
16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43)
17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32)
18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2014-10-31 16:48:57)
19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12)
20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 26848 bytes, from 2015-01-13 23:55:57)
21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 8253 bytes, from 2014-12-08 16:13:00)
/linux-4.1.27/crypto/
H A Dghash-generic.c32 u32 bytes; member in struct:ghash_desc_ctx
73 if (dctx->bytes) { ghash_update()
74 int n = min(srclen, dctx->bytes); ghash_update()
75 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_update()
77 dctx->bytes -= n; ghash_update()
83 if (!dctx->bytes) ghash_update()
95 dctx->bytes = GHASH_BLOCK_SIZE - srclen; ghash_update()
107 if (dctx->bytes) { ghash_flush()
108 u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_flush()
110 while (dctx->bytes--) ghash_flush()
116 dctx->bytes = 0; ghash_flush()
/linux-4.1.27/arch/s390/crypto/
H A Dghash_s390.c26 u32 bytes; member in struct:ghash_desc_ctx
63 if (dctx->bytes) { ghash_update()
64 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_update()
66 n = min(srclen, dctx->bytes); ghash_update()
67 dctx->bytes -= n; ghash_update()
73 if (!dctx->bytes) { ghash_update()
91 dctx->bytes = GHASH_BLOCK_SIZE - srclen; ghash_update()
103 if (dctx->bytes) { ghash_flush()
104 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_flush()
106 memset(pos, 0, dctx->bytes); ghash_flush()
112 dctx->bytes = 0; ghash_flush()
/linux-4.1.27/drivers/staging/speakup/
H A Ddevsynth.c21 size_t bytes; speakup_file_write() local
28 bytes = min(count, sizeof(buf)); speakup_file_write()
29 if (copy_from_user(buf, ptr, bytes)) speakup_file_write()
31 count -= bytes; speakup_file_write()
32 ptr += bytes; speakup_file_write()
34 synth_write(buf, bytes); speakup_file_write()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fifo.c209 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) vmw_fifo_is_full() argument
217 return ((max - next_cmd) + (stop - min) <= bytes); vmw_fifo_is_full()
221 uint32_t bytes, bool interruptible, vmw_fifo_wait_noirq()
234 if (!vmw_fifo_is_full(dev_priv, bytes)) vmw_fifo_wait_noirq()
254 uint32_t bytes, bool interruptible, vmw_fifo_wait()
260 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) vmw_fifo_wait()
265 return vmw_fifo_wait_noirq(dev_priv, bytes, vmw_fifo_wait()
282 !vmw_fifo_is_full(dev_priv, bytes), timeout); vmw_fifo_wait()
286 !vmw_fifo_is_full(dev_priv, bytes), timeout); vmw_fifo_wait()
306 * Reserve @bytes number of bytes in the fifo.
309 * If it timeouts waiting for fifo space, or if @bytes is larger than the
315 void *vmw_fifo_reserve(struct vmw_private *dev_priv, uint32_t bytes) vmw_fifo_reserve() argument
330 if (unlikely(bytes >= (max - min))) vmw_fifo_reserve()
336 fifo_state->reserved_size = bytes; vmw_fifo_reserve()
344 if (likely((next_cmd + bytes < max || vmw_fifo_reserve()
345 (next_cmd + bytes == max && stop > min)))) vmw_fifo_reserve()
348 else if (vmw_fifo_is_full(dev_priv, bytes)) { vmw_fifo_reserve()
349 ret = vmw_fifo_wait(dev_priv, bytes, vmw_fifo_reserve()
358 if (likely((next_cmd + bytes < stop))) vmw_fifo_reserve()
361 ret = vmw_fifo_wait(dev_priv, bytes, vmw_fifo_reserve()
369 if (reserveable || bytes <= sizeof(uint32_t)) { vmw_fifo_reserve()
373 iowrite32(bytes, fifo_mem + vmw_fifo_reserve()
383 if (bytes < fifo_state->static_buffer_size) vmw_fifo_reserve()
386 fifo_state->dynamic_buffer = vmalloc(bytes); vmw_fifo_reserve()
400 uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_res_copy()
407 if (bytes < chunk_size) vmw_fifo_res_copy()
408 chunk_size = bytes; vmw_fifo_res_copy()
410 iowrite32(bytes, fifo_mem + SVGA_FIFO_RESERVED); vmw_fifo_res_copy()
413 rest = bytes - chunk_size; vmw_fifo_res_copy()
422 uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_slow_copy()
427 while (bytes > 0) { vmw_fifo_slow_copy()
435 bytes -= sizeof(uint32_t); vmw_fifo_slow_copy()
439 void vmw_fifo_commit(struct vmw_private *dev_priv, uint32_t bytes) vmw_fifo_commit() argument
448 BUG_ON((bytes & 3) != 0); vmw_fifo_commit()
449 BUG_ON(bytes > fifo_state->reserved_size); vmw_fifo_commit()
456 next_cmd, max, min, bytes); vmw_fifo_commit()
459 next_cmd, max, min, bytes); vmw_fifo_commit()
470 next_cmd += bytes; vmw_fifo_commit()
491 uint32_t bytes = sizeof(__le32) + sizeof(*cmd_fence); vmw_fifo_send_fence() local
493 fm = vmw_fifo_reserve(dev_priv, bytes); vmw_fifo_send_fence()
522 vmw_fifo_commit(dev_priv, bytes); vmw_fifo_send_fence()
220 vmw_fifo_wait_noirq(struct vmw_private *dev_priv, uint32_t bytes, bool interruptible, unsigned long timeout) vmw_fifo_wait_noirq() argument
253 vmw_fifo_wait(struct vmw_private *dev_priv, uint32_t bytes, bool interruptible, unsigned long timeout) vmw_fifo_wait() argument
397 vmw_fifo_res_copy(struct vmw_fifo_state *fifo_state, __le32 __iomem *fifo_mem, uint32_t next_cmd, uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_res_copy() argument
419 vmw_fifo_slow_copy(struct vmw_fifo_state *fifo_state, __le32 __iomem *fifo_mem, uint32_t next_cmd, uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_slow_copy() argument
/linux-4.1.27/drivers/crypto/vmx/
H A Dghash.c52 int bytes; member in struct:p8_ghash_desc_ctx
102 dctx->bytes = 0; p8_ghash_init()
136 if (dctx->bytes) { p8_ghash_update()
137 if (dctx->bytes + srclen < GHASH_DIGEST_SIZE) { p8_ghash_update()
138 memcpy(dctx->buffer + dctx->bytes, src, srclen); p8_ghash_update()
139 dctx->bytes += srclen; p8_ghash_update()
142 memcpy(dctx->buffer + dctx->bytes, src, p8_ghash_update()
143 GHASH_DIGEST_SIZE - dctx->bytes); p8_ghash_update()
151 src += GHASH_DIGEST_SIZE - dctx->bytes; p8_ghash_update()
152 srclen -= GHASH_DIGEST_SIZE - dctx->bytes; p8_ghash_update()
153 dctx->bytes = 0; p8_ghash_update()
168 dctx->bytes = srclen; p8_ghash_update()
183 if (dctx->bytes) { p8_ghash_final()
184 for (i = dctx->bytes; i < GHASH_DIGEST_SIZE; i++) p8_ghash_final()
193 dctx->bytes = 0; p8_ghash_final()
/linux-4.1.27/lib/raid6/
H A Drecov.c25 static void raid6_2data_recov_intx1(int disks, size_t bytes, int faila, raid6_2data_recov_intx1() argument
46 raid6_call.gen_syndrome(disks, bytes, ptrs); raid6_2data_recov_intx1()
59 while ( bytes-- ) { raid6_2data_recov_intx1()
69 static void raid6_datap_recov_intx1(int disks, size_t bytes, int faila, raid6_datap_recov_intx1() argument
84 raid6_call.gen_syndrome(disks, bytes, ptrs); raid6_datap_recov_intx1()
94 while ( bytes-- ) { raid6_datap_recov_intx1()
113 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, void **ptrs) raid6_dual_recov() argument
124 raid6_call.gen_syndrome(disks, bytes, ptrs); raid6_dual_recov()
133 raid6_datap_recov(disks, bytes, faila, ptrs); raid6_dual_recov()
136 raid6_2data_recov(disks, bytes, faila, failb, ptrs); raid6_dual_recov()
/linux-4.1.27/fs/btrfs/
H A Dfree-space-cache.c37 u64 bytes; member in struct:btrfs_trim_range
520 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, io_ctl_add_entry() argument
530 entry->bytes = cpu_to_le64(bytes); io_ctl_add_entry()
604 entry->bytes = le64_to_cpu(e->bytes); io_ctl_read_entry()
654 if (prev->offset + prev->bytes == e->offset) { merge_space_tree()
657 prev->bytes += e->bytes; merge_space_tree()
762 if (!e->bytes) { __load_free_space_cache()
938 ret = io_ctl_add_entry(io_ctl, e->offset, e->bytes, write_cache_extent_entries()
968 trim_entry->bytes, NULL); write_cache_extent_entries()
1417 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) bytes_to_bits() argument
1419 return (unsigned long)(div_u64(bytes, unit)); bytes_to_bits()
1492 * want a section that has at least bytes size and comes at or after the given
1550 prev->offset + prev->bytes > offset) tree_search_offset()
1582 prev->offset + prev->bytes > offset) tree_search_offset()
1587 } else if (entry->offset + entry->bytes > offset) tree_search_offset()
1599 if (entry->offset + entry->bytes > offset) tree_search_offset()
1623 ctl->free_space -= info->bytes; unlink_free_space()
1631 ASSERT(info->bytes || info->bitmap); link_free_space()
1637 ctl->free_space += info->bytes; link_free_space()
1681 * bytes we can have, or whatever is less than that. recalculate_thresholds()
1692 u64 offset, u64 bytes) __bitmap_clear_bits()
1697 count = bytes_to_bits(bytes, ctl->unit); __bitmap_clear_bits()
1702 info->bytes -= bytes; __bitmap_clear_bits()
1707 u64 bytes) bitmap_clear_bits()
1709 __bitmap_clear_bits(ctl, info, offset, bytes); bitmap_clear_bits()
1710 ctl->free_space -= bytes; bitmap_clear_bits()
1715 u64 bytes) bitmap_set_bits()
1720 count = bytes_to_bits(bytes, ctl->unit); bitmap_set_bits()
1725 info->bytes += bytes; bitmap_set_bits()
1726 ctl->free_space += bytes; bitmap_set_bits()
1730 * If we can not find suitable extent, we will use bytes to record
1735 u64 *bytes) search_bitmap()
1745 bits = bytes_to_bits(*bytes, ctl->unit); search_bitmap()
1762 *bytes = (u64)(found_bits) * ctl->unit; search_bitmap()
1766 *bytes = (u64)(max_bits) * ctl->unit; search_bitmap()
1770 /* Cache the size of the max extent in bytes */
1772 find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, find_free_space() argument
1790 if (entry->bytes < *bytes) { find_free_space()
1791 if (entry->bytes > *max_extent_size) find_free_space()
1792 *max_extent_size = entry->bytes; find_free_space()
1799 if (*bytes >= align) { find_free_space()
1809 if (entry->bytes < *bytes + align_off) { find_free_space()
1810 if (entry->bytes > *max_extent_size) find_free_space()
1811 *max_extent_size = entry->bytes; find_free_space()
1816 u64 size = *bytes; find_free_space()
1821 *bytes = size; find_free_space()
1830 *bytes = entry->bytes - align_off; find_free_space()
1841 info->bytes = 0; add_new_bitmap()
1861 u64 *offset, u64 *bytes) remove_from_bitmap()
1884 search_bytes = min(search_bytes, *bytes); remove_from_bitmap()
1891 *bytes -= search_bytes; remove_from_bitmap()
1893 if (*bytes) { remove_from_bitmap()
1895 if (!bitmap_info->bytes) remove_from_bitmap()
1899 * no entry after this bitmap, but we still have bytes to remove_from_bitmap()
1929 } else if (!bitmap_info->bytes) remove_from_bitmap()
1937 u64 bytes) add_bytes_to_bitmap()
1944 bytes_to_set = min(end - offset, bytes); add_bytes_to_bitmap()
1969 if (info->bytes <= block_group->sectorsize * 4) { use_bitmap()
2002 u64 bytes, offset, bytes_added; insert_into_bitmap() local
2005 bytes = info->bytes; insert_into_bitmap()
2042 offset, bytes); insert_into_bitmap()
2043 bytes -= bytes_added; insert_into_bitmap()
2047 if (!bytes) { insert_into_bitmap()
2061 bytes_added = add_bytes_to_bitmap(ctl, bitmap_info, offset, bytes); insert_into_bitmap()
2062 bytes -= bytes_added; insert_into_bitmap()
2066 if (!bytes) { insert_into_bitmap()
2119 u64 bytes = info->bytes; try_merge_free_space() local
2126 right_info = tree_search_offset(ctl, offset + bytes, 0, 0); try_merge_free_space()
2138 info->bytes += right_info->bytes; try_merge_free_space()
2144 left_info->offset + left_info->bytes == offset) { try_merge_free_space()
2150 info->bytes += left_info->bytes; try_merge_free_space()
2165 const u64 end = info->offset + info->bytes; steal_from_bitmap_to_end()
2167 u64 bytes; steal_from_bitmap_to_end() local
2177 bytes = (j - i) * ctl->unit; steal_from_bitmap_to_end()
2178 info->bytes += bytes; steal_from_bitmap_to_end()
2181 bitmap_clear_bits(ctl, bitmap, end, bytes); steal_from_bitmap_to_end()
2183 __bitmap_clear_bits(ctl, bitmap, end, bytes); steal_from_bitmap_to_end()
2185 if (!bitmap->bytes) steal_from_bitmap_to_end()
2200 u64 bytes; steal_from_bitmap_to_front() local
2226 bytes = (i + 1) * ctl->unit; steal_from_bitmap_to_front()
2228 bytes = (i - prev_j) * ctl->unit; steal_from_bitmap_to_front()
2230 info->offset -= bytes; steal_from_bitmap_to_front()
2231 info->bytes += bytes; steal_from_bitmap_to_front()
2234 bitmap_clear_bits(ctl, bitmap, info->offset, bytes); steal_from_bitmap_to_front()
2236 __bitmap_clear_bits(ctl, bitmap, info->offset, bytes); steal_from_bitmap_to_front()
2238 if (!bitmap->bytes) steal_from_bitmap_to_front()
2281 u64 offset, u64 bytes) __btrfs_add_free_space()
2291 info->bytes = bytes; __btrfs_add_free_space()
2335 u64 offset, u64 bytes) btrfs_remove_free_space()
2346 if (!bytes) btrfs_remove_free_space()
2372 u64 to_free = min(bytes, info->bytes); btrfs_remove_free_space()
2374 info->bytes -= to_free; btrfs_remove_free_space()
2376 if (info->bytes) { btrfs_remove_free_space()
2384 bytes -= to_free; btrfs_remove_free_space()
2387 u64 old_end = info->bytes + info->offset; btrfs_remove_free_space()
2389 info->bytes = offset - info->offset; btrfs_remove_free_space()
2395 /* Not enough bytes in this entry to satisfy us */ btrfs_remove_free_space()
2396 if (old_end < offset + bytes) { btrfs_remove_free_space()
2397 bytes -= old_end - offset; btrfs_remove_free_space()
2400 } else if (old_end == offset + bytes) { btrfs_remove_free_space()
2406 ret = btrfs_add_free_space(block_group, offset + bytes, btrfs_remove_free_space()
2407 old_end - (offset + bytes)); btrfs_remove_free_space()
2413 ret = remove_from_bitmap(ctl, info, &offset, &bytes); btrfs_remove_free_space()
2425 u64 bytes) btrfs_dump_free_space()
2434 if (info->bytes >= bytes && !block_group->ro) btrfs_dump_free_space()
2437 "entry offset %llu, bytes %llu, bitmap %s", btrfs_dump_free_space()
2438 info->offset, info->bytes, btrfs_dump_free_space()
2444 "%d blocks of free space at or bigger than bytes is", count); btrfs_dump_free_space()
2565 u64 offset, u64 bytes, u64 empty_size, btrfs_find_space_for_alloc()
2570 u64 bytes_search = bytes + empty_size; btrfs_find_space_for_alloc()
2583 bitmap_clear_bits(ctl, entry, offset, bytes); btrfs_find_space_for_alloc()
2584 if (!entry->bytes) btrfs_find_space_for_alloc()
2591 entry->offset = offset + bytes; btrfs_find_space_for_alloc()
2592 WARN_ON(entry->bytes < bytes + align_gap_len); btrfs_find_space_for_alloc()
2594 entry->bytes -= bytes + align_gap_len; btrfs_find_space_for_alloc()
2595 if (!entry->bytes) btrfs_find_space_for_alloc()
2654 u64 bytes, u64 min_start, btrfs_alloc_from_bitmap()
2660 u64 search_bytes = bytes; btrfs_alloc_from_bitmap()
2664 search_bytes = bytes; btrfs_alloc_from_bitmap()
2674 __bitmap_clear_bits(ctl, entry, ret, bytes); btrfs_alloc_from_bitmap()
2680 * given a cluster, try to allocate 'bytes' from it, returns 0
2685 struct btrfs_free_cluster *cluster, u64 bytes, btrfs_alloc_from_cluster()
2694 if (bytes > cluster->max_size) btrfs_alloc_from_cluster()
2706 if (entry->bytes < bytes && entry->bytes > *max_extent_size) btrfs_alloc_from_cluster()
2707 *max_extent_size = entry->bytes; btrfs_alloc_from_cluster()
2709 if (entry->bytes < bytes || btrfs_alloc_from_cluster()
2721 cluster, entry, bytes, btrfs_alloc_from_cluster()
2732 cluster->window_start += bytes; btrfs_alloc_from_cluster()
2736 entry->offset += bytes; btrfs_alloc_from_cluster()
2737 entry->bytes -= bytes; btrfs_alloc_from_cluster()
2740 if (entry->bytes == 0) btrfs_alloc_from_cluster()
2752 ctl->free_space -= bytes; btrfs_alloc_from_cluster()
2753 if (entry->bytes == 0) { btrfs_alloc_from_cluster()
2771 u64 offset, u64 bytes, btrfs_bitmap_cluster()
2786 want_bits = bytes_to_bits(bytes, ctl->unit); btrfs_bitmap_cluster()
2832 * Try to find a cluster with at least bytes total bytes, at least one
2838 struct list_head *bitmaps, u64 offset, u64 bytes, setup_cluster_no_bitmap()
2858 while (entry->bitmap || entry->bytes < min_bytes) { setup_cluster_no_bitmap()
2867 window_free = entry->bytes; setup_cluster_no_bitmap()
2868 max_extent = entry->bytes; setup_cluster_no_bitmap()
2882 if (entry->bytes < min_bytes) setup_cluster_no_bitmap()
2886 window_free += entry->bytes; setup_cluster_no_bitmap()
2887 if (entry->bytes > max_extent) setup_cluster_no_bitmap()
2888 max_extent = entry->bytes; setup_cluster_no_bitmap()
2891 if (window_free < bytes || max_extent < cont1_bytes) setup_cluster_no_bitmap()
2907 if (entry->bitmap || entry->bytes < min_bytes) setup_cluster_no_bitmap()
2913 total_size += entry->bytes; setup_cluster_no_bitmap()
2929 struct list_head *bitmaps, u64 offset, u64 bytes, setup_cluster_bitmap()
2952 if (entry->bytes < bytes) list_for_each_entry()
2955 bytes, cont1_bytes, min_bytes); list_for_each_entry()
2969 * is to find at least bytes+empty_size.
2978 u64 offset, u64 bytes, u64 empty_size) btrfs_find_space_cluster()
2994 cont1_bytes = min_bytes = bytes + empty_size; btrfs_find_space_cluster()
2996 cont1_bytes = bytes; btrfs_find_space_cluster()
2999 cont1_bytes = max(bytes, (bytes + empty_size) >> 2); btrfs_find_space_cluster()
3009 if (ctl->free_space < bytes) { btrfs_find_space_cluster()
3022 trace_btrfs_find_cluster(block_group, offset, bytes, empty_size, btrfs_find_space_cluster()
3026 bytes + empty_size, btrfs_find_space_cluster()
3030 offset, bytes + empty_size, btrfs_find_space_cluster()
3066 u64 *total_trimmed, u64 start, u64 bytes, do_trimming()
3088 start, bytes, &trimmed); do_trimming()
3120 u64 bytes; trim_no_bitmap() local
3160 extent_bytes = entry->bytes; trim_no_bitmap()
3162 bytes = min(extent_start + extent_bytes, end) - start; trim_no_bitmap()
3163 if (bytes < minlen) { trim_no_bitmap()
3174 trim_entry.bytes = extent_bytes; trim_no_bitmap()
3178 ret = do_trimming(block_group, total_trimmed, start, bytes, trim_no_bitmap()
3183 start += bytes; trim_no_bitmap()
3203 u64 bytes; trim_bitmaps() local
3227 bytes = minlen; trim_bitmaps()
3228 ret2 = search_bitmap(ctl, entry, &start, &bytes); trim_bitmaps()
3236 bytes = min(bytes, end - start); trim_bitmaps()
3237 if (bytes < minlen) { trim_bitmaps()
3243 bitmap_clear_bits(ctl, entry, start, bytes); trim_bitmaps()
3244 if (entry->bytes == 0) trim_bitmaps()
3249 trim_entry.bytes = bytes; trim_bitmaps()
3253 ret = do_trimming(block_group, total_trimmed, start, bytes, trim_bitmaps()
3254 start, bytes, &trim_entry); trim_bitmaps()
3261 start += bytes; trim_bitmaps()
3362 entry->bytes--; btrfs_find_ino_for_alloc()
3363 if (!entry->bytes) btrfs_find_ino_for_alloc()
3378 if (entry->bytes == 0) btrfs_find_ino_for_alloc()
3509 u64 offset, u64 bytes, bool bitmap) test_add_free_space_entry()
3527 info->bytes = bytes; test_add_free_space_entry()
3554 bytes_added = add_bytes_to_bitmap(ctl, bitmap_info, offset, bytes); test_add_free_space_entry()
3555 bytes -= bytes_added; test_add_free_space_entry()
3559 if (bytes) test_add_free_space_entry()
3575 u64 offset, u64 bytes) test_check_exists()
3604 offset + bytes > bit_off) { test_check_exists()
3614 if (tmp->offset + tmp->bytes < offset) test_check_exists()
3616 if (offset + bytes < tmp->offset) { test_check_exists()
3628 if (offset + bytes < tmp->offset) test_check_exists()
3630 if (tmp->offset + tmp->bytes < offset) { test_check_exists()
3647 if (offset > info->offset && offset < info->offset + info->bytes) test_check_exists()
1690 __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) __bitmap_clear_bits() argument
1705 bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) bitmap_clear_bits() argument
1713 bitmap_set_bits(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) bitmap_set_bits() argument
1733 search_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *bitmap_info, u64 *offset, u64 *bytes) search_bitmap() argument
1859 remove_from_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *bitmap_info, u64 *offset, u64 *bytes) remove_from_bitmap() argument
1935 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, struct btrfs_free_space *info, u64 offset, u64 bytes) add_bytes_to_bitmap() argument
2280 __btrfs_add_free_space(struct btrfs_free_space_ctl *ctl, u64 offset, u64 bytes) __btrfs_add_free_space() argument
2334 btrfs_remove_free_space(struct btrfs_block_group_cache *block_group, u64 offset, u64 bytes) btrfs_remove_free_space() argument
2424 btrfs_dump_free_space(struct btrfs_block_group_cache *block_group, u64 bytes) btrfs_dump_free_space() argument
2564 btrfs_find_space_for_alloc(struct btrfs_block_group_cache *block_group, u64 offset, u64 bytes, u64 empty_size, u64 *max_extent_size) btrfs_find_space_for_alloc() argument
2651 btrfs_alloc_from_bitmap(struct btrfs_block_group_cache *block_group, struct btrfs_free_cluster *cluster, struct btrfs_free_space *entry, u64 bytes, u64 min_start, u64 *max_extent_size) btrfs_alloc_from_bitmap() argument
2684 btrfs_alloc_from_cluster(struct btrfs_block_group_cache *block_group, struct btrfs_free_cluster *cluster, u64 bytes, u64 min_start, u64 *max_extent_size) btrfs_alloc_from_cluster() argument
2768 btrfs_bitmap_cluster(struct btrfs_block_group_cache *block_group, struct btrfs_free_space *entry, struct btrfs_free_cluster *cluster, u64 offset, u64 bytes, u64 cont1_bytes, u64 min_bytes) btrfs_bitmap_cluster() argument
2836 setup_cluster_no_bitmap(struct btrfs_block_group_cache *block_group, struct btrfs_free_cluster *cluster, struct list_head *bitmaps, u64 offset, u64 bytes, u64 cont1_bytes, u64 min_bytes) setup_cluster_no_bitmap() argument
2927 setup_cluster_bitmap(struct btrfs_block_group_cache *block_group, struct btrfs_free_cluster *cluster, struct list_head *bitmaps, u64 offset, u64 bytes, u64 cont1_bytes, u64 min_bytes) setup_cluster_bitmap() argument
2975 btrfs_find_space_cluster(struct btrfs_root *root, struct btrfs_block_group_cache *block_group, struct btrfs_free_cluster *cluster, u64 offset, u64 bytes, u64 empty_size) btrfs_find_space_cluster() argument
3065 do_trimming(struct btrfs_block_group_cache *block_group, u64 *total_trimmed, u64 start, u64 bytes, u64 reserved_start, u64 reserved_bytes, struct btrfs_trim_range *trim_entry) do_trimming() argument
3508 test_add_free_space_entry(struct btrfs_block_group_cache *cache, u64 offset, u64 bytes, bool bitmap) test_add_free_space_entry() argument
3574 test_check_exists(struct btrfs_block_group_cache *cache, u64 offset, u64 bytes) test_check_exists() argument
H A Dlzo.c113 unsigned long bytes; lzo_compress_pages() local
124 * the first 4 bytes lzo_compress_pages()
159 /* copy bytes from the working buffer into the pages */ lzo_compress_pages()
162 bytes = min_t(unsigned long, pg_bytes_left, out_len); lzo_compress_pages()
164 memcpy(cpage_out + out_offset, buf, bytes); lzo_compress_pages()
166 out_len -= bytes; lzo_compress_pages()
167 pg_bytes_left -= bytes; lzo_compress_pages()
168 buf += bytes; lzo_compress_pages()
169 out_offset += bytes; lzo_compress_pages()
174 * Note if there's less than 4 bytes left, we just lzo_compress_pages()
272 unsigned long bytes; lzo_decompress_biovec() local
310 bytes = in_len; lzo_decompress_biovec()
315 /* copy bytes from the pages into the working buffer */ lzo_decompress_biovec()
319 bytes = min(working_bytes, in_page_bytes_left); lzo_decompress_biovec()
321 memcpy(buf + buf_offset, data_in + in_offset, bytes); lzo_decompress_biovec()
322 buf_offset += bytes; lzo_decompress_biovec()
324 working_bytes -= bytes; lzo_decompress_biovec()
325 in_page_bytes_left -= bytes; lzo_decompress_biovec()
326 in_offset += bytes; lzo_decompress_biovec()
392 unsigned long bytes; lzo_decompress() local
420 bytes = min_t(unsigned long, destlen, out_len - start_byte); lzo_decompress()
423 memcpy(kaddr, workspace->buf + start_byte, bytes); lzo_decompress()
430 if (bytes < destlen) lzo_decompress()
431 memset(kaddr+bytes, 0, destlen-bytes); lzo_decompress()
H A Dfree-space-cache.h25 u64 bytes; member in struct:btrfs_free_space
106 u64 offset, u64 bytes, u64 empty_size,
110 u64 bytes);
114 u64 offset, u64 bytes, u64 empty_size);
117 struct btrfs_free_cluster *cluster, u64 bytes,
128 u64 offset, u64 bytes, bool bitmap);
130 u64 offset, u64 bytes);
/linux-4.1.27/drivers/md/bcache/
H A Ddebug.c151 size_t bytes; member in struct:dump_iterator
170 unsigned bytes = min(i->bytes, size); bch_dump_read() local
172 int err = copy_to_user(buf, i->buf, bytes); bch_dump_read()
176 ret += bytes; bch_dump_read()
177 buf += bytes; bch_dump_read()
178 size -= bytes; bch_dump_read()
179 i->bytes -= bytes; bch_dump_read()
180 memmove(i->buf, i->buf + bytes, i->bytes); bch_dump_read()
182 if (i->bytes) bch_dump_read()
190 i->bytes = snprintf(i->buf, PAGE_SIZE, "%s\n", kbuf); bch_dump_read()
/linux-4.1.27/drivers/w1/slaves/
H A Dw1_ds2423.c69 * 1 byte for first bytes in ram page read w1_slave_show()
70 * 4 bytes for counter w1_slave_show()
71 * 4 bytes for zero bits w1_slave_show()
72 * 2 bytes for crc w1_slave_show()
73 * 31 remaining bytes from the ram page w1_slave_show()
83 "w1_counter_read() returned %u bytes " w1_slave_show()
84 "instead of %d bytes wanted.\n", w1_slave_show()
95 * DS2423 calculates crc from all bytes w1_slave_show()
96 * read after the previous crc bytes. w1_slave_show()
/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_dev.h32 * @bytes: number of bytes to read. zero means "read a string" (including '\0')
33 * (at most only EC_MEMMAP_SIZE bytes can be read)
35 * ioctl returns the number of bytes read, negative on error
39 uint32_t bytes; member in struct:cros_ec_readmem
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst_stream.c164 struct snd_sst_bytes_v2 *bytes) sst_send_byte_stream_mrfld()
172 bytes->type, bytes->ipc_msg, bytes->block, bytes->task_id, sst_send_byte_stream_mrfld()
173 bytes->pipe_id, bytes->len); sst_send_byte_stream_mrfld()
179 sst_fill_header_mrfld(&msg->mrfld_header, bytes->ipc_msg, sst_send_byte_stream_mrfld()
180 bytes->task_id, 1, pvt_id); sst_send_byte_stream_mrfld()
181 msg->mrfld_header.p.header_high.part.res_rqd = bytes->block; sst_send_byte_stream_mrfld()
182 length = bytes->len; sst_send_byte_stream_mrfld()
185 memcpy(msg->mailbox_data, &bytes->bytes, bytes->len); sst_send_byte_stream_mrfld()
186 if (bytes->block) { sst_send_byte_stream_mrfld()
187 block = sst_create_block(sst_drv_ctx, bytes->ipc_msg, pvt_id); sst_send_byte_stream_mrfld()
199 if (bytes->block) { sst_send_byte_stream_mrfld()
207 if (bytes->type == SND_SST_BYTES_GET) { sst_send_byte_stream_mrfld()
212 if (bytes->block) { sst_send_byte_stream_mrfld()
215 dev_dbg(sst_drv_ctx->dev, "read back %d bytes", sst_send_byte_stream_mrfld()
216 bytes->len); sst_send_byte_stream_mrfld()
217 memcpy(bytes->bytes, r, bytes->len); sst_send_byte_stream_mrfld()
220 if (bytes->block) sst_send_byte_stream_mrfld()
163 sst_send_byte_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, struct snd_sst_bytes_v2 *bytes) sst_send_byte_stream_mrfld() argument
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_acpi.h36 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
37 * OUTPUT: (ACPI_BUFFER) output buffer, 256 bytes
50 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
51 * OUTPUT: (ACPI_BUFFER) output buffer, 256 bytes
64 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
65 * OUTPUT: (ACPI_BUFFER) output buffer, 256 bytes
74 * WORD - structure size in bytes (includes size field)
104 * WORD - structure size in bytes (includes size field)
110 * WORD - structure size in bytes (includes size field)
128 * WORD - structure size in bytes (includes size field)
164 * WORD - structure size in bytes (includes size field)
168 * WORD - structure size in bytes (includes size field)
187 * WORD - structure size in bytes (includes size field)
197 * WORD - structure size in bytes (includes size field)
212 * WORD - structure size in bytes (includes size field)
221 * WORD - structure size in bytes (includes size field)
227 * WORD - structure size in bytes (includes size field)
234 * WORD - structure size in bytes (includes size field)
244 * WORD - device structure size in bytes (excludes device size field)
260 * WORD - structure size in bytes (includes size field)
277 * WORD - structure size in bytes (includes size field)
297 * WORD - structure size in bytes (includes size field)
304 * WORD - structure size in bytes (includes size field)
313 * WORD - structure size in bytes (includes size field)
320 * WORD - structure size in bytes (includes size field)
327 * WORD - structure size in bytes (includes size field)
336 * WORD - connector structure size in bytes (excludes connector size field)
351 * WORD - port structure size in bytes (excludes port size field)
382 * WORD - structure size in bytes (includes size field)
395 * WORD - structure size in bytes (includes size field)
404 * WORD - structure size in bytes (includes size field)
411 * WORD - structure size in bytes (includes size field)
437 * WORD - structure size in bytes (includes size field)
441 * WORD - structure size in bytes (includes size field)
H A Dradeon_dp_auxch.c67 int bytes; radeon_dp_aux_transfer_native() local
88 bytes = BARE_ADDRESS_SIZE; radeon_dp_aux_transfer_native()
91 bytes++; radeon_dp_aux_transfer_native()
93 bytes += msg->size; radeon_dp_aux_transfer_native()
114 AUX_SW_WR_BYTES(bytes)); radeon_dp_aux_transfer_native()
116 AUX_SW_WR_BYTES(bytes)); radeon_dp_aux_transfer_native()
149 AUX_SW_WR_BYTES(bytes) | AUX_SW_GO); radeon_dp_aux_transfer_native()
177 bytes = AUX_SW_REPLY_GET_BYTE_COUNT(tmp); radeon_dp_aux_transfer_native()
178 if (bytes) { radeon_dp_aux_transfer_native()
185 for (i = 0; i < bytes - 1; i++) { radeon_dp_aux_transfer_native()
191 ret = bytes - 1; radeon_dp_aux_transfer_native()
H A Ddrm_buffer.c42 * size: The number of bytes to allocate.
56 " %d bytes in %d pages.\n", drm_buffer_alloc()
72 " buffer with %d bytes and %d pages.\n", drm_buffer_alloc()
95 * size: The Number of bytes to copy.
104 DRM_ERROR("Requesting to copy %d bytes to a drm buffer with" drm_buffer_copy_from_user()
105 " %d bytes space\n", drm_buffer_copy_from_user()
152 * objsize: The size of the objet in bytes.
H A Ddrm_buffer.h62 * Return number of bytes that is left to process
70 * Advance the buffer iterator number of bytes that is given.
72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) drm_buffer_advance() argument
74 buf->iterator += bytes; drm_buffer_advance()
81 * size: The number of bytes to allocate.
90 * size: The Number of bytes to copy.
109 * objsize: The size of the objet in bytes.
/linux-4.1.27/drivers/ps3/
H A Dps3-vuart.c364 const void *buf, unsigned int bytes, u64 *bytes_written) ps3_vuart_raw_write()
370 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); ps3_vuart_raw_write()
381 *bytes_written, bytes, priv->stats.bytes_written); ps3_vuart_raw_write()
394 unsigned int bytes, u64 *bytes_read) ps3_vuart_raw_read()
399 dev_dbg(&dev->core, "%s:%d: %xh\n", __func__, __LINE__, bytes); ps3_vuart_raw_read()
402 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_read); ps3_vuart_raw_read()
413 *bytes_read, bytes, priv->stats.bytes_read); ps3_vuart_raw_read()
419 * ps3_vuart_clear_rx_bytes - Discard bytes received.
421 * @bytes: Max byte count to discard, zero = all pending.
427 unsigned int bytes) ps3_vuart_clear_rx_bytes()
438 bytes = bytes ? min(bytes, (unsigned int)bytes_waiting) : bytes_waiting; ps3_vuart_clear_rx_bytes()
440 dev_dbg(&dev->core, "%s:%d: %u\n", __func__, __LINE__, bytes); ps3_vuart_clear_rx_bytes()
442 if (!bytes) ps3_vuart_clear_rx_bytes()
447 bytes += 128; ps3_vuart_clear_rx_bytes()
449 tmp = kmalloc(bytes, GFP_KERNEL); ps3_vuart_clear_rx_bytes()
454 ps3_vuart_raw_read(dev, tmp, bytes, &bytes_waiting); ps3_vuart_clear_rx_bytes()
458 /* Don't include these bytes in the stats. */ ps3_vuart_clear_rx_bytes()
487 unsigned int bytes) ps3_vuart_write()
495 dev_dbg(&dev->core, "%s:%d: %u(%xh) bytes\n", __func__, __LINE__, ps3_vuart_write()
496 bytes, bytes); ps3_vuart_write()
503 result = ps3_vuart_raw_write(dev, buf, bytes, &bytes_written); ps3_vuart_write()
514 if (bytes_written == bytes) { ps3_vuart_write()
515 dev_dbg(&dev->core, "%s:%d: wrote %xh bytes\n", ps3_vuart_write()
516 __func__, __LINE__, bytes); ps3_vuart_write()
520 bytes -= bytes_written; ps3_vuart_write()
525 lb = kmalloc(sizeof(struct list_buffer) + bytes, GFP_KERNEL); ps3_vuart_write()
530 memcpy(lb->data, buf, bytes); ps3_vuart_write()
532 lb->tail = lb->data + bytes; ps3_vuart_write()
540 dev_dbg(&dev->core, "%s:%d: queued buf_%lu, %xh bytes\n", ps3_vuart_write()
541 __func__, __LINE__, lb->dbg_number, bytes); ps3_vuart_write()
548 * ps3_vuart_queue_rx_bytes - Queue waiting bytes into the buffer list.
550 * @bytes_queued: Number of bytes queued to the buffer list.
562 u64 bytes; ps3_vuart_queue_rx_bytes() local
566 result = ps3_vuart_get_rx_bytes_waiting(dev, &bytes); ps3_vuart_queue_rx_bytes()
572 if (!bytes) ps3_vuart_queue_rx_bytes()
577 bytes += 128; ps3_vuart_queue_rx_bytes()
579 lb = kmalloc(sizeof(struct list_buffer) + bytes, GFP_ATOMIC); ps3_vuart_queue_rx_bytes()
584 ps3_vuart_raw_read(dev, lb->data, bytes, &bytes); ps3_vuart_queue_rx_bytes()
587 lb->tail = lb->data + bytes; ps3_vuart_queue_rx_bytes()
591 priv->rx_list.bytes_held += bytes; ps3_vuart_queue_rx_bytes()
593 dev_dbg(&dev->core, "%s:%d: buf_%lu: queued %llxh bytes\n", ps3_vuart_queue_rx_bytes()
594 __func__, __LINE__, lb->dbg_number, bytes); ps3_vuart_queue_rx_bytes()
596 *bytes_queued = bytes; ps3_vuart_queue_rx_bytes()
604 * Queue data waiting at the port, and if enough bytes to satisfy the request
605 * are held in the buffer list those bytes are dequeued and copied to the
607 * be statified by bytes held in the list buffers -EAGAIN is returned.
611 unsigned int bytes) ps3_vuart_read()
619 dev_dbg(&dev->core, "%s:%d: %u(%xh) bytes\n", __func__, __LINE__, ps3_vuart_read()
620 bytes, bytes); ps3_vuart_read()
624 /* Queue rx bytes here for polled reads. */ ps3_vuart_read()
626 while (priv->rx_list.bytes_held < bytes) { ps3_vuart_read()
631 dev_dbg(&dev->core, "%s:%d: starved for %lxh bytes\n", ps3_vuart_read()
633 bytes - priv->rx_list.bytes_held); ps3_vuart_read()
640 bytes_read = min((unsigned int)(lb->tail - lb->head), bytes); ps3_vuart_read()
644 bytes -= bytes_read; ps3_vuart_read()
650 "bytes\n", __func__, __LINE__, lb->dbg_number, ps3_vuart_read()
657 "bytes\n", __func__, __LINE__, lb->dbg_number, ps3_vuart_read()
684 int ps3_vuart_read_async(struct ps3_system_bus_device *dev, unsigned int bytes) ps3_vuart_read_async() argument
695 BUG_ON(!bytes); ps3_vuart_read_async()
698 if (priv->rx_list.bytes_held >= bytes) { ps3_vuart_read_async()
699 dev_dbg(&dev->core, "%s:%d: schedule_work %xh bytes\n", ps3_vuart_read_async()
700 __func__, __LINE__, bytes); ps3_vuart_read_async()
706 priv->rx_list.work.trigger = bytes; ps3_vuart_read_async()
709 dev_dbg(&dev->core, "%s:%d: waiting for %u(%xh) bytes\n", __func__, ps3_vuart_read_async()
710 __LINE__, bytes, bytes); ps3_vuart_read_async()
761 "%s:%d cleared buf_%lu, %llxh bytes\n", ps3_vuart_handle_interrupt_tx()
777 dev_dbg(&dev->core, "%s:%d wrote %lxh bytes total\n", ps3_vuart_handle_interrupt_tx()
795 u64 bytes; ps3_vuart_handle_interrupt_rx() local
800 result = ps3_vuart_queue_rx_bytes(dev, &bytes); ps3_vuart_handle_interrupt_rx()
809 dev_dbg(&dev->core, "%s:%d: schedule_work %lxh bytes\n", ps3_vuart_handle_interrupt_rx()
363 ps3_vuart_raw_write(struct ps3_system_bus_device *dev, const void *buf, unsigned int bytes, u64 *bytes_written) ps3_vuart_raw_write() argument
393 ps3_vuart_raw_read(struct ps3_system_bus_device *dev, void *buf, unsigned int bytes, u64 *bytes_read) ps3_vuart_raw_read() argument
426 ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev, unsigned int bytes) ps3_vuart_clear_rx_bytes() argument
486 ps3_vuart_write(struct ps3_system_bus_device *dev, const void *buf, unsigned int bytes) ps3_vuart_write() argument
610 ps3_vuart_read(struct ps3_system_bus_device *dev, void *buf, unsigned int bytes) ps3_vuart_read() argument
/linux-4.1.27/arch/powerpc/boot/
H A Dgunzip_util.c27 * @srclen: size in bytes of the buffer at src
87 * gunzip_partial - extract bytes from a gzip data stream
90 * @dstlen: maximum number of bytes to extract
92 * This function extracts at most @dstlen bytes from the data stream
94 * if necessary. Exactly @dstlen bytes are extracted unless the data
95 * stream doesn't contain enough bytes, in which case the entire
98 * Returns the actual number of bytes extracted. If any errors occur,
127 * gunzip_exactly - extract a fixed number of bytes from a gzip data stream
130 * @dstlen: number of bytes to extract
132 * This function extracts exactly @dstlen bytes from the data stream
136 * If there are less @dstlen bytes available in the data stream, or if
151 * gunzip_discard - discard bytes from a gzip data stream
153 * @len: number of bytes to discard
155 * This function extracts, then discards exactly @len bytes from the
158 * calls will extract the data following the discarded bytes in the
161 * If there are less @len bytes available in the data stream, or if
179 * gunzip_finish - extract all remaining bytes from a gzip data stream
182 * @dstlen: maximum number of bytes to extract
185 * bytes, from the stream previously associated with @state by
H A Dps3-head.S30 * The bootwraper build script copies the 512 bytes at symbol
32 * must occupy 512 or less bytes.
80 * The bootwrapper build script copies 512 bytes from offset 0x100
82 * the bootwrapper program copies the 512 bytes at __system_reset_kernel
83 * to ram address 0x100. This symbol must occupy 512 bytes.
/linux-4.1.27/sound/pci/echoaudio/
H A Dmidi.c60 static int write_midi(struct echoaudio *chip, u8 *data, int bytes) write_midi() argument
62 if (snd_BUG_ON(bytes <= 0 || bytes >= MIDI_OUT_BUFFER_SIZE)) write_midi()
72 chip->comm_page->midi_output[0] = bytes; write_midi()
73 memcpy(&chip->comm_page->midi_output[1], data, bytes); write_midi()
77 dev_dbg(chip->card->dev, "write_midi: %d\n", bytes); write_midi()
78 return bytes; write_midi()
89 real MIDI bytes, the following logic is needed to skip them. */ mtc_process_data()
115 from the DSP's buffer. It returns the number of bytes received. */ midi_service_irq()
134 consists of MIDI bytes and timestamps for the MIDI time code midi_service_irq()
135 0xF1 bytes. mtc_process_data() is a little state machine that midi_service_irq()
206 int bytes, sent, time; snd_echo_midi_output_write() local
211 sent = bytes = 0; snd_echo_midi_output_write()
215 bytes = snd_rawmidi_transmit_peek(chip->midi_out, buf, snd_echo_midi_output_write()
217 dev_dbg(chip->card->dev, "Try to send %d bytes...\n", bytes); snd_echo_midi_output_write()
218 sent = write_midi(chip, buf, bytes); snd_echo_midi_output_write()
226 dev_dbg(chip->card->dev, "%d bytes sent\n", sent); snd_echo_midi_output_write()
230 bytes long. Let's wait until half of them are sent */ snd_echo_midi_output_write()
/linux-4.1.27/drivers/iommu/
H A Domap-iommu.h170 #define iopgsz_max(bytes) \
171 (((bytes) >= SZ_16M) ? SZ_16M : \
172 ((bytes) >= SZ_1M) ? SZ_1M : \
173 ((bytes) >= SZ_64K) ? SZ_64K : \
174 ((bytes) >= SZ_4K) ? SZ_4K : 0)
176 #define bytes_to_iopgsz(bytes) \
177 (((bytes) == SZ_16M) ? MMU_CAM_PGSZ_16M : \
178 ((bytes) == SZ_1M) ? MMU_CAM_PGSZ_1M : \
179 ((bytes) == SZ_64K) ? MMU_CAM_PGSZ_64K : \
180 ((bytes) == SZ_4K) ? MMU_CAM_PGSZ_4K : -1)
188 #define iopgsz_ok(bytes) (bytes_to_iopgsz(bytes) >= 0)
H A Domap-iommu-debug.c37 ssize_t bytes; debug_read_regs() local
49 bytes = omap_iommu_dump_ctx(obj, p, count); debug_read_regs()
50 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes); debug_read_regs()
55 return bytes; debug_read_regs()
63 ssize_t bytes, rest; debug_read_tlb() local
80 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); debug_read_tlb()
85 return bytes; debug_read_tlb()
/linux-4.1.27/drivers/hid/
H A Dhid-roccat-arvo.h17 struct arvo_mode_key { /* 2 bytes */
30 struct arvo_key_mask { /* 2 bytes */
36 struct arvo_actual_profile { /* 2 bytes */
/linux-4.1.27/drivers/target/
H A Dtarget_core_xcopy.h55 #define RCR_OP_DATA_SEG_GRAN_LOG2 9 /* 512 bytes in log 2 */
56 #define RCR_OP_INLINE_DATA_GRAN_LOG2 9 /* 512 bytes in log 2 */
57 #define RCR_OP_HELD_DATA_GRAN_LOG2 9 /* 512 bytes in log 2 */
/linux-4.1.27/crypto/async_tx/
H A Dasync_raid6_recov.c160 __2data_recov_4(int disks, size_t bytes, int faila, int failb, __2data_recov_4() argument
185 tx = async_sum_product(b, srcs, coef, bytes, submit); __2data_recov_4()
192 tx = async_xor(a, srcs, 0, 2, bytes, submit); __2data_recov_4()
199 __2data_recov_5(int disks, size_t bytes, int faila, int failb, __2data_recov_5() argument
236 tx = async_memcpy(dp, g, 0, 0, bytes, submit); __2data_recov_5()
238 tx = async_mult(dq, g, raid6_gfexp[good], bytes, submit); __2data_recov_5()
245 tx = async_xor(dp, srcs, 0, 2, bytes, submit); __2data_recov_5()
252 tx = async_xor(dq, srcs, 0, 2, bytes, submit); __2data_recov_5()
260 tx = async_sum_product(dq, srcs, coef, bytes, submit); __2data_recov_5()
267 tx = async_xor(dp, srcs, 0, 2, bytes, submit); __2data_recov_5()
273 __2data_recov_n(int disks, size_t bytes, int faila, int failb, __2data_recov_n() argument
300 tx = async_gen_syndrome(blocks, 0, disks, bytes, submit); __2data_recov_n()
313 tx = async_xor(dp, srcs, 0, 2, bytes, submit); __2data_recov_n()
320 tx = async_xor(dq, srcs, 0, 2, bytes, submit); __2data_recov_n()
328 tx = async_sum_product(dq, srcs, coef, bytes, submit); __2data_recov_n()
335 tx = async_xor(dp, srcs, 0, 2, bytes, submit); __2data_recov_n()
343 * @bytes: block size
350 async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb, async_raid6_2data_recov() argument
360 pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); async_raid6_2data_recov()
377 raid6_2data_recov(disks, bytes, faila, failb, ptrs); async_raid6_2data_recov()
400 return __2data_recov_4(disks, bytes, faila, failb, blocks, submit); async_raid6_2data_recov()
407 return __2data_recov_5(disks, bytes, faila, failb, blocks, submit); async_raid6_2data_recov()
409 return __2data_recov_n(disks, bytes, faila, failb, blocks, submit); async_raid6_2data_recov()
417 * @bytes: block size
423 async_raid6_datap_recov(int disks, size_t bytes, int faila, async_raid6_datap_recov() argument
436 pr_debug("%s: disks: %d len: %zu\n", __func__, disks, bytes); async_raid6_datap_recov()
453 raid6_datap_recov(disks, bytes, faila, ptrs); async_raid6_datap_recov()
492 tx = async_memcpy(p, g, 0, 0, bytes, submit); async_raid6_datap_recov()
496 tx = async_mult(dq, g, raid6_gfexp[good], bytes, submit); async_raid6_datap_recov()
500 tx = async_gen_syndrome(blocks, 0, disks, bytes, submit); async_raid6_datap_recov()
514 tx = async_xor(dq, srcs, 0, 2, bytes, submit); async_raid6_datap_recov()
517 tx = async_mult(dq, dq, coef, bytes, submit); async_raid6_datap_recov()
523 tx = async_xor(p, srcs, 0, 2, bytes, submit); async_raid6_datap_recov()
/linux-4.1.27/arch/hexagon/lib/
H A Dmemcpy.S23 * library function for memcpy where length bytes are copied from
31 * For blocks less than 16 bytes a byte by byte copy is performed. For
33 * 96bytes
47 * overread for blocks less than 48bytes. Reduced
48 * codesize to 752 bytes
147 * Codesize : 784 bytes
153 #define len R2 /* length of copy in bytes */
155 #define data70 R13:12 /* lo 8 bytes of non-aligned transfer */
156 #define dataF8 R11:10 /* hi 8 bytes of non-aligned transfer */
157 #define ldata0 R7:6 /* even 8 bytes chunks */
158 #define ldata1 R25:24 /* odd 8 bytes chunks */
159 #define data1 R7 /* lower 8 bytes of ldata1 */
160 #define data0 R6 /* lower 8 bytes of ldata0 */
162 #define ifbyte p0 /* if transfer has bytes in epilog/prolog */
172 #define star3 R16 /* number bytes in prolog - dwords */
173 #define rest R8 /* length - prolog bytes */
174 #define back R7 /* nr bytes > dword boundary in src block */
175 #define epilog R3 /* bytes in epilog */
180 #define shift R8 /* used to work a shifter to extract bytes */
181 #define shift2 R5 /* in epilog to workshifter to extract bytes */
182 #define prolog R15 /* bytes in prolog */
184 #define shiftb R14 /* used to extract bytes */
189 #define over R20 /* nr of bytes > last inp buf dword boundary */
223 /* all bytes before line multiples of data */
277 dcfetch(ptr_in_p_128); /* reserve the line 64bytes on */
282 dcfetch(ptr_in_p_128); /* reserve the line 64bytes on */
287 dcfetch(ptr_in_p_128); /* reserve the line 64bytes on */
308 /* upto initial 7 bytes */
329 if(p2) dataF8 = memd(ptr_in++#8); /* another 8 bytes */
352 /* kernel is at least 32bytes */
380 dczeroa(ptr_out_p_32); /* reserve the next 32bytes in cache */
425 dczeroa(ptr_out_p_32); /* reserve the next 32bytes in cache */
486 /* copy last 7 bytes */
/linux-4.1.27/drivers/media/usb/hdpvr/
H A Dhdpvr-core.c75 static void challenge(u8 *bytes) challenge() argument
84 bytes[(idx >> 3) + 3] = bytes[(idx >> 2) & 0x3]; challenge()
88 bytes[2] += bytes[3] * 4 + bytes[4] + bytes[5]; challenge()
89 bytes[4] += bytes[(idx & 0x1) * 2] * 9 + 9; challenge()
92 bytes[0] *= 8; challenge()
93 bytes[0] += 7*idx + 4; challenge()
94 bytes[6] += bytes[3] * 3; challenge()
97 bytes[3 - (idx >> 3)] = bytes[idx >> 2]; challenge()
98 bytes[5] += bytes[6] * 3; challenge()
100 bytes[3] *= bytes[3] + 1; challenge()
104 bytes[1] *= bytes[6] + 1; challenge()
106 i64P = (__le64 *)bytes; challenge()
108 tmp64 = tmp64 + (tmp64 << (bytes[7] & 0x0f)); challenge()
338 * packet size is 512 bytes, windows driver uses 8192 */ hdpvr_probe()
/linux-4.1.27/arch/x86/include/asm/
H A Duser.h13 /* 16 * 16 bytes for each YMMH-reg */
27 * (except for the bytes 464..511, which can be used by the software) and hence
35 * For now, only the first 8 bytes of the software usable bytes[464..471] will
39 * xstate_hdr bytes and interpret what states the processor/OS supports
45 * bytes[512..519] of the memory layout are updated correspondingly.
H A Duser32.h15 u32 st_space[20]; /* 8*10 bytes for each FP-reg = 80 bytes */
30 int st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */
31 int xmm_space[32]; /* 8*16 bytes for each XMM-reg = 128 bytes */
H A Dxor.h71 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_sse_2() argument
73 unsigned long lines = bytes >> 8; xor_sse_2()
122 xor_sse_2_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_sse_2_pf64() argument
124 unsigned long lines = bytes >> 8; xor_sse_2_pf64()
156 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_3() argument
159 unsigned long lines = bytes >> 8; xor_sse_3()
215 xor_sse_3_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_3_pf64() argument
218 unsigned long lines = bytes >> 8; xor_sse_3_pf64()
252 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_4() argument
255 unsigned long lines = bytes >> 8; xor_sse_4()
318 xor_sse_4_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_4_pf64() argument
321 unsigned long lines = bytes >> 8; xor_sse_4_pf64()
357 xor_sse_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_5() argument
360 unsigned long lines = bytes >> 8; xor_sse_5()
430 xor_sse_5_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_sse_5_pf64() argument
433 unsigned long lines = bytes >> 8; xor_sse_5_pf64()
H A Dkvm_emulate.h73 * 3. Valid access sizes are 1, 2, 4 and 8 bytes. On x86/32 systems only
103 * read_std: Read bytes of standard (non-emulated/special) memory.
107 * @bytes: [IN ] Number of bytes to read from memory.
111 unsigned int bytes,
115 * write_std: Write bytes of standard (non-emulated/special) memory.
119 * @bytes: [IN ] Number of bytes to write to memory.
122 unsigned long addr, void *val, unsigned int bytes,
125 * fetch: Read bytes of standard (non-emulated/special) memory.
129 * @bytes: [IN ] Number of bytes to read from memory.
132 unsigned long addr, void *val, unsigned int bytes,
136 * read_emulated: Read bytes from emulated/special memory area.
139 * @bytes: [IN ] Number of bytes to read from memory.
142 unsigned long addr, void *val, unsigned int bytes,
146 * write_emulated: Write bytes to emulated/special memory area.
148 * @val: [IN ] Value to write to memory (low-order bytes used as
150 * @bytes: [IN ] Number of bytes to write to memory.
154 unsigned int bytes,
163 * @bytes: [IN ] Number of bytes to access using CMPXCHG.
169 unsigned int bytes,
219 unsigned int bytes; member in struct:operand
288 /* current opcode length in bytes */
H A Dxor_avx.h35 static void xor_avx_2(unsigned long bytes, unsigned long *p0, unsigned long *p1) xor_avx_2() argument
37 unsigned long lines = bytes >> 9; xor_avx_2()
61 static void xor_avx_3(unsigned long bytes, unsigned long *p0, unsigned long *p1, xor_avx_3() argument
64 unsigned long lines = bytes >> 9; xor_avx_3()
91 static void xor_avx_4(unsigned long bytes, unsigned long *p0, unsigned long *p1, xor_avx_4() argument
94 unsigned long lines = bytes >> 9; xor_avx_4()
124 static void xor_avx_5(unsigned long bytes, unsigned long *p0, unsigned long *p1, xor_avx_5() argument
127 unsigned long lines = bytes >> 9; xor_avx_5()
H A Dxor_32.h32 xor_pII_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_pII_mmx_2() argument
34 unsigned long lines = bytes >> 7; xor_pII_mmx_2()
75 xor_pII_mmx_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_pII_mmx_3() argument
78 unsigned long lines = bytes >> 7; xor_pII_mmx_3()
124 xor_pII_mmx_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_pII_mmx_4() argument
127 unsigned long lines = bytes >> 7; xor_pII_mmx_4()
179 xor_pII_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_pII_mmx_5() argument
182 unsigned long lines = bytes >> 7; xor_pII_mmx_5()
259 xor_p5_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) xor_p5_mmx_2() argument
261 unsigned long lines = bytes >> 6; xor_p5_mmx_2()
306 xor_p5_mmx_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_p5_mmx_3() argument
309 unsigned long lines = bytes >> 6; xor_p5_mmx_3()
363 xor_p5_mmx_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_p5_mmx_4() argument
366 unsigned long lines = bytes >> 6; xor_p5_mmx_4()
429 xor_p5_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, xor_p5_mmx_5() argument
432 unsigned long lines = bytes >> 6; xor_p5_mmx_5()
H A Dinsn.h29 insn_byte_t bytes[4]; member in union:insn_field::__anon3038
39 * prefixes.bytes[3]: last prefix
44 * opcode.bytes[0]: opcode1
45 * opcode.bytes[1]: opcode2
46 * opcode.bytes[2]: opcode3
145 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ insn_vex_m_bits()
148 return X86_VEX3_M(insn->vex_prefix.bytes[1]); insn_vex_m_bits()
153 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ insn_vex_p_bits()
154 return X86_VEX_P(insn->vex_prefix.bytes[1]); insn_vex_p_bits()
156 return X86_VEX_P(insn->vex_prefix.bytes[2]); insn_vex_p_bits()
165 if (insn->prefixes.bytes[3]) insn_last_prefix_id()
166 return inat_get_last_prefix_id(insn->prefixes.bytes[3]); insn_last_prefix_id()
/linux-4.1.27/arch/x86/oprofile/
H A Dbacktrace.c47 unsigned long bytes; dump_user_backtrace_32() local
49 bytes = copy_from_user_nmi(bufhead, head, sizeof(bufhead)); dump_user_backtrace_32()
50 if (bytes != 0) dump_user_backtrace_32()
93 unsigned long bytes; dump_user_backtrace() local
95 bytes = copy_from_user_nmi(bufhead, head, sizeof(bufhead)); dump_user_backtrace()
96 if (bytes != 0) dump_user_backtrace()
/linux-4.1.27/arch/cris/boot/rescue/
H A Dhead_v10.S14 * bytes from the serial port and jump into it. the downloaded
26 * 2 bytes [opcode 'nop']
27 * 2 bytes [opcode 'di']
28 * 4 bytes [opcode 'ba <offset>', 8-bit or 16-bit version]
29 * 2 bytes [opcode 'nop', delay slot]
33 * 2 bytes [magic/version word for partitiontable - 0xef, 0xbe]
34 * 2 bytes [length of all entries plus the end marker]
35 * 4 bytes [checksum for the partitiontable itself]
39 * 4 bytes [offset in bytes, from start of flash]
40 * 4 bytes [length in bytes of partition]
41 * 4 bytes [checksum, simple longword sum]
42 * 2 bytes [partition type]
43 * 2 bytes [flags, only bit 0 used, ro/rw = 1/0]
44 * 16 bytes [reserved for future use]
48 * 4 bytes [-1]
50 * 10 bytes [0, padding]
71 ;; sector. Sector size is 65536 bytes in all flashes we use.
124 ;; put a nop (2 bytes) here first so we dont accidentally skip the di
169 ;; skip the code transparency block (10 bytes).
211 addq 16, $r3 ; skip the reserved bytes
328 ;; r2 - length in bytes
344 lslq 20, $r6 ; Convert MB to bytes
/linux-4.1.27/samples/seccomp/
H A Dbpf-fancy.c84 ssize_t bytes; main() local
97 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1); main()
98 bytes = (bytes > 0 ? bytes : 0); main()
100 syscall(__NR_write, STDERR_FILENO, buf, bytes); main()
/linux-4.1.27/sound/soc/intel/common/
H A Dsst-dsp.c59 u32 *src, size_t bytes) _sst_memcpy_toio_32()
61 int i, words = bytes >> 2; _sst_memcpy_toio_32()
68 const volatile __iomem u32 *src, size_t bytes) _sst_memcpy_fromio_32()
70 int i, words = bytes >> 2; _sst_memcpy_fromio_32()
77 void __iomem *dest, void *src, size_t bytes) sst_memcpy_toio_32()
79 _sst_memcpy_toio_32(dest, src, bytes); sst_memcpy_toio_32()
84 void __iomem *src, size_t bytes) sst_memcpy_fromio_32()
86 _sst_memcpy_fromio_32(dest, src, bytes); sst_memcpy_fromio_32()
300 void sst_dsp_outbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_outbox_write() argument
304 trace_sst_ipc_outbox_write(bytes); sst_dsp_outbox_write()
306 memcpy_toio(sst->mailbox.out_base, message, bytes); sst_dsp_outbox_write()
308 for (i = 0; i < bytes; i += 4) sst_dsp_outbox_write()
313 void sst_dsp_outbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_outbox_read() argument
317 trace_sst_ipc_outbox_read(bytes); sst_dsp_outbox_read()
319 memcpy_fromio(message, sst->mailbox.out_base, bytes); sst_dsp_outbox_read()
321 for (i = 0; i < bytes; i += 4) sst_dsp_outbox_read()
326 void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_inbox_write() argument
330 trace_sst_ipc_inbox_write(bytes); sst_dsp_inbox_write()
332 memcpy_toio(sst->mailbox.in_base, message, bytes); sst_dsp_inbox_write()
334 for (i = 0; i < bytes; i += 4) sst_dsp_inbox_write()
339 void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst_dsp_inbox_read() argument
343 trace_sst_ipc_inbox_read(bytes); sst_dsp_inbox_read()
345 memcpy_fromio(message, sst->mailbox.in_base, bytes); sst_dsp_inbox_read()
347 for (i = 0; i < bytes; i += 4) sst_dsp_inbox_read()
58 _sst_memcpy_toio_32(volatile u32 __iomem *dest, u32 *src, size_t bytes) _sst_memcpy_toio_32() argument
67 _sst_memcpy_fromio_32(u32 *dest, const volatile __iomem u32 *src, size_t bytes) _sst_memcpy_fromio_32() argument
76 sst_memcpy_toio_32(struct sst_dsp *sst, void __iomem *dest, void *src, size_t bytes) sst_memcpy_toio_32() argument
83 sst_memcpy_fromio_32(struct sst_dsp *sst, void *dest, void __iomem *src, size_t bytes) sst_memcpy_fromio_32() argument
/linux-4.1.27/include/trace/events/
H A Drandom.h11 TP_PROTO(int bytes, unsigned long IP),
13 TP_ARGS(bytes, IP),
16 __field( int, bytes )
21 __entry->bytes = bytes;
25 TP_printk("bytes %d caller %pS",
26 __entry->bytes, (void *)__entry->IP)
30 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
32 TP_ARGS(pool_name, bytes, IP),
36 __field( int, bytes )
42 __entry->bytes = bytes;
46 TP_printk("%s pool: bytes %d caller %pS",
47 __entry->pool_name, __entry->bytes, (void *)__entry->IP)
51 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
53 TP_ARGS(pool_name, bytes, IP)
57 TP_PROTO(const char *pool_name, int bytes, unsigned long IP),
59 TP_ARGS(pool_name, bytes, IP)
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dmsgbuf.h24 unsigned long msg_cbytes; /* current number of bytes on queue */
26 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/powerpc/lib/
H A Dxor_vmx.c57 void xor_altivec_2(unsigned long bytes, unsigned long *v1_in, xor_altivec_2() argument
62 unsigned long lines = bytes / (sizeof(unative_t)) / 4; xor_altivec_2()
81 void xor_altivec_3(unsigned long bytes, unsigned long *v1_in, xor_altivec_3() argument
87 unsigned long lines = bytes / (sizeof(unative_t)) / 4; xor_altivec_3()
109 void xor_altivec_4(unsigned long bytes, unsigned long *v1_in, xor_altivec_4() argument
117 unsigned long lines = bytes / (sizeof(unative_t)) / 4; xor_altivec_4()
142 void xor_altivec_5(unsigned long bytes, unsigned long *v1_in, xor_altivec_5() argument
151 unsigned long lines = bytes / (sizeof(unative_t)) / 4; xor_altivec_5()
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dmsgbuf.h18 unsigned long msg_cbytes; /* current number of bytes on queue */
20 unsigned long msg_qbytes; /* max number of bytes on queue */
H A Dstatfs.h13 * add padding at the end to bring it to a multiple of 8 bytes, but
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dmsgbuf.h18 unsigned long msg_cbytes; /* current number of bytes on queue */
20 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/fs/efivarfs/
H A Dfile.c25 ssize_t bytes; efivarfs_file_write() local
41 bytes = efivar_entry_set_get_size(var, attributes, &datasize, efivarfs_file_write()
43 if (!set && bytes) { efivarfs_file_write()
44 if (bytes == -ENOENT) efivarfs_file_write()
45 bytes = -EIO; efivarfs_file_write()
49 if (bytes == -ENOENT) { efivarfs_file_write()
59 bytes = count; efivarfs_file_write()
64 return bytes; efivarfs_file_write()
/linux-4.1.27/sound/i2c/
H A Dtea6330t.c113 unsigned char bytes[3]; snd_tea6330t_put_master_volume() local
124 bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT; snd_tea6330t_put_master_volume()
125 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft; snd_tea6330t_put_master_volume()
129 bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT; snd_tea6330t_put_master_volume()
130 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright; snd_tea6330t_put_master_volume()
133 if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0) snd_tea6330t_put_master_volume()
164 unsigned char bytes[3]; snd_tea6330t_put_master_switch() local
175 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; snd_tea6330t_put_master_switch()
176 bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT]; snd_tea6330t_put_master_switch()
177 bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT]; snd_tea6330t_put_master_switch()
178 if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0) snd_tea6330t_put_master_switch()
215 unsigned char bytes[2]; snd_tea6330t_put_bass() local
223 bytes[0] = TEA6330T_SADDR_BASS; snd_tea6330t_put_bass()
224 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1; snd_tea6330t_put_bass()
225 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) snd_tea6330t_put_bass()
262 unsigned char bytes[2]; snd_tea6330t_put_treble() local
270 bytes[0] = TEA6330T_SADDR_TREBLE; snd_tea6330t_put_treble()
271 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1; snd_tea6330t_put_treble()
272 if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) snd_tea6330t_put_treble()
300 unsigned char bytes[7]; snd_tea6330t_update_mixer() local
342 bytes[0] = TEA6330T_SADDR_VOLUME_LEFT; snd_tea6330t_update_mixer()
344 bytes[idx+1] = tea->regs[idx]; snd_tea6330t_update_mixer()
345 if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0) snd_tea6330t_update_mixer()
/linux-4.1.27/drivers/mtd/ubi/
H A Dupd.c81 * @bytes: new data size in bytes
88 long long bytes) clear_update_marker()
101 vol->used_bytes = bytes; clear_update_marker()
102 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, clear_update_marker()
121 * @bytes: update bytes
123 * This function starts volume update operation. If @bytes is zero, the volume
128 long long bytes) ubi_start_update()
132 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); ubi_start_update()
151 if (bytes == 0) { ubi_start_update()
165 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, ubi_start_update()
167 vol->upd_bytes = bytes; ubi_start_update()
186 dbg_gen("start changing LEB %d:%d, %u bytes", ubi_start_leb_change()
187 vol->vol_id, req->lnum, req->bytes); ubi_start_leb_change()
188 if (req->bytes == 0) ubi_start_leb_change()
191 vol->upd_bytes = req->bytes; ubi_start_leb_change()
196 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); ubi_start_leb_change()
214 * case of dynamic volume, this function checks if the data contains 0xFF bytes
215 * at the end. If yes, the 0xFF bytes are cut and not written. So if the whole
216 * buffer contains only 0xFF bytes, the LEB is left unmapped.
218 * The reason why we skip the trailing 0xFF bytes in case of dynamic volume is
220 * eraseblock in future. Indeed, writing 0xFF bytes may have side effects and
243 dbg_gen("all %d bytes contain 0xFF - skip", len); write_leb()
270 * @count: how much bytes to write
274 * function returns %0 in case of success, number of bytes written during the
283 dbg_gen("write %d of %lld bytes, %lld already passed", ubi_more_update_data()
384 * @count: how much bytes to write
389 * of bytes written during the last call if the whole "atomic LEB change"
398 dbg_gen("write %d of %lld bytes, %lld already passed", ubi_more_leb_change_data()
87 clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) clear_update_marker() argument
127 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) ubi_start_update() argument
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dlibipw_tx.c56 Total: 28 non-data bytes `----.----'
79 Total: 8 non-data bytes
89 Total: 18 non-data bytes
96 to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP)
97 So if you have 1500 bytes of payload with ieee->fts set to 500 without
99 payload of each frame is reduced to 492 bytes.
106 * | | 14 bytes from skb->data
107 * | 2 bytes for Type --> ,T. | (sizeof ethhdr)
110 * | 6 bytes| | 6 bytes | | | |
116 * | | | | `T' <---- 2 bytes for Type
118 * | | '---SNAP--' <-------- 6 bytes for SNAP
120 * `-IV--' <-------------------- 4 bytes for IV (WEP)
163 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */ libipw_encrypt_fragment()
265 int bytes, fc, hdr_len; libipw_xmit() local
348 bytes = skb->len + SNAP_SIZE + sizeof(u16); libipw_xmit()
354 int len = bytes + hdr_len + crypt->ops->extra_msdu_prefix_len + libipw_xmit()
375 bytes += crypt->ops->extra_msdu_prefix_len + libipw_xmit()
406 nr_frags = bytes / bytes_per_frag; libipw_xmit()
407 bytes_last_frag = bytes % bytes_per_frag; libipw_xmit()
414 bytes_per_frag = bytes_last_frag = bytes; libipw_xmit()
415 frag_size = bytes + hdr_len; libipw_xmit()
424 * and full fragment bytes (bytes_per_frag doesn't include prefix, libipw_xmit()
438 txb->payload_size = bytes; libipw_xmit()
482 bytes = bytes_per_frag; libipw_xmit()
485 bytes = bytes_last_frag; libipw_xmit()
492 bytes -= SNAP_SIZE + sizeof(u16); libipw_xmit()
495 skb_copy_from_linear_data(skb, skb_put(skb_frag, bytes), bytes); libipw_xmit()
498 skb_pull(skb, bytes); libipw_xmit()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrukdump.c81 int i, ret, bytes; gru_dump_tfm() local
83 bytes = GRU_NUM_TFM * GRU_CACHE_LINE_BYTES; gru_dump_tfm()
84 if (bytes > ubufend - ubuf) gru_dump_tfm()
102 int i, ret, bytes; gru_dump_tgh() local
104 bytes = GRU_NUM_TGH * GRU_CACHE_LINE_BYTES; gru_dump_tgh()
105 if (bytes > ubufend - ubuf) gru_dump_tgh()
127 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; gru_dump_context() local
149 bytes = sizeof(hdr) + GRU_CACHE_LINE_BYTES; gru_dump_context()
163 bytes += (3 * cbrcnt + dsrcnt) * GRU_CACHE_LINE_BYTES; gru_dump_context()
164 if (bytes > ubufend - ubuf) gru_dump_context()
184 return bytes; gru_dump_context()
H A Dgrukservices.h58 * Message queue size is the total number of bytes allocated
65 * bytes size of message queue in bytes
75 void *p, unsigned int bytes, int nasid, int vector, int apicid);
87 * bytes size of message in bytes
95 void *mesg, unsigned int bytes);
154 * bytes number of bytes to copy
161 unsigned int bytes);
169 * dsr_bytes - number of DSR bytes needed
/linux-4.1.27/arch/arm64/lib/
H A Dmemcmp.S72 * Directly compare eight bytes each time.
86 /* Limit % 8 == 0 => the diff is in the last 8 bytes. */
90 * The remained bytes less than 8. It is needed to extract valid data
91 * from last eight bytes of the intended memory range.
93 lsl limit, limit, #3 /* bytes-> bits. */
107 * the bytes that precede the start point.
127 /*mask off the non-intended bytes before the start address.*/
128 CPU_BE( lsl tmp2, tmp2, tmp1 )/*Big-endian.Early bytes are at MSB*/
129 /* Little-endian. Early bytes are at LSB. */
143 add tmp1, tmp1, #8/*valid length in the first 8 bytes of src1*/
146 add tmp2, tmp2, #8/*valid length in the first 8 bytes of src2*/
151 /*compare the proceeding bytes in the first 8 byte segment.*/
171 /*process more leading bytes to make src1 aligned...*/
177 /*load 8 bytes from aligned SRC1..*/
192 * Divide the eight bytes into two parts. First,backwards the src2
193 * to an alignment boundary,load eight bytes and compare from
194 * the SRC2 alignment boundary. If all 8 bytes are equal,then start
H A Dstrcmp.S92 * the bytes that preceed the start point.
101 /* Big-endian. Early bytes are at MSB. */
103 /* Little-endian. Early bytes are at LSB. */
133 b.eq .Lstart_align /*the last bytes are equal....*/
141 /*process more leading bytes to make str1 aligned...*/
144 /*load 8 bytes from aligned str1 and non-aligned str2..*/
160 * Divide the eight bytes into two parts. First,backwards the src2
161 * to an alignment boundary,load eight bytes from the SRC2 alignment
162 * boundary,then compare with the relative bytes from SRC1.
163 * If all 8 bytes are equal,then start the second part's comparison.
199 * bytes in the string contain 0x01.
201 * the result directly. We ca not just subtract the bytes as the
H A Dstrncmp.S104 /* Limit % 8 == 0 => all bytes significant. */
108 lsl limit, limit, #3 /* Bits -> bytes. */
126 * the bytes that precede the start point.
133 neg tmp3, tmp1, lsl #3 /* 64 - bits(bytes beyond align). */
137 /* Big-endian. Early bytes are at MSB. */
139 /* Little-endian. Early bytes are at LSB. */
181 b.eq .Lstart_align /*the last bytes are equal....*/
189 /*process more leading bytes to make str1 aligned...*/
214 * Divide the eight bytes into two parts. First,backwards the src2
215 * to an alignment boundary,load eight bytes from the SRC2 alignment
216 * boundary,then compare with the relative bytes from SRC1.
217 * If all 8 bytes are equal,then start the second part's comparison.
257 * bytes in the string contain 0x01.
259 * the result directly. We can't just subtract the bytes as the
293 /* Limit % 8 == 0 => all bytes significant. */
H A Dmemmove.S106 * Copy up to 48 bytes of data. At this point we only need the
147 * Less than 128 bytes to copy, so handle 64 bytes here and then jump
165 * 64 bytes per line this ensures the entire loop is in one line.
169 /* pre-load 64 bytes data. */
176 * interlace the load of next 64 bytes data block with store of the last
177 * loaded 64 bytes data.
/linux-4.1.27/net/rds/
H A Dpage.c57 void __user *ptr, unsigned long bytes, rds_page_copy_user()
65 rds_stats_add(s_copy_to_user, bytes); rds_page_copy_user()
66 ret = copy_to_user(ptr, addr + offset, bytes); rds_page_copy_user()
68 rds_stats_add(s_copy_from_user, bytes); rds_page_copy_user()
69 ret = copy_from_user(addr + offset, ptr, bytes); rds_page_copy_user()
81 * @bytes: the number of bytes needed.
87 * If @bytes is at least a full page then this just returns a page from
90 * If @bytes is a partial page then this stores the unused region of the
97 int rds_page_remainder_alloc(struct scatterlist *scat, unsigned long bytes, rds_page_remainder_alloc() argument
108 if (bytes >= PAGE_SIZE) { rds_page_remainder_alloc()
124 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { rds_page_remainder_alloc()
131 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { rds_page_remainder_alloc()
132 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); rds_page_remainder_alloc()
138 rem->r_offset += bytes; rds_page_remainder_alloc()
175 rdsdebug("bytes %lu ret %d %p %u %u\n", bytes, ret, rds_page_remainder_alloc()
56 rds_page_copy_user(struct page *page, unsigned long offset, void __user *ptr, unsigned long bytes, int to_user) rds_page_copy_user() argument
/linux-4.1.27/arch/x86/include/asm/uv/
H A Duv_bau.h33 * Each of the descriptors is 64 bytes in size (8*64 = 512 bytes in a set).
191 * Distribution: 32 bytes (256 bits) (bytes 0-0x1f of descriptor)
194 * The distribution specification (32 bytes) is interpreted as a 256-bit
214 * Payload: 16 bytes (128 bits) (bytes 0x20-0x2f of descriptor)
215 * only 12 bytes (96 bits) of the payload area are usable.
216 * An additional 3 bytes (bits 27:4) of the header address are carried
217 * to the next bytes of the destination payload queue.
218 * And an additional 2 bytes of the header Suppl_A field are also
223 * [ effective message contents (16 bytes (128 bits) maximum), not counting
243 * UV1 Message header: 16 bytes (128 bits) (bytes 0x30-0x3f of descriptor)
261 /* bits 56:41 */ /* becomes bytes 16-17 of msg */
270 /* these next 24 (58-81) bits become bytes 12-14 of msg */
326 * UV2 Message header: 16 bytes (128 bits) (bytes 0x30-0x3f of descriptor)
339 /* these next 24 bits become bytes 12-14 of msg */
393 * Should be 64 bytes
409 * bytes 0-11 bits 41-56 bits 58-81
414 * bytes 0-11 bytes 12-14 bytes 16-17 (byte 15 filled in by hw as vector)
419 * bytes 0-11 bits 70-78 bits 21-44
424 * bytes 0-11 bytes 12-14 bytes 16-17 (byte 15 filled in by hw as vector)
431 * are 32 bytes (2 micropackets) (256 bits) in length, but contain only 17
432 * bytes of usable data, including the sw ack vector in byte 15 (bits 127:120)
433 * (12 bytes come from bau_msg_payload, 3 from payload_1, 2 from
436 * Acknowledge Processing) also selects 32 byte (17 bytes usable) payload
442 /* 64 bits, bytes 0-7 */
444 /* 16 bits, bytes 8-9 */
446 /* 16 bits, bytes 10-11 */
447 /* these next 3 bytes come from bits 58-81 of the message header */
460 /* bytes 16-17 */
461 unsigned char unused4[2]; /* not currently using bytes 18-19 */
462 /* bytes 18-19 */
464 /* 32 bits, bytes 20-23 (aligned) */
466 /* bytes 24-31 */
/linux-4.1.27/arch/metag/lib/
H A Dmemcpy.S15 ! If there are less than 16 bytes to copy use the byte copy loop
36 ! The destination address is not 8 byte aligned. We will copy bytes from
39 ! bytes here).
43 SUB D1Ar3, D1Ar3, #1 ! decrement count of remaining bytes
48 ! We have at least (16 - 7) = 9 bytes to copy - calculate the number of 8 byte
74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done
80 ! or more bytes to be copied.
88 ! Save the number of bytes of mis-alignment in D0Ar4 for use later
94 ! prefetch 8 bytes
99 ! There are 3 mis-alignment cases to be considered. Less than 4 bytes, exactly
100 ! 4 bytes, and more than 4 bytes.
105 ! The mis-alignment is more than 4 bytes
114 ! Move data 4 bytes before we enter the main loop
175 ! If there are no remaining bytes to copy, we are done.
179 ! address of the remaining bytes, and fall through to the byte copy loop.
H A Dmemset.S19 ! need the number of bytes up to the next 8 byte address
28 ! Preamble to LongLoop which generates 4*8 bytes per interation (5 cycles)
45 ! Preamble to LongishLoop which generates 1*8 bytes per interation (2 cycles)
59 ! This does a byte structured burst of up to 7 bytes
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_among.h18 * evenly distributed and there is no need to consider other bytes.
27 * fact that entropy of 3 last bytes of address is larger than entropy
28 * of 3 first bytes. So first we compare 4 last bytes of addresses and
/linux-4.1.27/arch/parisc/include/asm/
H A Dcompat_ucontext.h10 compat_stack_t uc_stack; /* struct compat_sigaltstack (12 bytes)*/
/linux-4.1.27/arch/powerpc/include/asm/
H A Dxor.h27 void xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
29 void xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
31 void xor_altivec_4(unsigned long bytes, unsigned long *v1_in,
34 void xor_altivec_5(unsigned long bytes, unsigned long *v1_in,
H A Dkgdb.h36 /* The number bytes of registers we have to save depends on a few
55 /* 32 GPRs (8 bytes), nip, msr, ccr, link, ctr, xer, acc (8 bytes), spefscr*/
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dcache.h6 /* A cache-line is 32 bytes. */
/linux-4.1.27/arch/metag/include/asm/
H A Dcache.h4 /* L1 cache line size (64 bytes) */
/linux-4.1.27/arch/arm/mach-u300/
H A Ddummyspichip.c88 pr_info("Simple test 2: write 8 bytes, read back 8 bytes garbage " dummy_looptest()
97 pr_info("Simple test 3: write 14 bytes, read back 14 bytes garbage " dummy_looptest()
106 pr_info("Simple test 4: write 8 bytes with spi_write(), read 8 " dummy_looptest()
107 "bytes garbage with spi_read() in 8bit mode\n"); dummy_looptest()
121 pr_info("Simple test 5: write 14 bytes with spi_write(), read " dummy_looptest()
122 "14 bytes garbage with spi_read() in 8bit mode\n"); dummy_looptest()
136 pr_info("Simple test 6: write %d bytes with spi_write(), " dummy_looptest()
137 "read %d bytes garbage with spi_read() in 8bit mode\n", dummy_looptest()
173 pr_info("Simple test 8: write 8 bytes, read back 8 bytes garbage " dummy_looptest()
182 pr_info("Simple test 9: write 14 bytes, read back 14 bytes garbage " dummy_looptest()
191 pr_info("Simple test 10: write %d bytes with spi_write(), " dummy_looptest()
192 "read %d bytes garbage with spi_read() in 16bit mode\n", dummy_looptest()
/linux-4.1.27/arch/arm/include/uapi/asm/
H A Dstatfs.h5 * With EABI there is 4 bytes of padding added to this structure.
/linux-4.1.27/net/mac80211/
H A Dled.h58 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, __le16 fc, int bytes) ieee80211_tpt_led_trig_tx() argument
62 local->tpt_led_trigger->tx_bytes += bytes; ieee80211_tpt_led_trig_tx()
67 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, __le16 fc, int bytes) ieee80211_tpt_led_trig_rx() argument
71 local->tpt_led_trigger->rx_bytes += bytes; ieee80211_tpt_led_trig_rx()
/linux-4.1.27/tools/testing/selftests/powerpc/switch_endian/
H A DMakefile11 $(CROSS_COMPILE)objcopy -j .text --reverse-bytes=4 -O binary $< $@
/linux-4.1.27/drivers/isdn/hysdn/
H A Dince1pc.h31 #define RDY_MAGIC_SIZE 4 /* size in bytes */
52 * S Y S R MAX_N_TOK_BYTES bytes of TokenStream
59 * Data := DataLen bytes
61 * RotlCRC := special 1 byte CRC over all NonEndTokenChunk bytes
66 * for all NonEndTokenChunk bytes:
72 * - for 16-bit FIFO add padding 0 byte to achieve even token data bytes!
131 #define SIZE_RSV_SOFT_UART 0x1B0 /* 432 bytes reserved for SoftUart */
/linux-4.1.27/drivers/mfd/
H A Dtps6507x.c38 int bytes, void *dest) tps6507x_i2c_read_device()
53 xfer[1].len = bytes; tps6507x_i2c_read_device()
66 int bytes, void *src) tps6507x_i2c_write_device()
73 if (bytes > TPS6507X_MAX_REGISTER) tps6507x_i2c_write_device()
77 memcpy(&msg[1], src, bytes); tps6507x_i2c_write_device()
79 ret = i2c_master_send(i2c, msg, bytes + 1); tps6507x_i2c_write_device()
82 if (ret != bytes + 1) tps6507x_i2c_write_device()
37 tps6507x_i2c_read_device(struct tps6507x_dev *tps6507x, char reg, int bytes, void *dest) tps6507x_i2c_read_device() argument
65 tps6507x_i2c_write_device(struct tps6507x_dev *tps6507x, char reg, int bytes, void *src) tps6507x_i2c_write_device() argument
H A Dtps65912-i2c.c26 int bytes, void *dest) tps65912_i2c_read()
41 xfer[1].len = bytes; tps65912_i2c_read()
53 int bytes, void *src) tps65912_i2c_write()
60 if (bytes > TPS6591X_MAX_REGISTER) tps65912_i2c_write()
64 memcpy(&msg[1], src, bytes); tps65912_i2c_write()
66 ret = i2c_master_send(i2c, msg, bytes + 1); tps65912_i2c_write()
69 if (ret != bytes + 1) tps65912_i2c_write()
25 tps65912_i2c_read(struct tps65912 *tps65912, u8 reg, int bytes, void *dest) tps65912_i2c_read() argument
52 tps65912_i2c_write(struct tps65912 *tps65912, u8 reg, int bytes, void *src) tps65912_i2c_write() argument
H A D88pm860x-i2c.c87 int bytes, void *dest) read_device()
110 msg[1].len = bytes; read_device()
113 if (bytes > 0) read_device()
116 memcpy(dest, msgbuf1, bytes); read_device()
123 int bytes, void *src) write_device()
131 memcpy(&buf[1], src, bytes); write_device()
134 msg.len = bytes + 1; write_device()
86 read_device(struct i2c_client *i2c, int reg, int bytes, void *dest) read_device() argument
122 write_device(struct i2c_client *i2c, int reg, int bytes, void *src) write_device() argument
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_event.h31 /* short event (4bytes) */
39 /* short note events (4bytes) */
47 /* long timer events (8bytes) */
55 /* long extended events (8bytes) */
64 /* long channel events (8bytes) */
74 /* channel voice events (8bytes) */
84 /* sysex events (8bytes) */
/linux-4.1.27/arch/tile/include/uapi/arch/
H A Dicache.h19 * Support for invalidating bytes in the instruction cache.
32 * @param size The number of bytes to be invalidated.
52 /* Limit the number of bytes visited to avoid redundant iterations. */ invalidate_icache()
58 /* Limit the number of bytes visited to avoid redundant iterations. */ invalidate_icache()
71 /* Locate the first and last bytes to be invalidated. */ invalidate_icache()
/linux-4.1.27/arch/ia64/lib/
H A Dclear_user.S6 * in1: length of buffer in bytes
8 * r8: number of bytes that didn't get cleared due to a fault
40 // tail for the last 15 bytes.
46 // to write bytes outside of the buffer. While most of the time this would
48 // of multithreaded code were to the extra bytes touched is actually owned
86 // len contains bytes left
94 // At this point we know we have more than 16 bytes to copy
97 // The use of len/len2 for countdown of the number of bytes left
122 (p6) br.cond.dpnt .dotail // we have less than 16 bytes left
129 // 16bytes/iteration core loop
167 EX( .Lexit2, (p6) st8 [buf]=r0,8 ) // at least 8 bytes
171 EX( .Lexit2, (p7) st4 [buf]=r0,4 ) // at least 4 bytes
175 EX( .Lexit2, (p6) st2 [buf]=r0,2 ) // at least 2 bytes
189 // len contains bytes left
203 // len contains bytes left
H A Dmemcpy.S8 * in2: number of bytes to copy
72 cmp.gtu p7,p0=16,in2 // copying less than 16 bytes?
112 * Small (<16 bytes) unaligned copying is done via a simple byte-at-the-time
155 * Large (>= 16 bytes) copying is done in a fancy way. Latency isn't
159 * until there are less than 8 bytes left over and then we do the tail,
160 * by storing the last few bytes using sub-word copying. If the source
219 // At this point, dst is aligned to 8 bytes and there at least 16-7=9 bytes left to copy:
222 sub cnt=in2,cnt // cnt = number of bytes left to copy
242 mov pr=cnt,0x38 // set (p5,p4,p3) to # of bytes last-word bytes to copy
258 // At this point, (p5,p4,p3) are set to the number of bytes left to copy (which is
259 // less than 8) and t0 contains the last few bytes of the src buffer:
/linux-4.1.27/arch/powerpc/crypto/
H A Dsha1-spe-glue.c27 * MAX_BYTES defines the number of bytes that are allowed to be processed
29 * operations per 64 bytes. e500 cores can issue two arithmetic instructions
83 unsigned int bytes; ppc_spe_sha1_update() local
106 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; ppc_spe_sha1_update()
107 bytes = bytes & ~0x3f; ppc_spe_sha1_update()
110 ppc_spe_sha1_transform(sctx->state, src, bytes >> 6); ppc_spe_sha1_update()
113 src += bytes; ppc_spe_sha1_update()
114 len -= bytes; ppc_spe_sha1_update()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_ringbuffer.h51 ** and/or number of bytes free/available. This has to be done before these
54 ** *** write <buflen> bytes ***
61 ** *** read min. 1000, max. <bufsize> bytes ***
82 /* return the number of free bytes in the buffer */
85 /* return the number of bytes waiting in the buffer */
108 /* advance read ptr by <num> bytes */
113 ** read <len> bytes from ring buffer into <buf>
115 ** returns number of bytes transferred or -EFAULT
130 ** write <len> bytes to ring buffer
132 ** returns number of bytes transferred or -EFAULT
145 * <len> Length of buffer (currently limited to 65535 bytes max).
146 * returns Number of bytes written, or -EFAULT, -ENOMEM, -EVINAL.
162 * returns Number of bytes read, or -EFAULT.
182 * <pktlen> On success, will be updated to contain the length of the packet in bytes.
/linux-4.1.27/arch/xtensa/lib/
H A Dusercopy.S26 * The returned value is the number of bytes not copied. Implies zero
113 # copy 2 bytes
146 movi a2, 0 # return success for len bytes copied
152 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
179 # copy 8 bytes
188 # copy 4 bytes
195 # copy 2 bytes
206 movi a2, 0 # return success for len bytes copied
217 # copy 16 bytes per iteration for word-aligned dst and unaligned src
248 # copy 8 bytes
260 # copy 4 bytes
270 # copy 2 bytes
283 movi a2, 0 # return success for len bytes copied
304 sub a2, a5, a2 /* a2 <-- bytes copied */
305 sub a2, a11, a2 /* a2 <-- bytes not copied */
309 sub a2, a5, a2 /* a2 <-- bytes copied */
310 sub a2, a11, a2 /* a2 <-- bytes not copied == return value */
319 /* a2 still contains bytes not copied. */
/linux-4.1.27/drivers/net/
H A Dnlmon.c11 u64 bytes; member in struct:pcpu_lstats
21 stats->bytes += len; nlmon_xmit()
83 u64 bytes = 0, packets = 0; nlmon_get_stats64() local
94 tbytes = nl_stats->bytes; for_each_possible_cpu()
99 bytes += tbytes; for_each_possible_cpu()
105 stats->rx_bytes = bytes;
H A Dloopback.c63 u64 bytes; member in struct:pcpu_lstats
92 lb_stats->bytes += len; loopback_xmit()
103 u64 bytes = 0; loopback_get_stats64() local
115 tbytes = lb_stats->bytes; for_each_possible_cpu()
118 bytes += tbytes; for_each_possible_cpu()
123 stats->rx_bytes = bytes;
124 stats->tx_bytes = bytes;
/linux-4.1.27/arch/metag/kernel/
H A Dtcm.c43 * @len: number of bytes to be allocated
45 * Allocate the requested number of bytes from the pool matching
69 * @len: number of bytes to be freed
71 * Free the requested number of bytes at a specific address to the
128 * 2^3 = 8 bytes granularity to allow for 64bit access alignment. tcm_add_region()
144 pr_info("Added %s TCM pool (%08x bytes @ %08x)\n", tcm_add_region()
/linux-4.1.27/drivers/atm/
H A Dzatm.h25 #define RX_SIZE 2 /* RX lookup entry size (in bytes) */
27 #define POOL_SIZE 8 /* buffer entry size (in bytes) */
29 #define SHAPER_SIZE 4 /* shaper entry size (in bytes) */
30 #define VC_SIZE 32 /* VC dsc (TX or RX) size (in bytes) */
76 u16 mbx_end[NR_MBX]; /* end offset (in bytes) */
82 int mem; /* RAM on board (in bytes) */
/linux-4.1.27/fs/ntfs/
H A Dmalloc.h31 * @size: number of bytes to allocate
36 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
57 * @size: number of bytes to allocate
59 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
71 * @size: number of bytes to allocate
73 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
/linux-4.1.27/include/scsi/fc/
H A Dfc_fcoe.h48 * FCoE frame header - 14 bytes
61 * FCoE CRC & EOF - 8 bytes.
71 * 14 bytes FCoE header + 24 byte FC header = 38 bytes
77 * 14 bytes FCoE header + 24 byte FC header + 8 byte FCoE trailer = 46 bytes
/linux-4.1.27/fs/ecryptfs/
H A Ddebug.c93 * @data: string of bytes to be printed
94 * @bytes: number of bytes to print
98 void ecryptfs_dump_hex(char *data, int bytes) ecryptfs_dump_hex() argument
105 if (bytes != 0) { ecryptfs_dump_hex()
109 while (i < bytes) { ecryptfs_dump_hex()
/linux-4.1.27/sound/usb/
H A Dhelper.c27 * combine bytes and get an integer value
29 unsigned int snd_usb_combine_bytes(unsigned char *bytes, int size) snd_usb_combine_bytes() argument
32 case 1: return *bytes; snd_usb_combine_bytes()
33 case 2: return combine_word(bytes); snd_usb_combine_bytes()
34 case 3: return combine_triple(bytes); snd_usb_combine_bytes()
35 case 4: return combine_quad(bytes); snd_usb_combine_bytes()
/linux-4.1.27/drivers/ipack/devices/
H A Dipoctal.h26 * @tx: Number of transmitted bytes
27 * @rx: Number of received bytes
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dum_xdi.h30 data_length bytes will follow this structure
59 data_length bytes of data follow
/linux-4.1.27/drivers/staging/android/uapi/
H A Dashmem.h30 __u32 offset; /* offset into region, in bytes, page-aligned */
31 __u32 len; /* length forward from offset, in bytes, page-aligned */
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dmsgbuf.h29 unsigned long msg_cbytes; /* current number of bytes on queue */
31 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/include/linux/usb/
H A Dcdc_ncm.h52 #define CDC_NCM_NTB_MAX_SIZE_TX 32768 /* bytes */
53 #define CDC_NCM_NTB_MAX_SIZE_RX 32768 /* bytes */
56 #define CDC_NCM_NTB_DEF_SIZE_TX 16384 /* bytes */
57 #define CDC_NCM_NTB_DEF_SIZE_RX 16384 /* bytes */
60 #define CDC_NCM_MIN_DATAGRAM_SIZE 1514 /* bytes */
63 #define CDC_MBIM_MIN_DATAGRAM_SIZE 2048 /* bytes */
65 #define CDC_NCM_MIN_TX_PKT 512 /* bytes */
68 #define CDC_NCM_MAX_DATAGRAM_SIZE 8192 /* bytes */
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dmsgbuf.h28 unsigned long msg_cbytes; /* current number of bytes on queue */
30 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/mn10300/include/uapi/asm/
H A Dmsgbuf.h22 unsigned long msg_cbytes; /* current number of bytes on queue */
24 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dmsgbuf.h30 unsigned int msg_cbytes; /* current number of bytes on queue */
32 unsigned int msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/avr32/include/uapi/asm/
H A Dmsgbuf.h22 unsigned long msg_cbytes; /* current number of bytes on queue */
24 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/cris/include/uapi/asm/
H A Dmsgbuf.h24 unsigned long msg_cbytes; /* current number of bytes on queue */
26 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dmsgbuf.h22 unsigned long msg_cbytes; /* current number of bytes on queue */
24 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/arch/m32r/include/uapi/asm/
H A Dmsgbuf.h22 unsigned long msg_cbytes; /* current number of bytes on queue */
24 unsigned long msg_qbytes; /* max number of bytes on queue */
/linux-4.1.27/drivers/staging/unisys/visorchipset/
H A Dparser.c28 /* We will refuse to allocate more than this many bytes to copy data from
44 parser_init_guts(u64 addr, u32 bytes, BOOL local, parser_init_guts() argument
47 int allocbytes = sizeof(struct parser_context) + bytes; parser_init_guts()
60 if ((controlvm_payload_bytes_buffered + bytes) parser_init_guts()
76 ctx->param_bytes = bytes; parser_init_guts()
88 memcpy(ctx->data, p, bytes); parser_init_guts()
90 rgn = visor_memregion_create(addr, bytes); parser_init_guts()
95 if (visor_memregion_read(rgn, 0, ctx->data, bytes) < 0) { parser_init_guts()
106 if (phdr->total_length != bytes) { parser_init_guts()
138 parser_init(u64 addr, u32 bytes, BOOL local, BOOL *retry) parser_init() argument
140 return parser_init_guts(addr, bytes, local, TRUE, retry); parser_init()
144 * a sequence of bytes, rather than a struct spar_controlvm_parameters_header
149 parser_init_byte_stream(u64 addr, u32 bytes, BOOL local, BOOL *retry) parser_init_byte_stream() argument
151 return parser_init_guts(addr, bytes, local, FALSE, retry); parser_init_byte_stream()
162 * the num of bytes we alloc+clear in parser_simpleString_get()
254 * (The total number of bytes allocated is strlen(<value>)+1.)
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_auth.h13 #define MD5_SIGNATURE_SIZE 16 /* 16 bytes in a MD5 message digest */
/linux-4.1.27/arch/sparc/include/asm/
H A Didprom.h18 u8 id_cksum; /* Checksum - xor of the data bytes */
/linux-4.1.27/drivers/thunderbolt/
H A Dnhi_regs.h45 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT)
54 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT)
64 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT)
72 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT)
/linux-4.1.27/include/linux/raid/
H A Dxor.h6 extern void xor_blocks(unsigned int count, unsigned int bytes,
/linux-4.1.27/tools/iio/
H A Diio_utils.h30 * @bytes: number of bytes occupied in buffer output
41 unsigned bytes; member in struct:iio_channel_info
51 int iioutils_get_type(unsigned *is_signed, unsigned *bytes,
H A Dgeneric_buffer.c47 int bytes = 0; size_from_channelarray() local
51 if (bytes % channels[i].bytes == 0) size_from_channelarray()
52 channels[i].location = bytes; size_from_channelarray()
54 channels[i].location = bytes - bytes%channels[i].bytes size_from_channelarray()
55 + channels[i].bytes; size_from_channelarray()
56 bytes = channels[i].location + channels[i].bytes; size_from_channelarray()
59 return bytes; size_from_channelarray()
104 switch (channels[k].bytes) { process_scan()
/linux-4.1.27/arch/tile/lib/
H A Dstring-endian.h15 * sets up non-zero bytes before the beginning of the string.
37 * the bytes of srcB as the index into the dest vector to select a
39 * the other bytes.
H A Dstrnlen_32.c28 /* Avoid page fault risk by not reading any bytes when count is 0. */ strnlen()
32 /* Read first word, but force bytes before the string to be nonzero. */ strnlen()
37 /* Read COUNT bytes and didn't find the terminator. */ strnlen()
/linux-4.1.27/drivers/usb/isp1760/
H A Disp1760-hcd.h13 * - 32 blocks @ 256 bytes
14 * - 20 blocks @ 1024 bytes
15 * - 4 blocks @ 8192 bytes
/linux-4.1.27/fs/proc/
H A Dtask_nommu.c23 unsigned long bytes = 0, sbytes = 0, slack = 0, size; task_mem() local
29 bytes += kobjsize(vma); task_mem()
43 bytes += size; task_mem()
52 bytes += kobjsize(mm); task_mem()
57 bytes += kobjsize(current->fs); task_mem()
62 bytes += kobjsize(current->files); task_mem()
67 bytes += kobjsize(current->sighand); task_mem()
69 bytes += kobjsize(current); /* includes kernel stack */ task_mem()
72 "Mem:\t%8lu bytes\n" task_mem()
73 "Slack:\t%8lu bytes\n" task_mem()
74 "Shared:\t%8lu bytes\n", task_mem()
75 bytes, slack, sbytes); task_mem()
/linux-4.1.27/include/linux/mtd/
H A Dspi-nor.h25 #define SPINOR_OP_READ 0x03 /* Read data bytes (low frequency) */
26 #define SPINOR_OP_READ_FAST 0x0b /* Read data bytes (high frequency) */
27 #define SPINOR_OP_READ_1_1_2 0x3b /* Read data bytes (Dual SPI) */
28 #define SPINOR_OP_READ_1_1_4 0x6b /* Read data bytes (Quad SPI) */
29 #define SPINOR_OP_PP 0x02 /* Page program (up to 256 bytes) */
40 #define SPINOR_OP_READ4 0x13 /* Read data bytes (low frequency) */
41 #define SPINOR_OP_READ4_FAST 0x0c /* Read data bytes (high frequency) */
42 #define SPINOR_OP_READ4_1_1_2 0x3c /* Read data bytes (Dual SPI) */
43 #define SPINOR_OP_READ4_1_1_4 0x6c /* Read data bytes (Quad SPI) */
44 #define SPINOR_OP_PP_4B 0x12 /* Page program (up to 256 bytes) */
97 * @addr_width: number of address bytes
136 * @addr_width: number of address bytes
/linux-4.1.27/arch/s390/include/asm/
H A Dfacility.h14 #define MAX_FACILITY_BIT (256*8) /* stfle_fac_list has 256 bytes */
51 nr = 4; /* bytes stored by stfl */ stfle()
61 nr = (reg0 + 1) * 8; /* # bytes stored by stfle */ stfle()
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dmspec.h36 * variable is 64 bytes long. The first 8 bytes are used. The
37 * remaining 56 bytes are unaddressable due to the operation taking
/linux-4.1.27/arch/arm/kernel/
H A Dcrash_dump.c25 * @csize: number of bytes to copy
26 * @offset: offset in bytes into the page
30 * @buf. If @buf is in userspace, set @userbuf to %1. Returns number of bytes
H A Dtcm.c200 pr_info("CPU TCM: %u bytes of DTCM and %u bytes of " tcm_init()
225 pr_info("CPU DTCM: %u bytes of code compiled to " tcm_init()
226 "DTCM but only %lu bytes of DTCM present\n", tcm_init()
243 pr_info("CPU DTCM: %u bytes of code compiled to DTCM but no " tcm_init()
257 pr_info("CPU ITCM: %u bytes of code compiled to " tcm_init()
258 "ITCM but only %lu bytes of ITCM present\n", tcm_init()
275 pr_info("CPU ITCM: %u bytes of code compiled to ITCM but no " tcm_init()
292 * Set up malloc pool, 2^2 = 4 bytes granularity since setup_tcm_pool()
310 pr_debug("CPU DTCM: Added %08x bytes @ %08x to " \ setup_tcm_pool()
327 pr_debug("CPU ITCM: Added %08x bytes @ %08x to " \ setup_tcm_pool()
/linux-4.1.27/include/linux/decompress/
H A Dgeneric.h16 *posp - if non-null, input position (number of bytes read) will be
22 *the input buffer. If inbuf != NULL it must be at least XXX_IOBUF_SIZE bytes.
24 *bytes should be read per call. Replace XXX with the appropriate decompressor
/linux-4.1.27/sound/oss/
H A Daudio.c256 return p? p : -EAGAIN; /* No more space. Return # of accepted bytes */ audio_write()
329 * Nonblocking mode handling. Return current # of bytes audio_read()
511 /* Compute number of bytes that have been played */ audio_ioctl()
517 /* Subtract current count from the number of bytes written by app */ audio_ioctl()
568 sz /= 8; /* #bits -> #bytes */ reorganize_buffers()
631 bsz &= ~0x07; /* Force size which is multiple of 8 bytes */ reorganize_buffers()
690 int bytes, count; dma_set_fragment() local
699 bytes = fact & 0xffff; dma_set_fragment()
707 if (bytes < 4 || bytes > 17) /* <16 || > 512k */ dma_set_fragment()
714 if (bytes < audio_devs[dev]->min_fragment) dma_set_fragment()
715 bytes = audio_devs[dev]->min_fragment; dma_set_fragment()
718 if (bytes > audio_devs[dev]->max_fragment) dma_set_fragment()
719 bytes = audio_devs[dev]->max_fragment; dma_set_fragment()
722 if (bytes < OS_DMA_MINBITS) dma_set_fragment()
723 bytes = OS_DMA_MINBITS; dma_set_fragment()
726 dmap->fragment_size = (1 << bytes); dma_set_fragment()
737 return bytes | ((count - 1) << 16); dma_set_fragment()
808 info.bytes = info.fragments * dmap->fragment_size; dma_ioctl()
811 info.bytes -= dmap->counts[dmap->qhead]; dma_ioctl()
814 info.fragments = info.bytes / dmap->fragment_size; dma_ioctl()
815 info.bytes -= dmap->user_counter % dmap->fragment_size; dma_ioctl()
889 cinfo.bytes = dmap_in->byte_counter; dma_ioctl()
892 cinfo.bytes += dmap_in->bytes_in_use; /* Pointer wrap not handled yet */ dma_ioctl()
894 cinfo.bytes += cinfo.ptr; dma_ioctl()
907 cinfo.bytes = dmap_out->byte_counter; dma_ioctl()
910 cinfo.bytes += dmap_out->bytes_in_use; /* Pointer wrap not handled yet */ dma_ioctl()
912 cinfo.bytes += cinfo.ptr; dma_ioctl()
929 /* Compute number of bytes that have been played */ dma_ioctl()
934 /* Subtract current count from the number of bytes written by app */ dma_ioctl()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_tx.c59 * 802.11 frame_control for data frames - 2 bytes
79 * Total: 28 non-data bytes `----.----'
91 * Total: 8 non-data bytes `----.----'
102 * Total: 8 non-data bytes
113 * Total: 18 non-data bytes
120 * to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP)
121 * So if you have 1500 bytes of payload with ieee->fts set to 500 without
123 * payload of each frame is reduced to 492 bytes.
130 * | | 14 bytes from skb->data
131 * | 2 bytes for Type --> ,T. | (sizeof ethhdr)
134 * | 6 bytes| | 6 bytes | | | |
140 * | | | | `T' <---- 2 bytes for Type
142 * | | '---SNAP--' <-------- 6 bytes for SNAP
144 * `-IV--' <-------------------- 4 bytes for IV (WEP)
190 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) rtllib_encrypt_fragment()
575 int bytes, fc, qos_ctl = 0, hdr_len; rtllib_xmit_inter() local
680 bytes = skb->len + SNAP_SIZE + sizeof(u16); rtllib_xmit_inter()
769 nr_frags = bytes / bytes_per_frag; rtllib_xmit_inter()
770 bytes_last_frag = bytes % bytes_per_frag; rtllib_xmit_inter()
777 * reserve and full fragment bytes (bytes_per_frag doesn't rtllib_xmit_inter()
787 txb->payload_size = cpu_to_le16(bytes); rtllib_xmit_inter()
828 bytes = bytes_per_frag; rtllib_xmit_inter()
832 bytes = bytes_last_frag; rtllib_xmit_inter()
849 bytes -= SNAP_SIZE + sizeof(u16); rtllib_xmit_inter()
852 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); rtllib_xmit_inter() local
855 skb_pull(skb, bytes); rtllib_xmit_inter()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c63 802.11 frame_contorl for data frames - 2 bytes
83 Total: 28 non-data bytes `----.----'
95 Total: 8 non-data bytes `----.----'
106 Total: 8 non-data bytes
117 Total: 18 non-data bytes
124 to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP)
125 So if you have 1500 bytes of payload with ieee->fts set to 500 without
127 payload of each frame is reduced to 492 bytes.
134 * | | 14 bytes from skb->data
135 * | 2 bytes for Type --> ,T. | (sizeof ethhdr)
138 * | 6 bytes| | 6 bytes | | | |
144 * | | | | `T' <---- 2 bytes for Type
146 * | | '---SNAP--' <-------- 6 bytes for SNAP
148 * `-IV--' <-------------------- 4 bytes for IV (WEP)
208 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */ ieee80211_encrypt_fragment()
606 int bytes, fc, qos_ctl = 0, hdr_len; ieee80211_xmit() local
669 bytes = skb->len + SNAP_SIZE + sizeof(u16); ieee80211_xmit()
738 nr_frags = bytes / bytes_per_frag; ieee80211_xmit()
739 bytes_last_frag = bytes % bytes_per_frag; ieee80211_xmit()
746 * and full fragment bytes (bytes_per_frag doesn't include prefix, ieee80211_xmit()
755 txb->payload_size = bytes; ieee80211_xmit()
798 bytes = bytes_per_frag; ieee80211_xmit()
802 bytes = bytes_last_frag; ieee80211_xmit()
818 bytes -= SNAP_SIZE + sizeof(u16); ieee80211_xmit()
821 memcpy(skb_put(skb_frag, bytes), skb->data, bytes); ieee80211_xmit() local
824 skb_pull(skb, bytes); ieee80211_xmit()
/linux-4.1.27/drivers/net/ethernet/qualcomm/
H A Dqca_framing.c61 /* Gather received bytes and try to extract a full ethernet frame by
85 /* first two bytes of length must be 0 */ qcafrm_fsm_decode()
93 /* 4 bytes header pattern */ qcafrm_fsm_decode()
105 /* 2 bytes length. */ qcafrm_fsm_decode()
125 /* Remaining number of bytes. */ qcafrm_fsm_decode()
/linux-4.1.27/arch/parisc/kernel/
H A Dsignal32.h28 compat_stack_t uc_stack; /* struct compat_sigaltstack (12 bytes)*/
73 * The 32-bit ABI wants at least 48 bytes for a function call frame:
74 * 16 bytes for arg0-arg3, and 32 bytes for magic (the only part of
76 * Then, the stack pointer must be rounded to a cache line (64 bytes).
/linux-4.1.27/fs/cifs/
H A Dcifsacl.h55 * u8: max 3 bytes in decimal
56 * u32: max 10 bytes in decimal
58 * "S-" + 3 bytes for version field + 15 for authority field + NULL terminator
63 * Add 11 bytes for each subauthority field (10 bytes each + 1 for '-')
/linux-4.1.27/samples/kfifo/
H A Ddma-example.c18 /* fifo size in elements (bytes) */
61 * end of the kfifo buffer (19 bytes) and another for the first free example_init()
88 /* example: zero bytes received */ example_init()
94 /* Prepare to transmit data, example: 8 bytes */ example_init()
117 /* example: 5 bytes transmitted */ example_init()
/linux-4.1.27/drivers/net/ethernet/apple/
H A Dmace.h22 REG(rcvfs); /* receive frame status (4 bytes) */
36 REG(ladrf); /* logical address filter (8 bytes) */
37 REG(padr); /* physical address (6 bytes) */
75 * Bits in RCVFS. After a frame is received, four bytes of status
114 #define XMTSP_4 0x00 /* start xmitting when 4 bytes in FIFO */
115 #define XMTSP_16 0x10 /* start xmitting when 16 bytes in FIFO */
116 #define XMTSP_64 0x20 /* start xmitting when 64 bytes in FIFO */
117 #define XMTSP_112 0x30 /* start xmitting when 112 bytes in FIFO */
124 #define RCVFW_16 0x00 /* recv fifo watermark = 16 bytes avail */
125 #define RCVFW_32 0x10 /* 32 bytes avail */
126 #define RCVFW_64 0x20 /* 64 bytes avail */
/linux-4.1.27/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c43 u32 bytes; member in struct:ghash_desc_ctx
88 if (dctx->bytes) { ghash_update()
89 int n = min(srclen, dctx->bytes); ghash_update()
90 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_update()
92 dctx->bytes -= n; ghash_update()
98 if (!dctx->bytes) ghash_update()
108 dctx->bytes = GHASH_BLOCK_SIZE - srclen; ghash_update()
120 if (dctx->bytes) { ghash_flush()
121 u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); ghash_flush()
123 while (dctx->bytes--) ghash_flush()
131 dctx->bytes = 0; ghash_flush()
/linux-4.1.27/drivers/gpu/drm/msm/edp/
H A Dedp.xml.h11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2014-12-05 15:34:49)
12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2013-03-31 16:51:27)
13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20908 bytes, from 2014-12-08 16:13:00)
14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2357 bytes, from 2014-12-08 16:13:00)
15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 27208 bytes, from 2015-01-13 23:56:11)
16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 11712 bytes, from 2013-08-17 17:13:43)
17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 344 bytes, from 2013-08-11 19:26:32)
18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2014-10-31 16:48:57)
19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2013-07-05 19:21:12)
20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 26848 bytes, from 2015-01-13 23:55:57)
21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 8253 bytes, from 2014-12-08 16:13:00)
/linux-4.1.27/arch/nios2/lib/
H A Dmemcpy.c28 /* Optimal type for storing bytes in registers. */
33 /* Copy exactly NBYTES bytes from SRC_BP to DST_BP,
47 /* Copy *up to* NBYTES bytes from SRC_BP to DST_BP, with
49 not all bytes could be easily copied, store remaining number of bytes
69 block beginning at DSTP with LEN `op_t' words (not LEN bytes!).
108 block beginning at DSTP with LEN `op_t' words (not LEN bytes!).
167 /* If there not too few bytes to copy, use word copy. */ memcpy()
169 /* Copy just a few bytes to make DSTP aligned. */ memcpy()
179 alignment of DSTP. Number of bytes remaining is put in the memcpy()
188 /* There are just a few bytes to copy. Use byte memory operations. */ memcpy()
/linux-4.1.27/drivers/staging/fwserial/
H A Ddma_fifo.h24 * logically consistent 'apparent' size (ie, bytes in + bytes avail is static
57 int avail; /* # of unused bytes in fifo */
59 int tx_limit; /* max # of bytes per dma transaction */
94 /* returns the # of used bytes in the fifo */ dma_fifo_level()
100 /* returns the # of bytes ready for output in the fifo */ dma_fifo_out_level()
106 /* returns the # of unused bytes in the fifo */ dma_fifo_avail()
/linux-4.1.27/arch/um/include/asm/
H A Duaccess.h66 * least @count bytes long.
68 * @count: Maximum number of bytes to copy, including the trailing NUL.
78 * If @count is smaller than the length of the string, copies @count bytes
87 * @n: Number of bytes to zero.
92 * Returns number of bytes that could not be cleared.
100 * @n: Number of bytes to zero.
104 * Returns number of bytes that could not be cleared.
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dpfunc_core.c80 static void print_blob(const char *title, const void *blob, int bytes)
83 while(bytes--) {
270 u32 bytes = pmf_next32(cmd); pmf_parser_read_i2c() local
272 LOG_PARSE("pmf: read_i2c(bytes: %ud)\n", bytes); pmf_parser_read_i2c()
274 PMF_PARSE_CALL(read_i2c, cmd, h, bytes); pmf_parser_read_i2c()
279 u32 bytes = pmf_next32(cmd); pmf_parser_write_i2c() local
280 const void *blob = pmf_next_blob(cmd, bytes); pmf_parser_write_i2c()
282 LOG_PARSE("pmf: write_i2c(bytes: %ud) ...\n", bytes); pmf_parser_write_i2c()
283 LOG_BLOB("pmf: data: \n", blob, bytes); pmf_parser_write_i2c()
285 PMF_PARSE_CALL(write_i2c, cmd, h, bytes, blob); pmf_parser_write_i2c()
310 u32 bytes = pmf_next32(cmd); pmf_parser_read_cfg() local
312 LOG_PARSE("pmf: read_cfg(offset: %x, bytes: %ud)\n", offset, bytes); pmf_parser_read_cfg()
314 PMF_PARSE_CALL(read_cfg, cmd, h, offset, bytes); pmf_parser_read_cfg()
321 u32 bytes = pmf_next32(cmd); pmf_parser_write_cfg() local
322 const void *blob = pmf_next_blob(cmd, bytes); pmf_parser_write_cfg()
324 LOG_PARSE("pmf: write_cfg(offset: %x, bytes: %ud)\n", offset, bytes); pmf_parser_write_cfg()
325 LOG_BLOB("pmf: data: \n", blob, bytes); pmf_parser_write_cfg()
327 PMF_PARSE_CALL(write_cfg, cmd, h, offset, bytes, blob); pmf_parser_write_cfg()
353 u32 bytes = pmf_next32(cmd); pmf_parser_read_i2c_sub() local
355 LOG_PARSE("pmf: read_i2c_sub(subaddr: %x, bytes: %ud)\n", pmf_parser_read_i2c_sub()
356 subaddr, bytes); pmf_parser_read_i2c_sub()
358 PMF_PARSE_CALL(read_i2c_sub, cmd, h, subaddr, bytes); pmf_parser_read_i2c_sub()
364 u32 bytes = pmf_next32(cmd); pmf_parser_write_i2c_sub() local
365 const void *blob = pmf_next_blob(cmd, bytes); pmf_parser_write_i2c_sub()
367 LOG_PARSE("pmf: write_i2c_sub(subaddr: %x, bytes: %ud) ...\n", pmf_parser_write_i2c_sub()
368 subaddr, bytes); pmf_parser_write_i2c_sub()
369 LOG_BLOB("pmf: data: \n", blob, bytes); pmf_parser_write_i2c_sub()
371 PMF_PARSE_CALL(write_i2c_sub, cmd, h, subaddr, bytes, blob); pmf_parser_write_i2c_sub()
486 u32 bytes = pmf_next32(cmd); pmf_parser_mask_and_compare() local
487 const void *maskblob = pmf_next_blob(cmd, bytes); pmf_parser_mask_and_compare()
488 const void *valuesblob = pmf_next_blob(cmd, bytes); pmf_parser_mask_and_compare()
490 LOG_PARSE("pmf: mask_and_compare(length: %ud ...\n", bytes); pmf_parser_mask_and_compare()
491 LOG_BLOB("pmf: mask data: \n", maskblob, bytes); pmf_parser_mask_and_compare()
492 LOG_BLOB("pmf: values data: \n", valuesblob, bytes); pmf_parser_mask_and_compare()
495 bytes, maskblob, valuesblob); pmf_parser_mask_and_compare()
520 NULL, /* Shift bytes right: NYI */
521 NULL, /* Shift bytes left: NYI */
593 LOG_PARSE("pmf: func %s, %d bytes, %s...\n", pmf_parse_one()
662 " %d bytes remaining, parsing...\n", pmf_add_function_prop()

Completed in 5766 milliseconds

1234567891011>>