Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 5142) sorted by relevance

12345678910>>...206

/linux/drivers/scsi/
H A Dmyrs.h172 unsigned short bus_speed_mhz; /* Bytes 4-5 */
176 unsigned char rsvd3[7]; /* Bytes 9-15 */
177 unsigned char bus_name[16]; /* Bytes 16-31 */
178 unsigned char ctlr_name[16]; /* Bytes 32-47 */
179 unsigned char rsvd4[16]; /* Bytes 48-63 */
191 unsigned char rsvd5[3]; /* Bytes 73-75 */
207 unsigned short nvram_size_kb; /* Bytes 90-91 */
209 unsigned char rsvd8[3]; /* Bytes 93-95 */
211 unsigned char serial_number[16]; /* Bytes 96-111 */
212 unsigned char rsvd9[16]; /* Bytes 112-127 */
[all …]
H A Dmyrb.h164 unsigned int rsvd1:24; /* Bytes 1-3 */
165 unsigned int ldev_sizes[32]; /* Bytes 4-131 */
166 unsigned short flash_age; /* Bytes 132-133 */
189 unsigned short ev_seq; /* Bytes 142-143 */
191 unsigned int rsvd5:24; /* Bytes 145-147 */
203 } dead_drives[21]; /* Bytes 152-194 */
204 unsigned char rsvd9[62]; /* Bytes 195-255 */
237 } hw; /* Bytes 0-3 */
244 } fw; /* Bytes 4-7 */
254 unsigned int rsvd3; /* Bytes 20-23 */
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen4/
H A Ddata-fabric.json4 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 0.",
12 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 1.",
20 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 2.",
28 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 3.",
36 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 4.",
44 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 5.",
52 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 6.",
60 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 7.",
68 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 8.",
76 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 9.",
[all …]
/linux/fs/bcachefs/
H A Dvarint.c18 * Returns: size in bytes of the encoded integer - at most 9 bytes
23 unsigned bytes = DIV_ROUND_UP(bits, 7); in bch2_varint_encode() local
26 if (likely(bytes < 9)) { in bch2_varint_encode()
27 v <<= bytes; in bch2_varint_encode()
28 v |= ~(~0 << (bytes - 1)); in bch2_varint_encode()
30 memcpy(out, &v_le, bytes); in bch2_varint_encode()
33 bytes = 9; in bch2_varint_encode()
37 return bytes; in bch2_varint_encode()
45 * Returns: size in bytes of the decoded integer - or -1 on failure (would
50 unsigned bytes = likely(in < end) in bch2_varint_decode() local
[all …]
/linux/drivers/power/supply/
H A Dmax1720x_battery.c139 { .name = "nXTable0", .offset = 0, .bytes = 2, },
140 { .name = "nXTable1", .offset = 2, .bytes = 2, },
141 { .name = "nXTable2", .offset = 4, .bytes = 2, },
142 { .name = "nXTable3", .offset = 6, .bytes = 2, },
143 { .name = "nXTable4", .offset = 8, .bytes = 2, },
144 { .name = "nXTable5", .offset = 10, .bytes = 2, },
145 { .name = "nXTable6", .offset = 12, .bytes = 2, },
146 { .name = "nXTable7", .offset = 14, .bytes = 2, },
147 { .name = "nXTable8", .offset = 16, .bytes = 2, },
148 { .name = "nXTable9", .offset = 18, .bytes = 2, },
[all …]
/linux/include/sound/
H A Dpcm-indirect.h19 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */
22 unsigned int sw_io; /* Current software pointer in bytes */
23 int sw_ready; /* Bytes ready to be transferred to/from hw */
28 struct snd_pcm_indirect *rec, size_t bytes);
55 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer() local
56 if (rec->sw_ready < (int)bytes) in snd_pcm_indirect_playback_transfer()
57 bytes = rec->sw_ready; in snd_pcm_indirect_playback_transfer()
58 if (hw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
59 bytes = hw_to_end; in snd_pcm_indirect_playback_transfer()
60 if (sw_to_end < bytes) in snd_pcm_indirect_playback_transfer()
[all …]
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/
H A Dmetrics.json19 "BriefDescription": "bytes of all masters read from ddr",
27 "BriefDescription": "bytes of all masters write to ddr",
35 "BriefDescription": "bytes of all a55 read from ddr",
43 "BriefDescription": "bytes of all a55 write to ddr (part1)",
51 "BriefDescription": "bytes of all a55 write to ddr (part2)",
59 "BriefDescription": "bytes of a55 core 0 read from ddr",
67 "BriefDescription": "bytes of a55 core 0 write to ddr",
75 "BriefDescription": "bytes of a55 core 1 read from ddr",
83 "BriefDescription": "bytes of a55 core 1 write to ddr",
91 "BriefDescription": "bytes o
[all...]
/linux/drivers/md/
H A Ddm-io-rewind.c14 unsigned int bytes) in dm_bvec_iter_rewind() argument
18 iter->bi_size += bytes; in dm_bvec_iter_rewind()
19 if (bytes <= iter->bi_bvec_done) { in dm_bvec_iter_rewind()
20 iter->bi_bvec_done -= bytes; in dm_bvec_iter_rewind()
24 bytes -= iter->bi_bvec_done; in dm_bvec_iter_rewind()
27 while (idx >= 0 && bytes && bytes > bv[idx].bv_len) { in dm_bvec_iter_rewind()
28 bytes -= bv[idx].bv_len; in dm_bvec_iter_rewind()
32 if (WARN_ONCE(idx < 0 && bytes, in dm_bvec_iter_rewind()
34 iter->bi_size -= bytes; in dm_bvec_iter_rewind()
41 iter->bi_bvec_done = bv[idx].bv_len - bytes; in dm_bvec_iter_rewind()
[all …]
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/
H A Dmetrics.json3 "BriefDescription": "bytes of all masters read from ddr",
11 "BriefDescription": "bytes of all masters write to ddr",
19 "BriefDescription": "bytes of a53 core read from ddr",
27 "BriefDescription": "bytes of a53 core write to ddr",
35 "BriefDescription": "bytes of supermix(m7) core read from ddr",
43 "BriefDescription": "bytes of supermix(m7) write to ddr",
51 "BriefDescription": "bytes of gpu 3d read from ddr",
59 "BriefDescription": "bytes of gpu 3d write to ddr",
67 "BriefDescription": "bytes of gpu 2d read from ddr",
75 "BriefDescription": "bytes of gpu 2d write to ddr",
[all …]
/linux/arch/x86/crypto/
H A Dchacha_glue.c49 unsigned int bytes, int nrounds) in chacha_dosimd() argument
53 while (bytes >= CHACHA_BLOCK_SIZE * 8) { in chacha_dosimd()
54 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
56 bytes -= CHACHA_BLOCK_SIZE * 8; in chacha_dosimd()
61 if (bytes > CHACHA_BLOCK_SIZE * 4) { in chacha_dosimd()
62 chacha_8block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
64 state[12] += chacha_advance(bytes, 8); in chacha_dosimd()
67 if (bytes > CHACHA_BLOCK_SIZE * 2) { in chacha_dosimd()
68 chacha_4block_xor_avx512vl(state, dst, src, bytes, in chacha_dosimd()
70 state[12] += chacha_advance(bytes, 4); in chacha_dosimd()
[all …]
H A Dcrct10dif-pcl-asm_64.S64 # Fold reg1, reg2 into the next 32 data bytes, storing the result back into
101 # For sizes less than 256 bytes, we can't fold 128 bytes at a time.
105 # Load the first 128 data bytes. Byte swapping is necessary to make the
132 # Subtract 128 for the 128 data bytes just consumed. Subtract another
136 # While >= 128 data bytes remain (not counting xmm0-7), fold the 128
137 # bytes xmm0-7 into them, storing the result back into xmm0-7.
147 # Now fold the 112 bytes in xmm0-xmm6 into the 16 bytes in xmm7.
149 # Fold across 64 bytes.
155 # Fold across 32 bytes.
159 # Fold across 16 bytes.
[all …]
/linux/include/linux/
H A Dccp.h150 * @key_len: length in bytes of key
152 * @iv_len: length in bytes of iv
155 * @src_len: length in bytes of data used for this operation
158 * @cmac_key_len: length in bytes of cmac_key
177 u32 key_len; /* In bytes */
180 u32 iv_len; /* In bytes */
183 u64 src_len; /* In bytes */
188 u32 cmac_key_len; /* In bytes */
190 u32 aad_len; /* In bytes */
197 * @CCP_XTS_AES_UNIT_SIZE_16: Unit size of 16 bytes
[all …]
H A Duio.h154 * Total number of bytes covered by an iovec.
171 size_t bytes, struct iov_iter *i);
172 void iov_iter_advance(struct iov_iter *i, size_t bytes);
173 void iov_iter_revert(struct iov_iter *i, size_t bytes);
174 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
175 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
177 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
179 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
182 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
183 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
[all …]
H A Dtask_io_accounting_ops.h11 static inline void task_io_account_read(size_t bytes) in task_io_account_read() argument
13 current->ioac.read_bytes += bytes; in task_io_account_read()
17 * We approximate number of blocks, because we account bytes only.
18 * A 'block' is 512 bytes
25 static inline void task_io_account_write(size_t bytes) in task_io_account_write() argument
27 current->ioac.write_bytes += bytes; in task_io_account_write()
31 * We approximate number of blocks, because we account bytes only.
32 * A 'block' is 512 bytes
39 static inline void task_io_account_cancelled_write(size_t bytes) in task_io_account_cancelled_write() argument
41 current->ioac.cancelled_write_bytes += bytes; in task_io_account_cancelled_write()
[all …]
/linux/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c158 static ia_css_ptr __hmm_alloc(size_t bytes, enum hmm_bo_type type, in __hmm_alloc() argument
173 pgnr = size_to_pgnr_ceil(bytes); in __hmm_alloc()
206 ia_css_ptr hmm_alloc(size_t bytes) in hmm_alloc() argument
208 return __hmm_alloc(bytes, HMM_BO_PRIVATE, NULL); in hmm_alloc()
211 ia_css_ptr hmm_create_from_vmalloc_buf(size_t bytes, void *vmalloc_addr) in hmm_create_from_vmalloc_buf() argument
213 return __hmm_alloc(bytes, HMM_BO_VMALLOC, vmalloc_addr); in hmm_create_from_vmalloc_buf()
263 unsigned int bytes) in load_and_flush_by_kmap() argument
276 while (bytes) { in load_and_flush_by_kmap()
282 if ((bytes + offset) >= PAGE_SIZE) { in load_and_flush_by_kmap()
284 bytes -= len; in load_and_flush_by_kmap()
[all …]
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.h121 * @rsvd0: reserved bytes
123 * @rsvd1: reserved bytes
125 * @rsvd2: reserved bytes
128 * @rsvd3: reserved bytes
131 * @rsvd4: reserved bytes
158 * @rsvd0: reserved bytes
165 * @rsvd1: reserved bytes
175 * @rsvd2: reserved bytes
178 * @rsvd3: reserved bytes
282 * @tx_bytes: transmit bytes
[all …]
/linux/fs/btrfs/
H A Dfree-space-cache.c42 u64 bytes; member
52 u64 *bytes, bool for_alloc);
57 u64 bytes, bool update_stats);
580 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() argument
590 put_unaligned_le64(bytes, &entry->bytes); in io_ctl_add_entry()
664 entry->bytes = get_unaligned_le64(&e->bytes); in io_ctl_read_entry()
727 * bytes we can have, or whatever is less than that. in recalculate_thresholds()
828 if (!e->bytes) { in __load_free_space_cache()
912 const u64 bytes = info->bytes; in copy_free_space_cache() local
917 ret = btrfs_add_free_space(block_group, offset, bytes); in copy_free_space_cache()
[all …]
H A Dspace-info.h100 u64 total_bytes; /* total bytes in the space,
102 u64 bytes_used; /* total bytes used,
104 u64 bytes_pinned; /* total bytes pinned, will be freed when the
106 u64 bytes_reserved; /* total bytes the allocator has reserved for
108 u64 bytes_may_use; /* number of bytes that may be used for
110 u64 bytes_readonly; /* total bytes that are read only */
111 u64 bytes_zone_unusable; /* total bytes that are unusable until
117 /* Chunk size in bytes */
139 u64 disk_used; /* total bytes used on disk */
140 u64 disk_total; /* total bytes on disk, takes mirrors into
[all …]
/linux/arch/hexagon/mm/
H A Dcopy_user_template.S8 * W: width in bytes
19 p0 = cmp.gtu(bytes,#0)
25 p1 = cmp.gtu(bytes,#15)
32 loopcount = lsr(bytes,#3)
46 bytes -= asl(loopcount,#3)
58 p1 = cmp.gtu(bytes,#7)
63 loopcount = lsr(bytes,#2)
76 bytes -= asl(loopcount,#2)
84 p1 = cmp.gtu(bytes,#3)
89 loopcount = lsr(bytes,#1)
[all …]
/linux/lib/zstd/compress/
H A Dzstd_cwksp.h36 /* Set our tables and aligneds to align by 64 bytes */
125 * buffers are each aligned to 64 bytes.
201 * Returns an adjusted alloc size that is the nearest larger multiple of 64 bytes.
202 * Used to determine the number of bytes required for a given "aligned".
213 /* For alignment, the wksp will always allocate an additional n_1=[1, 64] bytes in ZSTD_cwksp_slack_space_required()
214 * to align the beginning of tables section, as well as another n_2=[0, 63] bytes in ZSTD_cwksp_slack_space_required()
217 * n_1 + n_2 == 64 bytes if the cwksp is freshly allocated, due to tables and in ZSTD_cwksp_slack_space_required()
218 * aligneds being sized in multiples of 64 bytes. in ZSTD_cwksp_slack_space_required()
226 * Return the number of additional bytes required to align a pointer to the given number of bytes.
231 size_t const bytes = (alignBytes - ((size_t)ptr & (alignBytesMask))) & alignBytesMask; in ZSTD_cwksp_bytes_to_align_ptr() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_kern.h236 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; in bpf_prog4() local
239 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog4()
240 if (bytes) in bpf_prog4()
241 bpf_msg_apply_bytes(msg, *bytes); in bpf_prog4()
242 bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); in bpf_prog4()
243 if (bytes) in bpf_prog4()
244 bpf_msg_cork_bytes(msg, *bytes); in bpf_prog4()
267 int *bytes, *start, *end, *start_push, *end_push, *start_pop, *pop, *f; in bpf_prog6() local
271 bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); in bpf_prog6()
272 if (bytes) in bpf_prog6()
[all …]
/linux/drivers/gpu/drm/amd/include/
H A Damd_acpi.h30 u16 size; /* structure size in bytes (includes size field) */
37 u16 size; /* structure size in bytes (includes size field) */
44 u16 size; /* structure size in bytes (includes size field) */
56 u16 size; /* structure size in bytes (includes size field) */
68 u16 size; /* structure size in bytes (includes size field) */
85 u16 size; /* structure size in bytes (includes size field) */
93 u16 size; /* structure size in bytes (includes size field) */
102 u16 size; /* structure size in bytes (includes size field) */
107 u16 size; /* structure size in bytes (includes size field) */
116 * ARG1: (ACPI_BUFFER) parameter buffer, 256 bytes
[all …]
/linux/arch/arm/include/asm/
H A Dxor.h47 xor_arm4regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_2() argument
50 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_2()
68 xor_arm4regs_3(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_3() argument
72 unsigned int lines = bytes / sizeof(unsigned long) / 4; in xor_arm4regs_3()
91 xor_arm4regs_4(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_4() argument
96 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_4()
112 xor_arm4regs_5(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_5() argument
118 unsigned int lines = bytes / sizeof(unsigned long) / 2; in xor_arm4regs_5()
156 xor_neon_2(unsigned long bytes, unsigned long * __restrict p1, in xor_neon_2() argument
160 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
[all …]
/linux/lib/842/
H A D842.h13 * number of data bytes to add to the output buffer, or an index pointing
14 * to a previously-written number of data bytes to copy to the output buffer.
22 * bytes being written to the output buffer. Each template (i.e. all actions
23 * in the table row) will add up to 8 bytes being written to the output buffer.
28 * corresponding arg is 2, 4, or 8 bytes, respectively, in the compressed data
35 * in a ring buffer that contains the last N bytes of output buffer data.
38 * this means that I2 can reference 512 bytes ((2^8 bits = 256) * 2 bytes), I4
39 * can reference 2048 bytes ((2^9 = 512) * 4 bytes), and I8 can reference 2048
40 * bytes ((2^8 = 256) * 8 bytes). Think of it as a kind-of ring buffer for
45 * bytes written to the output buffer, an I2 index of 0 would index to byte 256
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c36 ssize_t bytes = 0; in dpaa_eth_show_fqids() local
69 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
72 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
91 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, in dpaa_eth_show_fqids()
94 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, in dpaa_eth_show_fqids()
98 return bytes; in dpaa_eth_show_fqids()
105 ssize_t bytes = 0; in dpaa_eth_show_bpids() local
107 bytes += snprintf(buf + bytes, PAGE_SIZE - bytes, "%u\n", in dpaa_eth_show_bpids()
110 return bytes; in dpaa_eth_show_bpids()

12345678910>>...206