Searched refs:bytes (Results 426 - 450 of 1671) sorted by relevance

<<11121314151617181920>>

/linux-master/include/linux/
H A Dblk-crypto.h25 * key. This is the size in bytes of each individual plaintext and
28 * @dun_bytes: the maximum number of bytes of DUN used when using this key
41 * @size: size of this key in bytes (determined by @crypto_cfg.crypto_mode)
42 * @raw: the raw bytes of this key. Only the first @size bytes are used.
87 unsigned int bytes,
H A Dnvmem-consumer.h75 size_t bytes, void *buf);
77 size_t bytes, void *buf);
205 unsigned int offset, size_t bytes,
212 unsigned int offset, size_t bytes,
204 nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset, size_t bytes, void *buf) argument
211 nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset, size_t bytes, void *buf) argument
/linux-master/fs/pstore/
H A Dblk.c188 static ssize_t psblk_generic_blk_read(char *buf, size_t bytes, loff_t pos) argument
190 return kernel_read(psblk_file, buf, bytes, &pos);
193 static ssize_t psblk_generic_blk_write(const char *buf, size_t bytes, argument
199 return kernel_write(psblk_file, buf, bytes, &pos);
/linux-master/drivers/mtd/nand/raw/ingenic/
H A Dingenic_ecc.h18 * @size: data bytes per ECC step.
19 * @bytes: ECC bytes per step.
24 int bytes; member in struct:ingenic_ecc_params
/linux-master/drivers/nvmem/
H A Dbcm-ocotp.c152 size_t bytes)
160 for (bytes_read = 0; bytes_read < bytes;) {
183 size_t bytes)
198 for (bytes_written = 0; bytes_written < bytes;) {
151 bcm_otpc_read(void *context, unsigned int offset, void *val, size_t bytes) argument
182 bcm_otpc_write(void *context, unsigned int offset, void *val, size_t bytes) argument
H A Dmicrochip-otpc.c96 * a payload. Header is 4 bytes long and contains the size of the payload.
142 * For this, the read function will return the first requested bytes in the
147 size_t bytes)
167 while (len < bytes) {
176 if (len >= bytes)
187 } while (payload_size >= 0 && len < bytes);
146 mchp_otpc_read(void *priv, unsigned int off, void *val, size_t bytes) argument
H A Drave-sp-eeprom.c256 * We should never read more that 'residue' bytes
274 void *val, size_t bytes)
277 offset, val, bytes);
281 void *val, size_t bytes)
284 offset, val, bytes);
304 * Per ICD, we have no more than 2 bytes to specify EEPROM
273 rave_sp_eeprom_reg_read(void *eeprom, unsigned int offset, void *val, size_t bytes) argument
280 rave_sp_eeprom_reg_write(void *eeprom, unsigned int offset, void *val, size_t bytes) argument
/linux-master/arch/alpha/lib/
H A Dmemchr.S23 - uses cmpbge to compare 8 bytes in parallel
67 ldq_u $6, -1($5) #-e1 : eight or less bytes to search
72 # Deal with the case where at most 8 bytes remain to be searched
103 # Deal with the case where $18 > 8 bytes remain to be
157 $final: subq $5, $0, $18 # .. e1 : $18 <- number of bytes left to do
H A Dev6-memchr.S10 * - uses cmpbge to compare 8 bytes in parallel
65 ldq_u $6, -1($5) # L : L U U L : eight or less bytes to search Latency=3
72 # Deal with the case where at most 8 bytes remain to be searched
123 # Deal with the case where $18 > 8 bytes remain to be
181 $final: subq $5, $0, $18 # E : $18 <- number of bytes left to do
/linux-master/arch/arc/include/asm/
H A Darcregs.h152 #define TO_KB(bytes) ((bytes) >> 10)
153 #define TO_MB(bytes) (TO_KB(bytes) >> 10)
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c374 curr_stats->bytes = be64_to_cpu(msg->pass_bytes) +
379 prev_stats->bytes = curr_stats->bytes;
492 diff_bytes = curr_stats->bytes - prev_stats->bytes;
494 prev_stats->bytes = curr_stats->bytes;
812 meter_entry->stats.curr.bytes = be64_to_cpu(msg->pass_bytes) +
817 meter_entry->stats.prev.bytes = meter_entry->stats.curr.bytes;
[all...]
/linux-master/fs/bcachefs/
H A Dsiphash.h44 * SipHash_SetKey(&ctx, "16bytes long key");
61 u32 bytes; member in struct:_SIPHASH_CTX
/linux-master/sound/virtio/
H A Dvirtio_pcm.h30 * @buffer_bytes: Current buffer size in bytes.
31 * @hw_ptr: Substream hardware pointer value in bytes [0 ... buffer_bytes).
123 unsigned long bytes);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.c199 unsigned long bytes = in->bo_number * local
202 if (copy_from_user(info, uptr, bytes))
206 unsigned long bytes = min(in->bo_info_size, info_size); local
211 if (copy_from_user(&info[i], uptr, bytes))
/linux-master/fs/
H A Dstat.c802 void __inode_add_bytes(struct inode *inode, loff_t bytes) argument
804 inode->i_blocks += bytes >> 9;
805 bytes &= 511;
806 inode->i_bytes += bytes;
814 void inode_add_bytes(struct inode *inode, loff_t bytes) argument
817 __inode_add_bytes(inode, bytes);
823 void __inode_sub_bytes(struct inode *inode, loff_t bytes) argument
825 inode->i_blocks -= bytes >> 9;
826 bytes &= 511;
827 if (inode->i_bytes < bytes) {
836 inode_sub_bytes(struct inode *inode, loff_t bytes) argument
857 inode_set_bytes(struct inode *inode, loff_t bytes) argument
[all...]
/linux-master/arch/mips/mm/
H A Dcache.c89 SYSCALL_DEFINE3(cacheflush, unsigned long, addr, unsigned long, bytes,
92 if (bytes == 0)
94 if (!access_ok((void __user *) addr, bytes))
97 __flush_icache_user_range(addr, addr + bytes);
/linux-master/drivers/firmware/efi/
H A Dearlycon.c128 int m, n, bytes; local
131 bytes = BITS_TO_BYTES(font->width);
132 src = font->data + c * font->height * bytes + h * bytes;
/linux-master/drivers/virtio/
H A Dvirtio_input.c143 u8 bytes; local
145 bytes = virtinput_cfg_select(vi, select, subsel);
146 if (!bytes)
148 if (bitcount > bytes * 8)
149 bitcount = bytes * 8;
152 * Bitmap in virtio config space is a simple stream of bytes,
156 virtio_bits = kzalloc(bytes, GFP_KERNEL);
161 virtio_bits, bytes);
/linux-master/sound/soc/
H A Dsoc-generic-dmaengine-pcm.c24 * bytes that are still left to transfer.
293 struct iov_iter *iter, unsigned long bytes)
299 unsigned long bytes) = pcm->config->process;
305 if (copy_from_iter(dma_ptr, bytes, iter) != bytes)
309 int ret = process(substream, channel, hwoff, bytes);
315 if (copy_to_iter(dma_ptr, bytes, iter) != bytes)
290 dmaengine_copy(struct snd_soc_component *component, struct snd_pcm_substream *substream, int channel, unsigned long hwoff, struct iov_iter *iter, unsigned long bytes) argument
/linux-master/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c153 u64 packets, bytes; local
182 bytes = rx_stats->bytes;
189 data[i++] = bytes;
201 bytes = tx_stats->bytes;
214 data[i++] = bytes;
/linux-master/include/linux/netfilter/ipset/
H A Dip_set.h95 atomic64_t bytes; member in struct:ip_set_counter
119 u64 bytes; member in struct:ip_set_ext
509 if (ext->bytes != ULLONG_MAX)
510 atomic64_set(&(counter)->bytes, (long long)(ext->bytes));
533 { .bytes = (skb)->len, .packets = 1, .target = true,\
537 { .bytes = ULLONG_MAX, .packets = ULLONG_MAX, \
/linux-master/drivers/md/dm-vdo/
H A Dvio.c219 int bytes = PAGE_SIZE - offset; local
221 if (bytes > len)
222 bytes = len;
225 bytes_added = bio_add_page(bio, page, bytes, offset);
227 if (bytes_added != bytes) {
229 "Could only add %i bytes to bio",
233 data += bytes;
234 len -= bytes;
/linux-master/arch/x86/kvm/
H A Dkvm_emulate.h76 * 3. Valid access sizes are 1, 2, 4 and 8 bytes. On x86/32 systems only
113 * read_std: Read bytes of standard (non-emulated/special) memory.
117 * @bytes: [IN ] Number of bytes to read from memory.
122 unsigned int bytes,
126 * write_std: Write bytes of standard (non-emulated/special) memory.
130 * @bytes: [IN ] Number of bytes to write to memory.
134 unsigned long addr, void *val, unsigned int bytes,
137 * fetch: Read bytes o
241 unsigned int bytes; member in struct:operand
[all...]
/linux-master/arch/arc/lib/
H A Dmemcpy-archs.S75 and.f lp_count, r2, ZOLAND ;Last remaining 31 bytes
96 ;; and 2bytes to reach 32bit alignment
130 and.f lp_count, r2, 0x07 ;Last 8bytes
171 and.f lp_count, r2, 0x07 ;Last 8bytes
211 and.f lp_count, r2, 0x07 ;Last 8bytes
/linux-master/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c90 unsigned long bytes; member in struct:stats
94 .name = "read", .total = 0, .count = 0, .bytes = 0};
96 .name = "pread", .total = 0, .count = 0, .bytes = 0};
98 .name = "write", .total = 0, .count = 0, .bytes = 0};
100 .name = "pwrite", .total = 0, .count = 0, .bytes = 0};
102 .name = "seek", .total = 0, .count = 0, .bytes = 0};
105 unsigned long measurement, unsigned long bytes)
108 ustats->bytes += bytes;
117 (float)ustats->bytes / (floa
104 update_stats(struct stats * const ustats, unsigned long measurement, unsigned long bytes) argument
[all...]

Completed in 242 milliseconds

<<11121314151617181920>>