Searched refs:bytes (Results 576 - 600 of 1684) sorted by relevance

<<21222324252627282930>>

/linux-master/tools/testing/selftests/net/netfilter/
H A Dconntrack_ipip_mtu.sh60 bytes=$(wc -c < "$rx")
62 if [ "$bytes" -eq 1400 ];then
65 echo "FAIL: PMTU $msg connection tracking: got $bytes, expected 1400"
175 #Now we send a 1400 bytes UDP packet from Client A to Client B:
/linux-master/fs/bcachefs/
H A Dbtree_io.h108 unsigned bytes = (void *) &bn->keys - (void *) &bn->flags; local
111 &bn->flags, bytes);
115 nonce = nonce_add(nonce, round_up(bytes, CHACHA_BLOCK_SIZE));
H A Dreplicas.c312 unsigned i, bytes = sizeof(struct bch_fs_usage) + local
321 if (!(new_usage[i] = __alloc_percpu_gfp(bytes,
325 if (!(new_base = kzalloc(bytes, GFP_KERNEL)) ||
328 !(new_gc = __alloc_percpu_gfp(bytes, sizeof(u64), GFP_KERNEL))))
742 size_t bytes; local
744 bytes = sizeof(struct bch_sb_field_replicas);
747 bytes += replicas_entry_bytes(src) - 1;
750 DIV_ROUND_UP(bytes, sizeof(u64)));
781 size_t bytes; local
783 bytes
[all...]
H A Dbtree_update.h219 unsigned bytes = max_t(unsigned, min_bytes, bkey_bytes(k.k)); local
225 mut = bch2_trans_kmalloc_nomemzero(trans, bytes);
229 if (unlikely(bytes > bkey_bytes(k.k))) {
231 bytes - bkey_bytes(k.k));
232 mut->k.u64s = DIV_ROUND_UP(bytes, sizeof(u64));
H A Djournal_io.c143 size_t bytes = vstruct_bytes(j); local
195 bool identical = bytes == vstruct_bytes(&dup->j) &&
196 !memcmp(j, &dup->j, bytes);
228 i = kvmalloc(offsetof(struct journal_replay, j) + bytes, GFP_KERNEL);
236 unsafe_memcpy(&i->j, j, bytes, "embedded variable length struct");
573 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local
576 if (journal_entry_err_on(bytes < sizeof(*u),
607 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local
611 if (journal_entry_err_on(bytes < sizeof(*u) ||
612 bytes < sizeo
651 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local
691 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local
747 unsigned bytes = vstruct_bytes(entry) - offsetof(struct jset_entry_log, d); local
790 unsigned bytes = vstruct_bytes(entry); local
935 size_t bytes = vstruct_bytes(jset); local
1794 unsigned sectors, bytes, u64s; local
[all...]
/linux-master/fs/nilfs2/
H A Drecovery.c87 * @offset: offset bytes in the first block
88 * @check_bytes: number of bytes to be checked
147 unsigned int bytes = le16_to_cpu(sr->sr_bytes); local
149 if (bytes == 0 || bytes > nilfs->ns_blocksize) {
154 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes,
240 * @bytes: byte size of the item to be read
244 unsigned int *offset, unsigned int bytes)
250 if (bytes > (*pbh)->b_size - *offset) {
260 *offset += bytes;
242 nilfs_read_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes) argument
272 nilfs_skip_summary_info(struct the_nilfs *nilfs, struct buffer_head **pbh, unsigned int *offset, unsigned int bytes, unsigned long count) argument
[all...]
/linux-master/drivers/nvmem/
H A Dmeson-mx-efuse.c135 void *buf, size_t bytes)
149 for (i = 0; i < bytes; i += efuse->config.word_size) {
157 min_t(size_t, bytes - i, efuse->config.word_size));
134 meson_mx_efuse_read(void *context, unsigned int offset, void *buf, size_t bytes) argument
H A Dsc27xx-efuse.c42 /* Block number and block width (bytes) definitions */
124 static int sc27xx_efuse_read(void *context, u32 offset, void *val, size_t bytes) argument
132 bytes > SC27XX_EFUSE_BLOCK_WIDTH)
196 memcpy(val, &buf, bytes);
/linux-master/sound/core/oss/
H A Dpcm_oss.c581 long bytes = frames_to_bytes(runtime, frames); local
583 return bytes;
585 return runtime->oss.buffer_bytes * bytes / buffer_size;
588 u64 bsize = (u64)runtime->oss.buffer_bytes * (u64)bytes;
594 static long snd_pcm_alsa_frames(struct snd_pcm_substream *substream, long bytes) argument
599 return bytes_to_frames(runtime, bytes);
600 return bytes_to_frames(runtime, (buffer_size * bytes) / runtime->oss.buffer_bytes);
1056 pdprintf("oss: period bytes = %i, buffer bytes = %i\n",
1357 static ssize_t snd_pcm_oss_write2(struct snd_pcm_substream *substream, const char *buf, size_t bytes, in argument
1390 snd_pcm_oss_write1(struct snd_pcm_substream *substream, const char __user *buf, size_t bytes) argument
1467 snd_pcm_oss_read2(struct snd_pcm_substream *substream, char *buf, size_t bytes, int in_kernel) argument
1500 snd_pcm_oss_read1(struct snd_pcm_substream *substream, char __user *buf, size_t bytes) argument
[all...]
/linux-master/drivers/usb/isp1760/
H A Disp1760-hcd.c320 __u32 *dst, u32 bytes)
330 while (bytes >= 4) {
332 bytes -= 4;
337 while (bytes >= 4) {
339 bytes -= 4;
345 if (!bytes)
358 while (bytes > 0) {
362 bytes--;
367 u32 bytes)
374 bank_reads8(priv->base, src_offset, ISP_BANK_0, dst, bytes);
319 bank_reads8(void __iomem *src_base, u32 src_offset, u32 bank_addr, __u32 *dst, u32 bytes) argument
366 isp1760_mem_read(struct usb_hcd *hcd, u32 src_offset, void *dst, u32 bytes) argument
382 isp1763_mem_read(struct usb_hcd *hcd, u16 srcaddr, u16 *dstptr, u32 bytes) argument
405 mem_read(struct usb_hcd *hcd, u32 src_offset, __u32 *dst, u32 bytes) argument
413 isp1763_mem_read(hcd, (u16)src_offset, (u16 *)dst, bytes); local
416 isp1760_mem_write(void __iomem *dst_base, u32 dst_offset, __u32 const *src, u32 bytes) argument
451 isp1763_mem_write(struct usb_hcd *hcd, u16 dstaddr, u16 *src, u32 bytes) argument
478 mem_write(struct usb_hcd *hcd, u32 dst_offset, __u32 *src, u32 bytes) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx10.asm449 s_mov_b32 s_save_buf_rsrc2, 0 //NUM_RECORDS initial value = 0 (in bytes) although not neccessarily inited
476 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes
499 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes
529 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes
578 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes
660 s_lshl_b32 s_save_alloc_size, s_save_alloc_size, 2 //LDS size in bytes
661 s_mov_b32 s_save_buf_rsrc2, s_save_alloc_size //NUM_RECORDS in bytes
671 s_mov_b32 s_save_buf_rsrc2, 0x1000000 //NUM_RECORDS in bytes
695 s_add_u32 m0, m0, 128 //every buffer_store_lds does 128 bytes
696 v_add_nc_u32 v0, v0, 128 //mem offset increased by 128 bytes
[all...]
/linux-master/drivers/net/hyperv/
H A Dnetvsc_drv.c155 /* Ensure pending bytes in ring are read */
337 unsigned long bytes; local
339 bytes = HV_HYP_PAGE_SIZE - offset;
340 if (bytes > len)
341 bytes = len;
344 pb[j].len = bytes;
346 offset += bytes;
347 len -= bytes;
922 rx_stats->bytes += nvchan->rsc.pktlen;
1320 u64 packets, bytes; local
1372 u64 packets, bytes, multicast; local
1513 u64 packets, bytes; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c172 * @size: in number of bytes to map, out number of bytes mapped
277 * @size: number of bytes to copy
282 * The function copies @size bytes from {src->mem + src->offset} to
1430 uint64_t bytes = 4 - (pos & 0x3); local
1435 if (size < bytes) {
1436 mask &= 0xffffffff >> (bytes - size) * 8;
1437 bytes = size;
1448 memcpy(buf, &value, bytes);
1454 pos += bytes;
2413 size_t bytes = min(size, AMDGPU_TTM_VRAM_MAX_DW_READ * 4); local
2496 size_t bytes = PAGE_SIZE - off; local
2551 size_t bytes = PAGE_SIZE - off; local
[all...]
/linux-master/arch/alpha/lib/
H A Dstxcpy.S85 zapnot t1, t6, t1 # e0 : clear src bytes >= null
87 zap t0, t8, t0 # e0 : clear dst bytes <= null
130 t6 == bytemask that is -1 in dest word bytes */
225 zapnot t1, t6, t1 # .. e1 : kill source bytes >= null
226 zap t0, t8, t0 # e0 : kill dest bytes <= null
273 negq t8, t6 # .. e1 : build bitmask of bytes <= zero
H A Dev6-stxcpy.S100 zapnot t1, t6, t1 # U : clear src bytes >= null (stall)
103 zap t0, t8, t0 # E : clear dst bytes <= null
153 t6 == bytemask that is -1 in dest word bytes */
251 zapnot t1, t6, t1 # U : kill source bytes >= null (stall)
253 zap t0, t8, t0 # U : kill dest bytes <= null (2 cycle data stall)
302 negq t8, t6 # E : build bitmask of bytes <= zero
/linux-master/samples/bpf/
H A Dtask_fd_query_user.c236 ssize_t bytes; local
260 bytes = read(efd, buf, sizeof(buf));
261 CHECK_PERROR_RET(bytes <= 0 || bytes >= sizeof(buf));
263 buf[bytes] = '\0';
/linux-master/fs/autofs/
H A Dwaitq.c47 struct file *file, const void *addr, int bytes)
56 while (bytes) {
57 wr = __kernel_write(file, data, bytes, NULL);
61 bytes -= wr;
76 return bytes == 0 ? 0 : wr < 0 ? wr : -EIO;
46 autofs_write(struct autofs_sb_info *sbi, struct file *file, const void *addr, int bytes) argument
/linux-master/sound/hda/
H A Dhdac_regmap.c283 int i, bytes, err; local
329 bytes = 2;
332 bytes = 4;
335 bytes = 1;
339 for (i = 0; i < bytes; i++) {
/linux-master/sound/virtio/
H A Dvirtio_pcm.c133 int bytes = snd_pcm_format_physical_width(alsa_fmt) / 8; local
135 if (!sample_min || sample_min > bytes)
136 sample_min = bytes;
138 if (sample_max < bytes)
139 sample_max = bytes;
181 * Smax = maximum supported sample size in bytes,
192 * Smin = minimum supported sample size in bytes,
/linux-master/drivers/hwmon/pmbus/
H A Dadm1266.c70 .bytes = 2048,
378 static int adm1266_nvmem_read(void *priv, unsigned int offset, void *val, size_t bytes) argument
383 if (offset + bytes > data->nvmem_config.size)
396 memcpy(val, data->dev_mem + offset, bytes);
414 data->nvmem_config.size = adm1266_nvmem_cells[0].bytes;
/linux-master/fs/nfs/
H A Ddirect.c21 * correct unaligned requests from applications. All requested bytes are
265 unsigned long bytes = 0; local
281 if (!PageCompound(page) && bytes < hdr->good_bytes &&
284 bytes += req->wb_bytes;
342 size_t bytes; local
351 bytes = result;
355 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase);
369 bytes -= req_len;
382 * If no bytes were started, return the error, and let the
856 size_t bytes; local
[all...]
/linux-master/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c388 /* ensure buf is aligned to 8 bytes */
647 const size_t bytes = sizeof(struct mcp_gen_header); local
662 hdr = kmalloc(bytes, GFP_KERNEL);
666 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes);
771 * do not. Therefore the handoff copy must skip the first 8 bytes
919 size_t bytes; local
935 * Use non-ndis mcp_slot (eg, 4 bytes total,
945 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry);
946 cmd.data0 = (u32) bytes;
1050 memset(ss->rx_done.entry, 0, bytes);
1180 myri10ge_alloc_rx_pages(struct myri10ge_priv *mgp, struct myri10ge_rx_buf *rx, int bytes, int watchdog) argument
1255 myri10ge_unmap_rx_page(struct pci_dev *pdev, struct myri10ge_rx_buffer_state *info, int bytes) argument
1313 int i, idx, remainder, bytes; local
1944 size_t bytes; local
3531 size_t bytes; local
3564 size_t bytes; local
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c95 /* Convert bytes per second to bits per second */
197 /* Convert from bytes per second to Kbps */
397 tc_port_matchall->ingress.bytes = 0;
475 u64 tmp_packets, tmp_bytes, packets = 0, bytes = 0; local
496 bytes += tmp_bytes;
501 bytes - tc_port_matchall->ingress.bytes,
507 tc_port_matchall->ingress.bytes = bytes;
/linux-master/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c239 unsigned long bytes)
251 /* update bytes sent */
252 stream->cumm_bytes += bytes;
253 dev_dbg(dev, "bytes copied %d inc by %ld\n", stream->cumm_bytes, bytes);
261 dev_dbg(dev, "bytes sent to fw %llu inc by %ld\n",
262 fw_tstamp.bytes_copied, bytes);
357 dev_dbg(dev, "rb_counter %llu in bytes\n", fw_tstamp.ring_buffer_counter);
486 dev_dbg(ctx->dev, "mrfld ring_buffer_counter %llu in bytes\n",
488 dev_dbg(ctx->dev, "mrfld hardware_counter %llu in bytes\
238 sst_cdev_ack(struct device *dev, unsigned int str_id, unsigned long bytes) argument
637 sst_send_byte_stream(struct device *dev, struct snd_sst_bytes_v2 *bytes) argument
[all...]
/linux-master/arch/powerpc/crypto/
H A Daes-spe-glue.c26 * MAX_BYTES defines the number of bytes that are allowed to be processed
31 * 16 byte block or 25 cycles per byte. Thus 768 bytes of input data
35 * process a 512 byte disk block in one or a large 1400 bytes IPsec network
57 u32 bytes);
59 u32 bytes);
61 u32 bytes, u8 *iv);
63 u32 bytes, u8 *iv);
65 u32 bytes, u8 *iv);
67 u32 bytes, u8 *iv, u32 *key_twk);
69 u32 bytes, u
[all...]

Completed in 531 milliseconds

<<21222324252627282930>>