/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_lib.c | 1917 void *buf, unsigned long bytes); 1933 void *buf, unsigned long bytes) in default_write_copy() 1936 (void __user *)buf, bytes)) in default_write_copy() 1944 void *buf, unsigned long bytes) in default_write_copy_kernel() 1946 memcpy(get_dma_ptr(substream->runtime, channel, hwoff), buf, bytes); in default_write_copy_kernel() 1955 unsigned long hwoff, void *buf, unsigned long bytes) in fill_silence() 1963 hwoff, bytes); in fill_silence() 1967 bytes_to_samples(runtime, bytes)); in fill_silence() 1974 void *buf, unsigned long bytes) in default_read_copy() 1978 bytes)) in default_read_copy() 1931 default_write_copy(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_write_copy() argument 1942 default_write_copy_kernel(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_write_copy_kernel() argument 1954 fill_silence(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) fill_silence() argument 1972 default_read_copy(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_read_copy() argument 1984 default_read_copy_kernel(struct snd_pcm_substream *substream, int channel, unsigned long hwoff, void *buf, unsigned long bytes) default_read_copy_kernel() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-kmem.c | 791 u64 bytes = kmem_page_size << order; in evsel__process_page_alloc_event() local 806 total_page_alloc_bytes += bytes; in evsel__process_page_alloc_event() 810 total_page_fail_bytes += bytes; in evsel__process_page_alloc_event() 830 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 839 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 849 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 860 u64 bytes = kmem_page_size << order; in evsel__process_page_free_event() local 872 total_page_free_bytes += bytes; in evsel__process_page_free_event() 881 total_page_nomatch_bytes += bytes; in evsel__process_page_free_event() 901 pstat->free_bytes += bytes; in evsel__process_page_free_event() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1462 unsigned bytes) in o2hb_fill_node_map_from_callback() 1464 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback() 1466 memcpy(map, &o2hb_live_node_bitmap, bytes); in o2hb_fill_node_map_from_callback() 1472 void o2hb_fill_node_map(unsigned long *map, unsigned bytes) in o2hb_fill_node_map() argument 1478 o2hb_fill_node_map_from_callback(map, bytes); in o2hb_fill_node_map() 1540 unsigned long bytes; in o2hb_read_block_input() local 1543 bytes = simple_strtoul(p, &p, 0); in o2hb_read_block_input() 1548 if (bytes > 4096 || bytes < 512) in o2hb_read_block_input() 1550 if (hweight16(bytes) ! in o2hb_read_block_input() 1461 o2hb_fill_node_map_from_callback(unsigned long *map, unsigned bytes) o2hb_fill_node_map_from_callback() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | buffer.c | 594 * @start: start offset in bytes 595 * @end: end offset in bytes (inclusive) 637 * @start: start offset in bytes 638 * @end: end offset in bytes (inclusive) 1461 * @size: size (in bytes) to read 2489 loff_t pos, loff_t *bytes) in cont_expand_zero() 2504 while (index > (curidx = (curpos = *bytes)>>PAGE_SHIFT)) { in cont_expand_zero() 2507 *bytes |= (blocksize-1); in cont_expand_zero() 2508 (*bytes)++; in cont_expand_zero() 2540 *bytes | in cont_expand_zero() 2488 cont_expand_zero(struct file *file, struct address_space *mapping, loff_t pos, loff_t *bytes) cont_expand_zero() argument 2565 cont_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata, get_block_t *get_block, loff_t *bytes) cont_write_begin() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | trace.h | 810 __field(unsigned long long, bytes) 819 __entry->bytes = statbuf.bytes; 822 __entry->bytes = -1; 829 __entry->bytes, 849 __entry->bytes_used = statbuf.bytes; 968 TP_PROTO(struct xfarray_sortinfo *si, size_t bytes), 969 TP_ARGS(si, bytes), 974 __field(size_t, bytes) 981 __entry->bytes [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-kmem.c | 813 u64 bytes = kmem_page_size << order; in evsel__process_page_alloc_event() local 828 total_page_alloc_bytes += bytes; in evsel__process_page_alloc_event() 832 total_page_fail_bytes += bytes; in evsel__process_page_alloc_event() 852 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 861 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 871 pstat->alloc_bytes += bytes; in evsel__process_page_alloc_event() 882 u64 bytes = kmem_page_size << order; in evsel__process_page_free_event() local 894 total_page_free_bytes += bytes; in evsel__process_page_free_event() 903 total_page_nomatch_bytes += bytes; in evsel__process_page_free_event() 923 pstat->free_bytes += bytes; in evsel__process_page_free_event() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_lens_correction.cpp | 1537 // Grab the size in bytes. 1539 const uint32 bytes = stream.Get_uint32 (); 1555 if (bytes != ParamBytes (fWarpParams.fPlanes)) 1621 const uint32 bytes = ParamBytes (fWarpParams.fPlanes); 1623 stream.Put_uint32 (bytes); 1727 // Grab the size in bytes. 1729 const uint32 bytes = stream.Get_uint32 (); 1745 if (bytes != ParamBytes (fWarpParams.fPlanes)) 1808 const uint32 bytes = ParamBytes (fWarpParams.fPlanes); 1810 stream.Put_uint32 (bytes); [all...] |
/third_party/selinux/libsepol/src/ |
H A D | services.c | 1681 int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument 1687 nread = fread(buf, bytes, 1, fp->fp); in next_entry() 1693 if (bytes > fp->len) { in next_entry() 1697 memcpy(buf, fp->data, bytes); in next_entry() 1698 fp->data += bytes; in next_entry() 1699 fp->len -= bytes; in next_entry() 1711 size_t bytes = size * n; in put_entry() local 1717 if (bytes > fp->len) { in put_entry() 1722 memcpy(fp->data, ptr, bytes); in put_entry() 1723 fp->data += bytes; in put_entry() [all...] |
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/ |
H A D | generate_dat.py | 168 total_locale_index2bts = bytes() 169 total_meta2bts = bytes()
|
/base/security/asset/frameworks/definition/src/ |
H A D | lib.rs | 168 if let Value::Bytes(bytes) = self { in drop() 169 bytes.fill(0); in drop() 410 /// Get an attribute of bytes type from the collection.
|
/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/ |
H A D | cfiflash.c | 75 static inline unsigned B2W(unsigned bytes) in B2W() argument 77 return bytes >> BYTE_WORD_SHIFT; in B2W() 123 /* all in word(4 bytes) measure */
|
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/ |
H A D | rockchip-otp.c | 140 static int rockchip_otp_read(void *context, unsigned int offset, void *val, size_t bytes)
in rockchip_otp_read() argument 166 while (bytes--) {
in rockchip_otp_read()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
H A D | page_track.c | 220 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 D | strrchr.S | 36 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 D | ev67-strrchr.S | 10 * - 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 D | e500.h | 169 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 D | csumpartial.S | 31 * 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 D | jz4740_ecc.c | 86 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 D | trace.c | 62 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 D | strrchr.S | 36 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 D | ev67-strrchr.S | 10 * - 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 D | csumpartial.S | 31 * 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 D | e500.h | 169 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 D | eeprom_93cx6.c | 211 * 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_txrx.c | 59 dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_tx_dim() 71 dim_update_sample(rq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_rx_dim()
|