Home
last modified time | relevance | path

Searched refs:bytes (Results 1276 - 1300 of 3036) sorted by relevance

1...<<51525354555657585960>>...122

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Dintel_memory_region.c544 u32 bytes[] = { in igt_lmem_write_cpu() local
594 count = ARRAY_SIZE(bytes); in igt_lmem_write_cpu()
602 bytes[0] = igt_random_offset(&prng, 64, PAGE_SIZE - 64, 0, sizeof(u32)); in igt_lmem_write_cpu()
603 GEM_BUG_ON(!IS_ALIGNED(bytes[0], sizeof(u32))); in igt_lmem_write_cpu()
613 size = bytes[order[i] % count]; in igt_lmem_write_cpu()
616 align = bytes[order[i] % count]; in igt_lmem_write_cpu()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c282 if (req->pagesize <= 0 || req->oobsize <= 0 || req->ecc.bytes <= 0) in atmel_pmecc_prepare_user_req()
286 req->ecc.ooboffset + req->ecc.bytes > req->oobsize) in atmel_pmecc_prepare_user_req()
307 max_eccbytes = req->ecc.bytes; in atmel_pmecc_prepare_user_req()
333 req->ecc.bytes = eccbytes; in atmel_pmecc_prepare_user_req()
390 user->eccbytes = req->ecc.bytes / req->ecc.nsectors; in atmel_pmecc_create_user()
405 user->cache.eaddr = req->ecc.ooboffset + req->ecc.bytes - 1; in atmel_pmecc_create_user()
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dkobjects.c418 int bytes; in synth_direct_store() local
428 bytes = min_t(size_t, len, 250); in synth_direct_store()
429 strncpy(tmp, ptr, bytes); in synth_direct_store()
430 tmp[bytes] = '\0'; in synth_direct_store()
433 ptr += bytes; in synth_direct_store()
434 len -= bytes; in synth_direct_store()
/kernel/linux/linux-6.6/fs/fat/
H A Dfatent.c27 int bytes = entry + (entry >> 1); in fat12_ent_blocknr() local
29 *offset = bytes & (sb->s_blocksize - 1); in fat12_ent_blocknr()
30 *blocknr = sbi->fat_start + (bytes >> sb->s_blocksize_bits); in fat12_ent_blocknr()
37 int bytes = (entry << sbi->fatent_shift); in fat_ent_blocknr() local
39 *offset = bytes & (sb->s_blocksize - 1); in fat_ent_blocknr()
40 *blocknr = sbi->fat_start + (bytes >> sb->s_blocksize_bits); in fat_ent_blocknr()
/kernel/linux/linux-6.6/include/linux/
H A Ddevice.h319 size_t bytes; in devm_kmalloc_array() local
321 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
324 return devm_kmalloc(dev, bytes, flags); in devm_kmalloc_array()
334 size_t bytes; in devm_krealloc_array() local
336 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in devm_krealloc_array()
339 return devm_krealloc(dev, p, bytes, flags); in devm_krealloc_array()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_ioctl.c494 * - The length (x + y) must be at least OMAX_SB_LEN bytes long to
496 * The sense buffer is truncated to OMAX_SB_LEN (16) bytes so that
502 * bytes in one int) where the lowest byte is the SCSI status.
509 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local
528 bytes = max(in_len, out_len); in sg_scsi_ioctl()
529 if (bytes) { in sg_scsi_ioctl()
530 buffer = kzalloc(bytes, GFP_NOIO | GFP_USER | __GFP_NOWARN); in sg_scsi_ioctl()
587 if (bytes) { in sg_scsi_ioctl()
588 err = blk_rq_map_kern(q, rq, buffer, bytes, GFP_NOIO); in sg_scsi_ioctl()
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-common-pseries.c29 __be64 req_max_processed_len; /* Max bytes in one GZIP request */
30 __be64 min_compress_len; /* Min compression size in bytes */
31 __be64 min_decompress_len; /* Min decompression size in bytes */
39 u64 req_max_processed_len; /* Max bytes in one GZIP request */
40 u64 min_compress_len; /* Min compression in bytes */
41 u64 min_decompress_len; /* Min decompression in bytes */
107 * CE2 0=processed_bytes is source bytes, 1=processed_bytes is target bytes */
270 "(Additional info: csbcbp->processed bytes " in nx842_validate_result()
271 "does not specify processed bytes fo in nx842_validate_result()
919 int bytes; nx842_timehist_show() local
[all...]
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dpmem.c327 void *addr, size_t bytes, struct iov_iter *i) in pmem_recovery_write()
336 len = PFN_PHYS(PFN_UP(off + bytes)); in pmem_recovery_write()
338 return _copy_from_iter_flushcache(addr, bytes, i); in pmem_recovery_write()
344 if (off || !PAGE_ALIGNED(bytes)) { in pmem_recovery_write()
345 dev_dbg(dev, "Found poison, but addr(%p) or bytes(%#zx) not page aligned\n", in pmem_recovery_write()
346 addr, bytes); in pmem_recovery_write()
353 dev_dbg(dev, "poison cleared only %ld out of %zu bytes\n", in pmem_recovery_write()
362 olen = _copy_from_iter_flushcache(addr, bytes, i); in pmem_recovery_write()
326 pmem_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) pmem_recovery_write() argument
/kernel/linux/linux-6.6/tools/mm/
H A Dpage-types.c259 long bytes; in do_u64_read() local
264 bytes = pread(fd, buf, count * 8, (off_t)index * 8); in do_u64_read()
265 if (bytes < 0) { in do_u64_read()
269 if (bytes % 8) in do_u64_read()
270 fatal("partial read: %lu bytes\n", bytes); in do_u64_read()
272 return bytes / 8; in do_u64_read()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dpsock_tpacket.c130 "small: %zu bytes!\n", len); in test_payload()
276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
497 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); in walk_tx()
523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) in __v3_test_block_len() argument
525 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { in __v3_test_block_len()
528 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); in __v3_test_block_len()
546 unsigned long bytes = 0, bytes_with_padding = ALIGN_8(sizeof(*pbd)); in __v3_walk_block() local
555 bytes += ppd->tp_snaplen; in __v3_walk_block()
572 total_bytes += bytes; in __v3_walk_block()
619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKET in walk_v3_rx()
[all...]
/kernel/linux/linux-6.6/sound/mips/
H A Dhal2.c574 struct snd_pcm_indirect *rec, size_t bytes) in hal2_playback_transfer()
579 memcpy(buf, substream->runtime->dma_area + rec->sw_data, bytes); in hal2_playback_transfer()
581 hal2->dac.buffer_dma + rec->hw_data, bytes, in hal2_playback_transfer()
659 struct snd_pcm_indirect *rec, size_t bytes) in hal2_capture_transfer()
665 hal2->adc.buffer_dma + rec->hw_data, bytes, in hal2_capture_transfer()
667 memcpy(substream->runtime->dma_area + rec->sw_data, buf, bytes); in hal2_capture_transfer()
806 * endian format. It assumes that even address bytes are on high in hal2_create()
573 hal2_playback_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, size_t bytes) hal2_playback_transfer() argument
658 hal2_capture_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, size_t bytes) hal2_capture_transfer() argument
/kernel/linux/linux-6.6/mm/
H A Dbacking-dev.c251 u64 bytes; in min_bytes_store() local
254 ret = kstrtoull(buf, 10, &bytes); in min_bytes_store()
258 ret = bdi_set_min_bytes(bdi, bytes); in min_bytes_store()
279 u64 bytes; in max_bytes_store() local
282 ret = kstrtoull(buf, 10, &bytes); in max_bytes_store()
286 ret = bdi_set_max_bytes(bdi, bytes); in max_bytes_store()
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra210_mbdrc.c310 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_band_params_get()
331 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_band_params_put()
356 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_threshold_get()
384 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_threshold_put()
416 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_biquad_coeffs_get()
431 u32 *data = (u32 *)ucontrol->value.bytes.data; in tegra210_mbdrc_biquad_coeffs_put()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dpage_track.c220 int bytes) in kvm_page_track_write()
235 n->track_write(vcpu, gpa, new, bytes, n); in kvm_page_track_write()
219 kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new, int bytes) kvm_page_track_write() argument
/kernel/linux/linux-5.10/arch/alpha/lib/
H A Dstrrchr.S36 xor t0, a1, t2 # e0 : make bytes == c zero
58 subq t4, 1, t5 # e0 : build a mask of the bytes up to...
H A Dev67-strrchr.S10 * - uses bcmpge to compare 8 bytes in parallel
57 xor t0, a1, t2 # E : make bytes == c zero
86 subq t4, 1, t5 # E : build a mask of the bytes up to...
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A De500.h169 u64 bytes = get_tlb_bytes(tlbe); in get_tlb_end() local
170 return get_tlb_eaddr(tlbe) + bytes - 1; in get_tlb_end()
/kernel/linux/linux-5.10/arch/arm/lib/
H A Dcsumpartial.S31 * Handle 0 to 7 bytes, with any alignment of source and
67 .Lless8_byte: tst len, #1 @ odd number of bytes
102 blo .Lless8 @ 8 bytes to copy.
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c86 for (i = 0; i < params->bytes; ++i) in jz4740_ecc_calculate()
127 for (i = 0; i < params->bytes; ++i) in jz4740_ecc_correct()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c62 static void *trace_alloc(struct trace_buffer *tb, int bytes) in trace_alloc() argument
67 newtail = tb->tail + bytes; in trace_alloc()
299 printf("Trace buffer 0x%llx bytes @ %p\n", tb->size, tb); in trace_print_location()
/kernel/linux/linux-6.6/arch/alpha/lib/
H A Dstrrchr.S36 xor t0, a1, t2 # e0 : make bytes == c zero
58 subq t4, 1, t5 # e0 : build a mask of the bytes up to...
H A Dev67-strrchr.S10 * - uses bcmpge to compare 8 bytes in parallel
57 xor t0, a1, t2 # E : make bytes == c zero
86 subq t4, 1, t5 # E : build a mask of the bytes up to...
/kernel/linux/linux-6.6/arch/arm/lib/
H A Dcsumpartial.S31 * Handle 0 to 7 bytes, with any alignment of source and
67 .Lless8_byte: tst len, #1 @ odd number of bytes
102 blo .Lless8 @ 8 bytes to copy.
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A De500.h169 u64 bytes = get_tlb_bytes(tlbe); in get_tlb_end() local
170 return get_tlb_eaddr(tlbe) + bytes - 1; in get_tlb_end()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
H A Deeprom_93cx6.c211 * will return host ordered bytes, this method will return little
269 * eeprom_93cx6_multireadb - Read multiple bytes from eeprom
273 * @bytes: Number of bytes that should be read.
275 * This function will read all requested bytes from the eeprom,
279 u8 *data, const u16 bytes) in eeprom_93cx6_multireadb()
283 for (i = 0; i < bytes; i++) in eeprom_93cx6_multireadb()
278 eeprom_93cx6_multireadb(struct eeprom_93cx6 *eeprom, const u8 byte, u8 *data, const u16 bytes) eeprom_93cx6_multireadb() argument

Completed in 24 milliseconds

1...<<51525354555657585960>>...122